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

De Bloodstone Wiki
Sem resumo de edição
Sem resumo de edição
Linha 105: Linha 105:


table.home-responsive a{
table.home-responsive a{
   font-size: 16px;
   font-size: 12px;
   font-weight: bolder;
   font-weight: 799;
}
}



Edição das 19h02min de 15 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));
}

/* Home Responsividade */

table.home-responsive{
  width: 100%;
  table-layout: fixed;
  max-width: 900px;
  text-align: center;
  box-shadow: 0px 0px 4px 1px hsla(0, 0%, 0%, .24);
  overflow: hidden;
  border-radius: 4px;
}

table.home-responsive td{
  width: 20%;
  word-wrap: break-word;
}

table.home-responsive img{
  width: 100%;
  height: auto;
  max-width: 120px;
}

table.home-responsive a{
  font-size: 12px;
  font-weight: 799;
}

#mainBolinho {
  display: grid;
  width: 100%;
}

#mainBolinho > .header {
  display: grid;
  grid-gap: 16px;
}

#mainBolinho > .header > div {
  display: grid;
  grid-gap: 4px;
}

#mainBolinho > .header > div > * {
  all: unset;
  text-align: center;
}

#mainBolinho > .header > div > h1 {
  font-size: 40px;
  font-weight: bolder;
}

#mainBolinho > .header > div > h2 {
  font-size: 20px;
}

#mainBolinho > .header > div > *::after {
  all: unset;
  border: none;
}


#mainBolinho > .main {
  display: grid;
  width: 100%;
}

#mainBolinho > .main > .section:nth-child(1) {
  justify-self: center;
}

#mainBolinho > .main > .section:nth-child(2) img {
  width: 100%;
  height: auto;
}