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 375: | Linha 375: | ||
} | } | ||
. | /* DarkMode */ | ||
@media (prefers-color-scheme: dark) { | |||
.overlay-enabled, #content { | |||
background-color: #222222; | |||
} | } | ||
. | .header-container.header-chrome { | ||
background-color: #000000; | |||
border: 0; | |||
background: # | box-shadow: inset 0 -1px 3px rgba(0,0,0,0.08); | ||
border: | |||
} | } | ||
.header .branding-box h1 span, .header .branding-box a span { | |||
. | line-height: 1; | ||
font-size: inherit; | |||
color: white; | |||
. | |||
font-size: | |||
color: | |||
} | } | ||
.pre-content h1, .content h1, .content h2, h3, h4, h5, h6 { | |||
. | line-height: 1.3; | ||
word-wrap: break-word; | |||
word-break: break-word; | |||
color: white; | color: white; | ||
} | } | ||
a:visited { | |||
color: #e5d6ff; | |||
} | } | ||
a { | |||
text-decoration: none; | |||
color: #e5d6ff; | |||
text- | hyphens: none; | ||
} | } | ||
. | footer .last-modified-bar { | ||
border-bottom: solid 1px #adafb1; | |||
background-color: #1a1a1a; | |||
color: #ffffff; | |||
transition: background-color 0.2s ease,color 0.2s ease; | |||
padding-top: 0.625em; | |||
padding-bottom: 0.625em; | |||
font-size: 0.875em; | |||
} | } | ||
div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, ins, em, img, small, strike, strong, sub, sup, tt, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, input, button, select, audio, video { | |||
margin: 0; | |||
padding: 0; | |||
border: 0; | border: 0; | ||
font: inherit; | |||
font-size: 100%; | |||
vertical-align: baseline; | |||
background: none; | |||
color: white; | color: white; | ||
} | } | ||
.minerva-footer { | |||
. | border-top: solid 1px #000000; | ||
overflow: auto; | |||
padding-bottom: 6px; | |||
background-color: #000; | |||
bottom: | |||
} | } | ||
.overlay.search-overlay .header input { | |||
. | padding-right: 3em; | ||
color: #000000; | |||
color: | |||
} | } | ||
.overlay.search-overlay { | |||
. | background: #1d1d1d; | ||
background | |||
} | } | ||
} | } | ||
Edição das 18h20min de 22 de janeiro de 2024
/** 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,#0562ae 0%, #007ee5 46%,#289eff 100%); 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(60deg,#0562af,#0273cf,#0380e7,#1992f5,#5fb6ff,#1864c7,#034d89); } .sub-most-acessed{ display: flex; } .ma-card-item { text-align: center; height: auto; padding: 1em; } .ma-card-item a{ text-decoration: none; } .ma-item { height: 100%; transition: 1s; } .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; margin: 1em; } .social-media { position: absolute; top: -60px; text-align: center; height: 50px; } .sc-icon { filter: grayscale(20%) contrast(100%); display: inline-block; width: 12%; 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; } .destaque-box { width: 100%; text-align: center; position: relative; transition: 1s; border-radius: 20px; display: flex; justify-content: center; font-weight: bold; } .destaque-box:hover{ transition: 1s; transform: scale(1.01); } .destaque-box img{ vertical-align: middle; width: 100%; border-radius: 6px; border-top: 10px solid #3498db; object-fit: cover; } .destaque-box a{ width: 100%; } .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; } .post-title{ 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: 90%; margin: auto; font-weight: bold; font-family: Lato, sans-serif; font-size: 1rem; color: white; background: linear-gradient(90deg,#0562af,#0273cf,#0380e7,#1992f5,#5fb6ff,#1864c7,#034d89); background-size: 300% 300%; background-position: 0 50%; animation: moveGradient 30s alternate infinite; border-radius: 10px; } .card__heading a { color: white; } .sc-icon { display: inline-block; width: 12%; margin: -1px; height: auto; transition: 1s; } .sc-icon:hover { filter: grayscale(0%) contrast(115%); transition: 1s; transform: scale(1.10); } p.card__heading { font-size: 1.2em; font-weight: bold; } :root{ --background-dark: #2d3548; --text-light: rgba(255,255,255,0.6); --text-lighter: rgba(255,255,255,0.9); --spacing-s: 8px; --spacing-m: 16px; --spacing-l: 24px; --spacing-xl: 32px; --spacing-xxl: 64px; --width-container: 1200px; } .hero-section{ margin: 5%; padding-bottom: 53%; } .hero-section2{ margin: 5%; padding-bottom: 88%; } .card-grid{ display: grid; width: 100%; } .card{ list-style: none; position: relative; } .card:before{ content: ''; display: block; width: 100%; } .card__background{ width: 100%; height: auto; background-size: cover; background-position: center; bottom: 0; filter: brightness(0.95) saturate(1) contrast(0.95); left: 0; position: absolute; right: 0; top: 0; transform-origin: center; trsnsform: scale(1) translateZ(0); transition: filter 1s, transform 1s; } .card:hover .card__background{ transform: scale(1.05) translateZ(0); } .card__content{ left: 0; margin: var(--spacing-l); position: absolute; top: 0; text-align: left; } .card__category{ color: var(--text-light); font-size: 0.9rem; margin-bottom: var(--spacing-s); text-transform: uppercase; } .card__heading{ color: var(--text-lighter); font-size: 1.9rem; text-shadow: 2px 2px 20px rgba(0,0,0,0.2); line-height: 1.4; } h3.card__heading { margin-top: -10px; } /* Keyframes */ @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; } } /* DarkMode */ @media (prefers-color-scheme: dark) { .overlay-enabled, #content { background-color: #222222; } .header-container.header-chrome { background-color: #000000; border: 0; box-shadow: inset 0 -1px 3px rgba(0,0,0,0.08); } .header .branding-box h1 span, .header .branding-box a span { line-height: 1; font-size: inherit; color: white; } .pre-content h1, .content h1, .content h2, h3, h4, h5, h6 { line-height: 1.3; word-wrap: break-word; word-break: break-word; color: white; } a:visited { color: #e5d6ff; } a { text-decoration: none; color: #e5d6ff; hyphens: none; } footer .last-modified-bar { border-bottom: solid 1px #adafb1; background-color: #1a1a1a; color: #ffffff; transition: background-color 0.2s ease,color 0.2s ease; padding-top: 0.625em; padding-bottom: 0.625em; font-size: 0.875em; } div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, ins, em, img, small, strike, strong, sub, sup, tt, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, input, button, select, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; background: none; color: white; } .minerva-footer { border-top: solid 1px #000000; overflow: auto; padding-bottom: 6px; background-color: #000; } .overlay.search-overlay .header input { padding-right: 3em; color: #000000; } .overlay.search-overlay { background: #1d1d1d; } }