MediaWiki:Common.css
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)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/** o código CSS colocado aqui será aplicado a todos os temas */ /** * Infobox V2 - em fase de teste * Ver [[fr:Projet:Infobox/V2]] **/ .infobox_v2 { background: #f9f9f9; color: #000; font-size: 90%; line-height: 1.1em; float:right; clear:right; margin:0 0 .5em 1em; width: 23em; border: 1px solid #aaa; padding: 2px; } .infobox_v2 th { vertical-align:top; text-align:left; } .infobox_v2 .topo{ height:45px; vertical-align:middle; text-align:center; font-size:120%; font-weight:bolder; line-height:1.2em; color:#000; } .infobox_v2 .midia { height:35px; vertical-align:middle; text-align:center; font-weight:bolder; color:#000; } /* Barra de navegação */ div.Boxmerge, div.NavFrame { margin: 0; padding: 2px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; position:relative; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0; right:3px; font-weight:normal; font-size:smaller; } /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } .infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaa; border-right: 1px solid #aaa; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaa; } /****************************** * Styles for mobile main page ******************************/ @media all and (min-width: 768px) { .lonsdale-mainpage-column { float: left; width: 50%; } .lonsdale-mainpage-column-first { padding-right: 10px; } .lonsdale-mainpage-column-second { padding-left: 10px; } .lonsdale-mainpage-sister-projects { text-align: center; } } /****************************** * To make images responsive ******************************/ .res-img img { max-width:100%; height:auto; } /**************************************************** * To hide wikisource proofread icons on index pages ****************************************************/ .mw-indicators.mw-body-content { display: none; } /* Usado nos botões dos portais da página inicial */ .menuInicial a:link { color: #FFF; text-decoration: none; } .menuInicial a:hover { color: #FFF; font-weight: bold; background-color: #666666; border-width: 8px; border-style: solid; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666; } /* Usado para criar um link na página inicial na cor branca */ .MainPage-Frame-Titulo-Com-Link a:link { color: #FFF; text-decoration: none;} .MainPage-Frame-Titulo-Com-Link a:visited { color:#FFF; text-decoration:none;} .MainPage-Frame-Titulo-Com-Link a:active { color:#FFF; text-decoration:none;} .MainPage-Frame-Titulo-Com-Link a:hover { color: #FFF; text-decoration:none;} /* Usado no link da página inicial */ .Titulo-Pagina-Inicial a:link { color: #444; text-decoration: none;} .Titulo-Pagina-Inicial a:visited { color:#444; text-decoration:none;} .Titulo-Pagina-Inicial a:active { color:#444; text-decoration:none;} .Titulo-Pagina-Inicial a:hover { color: #444; text-decoration:none;} @media screen, all { .CabecalhoMobile { display: none; } } @media screen, all { .Fichas { } } /* O que for postado dentro da classe só vai aparecer na versão móvel */ .NoDesktop { display:none; } /* O que for postado dentro da classe só vai aparecer na versão desktop */ .NoMobile { } /* Estilo padrão para caixas de navegação (navbox) */ .navbox { /* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; } .navbox-inner, .navbox-subgroup { width: 100%; } .navbox-group, .navbox-title, .navbox-abovebelow { padding: 0.25em 1em; /* Title, group and above/below styles */ line-height: 1.5em; text-align: center; } th.navbox-group { /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background: #fdfdfd; /* Background color */ } .navbox-list { line-height: 1.5em; border-color: #fdfdfd; /* Must match background color */ } .navbox th, .navbox-title { background: #ccccff; /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: #ddddff; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff; /* Level 3 color */ } .navbox-even { background: #f7f7f7; /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ } table.navbox { margin-top: 1em; /* Prevent preceding content from clinging to navboxes */ } table.navbox table.navbox { margin-top: 0; /* No top margin for nested navboxes */ } table.navbox + table.navbox { margin-top: -1px; /* Single pixel border between adjacent navboxes */ } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0; /* Adjust hlist padding in navboxes */ } /* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .mw-body-content .navbar ul { line-height: inherit; } .navbar li { word-spacing: -0.125em; } .navbar.mini li span { font-variant: small-caps; } /* Navbar styling when nested in infobox and navbox */ .infobox .navbar { font-size: 100%; } .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6em; } /* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; } .navbox .mw-collapsible-toggle { width: 6em; } #ca-talk { display:none!important; } } .scout { background-image: url('https://www.br4.net/images/logo/logo2.png'); color: #000; font-size: 90%; line-height: 1.1em; float:right; clear:right; margin:0 0 .5em 1em; width: 23em; border: 1px solid #aaa; padding: 2px; } body.page-Página_principal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } body.loggedin #clever_49724_pushdown_img { display: none; }