MediaWiki:Gadget-Site.css
Nota: Depois de publicar, poderá ter de contornar a 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: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/** Remove o cabeçalho da página principal **/
.page-Wikisource_Página_principal #contentSub,
.page-Wikisource_Página_principal #catlinks,
.page-Wikisource_Página_principal h1.firstHeading {
display: none;
}
/** Remove sumário dos novos tópicos da esplanada **/
body.page-Wikisource_Esplanada #wpSummary,
body.page-Wikisource_Esplanada #wpSummaryLabel {
display:none;
}
/* prettybluetable */
table.prettybluetable {
margin: 1em 1em 1em 0;
background: #f5faff;
border: 1px solid #5B92E5;
border-collapse: collapse;
}
table.prettybluetable th, table.prettybluetable td {
border: 1px solid #5B92E5;
padding: 0.2em;
}
table.prettybluetable th {
background: #cedff2;
text-align: center;
}
table.prettybluetable caption {
margin-left: inherit;
margin-right: inherit;
}
/**
* 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;
}
/* Imagens transparentes dos topos da infobox V2 */
.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;}
/* Fim da fase de teste da Infobox V2 */
/* Imagem de fundo
Usada em [[Especial:Recentchanges]] e em [[Página principal]]
*/
#BG_wiki { background-image: url(//upload.wikimedia.org/wikipedia/commons/e/e1/Wikisource-logo-sfondo.png);}
/* references
make the list of references look smaller */
ol.references {
font-size: 90%;
}
.references-normal { font-size: 111%;}
/* Realce a azul das referências ''clicadas'' para ajudar na navegação */
ol.references > li:target {
background-color: #DEF;
}
/* All header templates
Copiado de //en.wikisource.org/w/index.php?oldid=4863528 */
#divMediaWiki-Proofreadpage_header_template {
width: 100%;
float: left; /* containment */
padding: 0.5em 0; /* do any l/r padding on an inner element */
text-align: center;
}
/* colours common to Template:Header and MediaWiki:Proofreadpage header template */
table.headertemplate, div.headertemplate, div.footertemplate, div#divMediaWiki-Proofreadpage_header_template {
border: 1px solid #ADA;
background-color: #E4F2E4;
}
#divMediaWiki-Proofreadpage_header_template div.hAuthor {
padding-top: 0.5em;
padding-bottom: 0.4em;
font-size: 100%;
font-weight: bold;
}
#divMediaWiki-Proofreadpage_header_template div.hTitle {
padding-top: 0.4em;
padding-bottom: 0.4em;
font-size: 120%;
font-weight: bold;
}
#divMediaWiki-Proofreadpage_header_template div.hDetails {
padding-top: 0.4em;
padding-bottom: 0.5em;
font-size: 90%;
}
#divMediaWiki-Proofreadpage_header_template div.hNavigation {
width: 100%;
float: left; /* containment */
padding: 0.2em 0; /* do any l/r padding on an inner element */
/* do not like this
* border-top: 1px solid #ADA;
*/
}
#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavPrev {
float: left;
text-align: left; /* override ambient for containing element */
padding-left: 1em;
}
#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavNext {
float: right;
text-align: right; /* override ambient for containing element */
padding-right: 1em;
}
#divMediaWiki-Proofreadpage_header_template div.hNavigation .hNavCurrent {
text-align: center; /* after floats in source order! */
}
#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavPrev,
#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavNext {
width: 20%; /* as in Header and Author templates */
}
#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavPrev span,
#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavNext span {
color: #808080;
}
/* Real header templates */
.translationheadertemplate, .processheadertemplate, .portalheadertemplate, .authortemplate, .headertemplate {
width: 100%;
margin-bottom: 5px;
}
/* Forward and backward link */
.gen_header_backlink, .gen_header_forelink {
width: 20%;
font-size: 0.9em;
line-height: normal;
}
.gen_header_backlink {
text-align: left;
}
.gen_header_forelink {
text-align: right;
}
/* Title field */
.gen_header_title {
width: 60%;
text-align: center;
}
/* Notes field */
.translation_notes, .process_notes, .author_notes, .portal_notes, .header_notes {
width: 100%;
font-size: 0.9em;
line-height: 1.4em;
margin-bottom: 0.5em; /* a bit of space before body-text; 1em might be better... */
}
.header_notes {
border-bottom: 1px solid #A0A0A0;
background-color: #FAFAFF;
}
/* Specific header templates */
/* For Header template, see above with ProofreadPage code */
/* Template:Header (footer) */
.footertemplate {
box-sizing: border-box;
font-size: 0.9em;
padding: 0.50em 0.10em 0.50em 0.10em;
text-align: center;
margin-bottom: 5px;
width: 100%;
}
/* Template:Author */
.authortemplate {
border: 1px solid #BEA2A2;
background-color: #E4D8D8;
}
.author_notes {
border-bottom: 1px solid #A88;
background-color: #FFFBFC;
}
.author_seealso { /* Remove this if we change to Plain_sister usage */
float: right;
padding: 2px;
margin: 0 0 0.5em 1em;
border: 1px solid #CCC;
}
/* Process_header template */
.processheadertemplate {
border: 1px solid #966;
background-color: #DCA;
}
.process_notes {
border-bottom: 1px solid #A88;
background-color: #FFFBFC;
}
/* Portal_header template */
.portalheadertemplate {
border: 1px solid #36A;
background-color: #DDE;
}
.portal_notes {
border-bottom: 1px solid #88A;
background-color: #FCFBFF;
}
/* Translation_header template */
.translationheadertemplate {
border: 1px solid #FDD017;
background-color: #FFB;
}
.translation_notes {
border-bottom: 1px solid #FDD017;
background-color: #FFF8DC;
}
/* Cores */
/* Corrige o [[bugzilla:2318]], fazendo com que os redirecionamentos sejam
marcados de modo diferente na página Especial:Allpages */
.allpagesredirect a,
.watchlistredir a {
font-style: italic;
margin-left: 1em;
color:green;
}
/* On [[Special:RecentChanges]] and [[Special:Watchlist]] make the new pages symbol bold green and the minor edit symbol gray. */
.newpage {
color: green;
}
.minoredit,
.minor {
color: gray;
}
/* Special:Search styles */
.mw-search-results {
margin-left: 0;
}
.mw-search-results li {
margin: 0;
padding: 0.25em 1em;
border-bottom: 1px solid #d3daed;
background-color: #f6f8fc;
list-style-type: none;
list-style-image: none;
}
/* Styles */
/* poem : utilizar com <poem> para os textos em versos */
.poem {
margin-bottom: 0em;
margin-top: 0em;
line-height: 1.6em;
margin-left: 2.5em;
text-indent: 0em;
}
.poem p {
margin-top: 0 ! important;
margin-bottom: 0 ! important;
text-indent: 0 !important;
}
/* prose : utilizar em textos normais */
.prose {
text-align: justify;
margin:0px auto;
}
.prose p {
text-indent: 2em
}
/*********
** Page namespace
*********/
/* transcluded pages */
.lefttext p {
text-indent:2em;
}
.lefttext {
width:33em;
text-align:justify;
margin:5em;
}
/* Resolve o problema de centralização causado pelas flagsrevs */
body.ns-106 div.pagetext {clear: both;}
/* ProofreadPage */
.quality4 {background:#90ff90;}
.quality3 {background:#ffe867;}
.quality2 {background:#b0b0ff;}
.quality1 {background:#ffa0a0;}
/* omitir os números do sumário */
.tocnumber { display:none;}
/* Para a documentação das predefinições */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #C0C0C0;
background-color: #F3F3F3;
padding: 5px;
}
/* Remove bordas brancas de thumbnails e corrige margem*/
.thumb { border: none;}
.tright { margin-left: 1.5em;}
.tleft { margin-right: 1.5em;}
/*
* Layouts Dinâmicos
*/
#text-wrap {
margin-left:3em;
position:relative;
}
#text {
text-align:justify;
margin:0px auto;
}
#text p {
text-indent: 2em;
}
#text dl, #text ol {
margin-left: 2em;
}
.tiInherit p,
#text .poem p{
text-indent: inherit!important;
}
/* destacamento de âncoras ("InvisibleAnchor") usadas com a Predefinição:âncora */
.InvisibleAnchor:target {background-color:#DEF;}
/* Oculta avisos desnecessários ao criar páginas novas na seção de transcrição de textos */
body.ns-106 .mw-newarticletext {display:none;}
body.ns-106 .fr-comment-box {display: block;}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
.navbox .mw-collapsible-toggle {
width: 6em;
}
/**
* Icons on the top right of the article.
* See also JS
*
* @source www.mediawiki.org/wiki/Snippets/Top_icons
* @version 5
*/
/* Hide without javascript */
.Top_icon_raw {
display: none;
}
/* With JavaScript */
.Top_icon_dynamic {
float: right;
padding-left: 10px;
font-size: 50%;
width: auto !important;
}
.Top_icon_raw p, .Top_icon_dynamic p {
padding: 0;
margin: 0;
}
@media print {
/* omitir navegação de subpáginas no espaço nominal principal */
.ns-0 .subpages { display:none; }
p {
text-align: inherit; /* override the load.php 'justify', which breaks centre and right alignments */
}
#text dl, #text ol {
margin-left: 0;
}
#mw-content-text {
text-align: justify; /* apply justify to the out div, and centred/right-aligned can override as usual */
}
.capa{
padding: 0;
background: none;
}
}
.capa{
max-width:36em;
margin:0 auto;
font-family:serif;
padding: 4em 0 4em 0;
background: radial-gradient(#ffffff, #faeed8);
}
/* @end */