MediaWiki:Common.css
De WIKI
/* Don't display some stuff on the main page */ body.page-Wikipédia_Página_principal #t-cite, body.page-Wikipédia_Página_principal #lastmod, body.page-Wikipédia_Página_principal #siteSub, body.page-Wikipédia_Página_principal #contentSub, body.page-Wikipédia_Página_principal h1.firstHeading { display: none; } /* Criação de tópicos nas esplanadas "geral" e "propostas" */ /* Formata o aviso */ div.aviso-novo-item-esplanada { font-style: italic; } /* Oculta ligação vermelha durante a criação dos tópicos */ div.aviso-novo-item-esplanada + p>a.new { display:none; } /* Resultados de busca */ .mw-search-results { margin-left: 0; } .mw-search-results li { margin: 0; padding: 0.35em 1em; border-bottom: 1px solid #d3daed; background-color: #f6f8fc; list-style-type: none; list-style-image: none; } /* Modelos de predefinições */ /* infobox */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; margin-bottom: 0.5em; margin-left: 1em; padding: .2em; float: right; clear: right; } .infobox tr { vertical-align: top; } .infobox caption { margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .infobox.sisterproject { width: 22em; } /** * @deprecated: Remover assim que todas as ocorrências forem trocadas por "wikitable" * @see: [[WP:Esplanada/propostas/Acabar com as tabelas bonitas! (4jul2012)]] */ table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; } table.prettytable th { background: #f2f2f2; text-align: center; } table.prettytable caption { font-weight: bold; } /* Predefinições informativas e mensagens MediaWiki */ .caixa { width: 80%; margin: 0 auto; padding: .1em; font-size:95%; } .caixaMW { margin: 1px 0; padding: .1em; font-size: 93%; line-height:120%; clear: both; } .caixaMW.info, .caixa.info { background-color: white; border: 1px solid #ccc; } .caixaMW.infodestaque, .caixa.infodestaque { background-color: #f5faff; border: 1px solid #cedff2; } .caixaMW.aviso, .caixa.aviso { background-color:#fff3f3; border: 1px solid #ffc9c9; } .caixaMW.avisodestaque, .caixa.avisodestaque { background-color:#fff; border: 2px solid #f00; } /* Referencias */ /* Make the list of references smaller */ ol.references { font-size: 100%; } /* Realce a azul das referências ''clicadas'' para ajudar na navegação */ .citation:target, .reference:target { background-color: #DEF; /* Fallback */ background-color: rgba(0, 127, 255, 0.133); } /* Formatação de citações */ span.citation, cite { font-style: normal; word-wrap: break-word; } /* Para números e IDs de documentos ligados, em que o número * não precisa ser mostrado em uma tela ou computador de mão, * mas deve ser incluído na versão impressa */ @media screen, handheld { span.citation *.printonly { display: none; } } .references-small { font-size: 90%; } /** * Style for horizontal lists (separator following item). * @source mediawiki.org/wiki/Snippets/Horizontal_lists * @revision 6 (2014-05-09) * @author [[User:Edokter]] */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Generate interpuncts */ .hlist dt:after { content: ": "; } .hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* For IE8 */ .hlist dd.hlist-last-child:after, .hlist dt.hlist-last-child:after, .hlist li.hlist-last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: " ("; font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { content: ") "; font-weight: normal; } /* For IE8 */ .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after { content: ") "; font-weight: normal; } /* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; } .hlist ol > li { counter-increment: listitem; } .hlist ol > li:before { content: " " counter(listitem) " "; white-space: nowrap; } .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) " "; } /* Unbulleted lists */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none none; margin: 0; } .plainlist ol li, .plainlist ul li { margin-bottom: 0; } /* 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; } /* Hatnotes and disambiguation notices */ .hatnote { font-style: italic; } .hatnote i { font-style: normal; } div.hatnote { /* @noflip */ padding-left: 1.6em; margin-bottom: 0.5em; } div.hatnote + div.hatnote { margin-top: -0.5em; } /* Redirect em verde */ /* Faz com que os redirects apareçam em itálico e verde em [[Special:Allpages]] e [[Special:Watchlist]] */ .allpagesredirect a, .redirect-in-category a, .unusedtemplatesredirect a, .watchlistredir a { font-style: italic; color:green; } /* Dados pessoais */ table.metadata { border: 1px solid #aaa; display: none; speak: none; } .metadata-label { color: #aaa; } /* Íconpara predefinições medialist [[Template:Ouça]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */ div.listenlist { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png"); padding-left: 40px; } div.videolist, div.multivideolist { background: url("//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png"); padding-left: 50px; } /* Style rules for media list templates */ div.medialist { min-height: 50px; margin: 1em; background-position: top left; background-repeat: no-repeat; } div.medialist ul { list-style-type: none; list-style-image: none; margin: 0; } div.medialist ul li { padding-bottom: 0.5em; } div.medialist ul li li { font-size: 91%; padding-bottom: 0; } /* Change the external link icon to an Adobe icon for all PDF files * in browsers that support these CSS selectors, like Mozilla and Opera */ #content a[href$=".pdf"].external, #content a[href*=".pdf?"].external, #content a[href*=".pdf#"].external, #content a[href$=".PDF"].external, #content a[href*=".PDF?"].external, #content a[href*=".PDF#"].external, #mw_content a[href$=".pdf"].external, #mw_content a[href*=".pdf?"].external, #mw_content a[href*=".pdf#"].external, #mw_content a[href$=".PDF"].external, #mw_content a[href*=".PDF?"].external, #mw_content a[href*=".PDF#"].external { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center right no-repeat; padding-right: 16px; } /* Change the external link icon to an Adobe icon anywhere the PDFlink class * is used (notably Template:PDFlink). This works in IE, unlike the above. */ #content span.PDFlink a, #mw_content span.PDFlink a { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center right no-repeat; padding-right: 17px; } /* Messagebox templates */ .messagebox { border: 1px solid #aaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 4px 2px 4px; } .messagebox.small { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; } /** * 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; } /* Imagens transparentes dos topos da infobox V2 */ /*.topo.padrao {}*/ .topo.animangá {background: url("//upload.wikimedia.org/wikipedia/commons/6/63/Picto_infobox_anime_and_manga.png") no-repeat top right;} .topo.astronomia {background: url("//upload.wikimedia.org/wikipedia/commons/e/ee/Picto_infobox_rocket.png") no-repeat top right;} .topo.bd {background: url("//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png") no-repeat top right;} .topo.castelo {background: url("//upload.wikimedia.org/wikipedia/commons/5/5c/Picto_infobox_chateau.png") no-repeat top right;} .topo.cerveja {background: url("//upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png") no-repeat top right;} .topo.cinema {background: url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png") no-repeat top right;} .topo.computador {background: url("//upload.wikimedia.org/wikipedia/commons/c/ce/Arduino_ftdi_chip-1.png") no-repeat top right;} .topo.comunicacao {background: url("//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png") no-repeat top right;} .topo.edificioreligioso {background: url("//upload.wikimedia.org/wikipedia/commons/3/30/Pictogram-infobox-religious.png") no-repeat top right;} .topo.europa {background: url("//upload.wikimedia.org/wikipedia/commons/c/c0/Picto_Infobox_Europe.png") no-repeat top right;} .topo.fisica {background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Fourier_infobox.png") no-repeat bottom right;} .topo.internet {background: url("//upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_internet_PD.svg") no-repeat center right;} .topo.humano {background: url("//upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png") no-repeat top right;} .topo.jogo {background: url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png") no-repeat bottom right;} .topo.jornal {background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_journal.png") no-repeat bottom right;} .topo.mapa {background: url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png") no-repeat top right;} .topo.musica {background: url("//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png") no-repeat bottom right;} .topo.televisao {background: url("//upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png") no-repeat top right;} .topo.novela, .topo.televisao2 {background: url("//upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png") no-repeat bottom right;} .topo.palacio {background: url("//upload.wikimedia.org/wikipedia/commons/5/5e/Pictogram_infobox_palace.png") no-repeat top right;} .topo.quimica {background: url("//upload.wikimedia.org/wikipedia/commons/9/95/Picto_infobox_chemistry.png") no-repeat bottom right;} .topo.teatro {background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png") no-repeat top right;} .topo.autor {background: url("//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png") no-repeat top right;} .topo.wiki {background: url("//upload.wikimedia.org/wikipedia/commons/2/24/Picto_infobox_default.png") no-repeat top right;} .topo.filme {background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Picto_infobox_film.png") no-repeat center right;} .topo.ferramentas {background: url("//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png") no-repeat top right;} .topo.livro {background: url("//upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png") no-repeat center right;} .topo.espacial {background: url("//upload.wikimedia.org/wikipedia/commons/9/94/Picto_infobox_shuttle.png") no-repeat top right;} .topo.rka {background: url("//upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_RKA.png") no-repeat top right;} .topo.ginastica {background: url("//upload.wikimedia.org/wikipedia/commons/9/92/Picto_infobox_gymnastic.png") no-repeat top right;} .topo.raio {background: url("//upload.wikimedia.org/wikipedia/commons/2/27/Picto_infobox_raio.png") no-repeat top right;} .topo.robo {background: url("//upload.wikimedia.org/wikipedia/commons/5/5f/Picto_infobox_robot.png") no-repeat top right;} .midia.audio {background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/87/Gnome-mime-sound-openclipart.svg/35px-Gnome-mime-sound-openclipart.svg.png") no-repeat top left;} .midia.video {background: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Video-x-generic.svg/35px-Video-x-generic.svg.png") no-repeat top left;} /* Fim da fase de teste da Infobox V2 */ /* Fundo logo Wikipédia */ .fundologo { background: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png"); } /* 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; } /* Geographical coordinates defaults. See [[Template:Coord/link]] for how these are used. The classes "geo", "longitude", and "latitude" are used by the [[Geo microformat]]. */ .geo-default, .geo-dms, .geo-dec { display: inline; } .geo-nondefault, .geo-multi-punct { display: none; } .longitude, .latitude { white-space: nowrap; } /* Permite limitar a quantidade de níveis num índice; * <div class="toclimit-3">, por exemplo, limitará somente * a ==nível 2== e ===nível 3=== e nada inferior, contanto * que não exista =nível 1= na pagina. */ .toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display: none; } /* Remove bordas brancas de miniaturas */ div.thumb { border: none; } div.tright { border: none; margin: 0.5em 0 0.8em 1.4em; } div.tleft { border: none; margin: 0.5em 1.4em 0.8em 0; } /* Suporte para [[Predefinição:AFI]], [[Predefinição:Unicode]] e [[Predefinição:politônico]] */ .AFI { font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt, "DejaVu Sans", Code2000, "TITUS Cyberbit Basic", "Arial Unicode MS", "Lucida Sans Unicode", "Chrysanthi Unicode"; } .Unicode { font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode"; } .politonico { font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000; } /* Prevent line breaks in silly places: 1) Where desired 2) Links when we don't want them to 3) Bold "links" to the page itself 4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a { white-space: nowrap; } /* But allow wrapping where desired: */ .wrap, .wraplinks a { white-space: normal; } /* Para a documentação das predefinições */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #C0C0C0; background-color: #ECFCF4; padding: 1em; } /* Ícone do [[MediaWiki:WikiLove.js]] */ #ca-wikilove.icon a { background-image: url( //upload.wikimedia.org/wikipedia/commons/thumb/8/87/Symbol_thumbs_up.svg/16px-Symbol_thumbs_up.svg.png ); } #ca-wikilove.icon a:hover, #ca-wikilove.icon a:focus { background-position: 5px 60%; background-image: url( //upload.wikimedia.org/wikipedia/commons/thumb/a/ad/Symbol_thumbs_up_color.svg/16px-Symbol_thumbs_up_color.svg.png ); } /* Oculta qualquer conteúdo que só é de interesse para administradores, eliminadores e reversores. * Torna-se visível novamente por meio de * - [[MediaWiki:Group-autoreviewer.css]] * - [[MediaWiki:Group-eliminator.css]] * - [[MediaWiki:Group-rollbacker.css]] * - [[MediaWiki:Group-sysop.css]] * - [[MediaWiki:Group-bureaucrat.css]] */ .bureaucrat-show, .sysop-show, .eliminator-show, .rollbacker-show, .autoreviewer-show { display: none; } /* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */ .mwe-math-fallback-image-display, .mwe-math-mathml-display { margin-left: 1.6em !important; margin-top: 0.6em; margin-bottom: 0.6em; } .mwe-math-mathml-display math { display: inline; } /* hidden sortkey for tablesorter */ td .sortkey, th .sortkey { display: none; speak: none; }