MediaWiki:Common.css: mudanças entre as edições

De Bloodstone Wiki
Sem resumo de edição
Sem resumo de edição
Linha 39: Linha 39:
   color:#000;
   color:#000;
   line-height:100%;
   line-height:100%;
}
/*Criaturas Imagens*/
.tw-criatura-32 {
--size: 32px;
}
.tw-criatura-64 {
--size: 64px;
}
.tw-criatura-2-steps {
--steps: 2;
}
.tw-criatura-8-steps {
--steps: 8;
}
.tw-criatura-13-steps {
--steps: 13;
}
.tw-criatura {
overflow: hidden;
position: relative;
display: inline-block;
width: var(--size);
height: var(--size);
}
.tw-criatura > div {
position: absolute;
top: 0;
left: 0;
animation: rodando 1s steps(var(--steps)) infinite;
}
.tw-criatura-img-2 > div {
left: calc(-1 * var(--size));
}
.tw-criatura-img-3 > div {
left: calc(-2 * var(--size));
}
.tw-criatura-img-4 > div {
left: calc(-3 * var(--size));
}
}

Edição das 12h56min de 8 de agosto de 2020

/** o código CSS colocado aqui será aplicado a todos os temas */

/** Contribuições*/
.contributionscores-wrapper       {  }
.contributionscores-title         { background-color: #aaaaaa; margin-bottom: 0px; padding-left: .4em; }
.contributionscores .header { background-color: #cccccc; border-bottom: 1px solid #999999; font-weight: bold; }
.contributionscores .odd        { background-color: #eeeeee; }
.contributionscores .header td   { padding-left: .2em; padding-right: .2em; }
.contributionscores .content   { padding-left: .2em; padding-right: .2em; }

/* Estilo das Tabelas de DPL */
table#tabelaDPL {border-collapse: collapse; background-color: #CEDFF2; width:100%;}
table#tabelaDPL th {border:2px solid white;}
table#tabelaDPL tr td {border:2px solid white; background-color:#E8F2F8; text-align:center;}
table#tabelaDPL td:first-child {padding-left: 4px; background-color:transparent; text-align:left;}
table#tabelaDPL td:last-child {padding-left: 4px; text-align:left;}

/* NPC Trades */
div.exception, td.exception {
    background-color:#ff8e8e;
}
td.buy table tbody tr td,
td.sell table tbody tr td {
    line-height: 1em;
    padding: 2px;
}
td.buy table,
td.sell table {
    padding: 0;
    margin: 0;
}
table.trades td {
    padding:0;
    line-height:1.25em;
}
div.npcprice, div.npcvalue, td.npcvalue, td.npcprice {
  background-color:#9eff8e;
  font-weight: bold;
  color:#000;
  line-height:100%;
}





/*Criaturas Imagens*/
.tw-criatura-32 {
	--size: 32px;
}
.tw-criatura-64 {
	--size: 64px;
}
.tw-criatura-2-steps {
	--steps: 2;
}
.tw-criatura-8-steps {
	--steps: 8;
}
.tw-criatura-13-steps {
	--steps: 13;
}
.tw-criatura {
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: var(--size);
	height: var(--size);
}
.tw-criatura > div {
	position: absolute;
	top: 0;
	left: 0;
	animation: rodando 1s steps(var(--steps)) infinite;
}
.tw-criatura-img-2 > div {
	left: calc(-1 * var(--size));
}
.tw-criatura-img-3 > div {
	left: calc(-2 * var(--size));
}
.tw-criatura-img-4 > div {
	left: calc(-3 * var(--size));
}