MediaWiki:Common.css

From TaticView
Revision as of 18:03, 11 September 2018 by Jonathan (talk | contribs)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* Troca estilos do conteúdo */
.ns-0 #content { background-color: #FFFBF0; padding-top:0px;}
h1#firstHeading { font-family:"Tahoma"; color:#FFFFFF; font-size:1.5em; font-weight: bold; background-color:#55667F; margin-left:-23px; margin-right:-23px; padding-top:3px; padding-bottom:3px; padding-left:23px;}
.ns-0 #breadcrumbs { font-size:90%; padding-top:2px;}

/* Troca estilos do logo */
div#p-logo { position:absolute; top:-90px; width: 250px; height: 72px;}
div#p-logo a { width: 99%; height: 100%;}

/* Troca tamanho da fonte do conteúdo e espaçamento */
.ns-0 #content p { font-size:120%; margin: 4px; }

/* Troca tamanho da fonte das listas */
.ns-0 #content li { font-size:15px; }

/* Remove links do Content */
li#ca-view { display: none; } /* Desabilita aba "Ler" */
li#ca-viewsource { display: none; } /* Desabilita aba "Ver código fonte" */
li#ca-history { display: none; } /* Desabilita aba "Histórico" */
div#left-navigation { display: none; } /* Desabilita todas as abas da esquerda /*
//li#ca-nstab-main { display: none; }
//li#ca-talk { display:none!important; } /* Desabilita aba de "Discussão" */


/* Remove links do Header */
li#pt-anonuserpage { display: none; }
li#pt-anontalk { display: none; }

/* Remove links da Sidebar */
li#n-portal { display: none; }
li#n-currentevents { display: none; }
li#n-recentchanges { display: none; }
li#n-randompage { display: none; }
li#n-help { display: none; }
#p-tb { display:none !important; } /*Remove todo o menu Ferramentas (TOOLBOX) da Sidebar*/

/* Remove links do Footer */
li#footer-info-viewcount { display: none; }
li#footer-places-privacy { display: none; }
li#footer-places-about { display: none; }
li#footer-places-disclaimer { display: none; }

/* Esconde numeração das TOCs */
.tocnumber { display: none; }

/* Formatação do nivel 3 das TOCs */
.toclevel-3 { padding:0px; margin:-5px; }
.toclevel-3 .toctext { padding:0px; margin:0px; font-size:80%; }

/* Ajusta posição da Sidebar */
div#mw-panel { top: 90px; }

/* Adiciona separadores entre os itens do "navigation" da Sidebar */
//div#p-navigation ul li { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC); background-repeat: no-repeat; }

/* Oculta o texto com percentual de tradução da página (tarefa #28781 do Redmine) */
.mw-translate-page-info { display: none; }

/* Remove "HR" que aparece acima da barra de idiomas quando selecionamos o idioma Português */
div#mw-content-text hr { display: none; }

/*
div#terms { margin-top: 50px; width: 150px; background-position: top left; background-repeat: no-repeat; background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC); position: absolute; top: 188px; left: -185px;}

div#terms span { margin-left: 22px;}
*/

/*Formata colunas de imagens dos mobile*/
.images-table { text-align: left; }

.images-table th:nth-child(1) { margin-right: 20px; }