MediaWiki:Common.css
De Mapa Mov Saúde
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
- Opera: Pressione Ctrl-F5.
/** o código CSS colocado aqui será aplicado a todos os temas */
/* ocultar redirect */
#mw-redirectedfrom, .mw-redirectedfrom {display:none;}
/* busca*/
.mw-search{padding:0.3em;}
/* Sitenotice*/
.siteNotice {padding-top:0.9em; margin-top:0.4em; text-align:center;}
/* Página principal*/
.jumbotron {background-color:#fff;}
.card-img-top {min-width: 240px;}
/* Idiomas*/
.uls-language-list {display: block;}
.uls-search {display: block;}
/* índice */
.toc { display: block;}
.toc, .mw-warning, .toccolours {border: 1px solid #d1deed;}
/*citação*/
blockquote:not([class]) {margin: 0.5em 20px; border-left: 4px solid #fd7e14; padding-left:0.9em;}
/* nuvem de palavras */
.tagcloud a:link, .tagcloud a:visited, .tagcloud a:active {color: #5c1bd7; background-color: transparent; border: 0 solid #eee; padding: 0.5em; white-space: nowrap; text-align: center; line-height: 2.1em;}
/* Categorias */
.CategoryTreeToggle {color: #e50b4c;}
.catlinks {border: 1px solid #d1deed; padding:0.5rem; background-color: #f8f9fa;}
#catlinks {text-transform: uppercase; font-size: small; font-weight: bold;}
.catlinks li {border-left: 2px solid #d30350;}
.list-inline-item, .mw-body .catlinks ul > li {
margin-right: 0.5rem;
background-color: #f4f6f9;
padding: 0.3rem;
display: inline-block;
line-height: 1;
border-left: 2px solid #d30350;
}
/* listas de verbetes */
.mw-newpages-time {text-transform: uppercase; font-size: small; display:inline-block; color: #747474;}
.mw-newpages-pagename {font-size:larger; font-weight: 600; background-color: #f4f6f9; border-bottom: solid 1px #f27405; display: block;}
.mw-parser-output li {margin-bottom: 1em;}
.navbar-nav right { justify-content: flex-start}
.not-patrolled {
background-color: #f4f6f9;
border-left: solid 4px #f57a00;
padding-left: 2px;
}
/* Buttons Eixos de análise */
.btn-eixo1 {background-color:#CF2800; color:#fff; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
.btn-eixo2 {background-color:#326100; color:#fff; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
.btn-eixo3 {background-color:#763687; color:#fff; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
.btn-eixo4 {background-color:#00615F; color:#fff; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
.btn-eixo1 a, .btn-eixo2 a, .btn-eixo3 a, .btn-eixo4 a {color:#fff; font-size: 1.1em; text-decoration:none; font-weight: 400!important;}
/* Then style the iframe to fit in the container div with full height and width */
.responsive {position: relative; width: 100%; overflow: hidden;}
.responsive-iframe {position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none;}
/* PDF */
body .mw-body-content p > iframe,
body .mw-body-content p > object {
width: 100%;
border: 1px solid #323639;
}
.mw-body-content .pdf-embed {
width: 100%;
border: 1px solid #323639;
}
/* Fixar Barra de ferramentas do editor */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
position: fixed;
top: 4rem;
border-top: 0;
}
/* falta identificar */
.lead{color:#4A4A4A;}
.mw-createacct-benefits-container {float:none;}
.alert alert-dismissible alert-light {background-color:#ffffff; background-color: rgba(254,254,254, 0.6);}
.wiki-docs-header {padding-top: 0.3rem; padding-bottom: 2em;}
/* Feedback*/
.articleFeedbackv5-panel {
background-color: #f8f9fa;
border: 1px solid #d1deed;
padding-bottom: 1px;
margin: 0;
width: 100%;
max-width: 100%;
}
.ui-button .ui-button-text {display: inline;}
.articleFeedbackv5-ui .instructions-left {
float: left;
margin: 0 15px 0 0;
font-size: 1em;
}
.mw-body .articleFeedbackv5 h1, .mw-body .articleFeedbackv5 h2 {
margin-top: 0;
}
/* CSS Sliding Image Gallery for Mediawiki
*
* @author: Unknown
* current version crafted together by [[User:Christharp]] from several CSS sites.
*/
/* Galeria de imagens Carrousel*/
.wrapper {
position: absolute;
top: 1%;
width: 4000px;
-webkit-animation: 60s credits linear infinite;
-moz-animation: 60s credits linear infinite;
-ms-animation:60s credits linear infinite;
-o-animation: 60s credits linear infinite;
animation: 60s credits linear infinite;
}
.wrapper img:hover {
-webkit-transform: scale(1.4);
-moz-transform: scale(1.4);
-o-transform: scale(1.4);
-ms-transform: scale(1.4);
transform: scale(1.4);
cursor: pointer;
}
@keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}
@-webkit-keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}
@-moz-keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}
@-o-keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}
/* Mapa Move Saude: InputBox responsivo em telas estreitas (MediaWiki 1.46) */
@media (max-width: 767px) {
.mw-parser-output .mw-inputbox-centered {
max-width: 100% !important;
width: 100% !important;
margin-inline: auto;
}
.mw-parser-output .mw-inputbox-centered .mw-inputbox-form-inline {
max-width: 100% !important;
width: 100% !important;
display: flex !important;
flex-wrap: wrap !important;
justify-content: center;
gap: 0.4rem;
}
.mw-parser-output .mw-inputbox-centered .mw-inputbox-form-inline > * {
min-width: 0 !important;
max-width: 100% !important;
}
.mw-parser-output .mw-inputbox-centered .mw-inputbox-form-inline input {
max-width: 100% !important;
}
}
/* Map frame fills its existing card without changing the page's Bootstrap grid. */
#mapa-interativo {
overflow: hidden;
}
#mapa-interativo > .mw-kartographer-container,
#mapa-interativo > .mw-kartographer-container > .thumbinner,
#mapa-interativo .mw-kartographer-map {
width: 100% !important;
max-width: 100% !important;
}
#mapa-interativo .mw-kartographer-map {
display: block;
}
/* Only the four main navigation entries in the Chameleon top bar. */
#mw-navigation .navbar-nav > .mw-list-item > a.nav-link {
color: #fff !important;
}
/* Only the two instruction cards: fill the card width, preserve image ratio. */
.mw-parser-output .card > h3#Como_participar + figure,
.mw-parser-output .card > h3#Guia_rápido + figure {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
}
.mw-parser-output .card > h3#Como_participar + figure > a,
.mw-parser-output .card > h3#Guia_rápido + figure > a {
display: block;
width: 100%;
}
.mw-parser-output .card > h3#Como_participar + figure img.mw-file-element,
.mw-parser-output .card > h3#Guia_rápido + figure img.mw-file-element {
display: block;
width: 100% !important;
max-width: 100% !important;
height: auto !important;
}
/* The YouTube icon uses a local PNG; the accessible link text remains in markup. */
.mw-parser-output .mapa-social-youtube {
display: inline-block;
vertical-align: middle;
}
.mw-parser-output .mapa-social-youtube > a.external {
display: block;
width: 40px;
height: 40px;
overflow: hidden;
white-space: nowrap;
text-indent: -9999px;
background: url("/images/2/2c/Antu_YouTube_social_icon.png") center / contain no-repeat;
}
/* Restore white surfaces for wiki content cards; leave the map card unchanged. */
.mw-parser-output .card:not(#mapa-interativo) {
--bs-card-bg: #fff;
background-color: #fff;
}
/* Existing header gray, composited over the previous #f4f6f9 surface. */
.mw-parser-output .card:not(#mapa-interativo) > .card-header {
background-color: #eef0f3;
}
/* Page footer metadata: restore a modest left inset and readable spacing. */
#footer-info {
margin: 0;
padding-inline-start: 4px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
#footer-info > div {
margin: 0;
max-width: 100%;
}
#footer-places {
margin: 12px 0 0;
padding-inline-start: 4px;
display: flex;
flex-wrap: wrap;
gap: 6px 16px;
}
#footer-places > div {
margin: 0;
}
@media (max-width: 767.98px) {
.row:has(> .col > #footer-info) {
display: block;
}
.row:has(> .col > #footer-info) > .col {
flex: 0 0 100%;
width: 100%;
max-width: 100%;
}
#footer-icons {
justify-content: flex-start !important;
margin-top: 12px;
padding-inline-start: 4px;
}
}
/* Normal text links use the Mapa navigation blue, not the Journal coral. */
#mw-content-text, #catlinks, #footer-info, #footer-places {
--bs-link-color: #1450AA;
--bs-link-color-rgb: 20, 80, 170;
--bs-link-hover-color: #0E397C;
--bs-link-hover-color-rgb: 14, 57, 124;
}
/* License and MediaWiki logos are links to logos, not button controls. */
#footer-icons a.cdx-button--fake-button {
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
min-width: 0 !important;
min-height: 0 !important;
border-radius: 0 !important;
}
#footer-icons a.cdx-button--fake-button:focus-visible {
outline: 2px solid #1450AA !important;
outline-offset: 3px;
}
@media (max-width: 499.98px) {
#footer-icons a[href="https://www.mediawiki.org/"] picture img {
content: url("/resources/assets/poweredby_mediawiki.svg");
width: 88px;
height: 31px;
}
}
/* Externally linked editorial text should not retain the legacy magenta/purple. */
#mw-content-text a.external:not(.btn):not(.nav-link):not(.new),
#mw-content-text a.extiw:not(.btn):not(.nav-link):not(.new) {
color: #1450AA;
}
#mw-content-text a.external:not(.btn):not(.nav-link):not(.new):is(:hover, :focus),
#mw-content-text a.extiw:not(.btn):not(.nav-link):not(.new):is(:hover, :focus) {
color: #0E397C;
}