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

De Bloodstone Wiki
Sem resumo de edição
Sem resumo de edição
Linha 18: Linha 18:
/* NPC Trades */
/* NPC Trades */
div.exception, td.exception {
div.exception, td.exception {
    background-color:#ff8e8e;
  background-color:#ff8e8e;
}
}
td.buy table tbody tr td,
td.buy table tbody tr td,
td.sell table tbody tr td {
td.sell table tbody tr td {
    line-height: 1em;
  line-height: 1em;
    padding: 2px;
  padding: 2px;
}
}
td.buy table,
td.buy table,
td.sell table {
td.sell table {
    padding: 0;
  padding: 0;
    margin: 0;
  margin: 0;
}
}
table.trades td {
table.trades td {
    padding:0;
  padding:0;
    line-height:1.25em;
  line-height:1.25em;
}
}
div.npcprice, div.npcvalue, td.npcvalue, td.npcprice {
div.npcprice, div.npcvalue, td.npcvalue, td.npcprice {
Linha 40: Linha 40:
   line-height:100%;
   line-height:100%;
}
}




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

Edição das 22h31min de 14 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));
}


.batata {
  background: red;
}