MediaWiki:Mobile.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição Etiquetas: Edição móvel Edição feita através do site móvel |
Sem resumo de edição |
||
Linha 222: | Linha 222: | ||
top: -140px; | top: -140px; | ||
} | } | ||
} | |||
/* Página Instagram */ | |||
.insta-main{ | |||
width: 70%; | |||
margin: 1em; | |||
margin: auto; | |||
} | |||
.post{ | |||
width: 100%; | |||
height: auto; | |||
background: #fff; | |||
border: 1px solid #dfdfdf; | |||
margin-top: 40px; | |||
border-radius: 10px; | |||
} | |||
.info{ | |||
width: 100%; | |||
height: 60px; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
margin: 5px 15px; | |||
} | |||
.info .username{ | |||
width: auto; | |||
font-weight: bold; | |||
color: #000; | |||
font-size: 14px; | |||
margin-left: 10px; | |||
} | |||
.info .options{ | |||
cursor: pointer; | |||
margin-right: 20px; | |||
scale: 0.8; | |||
} | |||
.info .user{ | |||
display: flex; | |||
align-items: center; | |||
} | |||
.info .profile-pic{ | |||
height: 40px; | |||
width: 40px; | |||
padding: 0; | |||
background: none; | |||
} | |||
.info .profile-pic img{ | |||
border-radius: 20px; | |||
} | |||
.post-image{ | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
margin-top: -10px; | |||
width: 100%; | |||
height: 100%; | |||
/* object-fit: cover; */ | |||
margin-top: -10px; | |||
} | |||
.post-content{ | |||
width: 100%; | |||
padding: 20px; | |||
} | |||
.likes{ | |||
font-weight: bold; | |||
} | |||
.description{ | |||
width: 96%; | |||
font-size: 14px; | |||
line-height: 20px; | |||
} | |||
.description span{ | |||
font-weight: bold; | |||
margin-right: 10px; | |||
} | |||
.post-time{ | |||
color: rgba(0, 0, 0, 0.5); | |||
font-size: 12px; | |||
} | |||
.comment-wrapper{ | |||
width: 100%; | |||
height: 50px; | |||
border-radius: 1px solid #dfdfdf; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
.comment-wrapper .icon{ | |||
height: 30px; | |||
} | |||
.comment-box{ | |||
width: 80%; | |||
height: 100%; | |||
border: none; | |||
outline: none; | |||
font-size: 14px; | |||
} | |||
.comment-btn, | |||
.action-btn{ | |||
width: 70px; | |||
height: 100%; | |||
background: none; | |||
border: none; | |||
outline: none; | |||
text-transform: capitalize; | |||
font-size: 16px; | |||
color: rgb(0, 162, 255); | |||
opacity: 0.5; | |||
} | |||
.reaction-wrapper{ | |||
width: 100%; | |||
height: 50px; | |||
display: flex; | |||
margin-top: -25px; | |||
align-items: center; | |||
} | |||
.reaction-wrapper .icon{ | |||
margin-right: 15px; | |||
} | } |
Edição das 19h41min de 25 de julho de 2023
/** o código CSS colocado aqui será aplicado a todos os temas */ /* Main page */ .container { margin: 0 auto; display: block; } .main { margin: 1em; } .banner { margin-top: 60px; box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5); --border-width: 3px; position: relative; display: flex; justify-content: center; align-items: center; width: 100%; color: white; background: linear-gradient(60deg, #0c3d7b, #14917c, #1ec7ab, #6ee7d3, #041e41, #1864c7, #085245); background-size: 300% 300%; background-position: 0 50%; animation: moveGradient 30s alternate infinite; border-radius: 10px; } .banner img { width: 450px; } .most-acessed, .quick-access { margin-top: 2em; position: relative; width: 100%; box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2); border-radius: 10px; } .ma-title,.qa-title { border-radius: 10px 10px 0px 0px; position: relative; display: flex; justify-content: center; align-items: center; width: 100%; color: white; height: auto; padding: 5px 0px; background: linear-gradient(90deg, rgb(0, 47, 109) 0%, rgb(19, 83, 67) 46%, rgb(0, 105, 90) 100%); } .sub-most-acessed{ display: flex; } .ma-card-item { text-align: center; height: auto; padding: 1em; } .ma-card-item a{ text-decoration: none; } .ma-item { width: 100%; height: 100%; transition: 1s; filter: drop-shadow(0px 0px 5px rgba(48, 48, 48, 0.6)); } .ma-item:hover{ filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.2)); } .ma-text{ width: 50%; margin: 5px; transform: scale(2.7); } .ma-title-icon, .qa-title-icon { width: 30px; height: 30px; } .column { text-align: center; } .social-media { position: absolute; top: -60px; text-align: center; width: 100%; height: 50px; } .sc-icon { filter: grayscale(20%) contrast(100%); display: inline-block; width: 12.5%; margin: -1px; height: auto; transition: 1s; } .box-update { margin: 1em; width: auto; height: auto; padding: 10px; border-radius: 10px; border: 1px solid rgba(0, 17, 0, 0.10); box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1); } .box-update h3{ margin-top: 10px; } .box-update img { margin: 0.5em 0em; filter: grayscale(15%); transform: scale(.95); width: 100%; border-radius: 5px; transition: 1s; } .box-update img:hover { filter: grayscale(0%); transform: scale(0.98); transition: 1s; } .update-image { box-shadow: 0 0 0.6 3em #BBB; } .qa-line { display: flex; border-bottom: 1px solid rgba(0, 0, 0, 0.150); padding: 1rem; } .qa-line-icon { display: none; } .qa-line-icon img { width: 50px; height: 50px; margin: 1rem; border-radius: 12px; } .qa-line-text { margin: 0.5rem 0; width: 100%; } .qa-line-title { margin: 0.5em 0; font-weight: bold; } pre, .mw-code { color: #000; background-color: rgb(234 236 240 / 0%); border: 1px solid rgb(234 236 240 / 0%); padding: 0; */ white-space: pre-wrap; } @keyframes moveGradient { 50% { background-position: 100% 50%; } } /* Media Query */ @media (min-width: 450px) { .banner { margin-top: 80px; } .social-media { top: -80px; } } @media (min-width: 600px) { .banner { margin-top: 110px; } .social-media { top: -110px; } } @media (min-width: 910px) { .banner { margin-top: 140px; } .social-media { top: -140px; } } /* Página Instagram */ .insta-main{ width: 70%; margin: 1em; margin: auto; } .post{ width: 100%; height: auto; background: #fff; border: 1px solid #dfdfdf; margin-top: 40px; border-radius: 10px; } .info{ width: 100%; height: 60px; display: flex; justify-content: space-between; align-items: center; margin: 5px 15px; } .info .username{ width: auto; font-weight: bold; color: #000; font-size: 14px; margin-left: 10px; } .info .options{ cursor: pointer; margin-right: 20px; scale: 0.8; } .info .user{ display: flex; align-items: center; } .info .profile-pic{ height: 40px; width: 40px; padding: 0; background: none; } .info .profile-pic img{ border-radius: 20px; } .post-image{ width: 100%; height: 100%; object-fit: cover; margin-top: -10px; width: 100%; height: 100%; /* object-fit: cover; */ margin-top: -10px; } .post-content{ width: 100%; padding: 20px; } .likes{ font-weight: bold; } .description{ width: 96%; font-size: 14px; line-height: 20px; } .description span{ font-weight: bold; margin-right: 10px; } .post-time{ color: rgba(0, 0, 0, 0.5); font-size: 12px; } .comment-wrapper{ width: 100%; height: 50px; border-radius: 1px solid #dfdfdf; display: flex; justify-content: space-between; align-items: center; } .comment-wrapper .icon{ height: 30px; } .comment-box{ width: 80%; height: 100%; border: none; outline: none; font-size: 14px; } .comment-btn, .action-btn{ width: 70px; height: 100%; background: none; border: none; outline: none; text-transform: capitalize; font-size: 16px; color: rgb(0, 162, 255); opacity: 0.5; } .reaction-wrapper{ width: 100%; height: 50px; display: flex; margin-top: -25px; align-items: center; } .reaction-wrapper .icon{ margin-right: 15px; }