Skip to main content
m (Documentacao)
(Mais limpeza, arrumação e algumas novas funções)
Linha 1: Linha 1:
 
/*
 
/*
ATTENTION ADMINISTRATORS:
+
ATENÇÃO ADMINISTRADORES
This is the CSS for all skins. Any major changes to this page or
+
Este é o ficheiro CSS para todos os usuários e skins da WikiSporting.com
[[MediaWiki:Monobook.css|Monobook.css]] should be first proposed on
+
 
the [[Wikipedia:Village pump (technical)|Village pump]].
+
SECÇÕES
Testing can be done on your own user Monobook.css. In [[Mozilla]] and
+
1. Página Inicial
[[Opera (web browser)|Opera]], you can also test style changes dynamically
+
2. Avisos
with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles]
+
3. Tabelas
bookmarklet from squarefree.com. It pops up a window for adding style rules,
+
4. Predefinições
and updates the page as you type.
+
5. Extensões
Always check with the [http://tinyurl.com/28y334 W3C CSS Validation Service]
+
6. Outras alterações
([http://tinyurl.com/2g8bsk CVS version]) before and after any changes.
+
See also: [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
+
Thank you.
+
 
*/
 
*/
  
/* make the list of references look smaller */
+
/** 1. PÁGINA INICIAL **/
  
ol.references {
+
/* Retirar o título da Página Inicial */
     font-size: 90%;
+
body.page-Main_Page h1.firstHeading {
 +
     display:none;
 
}
 
}
  
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
+
/** 2. AVISOS **/
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
+
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
+
/* Please ignore any validator errors caused by these two lines */
+
  
.references-2column {
+
/* Notice */
    font-size: 90%;
+
.notice {
    -moz-column-count: 2;
+
     margin: 1em;
    -webkit-column-count: 2;
+
     padding: 0.2em;
    column-count: 2;
+
}
+
.same-bg {
+
    background: none;
+
}
+
 
+
/* Highlight clicked reference in blue to help navigation */
+
 
+
ol.references > li:target {
+
     background-color: #DEF;
+
}
+
sup.reference:target {
+
     background-color: #DEF;
+
}
+
 
+
/* Styling for citations */
+
 
+
cite {
+
    font-style: normal;
+
    word-wrap: break-word;
+
}
+
 
+
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
+
 
+
cite:target {
+
    background-color: #DEF;
+
}
+
 
+
/* Do not expand URLs within citations for printing. The URLs should be included explicitly, to avoid confusion */
+
 
+
@media print {
+
#content cite a.external.text:after {
+
    display: none;
+
}
+
}
+
 
+
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
+
 
+
@media screen, handheld, projection {
+
cite *.printonly {
+
    display: none;
+
}
+
 
}
 
}
  
/* wikitable/prettytable class for skinning normal tables */
+
/** 3. TABELAS **/
  
 +
/* Wikitable e Prettytable */
 
table.wikitable,
 
table.wikitable,
 
table.prettytable {
 
table.prettytable {
Linha 102: Linha 56:
 
}
 
}
  
/* default skin for navigation boxes */
+
/* Tabelas colapsáveis */
 
+
table.collapsed tr.collapsible {
table.navbox { /* navbox container style */
+
     display: none;
    border:1px solid #aaa;
+
    width:100%;
+
    margin:auto;
+
    clear:both;
+
    font-size:88%;
+
    text-align:center;
+
     padding:1px;
+
 
}
 
}
table.navbox + table.navbox {
+
.collapseButton { /* Aspectos dos botões "mostrar/esconder" criados no javascript em [[MediaWiki:Common.js]] */
    margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
+
    float: right;
}
+
     font-weight: normal;
.navbox-title,
+
.navbox-abovebelow,
+
table.navbox th {
+
    text-align:center; /* title and above/below styles */
+
    padding-left:1em;
+
    padding-right:1em;
+
}
+
.navbox-group { /* group style */
+
    white-space:nowrap;
+
    text-align:right;
+
    font-weight:bold;
+
    padding-left:1em;
+
    padding-right:1em;
+
}
+
.navbox,
+
.navbox-subgroup {
+
    background:#fdfdfd; /* Background color */
+
}
+
.navbox-list {
+
    border-color:#fdfdfd; /* Must match background color */
+
}
+
.navbox-title,
+
table.navbox th {
+
    background:#ccccff; /* Level 1 color */
+
}
+
.navbox-abovebelow,
+
.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 */
+
}
+
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
+
    float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
+
     font-weight: normal; /* are styled here so they can be customised. */
+
 
     text-align: right;
 
     text-align: right;
 
     width: auto;
 
     width: auto;
 
}
 
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */
 
    width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */
 
}
 
@media print {
 
.navbox {
 
    display: none;
 
}
 
}
 
 
/* Style for "notices" */
 
 
.notice {
 
    margin: 1em;
 
    padding: 0.2em;
 
}
 
#disambig {
 
    border-top: 1px solid #ccc;
 
    border-bottom: 1px solid #ccc;
 
}
 
 
/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
 
 
.redirect-in-category,
 
.allpagesredirect {
 
    font-style: italic;
 
}
 
 
/* Put a checker background at the image description page only visible if the image has transparent background */
 
 
#file img {
 
    background: url("images/Checker-16x16.png") repeat;
 
}
 
 
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
 
  
 +
/* Caixas de navegação NavFrame */
 
div.Boxmerge,
 
div.Boxmerge,
 
div.NavFrame {
 
div.NavFrame {
Linha 249: Linha 120:
 
}
 
}
  
/* Coloured watchlist numbers */
+
/** 4. PREDEFINIÇÕES **/
  
.mw-plusminus-pos {
+
/* Predefinição:Documentação */
     color: #006400; /* darkgreen */
+
#documentacao {
 +
    width: 96%;
 +
    clear: both;
 +
    border: 1px solid #aaa;
 +
    background-color: #ecfcf4;
 +
    padding: 2%;
 +
    margin-top: 2%;
 +
    margin-bottom: 2%;
 +
}
 +
.documentacao-cabecalho {
 +
     border-bottom: 1px solid #aaa;
 +
    background-color: #ecfcf4;
 +
    background-image: url("images/2/20/Template_doc.png");
 +
    background-repeat: no-repeat;
 +
    background-position: left center;
 +
    font-size: 125%;
 +
    text-align: left;
 +
    padding-left: 13%;
 +
    line-height: 50px;
 +
    font-weight: bold;
 
}
 
}
  
/* .mw-plusminus-null currently at developer default */
+
/* Predefinição:Desambiguação */
 
+
#desambiguacao {
.mw-plusminus-neg {
+
    border-top-width: 1px;
     color: #8B0000; /* darkred */
+
     border-bottom-width: 1px;
 +
    border-top-style: solid;
 +
    border-bottom-style: solid;
 +
    border-top-color: #aaa;
 +
    border-bottom-color: #aaa;
 +
    background-image: url("images/1/15/Desambig.png");
 +
    background-repeat: no-repeat;
 +
    background-position: left center;
 +
    text-align: left;
 +
    line-height: 50px;
 
}
 
}
.dablink {
+
.desambiguacao-infosup {
    font-style: italic;
+
     padding-left: 10%;
     padding-left: 2em;
+
 
}
 
}
.dablink i {
+
.desambiguacao-infosub {
     font-style: normal;
+
     font-size: small;
 +
    color: #aaa;
 +
    padding-left: 10%;
 
}
 
}
  
/* Style for horizontal UL lists */
+
/* Predefinição:Quote */
 
+
#quote {
.horizontal ul {
+
     padding-top: 15px;
     padding: 0;
+
    padding-right: 5px;
     margin: 0;
+
    padding-bottom: 15px;
 +
    padding-left: 5px;
 +
    width: auto;
 +
     vertical-align: top;
 
}
 
}
.horizontal li {
+
.quote-aspasup {
     padding: 0 0.6em 0 0.4em;
+
     font-size: 40px;
     display: inline;
+
     color: #007700;
     border-right: 1px solid;
+
     text-align: center;
 
}
 
}
.horizontal li:last-child {
+
.quote-aspasub {
     border-right: none;
+
    margin-top: 0;
     padding-right: 0;
+
    font-size: 40px;
 +
    color: #007700;
 +
    text-align: center;
 +
    vertical-align: bottom;
 +
}
 +
.quote-ref {
 +
     font-size: smaller;
 +
    text-align: right;
 +
     padding-right: 4%;
 
}
 
}
  
/* Styling for Template:Quote */
+
/** 5. EXTENSÕES **/
  
blockquote.templatequote {
+
/* Extensão:Cite */
     margin-top: 0;
+
ol.references {
 +
     font-size: 90%; /* Letra pequena na lista de referências */
 
}
 
}
blockquote.templatequote div.templatequotecite {
+
.references-2column { /* O código abaixo não passa na validação do W3C mas está correcto*/
     line-height: 1em;
+
     font-size: 90%;
     text-align: left;
+
     -moz-column-count: 2;
     padding-left: 2em;
+
     -webkit-column-count: 2;
     margin-top: 0;
+
     column-count: 2;
 
}
 
}
blockquote.templatequote div.templatequotecite cite {
+
.same-bg {
     font-size: 85%;
+
     background: none;
 
}
 
}
div.user-block {
+
ol.references > li:target { /* Quando se clica numa referência, esta é destacada a amarelo para facilitar visualização */
     padding: 5px;
+
     background-color: #FFCC00;
     border: 1px solid #A9A9A9;
+
}
     background-color: #FFEFD5;
+
sup.reference:target {
 +
     background-color: #FFCC00;
 +
}
 +
cite { /* Estilo das citações */
 +
    font-style: normal;
 +
    word-wrap: break-word;
 +
}
 +
cite:target { /* Ao clicar numa ligação para uma referência, esta é destacada a amarelo */
 +
     background-color: #FFCC00;
 +
}
 +
@media print { /* Não expandir os URLs dentro das citações aquando a impressão do artigo */
 +
#content cite a.external.text:after {
 +
    display: none;
 +
}
 +
}
 +
@media screen, handheld, projection { /* Numeração das citações que não necessita ser apresentada em dispositivos de leitura mas que é necessária aquando a impressão */
 +
cite *.printonly {
 +
    display: none;
 
}
 
}
 
/* Prevents line breaks in links; see docs at Template:Nowraplinks */
 
 
.nowraplinks a {
 
    white-space: nowrap;
 
 
}
 
}
  
/* CSS da Predefinição:Documentação  */
+
/** 6. OUTRAS ALTERAÇÕES **/
  
.documentacao {
+
/* Redireccionamentos em intálico nas Categorias e nas Páginas Especiais */
     width: 96%;
+
.redirect-in-category,
    clear: both;
+
.allpagesredirect {
    border: 1px solid #aaa;
+
     font-style: italic;
    background-color: #ecfcf4;
+
    padding: 2%;
+
 
}
 
}
  
.documentacao-cabecalho {
+
/* Coloca um fundo em xadrez na página de descrição de imagens se esta tiver fundo transparente */
    border-bottom: 1px solid #aaa;
+
#file img {
     background-color: #ecfcf4;
+
     background: url("images/Checker-16x16.png") repeat;
    background-image: url("images/2/20/Template_doc.png");
+
    background-repeat: no-repeat;
+
    background-position: left center;
+
    font-size: 125%;
+
    text-align: left;
+
    padding-left: 13%;
+
    line-height: 50px;
+
 
}
 
}
  
/* Reduce line-height for <sup> and <sub> */
+
/* Reduzir a altura da linha para o <sup> e <sub> */
 
+
 
sup,
 
sup,
 
sub {
 
sub {
Linha 339: Linha 253:
 
}
 
}
  
/* Add horizontal scroll bars to these boxes whenever text is wider than the browser */
+
/* Adicionar barras de navegação horizontal às caixas sempre que estas forem maiores que a janela do browser */
 
+
 
pre {
 
pre {
 
     overflow: auto;
 
     overflow: auto;
 
}
 
}
  
 +
/* ??? */
 
.plainlinks a {
 
.plainlinks a {
 
     background: none repeat scroll 0 0 transparent !important;
 
     background: none repeat scroll 0 0 transparent !important;
Linha 354: Linha 268:
 
     margin: 0 0.3em;
 
     margin: 0 0.3em;
 
}
 
}
/* don't display Main Page on the Main Page */
 
  
body.page-Main_Page h1.firstHeading {
 
    display:none;
 
}
 
 
/* Retirar a visualizacao das paginas de Discussao e de usuário desconhecido */
 
/* Retirar a visualizacao das paginas de Discussao e de usuário desconhecido */
 
+
#pt-mytalk,
#pt-mytalk, #pt-anonuserpage, #pt-anontalk {
+
#pt-anonuserpage,
 +
#pt-anontalk {
 
     display: none !important;
 
     display: none !important;
 
}
 
}

Revisão das 23h02min de 6 de dezembro de 2011

/*
ATENÇÃO ADMINISTRADORES
Este é o ficheiro CSS para todos os usuários e skins da WikiSporting.com

SECÇÕES
1. Página Inicial
2. Avisos
3. Tabelas
4. Predefinições
5. Extensões
6. Outras alterações
*/

/** 1. PÁGINA INICIAL **/

/* Retirar o título da Página Inicial */
body.page-Main_Page h1.firstHeading {
    display:none;
}

/** 2. AVISOS **/

/* Notice */
.notice {
    margin: 1em;
    padding: 0.2em;
}

/** 3. TABELAS **/

/* Wikitable e Prettytable */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th,
.wikitable td,
.prettytable th,
.prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}

/* Tabelas colapsáveis */
table.collapsed tr.collapsible {
    display: none;
}
.collapseButton { /* Aspectos dos botões "mostrar/esconder" criados no javascript em [[MediaWiki:Common.js]] */
    float: right;
    font-weight: normal;
    text-align: right;
    width: auto;
}

/* Caixas de navegação NavFrame */
div.Boxmerge,
div.NavFrame {
    margin: 0;
    padding: 4px;
    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;
    background-color: #ccf;
    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: 90%;
}

/** 4. PREDEFINIÇÕES **/

/* Predefinição:Documentação */
#documentacao {
    width: 96%;
    clear: both;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 2%;
    margin-top: 2%;
    margin-bottom: 2%;
}
.documentacao-cabecalho {
    border-bottom: 1px solid #aaa;
    background-color: #ecfcf4;
    background-image: url("images/2/20/Template_doc.png");
    background-repeat: no-repeat;
    background-position: left center;
    font-size: 125%;
    text-align: left;
    padding-left: 13%;
    line-height: 50px;
    font-weight: bold;
}

/* Predefinição:Desambiguação */
#desambiguacao {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: #aaa;
    border-bottom-color: #aaa;
    background-image: url("images/1/15/Desambig.png");
    background-repeat: no-repeat;
    background-position: left center;
    text-align: left;
    line-height: 50px;
}
.desambiguacao-infosup {
    padding-left: 10%;
}
.desambiguacao-infosub {
    font-size: small;
    color: #aaa;
    padding-left: 10%;
}

/* Predefinição:Quote */
#quote {
    padding-top: 15px;
    padding-right: 5px;
    padding-bottom: 15px;
    padding-left: 5px;
    width: auto;
    vertical-align: top;
}
.quote-aspasup {
    font-size: 40px;
    color: #007700;
    text-align: center;
}
.quote-aspasub {
    margin-top: 0;
    font-size: 40px;
    color: #007700;
    text-align: center;
    vertical-align: bottom;
}
.quote-ref {
    font-size: smaller;
    text-align: right;
    padding-right: 4%;
}

/** 5. EXTENSÕES **/

/* Extensão:Cite */
ol.references {
    font-size: 90%; /* Letra pequena na lista de referências */
}
.references-2column { /* O código abaixo não passa na validação do W3C mas está correcto*/
    font-size: 90%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}
.same-bg {
    background: none;
}
ol.references > li:target { /* Quando se clica numa referência, esta é destacada a amarelo para facilitar visualização */
    background-color: #FFCC00;
}
sup.reference:target {
    background-color: #FFCC00;
}
cite { /* Estilo das citações */
    font-style: normal;
    word-wrap: break-word;
}
cite:target { /* Ao clicar numa ligação para uma referência, esta é destacada a amarelo */
    background-color: #FFCC00;
}
@media print { /* Não expandir os URLs dentro das citações aquando a impressão do artigo */
#content cite a.external.text:after {
    display: none;
}
}
@media screen, handheld, projection { /* Numeração das citações que não necessita ser apresentada em dispositivos de leitura mas que é necessária aquando a impressão */
cite *.printonly {
    display: none;
}
}

/** 6. OUTRAS ALTERAÇÕES **/

/* Redireccionamentos em intálico nas Categorias e nas Páginas Especiais */
.redirect-in-category,
.allpagesredirect {
    font-style: italic;
}

/* Coloca um fundo em xadrez na página de descrição de imagens se esta tiver fundo transparente */
#file img {
    background: url("images/Checker-16x16.png") repeat;
}

/* Reduzir a altura da linha para o <sup> e <sub> */
sup,
sub {
    line-height: 1em;
}

/* Adicionar barras de navegação horizontal às caixas sempre que estas forem maiores que a janela do browser */
pre {
    overflow: auto;
}

/* ??? */
.plainlinks a {
    background: none repeat scroll 0 0 transparent !important;
    padding: 0 !important;
}

/* Sort arrows added by SortableTables */
a.sortheader {
    margin: 0 0.3em;
}

/* Retirar a visualizacao das paginas de Discussao e de usuário desconhecido */
#pt-mytalk,
#pt-anonuserpage,
#pt-anontalk {
    display: none !important;
}