MediaWiki:Common.css

De Ragna4th
Revisão de 13h17min de 14 de março de 2022 por Nameless (discussão | contribs)
Ir para navegação Ir para pesquisar

Nota: Após salvar, você pode ter que limpar o "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: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
  • Opera: Vá para Menu → Configurações (Opera → Preferencias no Mac) e depois para Privacidade e Segurança → Limpar dados de navegação → Imagens e arquivos em cache.
/** o código CSS colocado aqui será aplicado a todos os temas */

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}

.naviText {
    display: inline-block;
    color: #fc2a2a;
    cursor: pointer;
    padding: 1px;
}

.naviCopied {
    display: none;
    color: #fc2a2a;
    border: 1px dotted #f27979;
    padding: 0 20px;
    border-radius: 5px;
}

/* wikitable/prettytable class for centered normal tables*/

table.wikitablec,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}

table.wikitablecenter, 
table.prettytable {
  margin-left: auto;
  margin-right: auto;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
} 

table.wikitablec th, table.wikitablec td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
  text-align: center;
}

table.wikitablec th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitablec caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

.prettytablec code,
table.wikitablec code {
  background-color: transparent;
}

table.wikitablecenter th, table.wikitablecenter td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
  text-align: center;
}

table.wikitablecenter th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitablecenter caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

.prettytablecenter code,
table.wikitablecenter code {
  background-color: transparent;
}

table.elements {
	text-align: center;
	
}

table.elements th, table.elements td {
	padding: 0.5em;
}

.effective {
	background-color: #BFFFBF;
}

.ineffective {
	background-color: #FFBF7F;
}

.nullified {
	background-color: #FFBFBF;
}

.early,
.early td,
.early th {
	color: black;
	border-collapse: separate;
	border: 2px solid #de8a35;
}

.midgame,
.midgame td,
.midgame th {
	border-collapse: separate;
	border: 2px solid #35de4c;
}

.endgame,
.endgame td,
.endgame th {
	border-collapse: separate;
	border: 2px solid #3581de;
}

.endendgame,
.endendgame td, 
.endendgame th {
	border-collapse: separate;
	border: 2px solid #de354c;
}

.blacktable,
.blacktable td,
.blacktable th {
	border-collapse: separate;
	border: 2px solid black;
}

.tamanhoimg {
    position: relative;
}
.tamanhoimg img {
    width: 100%;
    height: auto;
}

/* 3 - NAVBOX */

table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    width: 100%;
}

table.navbox th {
    background-color: #ffdd93;
    padding-left: 1em;
    padding-right: 1em;
}

table.navbox tr:not(:first-child) th {
    background-color: #ffdd93;
}


.collapseButton {
    float: right;
    font-weight: normal;
    text-align: right;
    width: auto;
}

@media print {
    .navbox {
        display: none;
    }
}

.fourthtable,
.fouthtable td,
.fourthtable th {
	background-color: #ffdd93;
}