|
|
(Há 48 revisões intermédias de 2 utilizadores que não estão a ser apresentadas) |
Linha 12: |
Linha 12: |
| */ | | */ |
| | | |
− | /** 1. PÁGINA INICIAL **/ | + | /** |
| + | 1. PÁGINA INICIAL |
| + | **/ |
| | | |
| /* Retirar o título da Página Inicial */ | | /* Retirar o título da Página Inicial */ |
Linha 19: |
Linha 21: |
| } | | } |
| | | |
− | /** 2. AVISOS **/ | + | /** |
| + | 2. AVISOS |
| + | **/ |
| | | |
− | /** 3. TABELAS **/
| + | .aviso { |
− | | + | border-top-width: 1px; |
− | /* Wikitable e Prettytable */
| + | border-bottom-width: 1px; |
− | table.wikitable,
| + | border-top-style: solid; |
− | table.prettytable {
| + | border-bottom-style: solid; |
− | margin: 1em 1em 1em 0; | + | background-repeat: no-repeat; |
− | background: #f9f9f9; | + | background-position: left center; |
− | border: 1px #aaa solid; | + | text-align: left; |
− | border-collapse: collapse; | + | width: 100%; |
| + | vertical-align: middle; |
| + | padding-left: 8%; |
| + | padding-top: 1%; |
| + | padding-bottom: 1%; |
| + | margin-bottom: 1%; |
| + | background-position: 2%; |
| } | | } |
− | .wikitable th, | + | .infosub { |
− | .wikitable td,
| + | font-size: smaller; |
− | .prettytable th,
| + | font-style: italic; |
− | .prettytable td {
| + | |
− | border: 1px #aaa solid; | + | |
− | padding: 0.2em; | + | |
| } | | } |
− | .wikitable th,
| + | |
− | .prettytable th { | + | /** |
− | background: #f2f2f2;
| + | 3. TABELAS |
− | text-align: center;
| + | **/ |
− | }
| + | .wikitable>tbody>tr:hover { |
− | .wikitable caption, | + | background-color: #f5f5f5 |
− | .prettytable caption {
| + | |
− | margin-left: inherit;
| + | |
− | margin-right: inherit;
| + | |
− | font-weight: bold;
| + | |
| } | | } |
| | | |
Linha 72: |
Linha 75: |
| } | | } |
| | | |
− | /** 4. PREDEFINIÇÕES **/ | + | .borderradius { |
| + | -moz-border-radius: 10px; |
| + | -webkit-border-radius: 10px; |
| + | border-radius: 10px; |
| + | } |
| + | |
| + | /* Pesquisa nas tabelas */ |
| + | |
| + | .search-table{ |
| + | background-image: url('images/2/24/Estrutura.png'); /* Add a search icon to input */ |
| + | background-position: 10px 12px; /* Position the search icon */ |
| + | background-repeat: no-repeat; /* Do not repeat the icon image */ |
| + | background-size: 30px; |
| + | width: 200px; /* Collapsed when not focused */ |
| + | -webkit-transition: width 0.4s ease-in-out; |
| + | transition: width 0.4s ease-in-out; |
| + | font-size: 16px; /* Increase font-size */ |
| + | padding: 12px 20px 12px 50px; /* Add some padding */ |
| + | border: 1px solid #ddd; /* Add a grey border */ |
| + | margin-bottom: 10px; /* Add some space below the input */ |
| + | } |
| + | |
| + | .search-table:focus{ |
| + | width: 100%; /* Full width when focused */ |
| + | } |
| + | |
| + | .results tr[visible='false'], |
| + | .no-result{ |
| + | display:none; |
| + | } |
| + | |
| + | .results tr[visible='true']{ |
| + | display:table-row; |
| + | } |
| + | |
| + | /** |
| + | 4. PREDEFINIÇÕES |
| + | **/ |
| | | |
| /* Predefinição:Documentação */ | | /* Predefinição:Documentação */ |
| #documentacao { | | #documentacao { |
− | width: 96%; | + | width: 100%; |
| clear: both; | | clear: both; |
− | border: 1px solid #aaa; | + | border: 1px solid #b1cdeb; |
| background-color: #ecfcf4; | | background-color: #ecfcf4; |
| margin-top: 2%; | | margin-top: 2%; |
Linha 89: |
Linha 129: |
| .documentacao-cabecalho { | | .documentacao-cabecalho { |
| border-bottom: 1px solid #aaa; | | border-bottom: 1px solid #aaa; |
− | background-color: #ecfcf4;
| |
| background-image: url(images/2/20/Template_doc.png); | | background-image: url(images/2/20/Template_doc.png); |
| background-repeat: no-repeat; | | background-repeat: no-repeat; |
− | background-position: left center; | + | background-position: 2%; |
| font-size: 125%; | | font-size: 125%; |
| text-align: left; | | text-align: left; |
− | padding-left: 13%; | + | padding-left: 12%; |
| line-height: 50px; | | line-height: 50px; |
| font-weight: bold; | | font-weight: bold; |
| + | margin-bottom: 2%; |
| } | | } |
| | | |
− | /* Predefinição:Desambiguação */ | + | /* Predefinição:Desambiguação*/ |
− | #desambiguacao {
| + | .desambiguacao { |
− | border-top-width: 1px;
| + | border-top-color: #0054a6; |
− | border-bottom-width: 1px;
| + | border-bottom-color: #0054a6; |
− | border-top-style: solid;
| + | background-image: url(images/2/26/Desambiguacao-icone.png); |
− | 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;
| + | |
− | width: 92%;
| + | |
− | vertical-align: middle;
| + | |
− | padding-left: 8%;
| + | |
− | padding-top: 1%;
| + | |
− | padding-bottom: 1%;
| + | |
− | margin-bottom: 2%;
| + | |
| } | | } |
| + | |
| /* Predefinição:Esboço */ | | /* Predefinição:Esboço */ |
− | #esboço {
| + | .esboco { |
− | border-top-width: 1px;
| + | border-top-color: #f0be39; |
− | border-bottom-width: 1px;
| + | border-bottom-color: #f0be39; |
− | border-top-style: solid;
| + | background-image: url(images/e/e5/Esboco-icone.png); |
− | border-bottom-style: solid;
| + | background-color: #fdfae5; |
− | border-top-color: #fda; | + | |
− | border-bottom-color: #fda; | + | |
− | background-image: url(images/e/e2/Nuvola_apps_ksig.png); | + | |
− | background-repeat: no-repeat;
| + | |
− | background-position: left center;
| + | |
− | background-color: #ffe; | + | |
− | text-align: left;
| + | |
− | width: 92%;
| + | |
− | vertical-align: middle;
| + | |
− | padding-left: 8%;
| + | |
− | padding-top: 1%;
| + | |
− | padding-bottom: 1%;
| + | |
− | margin-bottom: 2%;
| + | |
| } | | } |
− | .infosub { | + | |
− | font-size: smaller; | + | /* Predefinição:Índice */ |
− | font-style: italic; | + | .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 **/ | + | /** |
| + | 5. EXTENSÕES |
| + | **/ |
| | | |
| /* Extensão:Cite */ | | /* Extensão:Cite */ |
Linha 183: |
Linha 219: |
| } | | } |
| | | |
− | /** 6. OUTRAS ALTERAÇÕES **/ | + | /** |
| + | 6. OUTRAS ALTERAÇÕES |
| + | **/ |
| | | |
| /* Coloca um fundo em xadrez na página de descrição de imagens se esta tiver fundo transparente */ | | /* Coloca um fundo em xadrez na página de descrição de imagens se esta tiver fundo transparente */ |
Linha 198: |
Linha 236: |
| /* 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, |
| + | #ca-talk, |
| #pt-anonuserpage, | | #pt-anonuserpage, |
| #pt-anontalk { | | #pt-anontalk { |
| display: none !important; | | 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;} |
| + | |
| + | /* Change the link icon to an Adobe icon for all PDF files |
| + | in browsers that support these CSS selectors, like Mozilla and Opera */ |
| + | div#content a[href$=".pdf"], div#content a[href$=".pdf"].external, |
| + | div#content a[href*=".pdf?"], div#content a[href*=".pdf?"].external, |
| + | div#content a[href*=".pdf#"], div#content a[href*=".pdf#"].external, |
| + | div#content a[href$=".PDF"], div#content a[href$=".PDF"].external, |
| + | div#content a[href*=".PDF?"], div#content a[href*=".PDF?"].external, |
| + | div#content a[href*=".PDF#"], div#content a[href*=".PDF#"].external, |
| + | div#mw_content a[href$=".pdf"], div#mw_content a[href$=".pdf"].external, |
| + | div#mw_content a[href*=".pdf?"], div#mw_content a[href*=".pdf?"].external, |
| + | div#mw_content a[href*=".pdf#"], div#mw_content a[href*=".pdf#"].external, |
| + | div#mw_content a[href$=".PDF"], div#mw_content a[href$=".PDF"].external, |
| + | div#mw_content a[href*=".PDF?"], div#mw_content a[href*=".PDF?"].external, |
| + | div#mw_content a[href*=".PDF#"], div#mw_content a[href*=".PDF#"].external { |
| + | background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; |
| + | /* @noflip */ |
| + | padding-right: 18px; |
| + | } |
| + | |
| + | /* Overcome mediawiki bug whereby the WikiEdit sprite is a no-show */ |
| + | .wikiEditor-toolbar-spritedButton { |
| + | background-image: linear-gradient(transparent, transparent), url("/extensions/WikiEditor/modules/images/toolbar/button-sprite.svg?v=001") !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; |
| + | } |
| + | |
| + | /* Contact Form */ |
| + | .cd-form .icon input, .cd-form .icon select, .cd-form .icon textarea { |
| + | padding-left: 54px !important; |
| + | } |
| + | .cd-form .user { |
| + | background: url("../img/cd-icon-user.svg") no-repeat 16px center; |
| + | } |
| + | .cd-form [required].user { |
| + | background: url("../img/cd-icon-user.svg") no-repeat 16px center, |
| + | url("../img/cd-required.svg") no-repeat top right; |
| + | } |
| + | .cd-form [required] { |
| + | background: url("../img/cd-required.svg") no-repeat top right; |
| + | } |
| + | .cd-form .error { |
| + | border-color: #e94b35 !important; |
| } | | } |