|
|
| Linha 1: |
Linha 1: |
| /* Consistent size for <small>, <sub> and <sup> */
| |
| small {
| |
| font-size: 85%;
| |
| }
| |
|
| |
|
| .mw-body-content sub,
| |
| .mw-body-content sup {
| |
| font-size: 80%;
| |
| }
| |
|
| |
| /* 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 !important;
| |
| }
| |
|
| |
| /* Reduzir saltos de página ao esconder conteúdo recolhido/dispensado */
| |
| .client-js .mw-special-Watchlist #watchlist-message,
| |
| .client-js .NavFrame.collapsed .NavContent,
| |
| .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
| |
| 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;
| |
| }
| |
|
| |
| /* Remove link para inserir interwikis em tópicos da esplanada (até T338946) */
| |
| .rootpage-Wikipédia_Esplanada #p-lang-btn {
| |
| 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 #a2a9b1;
| |
| border-spacing: 3px;
| |
| background-color: #f8f9fa;
| |
| color: black;
| |
| /* @noflip */
| |
| margin: 0.5em 0 0.5em 1em;
| |
| padding: 0.2em;
| |
| /* @noflip */
| |
| float: right;
| |
| /* @noflip */
| |
| clear: right;
| |
| font-size: 88%;
| |
| line-height: 1.5em;
| |
| }
| |
|
| |
| .infobox td,
| |
| .infobox th {
| |
| vertical-align: top;
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
|
| |
| .infobox caption {
| |
| font-size: 125%;
| |
| font-weight: bold;
| |
| padding: 0.2em;
| |
| text-align: center;
| |
| }
| |
|
| |
| .infobox.bordered {
| |
| border-collapse: collapse;
| |
| }
| |
|
| |
| .infobox.bordered td,
| |
| .infobox.bordered th {
| |
| border: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| .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;
| |
| }
| |
|
| |
| /* Estilos para infocaixa com bordas com linhas fundidas */
| |
| .infobox.bordered .mergedtoprow td,
| |
| .infobox.bordered .mergedtoprow th {
| |
| border: 0;
| |
| border-top: 1px solid #a2a9b1;
| |
| /* @noflip */
| |
| border-right: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| .infobox.bordered .mergedrow td,
| |
| .infobox.bordered .mergedrow th {
| |
| border: 0;
| |
| /* @noflip */
| |
| border-right: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| /* Estilos para infocaixas de geografia */
| |
| .infobox.geography {
| |
| border-collapse: collapse;
| |
| line-height: 1.2em;
| |
| font-size: 90%;
| |
| }
| |
|
| |
| .infobox.geography td,
| |
| .infobox.geography th {
| |
| border-top: 1px solid #a2a9b1;
| |
| padding: 0.4em 0.6em 0.4em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedtoprow td,
| |
| .infobox.geography .mergedtoprow th {
| |
| border-top: 1px solid #a2a9b1;
| |
| padding: 0.4em 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedrow td,
| |
| .infobox.geography .mergedrow th {
| |
| border: 0;
| |
| padding: 0 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedbottomrow td,
| |
| .infobox.geography .mergedbottomrow th {
| |
| border-top: 0;
| |
| border-bottom: 1px solid #a2a9b1;
| |
| padding: 0 0.6em 0.4em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .maptable td,
| |
| .infobox.geography .maptable th {
| |
| border: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| /**
| |
| * @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;
| |
| border: 1px solid #C7C7C7;
| |
| }
| |
|
| |
| .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;
| |
| }
| |
|
| |
| /* Referências */
| |
|
| |
| /* Make the list of references smaller */
| |
| .references-small {
| |
| font-size: 90%;
| |
| }
| |
|
| |
| /* Realce a azul das referências ''clicadas'' para ajudar na navegação */
| |
| body.action-info .mw-body-content :target,
| |
| .citation:target {
| |
| background-color: #def; /* Fallback */
| |
| background-color: rgba(0, 127, 255, 0.133);
| |
| }
| |
|
| |
| /* Formatação de citações. Quebrar URLs longas etc., em vez de uma caixa transbordante */
| |
| .citation {
| |
| 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 dispositivo de mão,
| |
| mas deve ser incluído na versão impressa
| |
| */
| |
| @media screen, handheld {
| |
| .citation .printonly {
| |
| display: none;
| |
| }
| |
| }
| |
|
| |
| /**
| |
| * Style for horizontal lists (separator following item).
| |
| * @source https://www.mediawiki.org/wiki/Snippets/Horizontal_lists
| |
| * @revision 7 (2015-11-12)
| |
| * @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;
| |
| }
| |
|
| |
| .nonumtoc .tocnumber {
| |
| display: none;
| |
| }
| |
|
| |
| .nonumtoc #toc ul,
| |
| .nonumtoc .toc ul {
| |
| line-height: 1.5em;
| |
| list-style: none none;
| |
| margin: .3em 0 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| .hlist.nonumtoc #toc ul ul,
| |
| .hlist.nonumtoc .toc ul ul {
| |
| /* @noflip */
| |
| margin: 0;
| |
| }
| |
|
| |
| /* 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;
| |
| }
| |
|
| |
| /* Hide empty list items */
| |
| .hlist .mw-empty-li {
| |
| display: none;
| |
| }
| |
|
| |
| /* 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;
| |
| }
| |
|
| |
| /* 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;
| |
| }
| |
|
| |
| /* 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 */
| |
| box-sizing: border-box;
| |
| border: 1px solid #a2a9b1;
| |
| width: 100%;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
| |
| }
| |
|
| |
| .navbox .navbox {
| |
| margin-top: 0; /* No top margin for nested navboxes */
| |
| }
| |
|
| |
| .navbox + .navbox {
| |
| margin-top: -1px; /* Single pixel border between adjacent navboxes */
| |
| }
| |
|
| |
| .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-color: #fdfdfd; /* Background color */
| |
| }
| |
|
| |
| .navbox-list {
| |
| line-height: 1.5em;
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| }
| |
|
| |
| /* cell spacing for navbox cells */
| |
| tr + tr > .navbox-abovebelow,
| |
| tr + tr > .navbox-group,
| |
| tr + tr > .navbox-image,
| |
| tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
| |
| border-top: 2px solid #fdfdfd; /* Must match background color */
| |
| }
| |
|
| |
| .navbox th,
| |
| .navbox-title {
| |
| background-color: #ccccff; /* Level 1 color */
| |
| }
| |
|
| |
| .navbox-abovebelow,
| |
| th.navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background-color: #ddddff; /* Level 2 color */
| |
| }
| |
|
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background-color: #e6e6ff; /* Level 3 color */
| |
| }
| |
|
| |
| .navbox-even {
| |
| background-color: #f7f7f7; /* Even row striping */
| |
| }
| |
|
| |
| .navbox-odd {
| |
| background-color: transparent; /* Odd row striping */
| |
| }
| |
|
| |
| .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 abbr[title] {
| |
| font-variant: small-caps;
| |
| border-bottom: none;
| |
| text-decoration: none;
| |
| cursor: inherit;
| |
|
| |
| }
| |
|
| |
| /* 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;
| |
| }
| |
|
| |
| /* Styling for JQuery makeCollapsible, matching that of collapseButton */
| |
| .mw-parser-output .mw-collapsible-toggle {
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| text-align: right;
| |
| padding-right: 0.2em;
| |
| padding-left: 0.2em;
| |
| }
| |
| .mw-collapsible-leftside-toggle .mw-collapsible-toggle {
| |
| /* @noflip */
| |
| float: left;
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
|
| |
| /* 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;
| |
| }
| |
|
| |
| /* Í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.5em 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.desporto { background: url( "//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.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:before {
| |
| background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8d/Feather-core-thumbs-up.svg/16px-Feather-core-thumbs-up.svg.png) !important;
| |
| background-position: inherit !important;
| |
| }
| |
|
| |
| /* Oculta qualquer conteúdo que só é de interesse para grupos específicos de usuários.
| |
| * Torna-se visível novamente por meio de
| |
| * - [[MediaWiki:Group-user.css]]
| |
| * - [[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,
| |
| .autoconfirmed-show,
| |
| .user-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;
| |
| }
| |
|
| |
| /* Aspas retas para <q> */
| |
| q {
| |
| quotes: '"' '"' "'" "'";
| |
| }
| |
|
| |
| /* Evitar colisão de blockquote com elementos flutuantes ao trocar margem com padding */
| |
| blockquote {
| |
| overflow: hidden;
| |
| margin: 1em 0;
| |
| padding: 0 40px;
| |
| }
| |
|
| |
| pre, .mw-code {
| |
| overflow-x: hidden;
| |
| overflow-wrap: break-word;
| |
| }
| |
|
| |
| /* Mesmo espaçamento para parágrafos indentados e não-indentados em páginas de discussões */
| |
| .ns-talk .mw-body-content dd {
| |
| margin-top: 0.4em;
| |
| margin-bottom: 0.4em;
| |
| }
| |
|
| |
| /* Reajustar estilização em itálico definido pelo agente de utilizador */
| |
| cite, dfn {
| |
| font-style: inherit;
| |
|
| |
| }
| |
|
| |
| /* Classes genéricas para serifa baseada em Times, classe texhtml para matemática em linha */
| |
| .times-serif,
| |
| span.texhtml {
| |
| font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
| |
| font-size: 118%;
| |
| line-height: 1;
| |
| }
| |
|
| |
| span.texhtml {
| |
| white-space: nowrap;
| |
| }
| |
|
| |
| span.texhtml span.texhtml {
| |
| font-size: 100%;
| |
| }
| |
|
| |
| span.mwe-math-mathml-inline {
| |
| font-size: 118%;
| |
| }
| |
|
| |
| /* Forçar exibição tabular e de revestimento para dígitos e texhtml */
| |
| .digits,
| |
| .texhtml {
| |
| -moz-font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| -webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| font-variant-numeric: lining-nums tabular-nums;
| |
| font-kerning: none;
| |
| }
| |
|
| |
| ol.references,
| |
| div.reflist {
| |
| font-size: 90%; /* font-size padrão */
| |
| margin-bottom: 0.5em;
| |
| }
| |
| div.reflist ol.references {
| |
| font-size: 100%; /* Resetar font-size quando aninhado em div.reflist */
| |
| margin-bottom: 0; /* Evitar margem dupla quando aninhado em div.reflist */
| |
| list-style-type: inherit; /* Habilitar tipos de estilo de lista personalizadoss */
| |
| }
| |
|
| |
| /* Resetar margem de topo para listas embutidas em colunas */
| |
| div.columns {
| |
| margin-top: 0.3em;
| |
| }
| |
| div.columns dl,
| |
| div.columns ol,
| |
| div.columns ul {
| |
| margin-top: 0;
| |
| }
| |
|
| |
| /* Make it possible to hide checkboxes in <inputbox> */
| |
| .inputbox-hidecheckboxes form .inputbox-element,
| |
| .inputbox-hidecheckboxes .mw-ui-checkbox {
| |
| display: none !important;
| |
| }
| |
|
| |
| /* Ajuste na cor do símbolo de não-patrulhado nas [[WP:Mudanças recentes]], em conformidade com o [[WP:Padrão visual]] */
| |
| abbr.unpatrolled {
| |
| color: #B60000
| |
| }
| |
|
| |
| /* Styling for Abuse Filter tags */
| |
| .mw-tag-markers {
| |
| font-style: italic;
| |
| font-size: 90%;
| |
| }
| |
|
| |
| /* T156351: Support for Parsoid's Cite implementation */
| |
| .mw-ref > a[data-mw-group=lower-greek]::after {
| |
| content: '[' counter( mw-Ref, lower-greek ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=decimal]::after {
| |
| content: '[' counter( mw-Ref, decimal ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=lower-alpha]::after {
| |
| content: '[' counter( mw-Ref, lower-alpha ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=upper-alpha]::after {
| |
| content: '[' counter( mw-Ref, upper-alpha ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=upper-roman]::after {
| |
| content: '[' counter( mw-Ref, upper-roman ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=lower-roman]::after {
| |
| content: '[' counter( mw-Ref, lower-roman ) ']';
| |
| }
| |
| span[ rel="mw:referencedBy" ] {
| |
| counter-reset: mw-ref-linkback 0;
| |
| }
| |
| span[ rel="mw:referencedBy" ] > a::before {
| |
| font-weight: bold;
| |
| font-style: italic;
| |
| content: counter( mw-ref-linkback, lower-alpha );
| |
| }
| |
| /* 这里放置的CSS将应用于所有皮肤 */
| |
|
| |
| /*
| |
| * 请尊重音MAD维基版权,复制需要注明源自音MAD维基,并且附上URL地址 https://otomad.wiki/MediaWiki:Common.css
| |
| * 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0
| |
| */
| |
|
| |
| /* 加载Material icons */
| |
| @font-face {
| |
| font-family: 'Material Icons';
| |
| font-style: normal;
| |
| font-weight: 400;
| |
| font-display: block;
| |
| src: url(https://gstatic.loli.net/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
| |
| }
| |
|
| |
| .material-icons, .md, .md-lg, .md-md, .md-sm {
| |
| font-family: 'Material Icons';
| |
| font-weight: normal;
| |
| font-style: normal;
| |
| font-size: 24px; /* Preferred icon size */
| |
| display: inline-block;
| |
| line-height: 1;
| |
| text-transform: none;
| |
| letter-spacing: normal;
| |
| word-wrap: normal;
| |
| white-space: nowrap;
| |
| direction: ltr;
| |
| user-select: none;
| |
|
| |
| /* Support for all WebKit browsers. */
| |
| -webkit-font-smoothing: antialiased;
| |
| /* Support for Safari and Chrome. */
| |
| text-rendering: optimizeLegibility;
| |
|
| |
| /* Support for Firefox. */
| |
| -moz-osx-font-smoothing: grayscale;
| |
|
| |
| /* Support for IE. */
| |
| font-feature-settings: 'liga';
| |
| }
| |
| .md-lg {
| |
| font-size: 60px;
| |
| }
| |
| .md-md {
| |
| font-size: 30px;
| |
| }
| |
| .md-sm {
| |
| font-size: 10px;
| |
| }
| |
|
| |
| /* 隐藏首页按钮和标题 */
| |
| body.page-首页 #firstHeading, body.page-首页 li#ca-talk, body.page-首页 li#ca-watch, body.page-首页 li#ca-unwatch, body.page-首页 li#ca-history, body.page-首页 li#ca-nstab-main, body.page-首页 li#ca-viewsource, body.page-首页 #catlinks-sidebar, body.page-首页 #mw-normal-catlinks, body.page-首页 #ca-view {
| |
| display: none !important;
| |
| }
| |
|
| |
| body.page-首页 #siteSub {
| |
| display: none;
| |
| }
| |
|
| |
| .page-留言板 #mw-wrapper #flowthread {
| |
| margin-top: 0;
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| flex-direction: column-reverse;
| |
| margin: 24px 0 4px;
| |
| }
| |
|
| |
| .page-留言板 #mw-wrapper #flowthread .comment-paginator {
| |
| border: 0;
| |
| display: flex;
| |
| justify-content: flex-end;
| |
| }
| |
|
| |
| .page-留言板 #mw-wrapper #flowthread .comment-paginator span {
| |
| display: flex;
| |
| border: 0;
| |
| width: 36px;
| |
| height: 36px;
| |
| padding: 0;
| |
| margin: 0;
| |
| text-align: center;
| |
| align-items: center;
| |
| justify-content: center;
| |
| font-size: 14px;
| |
| border-radius: 0;
| |
| background-color: #fafafa;
| |
| box-shadow: inset 0px 10px 4px -4px rgba(0, 0, 0, 0.04);
| |
| }
| |
|
| |
| .page-留言板 #mw-wrapper #flowthread .comment-paginator span[current] {
| |
| color: white;
| |
| background-color: #fb7299;
| |
| box-shadow: 0 2px 4px rgba(240, 110, 142, 0.6);
| |
| font-weight: bold;
| |
| border-radius: 4px !important;
| |
| }
| |
|
| |
| .page-留言板 #mw-wrapper #flowthread .comment-paginator span:first-child{
| |
| border-radius: 4px 0 0 4px;
| |
| }
| |
|
| |
| .page-留言板 #mw-wrapper #flowthread .comment-paginator span:last-child{
| |
| border-radius: 0 4px 4px 0;
| |
| }
| |
|
| |
| .res-img img {
| |
| max-width:100%;
| |
| height:auto;
| |
| }
| |
|
| |
| /* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
| |
| /* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
| |
| /* 黑幕模板配合CSS */
| |
| /* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */
| |
| .heimu,
| |
| .heimu rt {
| |
| background-color: #252525;
| |
| }
| |
| span.heimu a.external,
| |
| span.heimu a.external:visited,
| |
| span.heimu a.extiw,
| |
| span.heimu a.extiw:visited {
| |
| color: #252525;
| |
| }
| |
| .heimu,
| |
| .heimu a,
| |
| a .heimu,
| |
| .heimu a.new {
| |
| color: #252525;
| |
| text-shadow: none;
| |
| }
| |
| body:not(.heimu_toggle_on) .heimu:hover,
| |
| body:not(.heimu_toggle_on) .heimu:active,
| |
| body:not(.heimu_toggle_on) .heimu.off {
| |
| transition: color .13s linear;
| |
| color: white;
| |
| }
| |
| body:not(.heimu_toggle_on) .heimu:hover a,
| |
| body:not(.heimu_toggle_on) a:hover .heimu,
| |
| body:not(.heimu_toggle_on) .heimu.off a,
| |
| body:not(.heimu_toggle_on) a:hover .heimu.off {
| |
| transition: color .13s linear;
| |
| color: lightblue;
| |
| }
| |
| body:not(.heimu_toggle_on) .heimu.off .new,
| |
| body:not(.heimu_toggle_on) .heimu.off .new:hover,
| |
| body:not(.heimu_toggle_on) .new:hover .heimu.off,
| |
| body:not(.heimu_toggle_on) .heimu:hover .new {
| |
| transition: color .13s linear;
| |
| color: #FCC;
| |
| }
| |
| /* info类模板 */
| |
| .infoBox {
| |
| margin: 10px auto;
| |
| width: 80%;
| |
| box-shadow: 0 1px 3px 0px rgb(0 0 0 / 20%);
| |
| border-radius: 4px;
| |
| }
| |
| @media screen and (max-width: 850px) {
| |
| .infoBox {
| |
| float: unset !important;
| |
| width: 100% !important;
| |
| clear: both;
| |
| }}
| |
| .infoBox a, p{
| |
| word-break: break-all;
| |
| }
| |
| .infoBoxTitle {
| |
| margin: 3px auto;
| |
| padding: 6px 0 0 0;
| |
| text-align: center;
| |
| font-weight: 700;
| |
| }
| |
| .infoBoxIcon {
| |
| display: table-cell;
| |
| padding: 2px 0 2px .5em;
| |
| vertical-align: middle;
| |
| }
| |
| .infoBoxText {
| |
| display: table-cell;
| |
| padding: .25em .5em .25em 1.3em;
| |
| width: 100%;
| |
| vertical-align: middle;
| |
| }
| |
| .infoBoxContent {
| |
| border: 1px solid #ddd;
| |
| border-left-width: 0;
| |
| background: #fbfbfb;
| |
| }
| |
| .infoBoxBelow {
| |
| margin: 0 auto;
| |
| padding: 0;
| |
| text-align: center;
| |
| }
| |
| /* wikitable green */
| |
| table.wikitable-green {
| |
| background: #c9f6e1
| |
| }
| |
| .wikitable-green th {
| |
| background: #13ec93
| |
| }
| |
| .wikitable-green td {
| |
| background: #f3f3f3
| |
| }
| |
|
| |
|
| |
|
| |
| /* 教程链接列表 */
| |
| /* 目前全部移动到 https://otomad.wiki/Template:链接列表/style.css 下
| |
| .tutorial-links {
| |
| width: 100%;
| |
| margin-bottom: 6px;
| |
| }
| |
| .tutorial-links>tbody>tr>td:first-child {
| |
| text-align: center;
| |
| width: 35px;
| |
| }
| |
| .tutorial-links>tbody>tr>td:first-child>span {
| |
| border: 1px #e06386 solid;
| |
| border-radius: 4px;
| |
| color: #e06386;
| |
| font-size: 12px;
| |
| height: 14px;
| |
| padding: 2px 4px;
| |
| }
| |
| .tutorial-links>tbody>tr>td:nth-child(2) {
| |
| padding-left: 6px;
| |
| }
| |
| .tutorial-links>tbody>tr>td:nth-child(3) {
| |
| font-size: 12px;
| |
| color: grey;
| |
| text-align: right;
| |
| }
| |
| */
| |
|
| |
| /*scrollUpButton样式*/
| |
| img#scrollUpButton, img#scrollDownButton {
| |
| transition: transform 200ms;
| |
| }
| |
| img#scrollUpButton:hover {
| |
| transform: scale(1.1);
| |
| }
| |
| img#scrollUpButton:active {
| |
| transform: scale(.95);
| |
| }
| |
| img#scrollDownButton:hover {
| |
| transform: rotate(180deg)scale(1.1) !important;
| |
| }
| |
| img#scrollDownButton:active {
| |
| transform: rotate(180deg)scale(.95) !important;
| |
| }
| |
|
| |
| /* 从https://zh.wikipedia.org/wiki/MediaWiki:Common.css引入的样式 */
| |
| /* Style for horizontal lists (separator following item) */
| |
| .hlist dl,
| |
| .hlist ol,
| |
| .hlist ul {
| |
| margin: 0;
| |
| }
| |
| .hlist dd,
| |
| .hlist dt,
| |
| .hlist li {
| |
| display: inline;
| |
| margin: 0;
| |
| }
| |
| /* 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 IE 8 */
| |
| .hlist dd.nopunct:after,
| |
| .hlist dt.nopunct:after,
| |
| .hlist li.nopunct:after {
| |
| content: none;
| |
| }
| |
| /* Add parens around nested lists */
| |
| .hlist dl dl:before,
| |
| .hlist ol ol:before,
| |
| .hlist ul ul:before {
| |
| content: "(";
| |
| }
| |
| .hlist dl dl:after,
| |
| .hlist ol ol:after,
| |
| .hlist ul ul:after {
| |
| content: ")";
| |
| }
| |
| /* Put numbers in ordered lists */
| |
| .hlist.hnum ol li {
| |
| counter-increment: level1;
| |
| }
| |
| .hlist.hnum ol li:before {
| |
| content: counter(level1) " ";
| |
| }
| |
| .hlist.hnum ol ol li {
| |
| counter-increment: level2;
| |
| }
| |
| .hlist.hnum ol ol li:before {
| |
| content: counter(level2) " ";
| |
| }
| |
| /* Default style for navigation boxes */
| |
| .navbox { /* Navbox container style */
| |
| border: 1px solid #a2a9b1;
| |
| width: 100%;
| |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| }
| |
| .navbox-inner,
| |
| .navbox-subgroup {
| |
| width: 100%;
| |
| }
| |
| .navbox th,
| |
| .navbox-title,
| |
| .navbox-abovebelow {
| |
| text-align: center; /* Title and above/below styles */
| |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| }
| |
| th.navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| .navbox,
| |
| .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| 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 + table.navbox { /* Single pixel border between adjacent navboxes */
| |
| margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| |
| }
| |
| .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 */
| |
| }
| |
| .navbox .hlist dd,
| |
| .navbox .hlist dt,
| |
| .navbox .hlist li {
| |
| white-space: nowrap; /* Nowrap list items in navboxes */
| |
| }
| |
| .navbox .hlist dd dl,
| |
| .navbox .hlist dt dl,
| |
| .navbox .hlist li ol,
| |
| .navbox .hlist li ul {
| |
| white-space: normal; /* But allow parent list items to be wrapped */
| |
| }
| |
| ol + table.navbox,
| |
| ul + table.navbox {
| |
| margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
| |
| }
| |
|
| |
| /* Default styling for Navbar template */
| |
| .navbar {
| |
| display: inline;
| |
| font-weight: normal;
| |
| }
| |
| .navbar ul {
| |
| display: inline;
| |
| white-space: nowrap;
| |
| }
| |
| .navbar li {
| |
| word-spacing: -0.125em;
| |
| }
| |
| .navbar.mini li abbr[title] {
| |
| font-variant: small-caps;
| |
| border-bottom: none;
| |
| text-decoration: none;
| |
| cursor: inherit;
| |
| }
| |
| /* Navbar styling when nested in navbox */
| |
| .navbox .navbar {
| |
| display: block;
| |
| }
| |
| .navbox-title .navbar {
| |
| /* @noflip */
| |
| float: left;
| |
| /* @noflip */
| |
| text-align: left;
| |
| /* @noflip */
| |
| margin-right: 0.5em;
| |
| width: 8em;
| |
| }
| |
|
| |
| /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
| |
| in [[MediaWiki:Common.js]] are styled here so they can be customised. */
| |
| .collapseButton {
| |
| /* @noflip */
| |
| float: right;
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| margin-left: 0.5em;
| |
| /* @noflip */
| |
| text-align: right;
| |
| width: auto;
| |
| }
| |
| /* In navboxes, the show/hide button balances the v·d·e links
| |
| from [[Template:Navbar]], so they need to be the same width. */
| |
| .navbox .collapseButton {
| |
| width: 8em;
| |
| }
| |
| /*个人资料设置页*/
| |
| .profile-tab{
| |
| background-color: unset;
| |
| padding: 9px 10px 10px;
| |
| font-size: 16px;
| |
| }
| |
| .profile-tab-on a:visited{
| |
| color: #000 !important;
| |
| }
| |
| .profile-tab a:visited{
| |
| color: #000 !important;
| |
| }
| |
| .profile-tab-on a, .profile-tab a{
| |
| color: #000;
| |
| }
| |
| .profile-tab-on{
| |
| background-color: unset;
| |
| padding: 9px 10px 10px;
| |
| font-size: 16px;
| |
| border-bottom: solid 2px #FB7299;
| |
| }
| |
| .eye-container .title{
| |
| color: #000;
| |
| font-size: 14px;
| |
| }
| |
| .eye-container{
| |
| box-shadow: none;
| |
| opacity: 1.0;
| |
| }
| |
| /*提示框*/
| |
| .mw-notification{
| |
| border: none;
| |
| border-radius: 4px;
| |
| box-shadow: 0 0 12px rgb(0 0 0 / 15%);
| |
| }
| |
| /*修复和修改infobox*/
| |
| @media screen and (max-width: 850px){
| |
| .infobox{
| |
| width: 100%;
| |
| margin: 0em 0em 2em;
| |
| }}
| |
| @media screen and (min-width: 851px){
| |
| .infobox{
| |
| width: 300px;
| |
| margin: 1em 0 30px 30px;
| |
| }}
| |
| .infoBoxContent{
| |
| border: 0;
| |
| border-radius: 4px;
| |
| }
| |
|
| |
| .fieldset{
| |
| border: 1px solid #c7c7c7;
| |
| border-radius: 4px;
| |
| padding: 0.35em 1.625em 0.75em;
| |
| }
| |
| textarea {
| |
| border-radius: 4px;
| |
| box-shadow: none;
| |
| background-color: transparent;
| |
| border: 1px solid var(--border-color-base--darker);
| |
| outline: none;
| |
| }
| |
| textarea:hover {
| |
| border: 1px solid #fb7299;
| |
| background: transparent;
| |
| }
| |
| textarea:focus-visible {
| |
| box-shadow: inset 0 0 0 1px #fb7299;
| |
| border: 1px solid #fb7299;
| |
| background: transparent;
| |
| }
| |
| /*导航盒*/
| |
| .navbox th, .navbox-title {
| |
| background: #FCA6BF;
| |
| }
| |
| .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
| |
| background: #FDBFD0;
| |
| }
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background: #FED7E2;
| |
| }
| |
| .navbox-even {
| |
| background: #FFF0F4;
| |
| }
| |
| .navbox{
| |
| border: 0;
| |
| }
| |
| /* 资料卡 */
| |
| #profile-toggle-button{
| |
| background-color: #fb7299;
| |
| border-radius: 2px;
| |
| padding: 5px 10px;
| |
| transition: box-shadow 200ms,transform 200ms;
| |
| box-shadow: 0 4px 4px rgb(251 114 153 / 30%);
| |
| }
| |
| #profile-toggle-button a {
| |
| font-weight: bold;
| |
| }
| |
| #profile-toggle-button:hover {
| |
| box-shadow: 0 9px 9px rgb(251 114 153 / 30%);
| |
| }
| |
| #profile-toggle-button:active {
| |
| box-shadow: 0 0 0 rgb(251 114 153 / 30%);
| |
| transform: scale(.95);
| |
| background-color: #bd5774;
| |
| }
| |
| #profile-toggle-button:focus, #profile-toggle-button:focus-visible, #profile-toggle-button:focus-within {
| |
| box-shadow: inset 0 0 0 1px #fb7299, inset 0 0 0 2px #fff;
| |
| outline: 1px solid transparent;
| |
| }
| |
| .profile-on{
| |
| background-color: #fff6c3;
| |
| padding: 5px 10px 5px 10px;
| |
| border-radius: 4px;
| |
| border: none;
| |
| }
| |
| /*按钮动画*/
| |
| .oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button{
| |
| transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms,transform 200ms
| |
| }
| |
| /*圆形头像*/
| |
| #profile-image img{
| |
| border-radius: 50%;
| |
| padding: 4px;
| |
| border: none;
| |
| width: 75px;
| |
| }
| |
| .c-avatar img{
| |
| border-radius: 50%;
| |
| }
| |
| .profile-info img {
| |
| border-radius: 50%;
| |
| }
| |
| /*解决cite定位内文字显示为斜体的问题*/
| |
| cite {
| |
| font-style: normal;
| |
| }
| |
| /* 首页dpl列表相关样式 */
| |
| .mini-block {
| |
| width: 100%;
| |
| min-width: 20%;
| |
| padding: 15px 15px 20px 15px;
| |
| margin: 5px;
| |
| box-shadow: 0 3px 6px rgba(0,0,0,0.04);
| |
| border: 1px solid; border-color: rgba(0,0,0,0.05);
| |
| border-radius: 8px;
| |
| word-break: break-all;
| |
| }
| |
| .mini-block-container {
| |
| width: 100%;
| |
| display: flex;
| |
| justify-content: space-between;
| |
| }
| |
| .mini-block-list a{
| |
| color: #212121;
| |
| }
| |
| .mini-block-list a.new{
| |
| color: #212121;
| |
| }
| |
| .mini-block-list a:hover{
| |
| color: #00aeec;
| |
| }
| |
| .mini-block-list li a:hover {
| |
| color: #212121;
| |
| }
| |
| .mini-block-container li{
| |
| border-radius: 4px;
| |
| margin: 0;
| |
| list-style: none;
| |
| cursor: pointer;
| |
| transition: background cubic-bezier(0.22,0.58,0.12,0.98) 0.4s;
| |
| }
| |
| @media screen and (min-width: 851px) {
| |
| .mini-block-container li:hover {
| |
| background: #0000000d;
| |
| }
| |
| .mini-block-container li:hover a {
| |
| transform: translateX(5px);
| |
| }
| |
| }
| |
| .mini-block-container ul {
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
| .mini-block-container li a {
| |
| padding: .5em .4em;
| |
| display: inline-block;
| |
| width: 100%;
| |
| transition: transform cubic-bezier(0.22,0.58,0.12,0.98) 0.4s;
| |
| }
| |
| @media screen and (max-width: 850px) {
| |
| .mini-block {
| |
| align-self: stretch;
| |
| width: auto;
| |
| margin: 5px 0;
| |
| }
| |
| .mini-block-container {
| |
| flex-direction: column;
| |
| }
| |
| }
| |
| .mini-block p{
| |
| margin-left: 6px;
| |
| }
| |
|
| |
|
| |
| /*针对移动端用户页的竖向排列*/
| |
| @media screen and (max-width: 850px){
| |
| #user-page-left {
| |
| width: 100%;
| |
| float: none;}
| |
| #user-page-right {
| |
| width: 100%;
| |
| float: none;
| |
| }
| |
| }
| |
|
| |
| /*移动端导航栏子级标题竖向排列*/
| |
| @media screen and (max-width: 850px){
| |
| th.navbox-group {
| |
| white-space: normal;
| |
| }
| |
| th.navbox-group div {
| |
| line-height: 1.3em;
| |
| width: 10px;
| |
| margin: 10px 0;
| |
| }
| |
| }
| |
|
| |
| /* 留言板FlowThread隐藏热门 */
| |
| .page-留言板 .comment-container-top {
| |
| display: none;
| |
| }
| |
|
| |
| /* 上传文件InfoBox排版增强修复 */
| |
| .mw-special-Upload i.md {
| |
| display: flex;
| |
| }
| |
| .mw-special-Upload .infoBoxText li {
| |
| margin-top: 6px;
| |
| margin-bottom: 0;
| |
| }
| |
|
| |
| /* 设置原生html组件的颜色 */
| |
| body {
| |
| accent-color: #ea6b8f;
| |
| }
| |
|
| |
| /* 现代化FlowThread主题 */
| |
| #flowthread .comment-submit {
| |
| font-family: inherit;
| |
| color: white;
| |
| border: 0;
| |
| background-color: #fb7299;
| |
| background-color: var(--color-primary);
| |
| text-shadow: none;
| |
| top: 0;
| |
| right: 0;
| |
| border-radius: 0 0 var(--border-radius--small) 0;
| |
| }
| |
|
| |
| #flowthread .comment-toolbar {
| |
| height: 36px;
| |
| border: 0;
| |
| border-top: 1px solid var(--border-color-base--darker);
| |
| background-color: #f8f9fa;
| |
| background-color: var(--color-surface-2);
| |
| border-radius: 0 0 var(--border-radius--small) var(--border-radius--small);
| |
| margin-bottom: 0;
| |
| }
| |
|
| |
| #flowthread .comment-thread {
| |
| border: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| #flowthread .comment-avatar {
| |
| border-radius: 100%;
| |
| overflow: hidden;
| |
| }
| |
|
| |
| #flowthread .comment-text {
| |
| font-size: inherit;
| |
| }
| |
|
| |
| #flowthread .comment-user, .comment-user a {
| |
| font-size: inherit;
| |
| color: var(--color-base--subtle);
| |
| }
| |
|
| |
| #flowthread .comment-footer {
| |
| font-size: 14px;
| |
| }
| |
|
| |
| #flowthread .flowthread-btn-wikitext,
| |
| #flowthread .flowthread-btn-preview {
| |
| width: 36px;
| |
| height: 36px;
| |
| margin: 0;
| |
| box-shadow: none;
| |
| background-color: transparent;
| |
| border-radius: 100%;
| |
| border: 0 !important;
| |
| }
| |
|
| |
| #flowthread .flowthread-btn-preview {
| |
| transform: translateX(-100%);
| |
| }
| |
|
| |
| #flowthread .flowthread-btn-wikitext.on+.flowthread-btn-preview {
| |
| transform: none;
| |
| }
| |
|
| |
| #flowthread .flowthread-btn-wikitext:hover,
| |
| #flowthread .flowthread-btn-preview:hover {
| |
| background-color: var(--background-color-quiet--hover);
| |
| }
| |
|
| |
| #flowthread .comment-submit {
| |
| height: inherit;
| |
| }
| |
|
| |
| #flowthread .comment-replybox > .comment-body {
| |
| border: 1px solid var(--border-color-base--darker);
| |
| border-radius: var(--border-radius--small);
| |
| padding-left: 0;
| |
| margin-left: 60px;
| |
| }
| |
|
| |
| #flowthread .comment-replybox > .comment-body:has(textarea:focus-visible) {
| |
| border-color: var(--color-primary);
| |
| }
| |
|
| |
| #flowthread .comment-replybox > .comment-body textarea, #flowthread .comment-preview {
| |
| background-color: transparent;
| |
| border: 0;
| |
| box-shadow: none;
| |
| }
| |
|
| |
| #flowthread .comment-post,
| |
| #flowthread .comment-container > .comment-thread {
| |
| padding: 12px 0;
| |
| }
| |
|
| |
| #flowthread .comment-reply::before,
| |
| #flowthread .comment-like::before,
| |
| #flowthread .comment-report::before,
| |
| #flowthread .comment-delete::before {
| |
| display: inline-block;
| |
| background-image: none;
| |
| direction: ltr;
| |
| font-family: 'Material Icons';
| |
| font-feature-settings: 'liga';
| |
| -webkit-font-smoothing: antialiased;
| |
| -moz-osx-font-smoothing: grayscale;
| |
| font-style: normal;
| |
| font-weight: normal;
| |
| letter-spacing: normal;
| |
| line-height: 1;
| |
| text-align: center;
| |
| text-indent: 0;
| |
| text-rendering: optimizeLegibility;
| |
| text-transform: none;
| |
| user-select: none;
| |
| vertical-align: middle;
| |
| white-space: nowrap;
| |
| word-wrap: normal;
| |
| width: 18px;
| |
| height: 18px;
| |
| color: black;
| |
| font-size: 18px;
| |
| opacity: var(--opacity-icon-base);
| |
| border-radius: 100%;
| |
| }
| |
|
| |
| #flowthread .comment-reply::before {
| |
| content: 'reply';
| |
| }
| |
| #flowthread .comment-like::before {
| |
| content: 'favorite';
| |
| }
| |
| #flowthread .comment-report::before {
| |
| content: 'flag';
| |
| }
| |
| #flowthread .comment-delete::before {
| |
| content: 'delete';
| |
| }
| |
| #flowthread .comment-like[liked],
| |
| #flowthread .comment-report[reported] {
| |
| color: var(--color-primary);
| |
| }
| |
| #flowthread .comment-like[liked]::before,
| |
| #flowthread .comment-report[reported]::before {
| |
| opacity: 1;
| |
| color: var(--color-primary);
| |
| }
| |