|
|
Linha 14: |
Linha 14: |
| /** 1. PÁGINA INICIAL **/ | | /** 1. PÁGINA INICIAL **/ |
| | | |
− | /***** Overcome mediawiki bug whereby the WikiEdit sprite is a no-show *****/ | + | /* Retirar o título da Página Inicial */ |
− | .wikiEditor-toolbar-spritedButton { | + | body.page-Wiki_Sporting h1.firstHeading { |
− | background-image: linear-gradient(transparent, transparent), url("/extensions/WikiEditor/modules/images/toolbar/button-sprite.png?v=001") !important;
| + | display: none !important; |
− | background-position: 0px 0px; /* This gets over-ridden with inline style to move sprite into view of relevant part */
| + | |
− | background-repeat: no-repeat !important;
| + | |
| } | | } |
| + | |
| + | /** 2. AVISOS **/ |
| + | |
| + | .aviso { |
| + | border-top-width: 1px; |
| + | border-bottom-width: 1px; |
| + | border-top-style: solid; |
| + | border-bottom-style: solid; |
| + | background-repeat: no-repeat; |
| + | background-position: left center; |
| + | text-align: left; |
| + | width: 92%; |
| + | vertical-align: middle; |
| + | padding-left: 8%; |
| + | padding-top: 1%; |
| + | padding-bottom: 1%; |
| + | margin-bottom: 1%; |
| + | } |
| + | .infosub { |
| + | font-size: smaller; |
| + | font-style: italic; |
| + | } |
| + | |
| + | /** 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; |
| + | } |
| + | |
| + | #TabelaColapsavel { |
| + | width:100%; |
| + | background-color:#e1efc2; |
| + | text-align:center; |
| + | border: 1px solid #aaa; |
| + | font-size:100%; |
| + | -moz-border-radius:10px; |
| + | -webkit-border-radius:10px; |
| + | border-radius:10px; |
| + | } |
| + | |
| + | .TabelaColapsavel-conteudo { |
| + | width:99%; |
| + | font-size:90%; |
| + | text-align:center; |
| + | background-color:#fff; |
| + | padding:0.5%; |
| + | -moz-border-radius:10px; |
| + | -webkit-border-radius:10px; |
| + | border-radius:10px; |
| + | } |
| + | |
| + | .borderradius { |
| + | -moz-border-radius: 10px; |
| + | -webkit-border-radius: 10px; |
| + | border-radius: 10px; |
| + | } |
| + | |
| + | /** 4. PREDEFINIÇÕES **/ |
| + | |
| + | /* Predefinição:Documentação */ |
| + | #documentacao { |
| + | width: 96%; |
| + | clear: both; |
| + | border: 1px solid #b1cdeb; |
| + | background-color: #ecfcf4; |
| + | margin-top: 2%; |
| + | margin-bottom: 2%; |
| + | padding-top: 2%; |
| + | padding-right: 2%; |
| + | padding-bottom: 2%; |
| + | padding-left: 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-color: #0054a6; |
| + | border-bottom-color: #0054a6; |
| + | background-image: url(images/2/26/Desambiguacao-icone.png); |
| + | } |
| + | /* Predefinição:Esboço */ |
| + | .esboco { |
| + | border-top-color: #f0be39; |
| + | border-bottom-color: #f0be39; |
| + | background-image: url(images/e/e5/Esboco-icone.png); |
| + | background-color: #fdfae5; |
| + | } |
| + | /* Predefinição:Índice */ |
| + | .indice { |
| + | border-top-color: #b1cdeb; |
| + | border-bottom-color: #b1cdeb; |
| + | background-image: url(images/0/04/Index-icone.png); |
| + | background-color: #ecfcf4; |
| + | } |
| + | /* Predefinição:Languages */ |
| + | .idioma { |
| + | border-top-color: #66cd00; |
| + | border-bottom-color: #66cd00; |
| + | background-image: url(images/f/f7/Idioma-icone.png); |
| + | } |
| + | /* Predefinição:Construção */ |
| + | .construcao { |
| + | border-top-color: #000000; |
| + | border-bottom-color: #000000; |
| + | background-image: url(images/7/70/Construcao-icone.png); |
| + | background-color: #e9e9e9; |
| + | } |
| + | |
| + | /** 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 **/ |
| + | |
| + | /* 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; |
| + | } |
| + | |
| + | /* Retirar a visualizacao das paginas de Discussao e de usuário desconhecido */ |
| + | #pt-mytalk, |
| + | #ca-talk, |
| + | #pt-anonuserpage, |
| + | #pt-anontalk { |
| + | display: none !important; |
| + | } |
| + | |
| + | /** Language styles */ |
| + | span.lang-de { |
| + | padding-right: 25px; |
| + | background: url(images/e/e7/Lang-De.gif) center right no-repeat; |
| + | } |
| + | span.lang-en { |
| + | padding-right: 25px; |
| + | background: url(images/Lang-En.png) center right no-repeat; |
| + | } |
| + | span.lang-es { |
| + | padding-right: 25px; |
| + | background: url(images/6/61/Lang-Es.gif) center right no-repeat; |
| + | } |
| + | span.lang-fr { |
| + | padding-right: 25px; |
| + | background: url(images/f/f0/Lang-Fr.gif) center right no-repeat; |
| + | } |
| + | span.lang-ja { |
| + | padding-right: 25px; |
| + | background: url(images/9/95/Lang-Ja.gif) center right no-repeat; |
| + | } |
| + | span.lang-nl { |
| + | padding-right: 25px; |
| + | background: url(images/c/cb/Lang-Nl.gif) center right no-repeat; |
| + | } |
| + | span.lang-ru { |
| + | padding-right: 25px; |
| + | background: url(images/3/38/Lang-Ru.gif) center right no-repeat; |
| + | } |
| + | span.lang-pt { |
| + | padding-right: 25px; |
| + | background: url(images/Lang-Pt.png) center right no-repeat; |
| + | } |
| + | |
| + | /* Cor dos links sem página atribuida (inicialmente vermelho) */ |
| + | .new {color: #FF6600 !important;} |