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

De Bloodstone Wiki
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
  /** o código CSS colocado aqui será aplicado a todos os temas */
/** o código CSS colocado aqui será aplicado a todos os temas */


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


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


  /* NPC Trades */
/* NPC Trades */
  #ComercioNPC table > tbody > tr > td:nth-child(1){
#ComercioNPC table > tbody > tr > td:nth-child(1){
    display: grid;
  display: grid;
  }
}


  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 {
    background-color:#9eff8e;
  background-color:#9eff8e;
    font-weight: bold;
  font-weight: bold;
    color:#000;
  color:#000;
    line-height:100%;
  line-height:100%;
  }
}


  #mNPC_Infobox {
#mNPC_Infobox {
    display: grid;
  display: grid;
  }
}




  #mNPC_Infobox > .header {
    display: grid;
    grid-template-areas: 'Imagem .' 'Imagem titulo' 'Imagem subtitulo' 'Imagem .';
    column-gap: 16px;
    row-gap: 8px;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto auto 1fr;
  }


  #mNPC_Infobox > .header pre {
#mNPC_Infobox > .header {
    padding: 0px;
  display: grid;
    background: transparent;
  grid-template-areas: 'Imagem .' 'Imagem titulo' 'Imagem subtitulo' 'Imagem.';
    border: none;
  column-gap: 16px;
   }
   row-gap: 8px;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto auto 1fr;
}


  #mNPC_Infobox > .header > *:nth-child(1){
#mNPC_Infobox > .header pre {
    grid-area: Imagem;
  padding: 0px;
   }
  background: transparent;
   border: none;
}


  #mNPC_Infobox > .header > *:nth-child(2){
#mNPC_Infobox > .header > *:nth-child(1){
    grid-area: titulo;
  grid-area: Imagem;
    align-self: end;
}
    font-size: 32px;
    font-weight: normal;
  }


  #mNPC_Infobox > .header > *:nth-child(2)::after {
#mNPC_Infobox > .header > *:nth-child(2){
    display: none;
  grid-area: titulo;
   }
  align-self: end;
  font-size: 32px;
   font-weight: normal;
}


  #mNPC_Infobox > .header > *:nth-child(3){
#mNPC_Infobox > .header > *:nth-child(2)::after {
    grid-area: subtitulo;
  display: none;
    align-self: start;
}
    font-size: 16px;
    font-weight: normal;
  }


  #mNPC_Infobox > .header > *:nth-child(3)::after {
#mNPC_Infobox > .header > *:nth-child(3){
    display: none;
  grid-area: subtitulo;
   }
  align-self: start;
  font-size: 16px;
   font-weight: normal;
}


  /*Criaturas Imagens*/
#mNPC_Infobox > .header > *:nth-child(3)::after {
  .tw-criatura-32 {
   display: none;
    --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 */
#mNPC_Infobox > .main {
   display: grid;
}


  table.home-responsive{
#mNPC_Infobox > .main > .section {
    width: 100%;
  display: grid;
    table-layout: fixed;
  gap: 4px;
    max-width: 1100px;
  width: 100%;
    text-align: center;
  overflow-x: scroll;
    box-shadow: 0px 0px 4px 1px hsla(0, 0%, 0%, .24);
}
    overflow: hidden;
    border-radius: 4px;
  }


   table.home-responsive td{
/*Criaturas Imagens*/
    width: 20%;
.tw-criatura-32 {
    word-wrap: break-word;
  --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));
}


  table.home-responsive img{
/* Home Responsividade */
    width: 100%;
    height: auto;
    max-width: 125px;
  }


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


  table.home-responsive a{
table.home-responsive td{
    font-size: 12px;
  width: 20%;
    font-weight: bold;
  word-wrap: break-word;
  }
}


   #mainBolinho {
table.home-responsive img{
    display: grid;
   width: 100%;
    width: 100%;
  height: auto;
  }
  max-width: 125px;
}


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


  #mainBolinho > .header a {
table.home-responsive a{
    background: none;
  font-size: 12px;
    padding-right: 0;
  font-weight: bold;
  }
}


  #mainBolinho > .header #toc {
#mainBolinho {
    display: none;
  display: grid;
   }
   width: 100%;
}


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


  #mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > a,
#mainBolinho > .header a {
   #mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > a{
   background: none;
    background-color: #2f487b;
  padding-right: 0;
    color: #fff;
}
    padding: 16px;
    justify-self: center;
  }


#mainBolinho > .header #toc {
  display: none;
}


  #mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > a{
#mainBolinho > .header > div {
    background: green;
  display: grid;
   }
   grid-gap: 4px;
  #mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(1),
}
  #mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > *:nth-child(1){
    border-radius: 4px 0px 0px 4px;
  }


  #mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(2){
#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > a,
    border-radius: 0px 0px 0px 0px;
#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > a{
   }
  background-color: #2f487b;
   color: #fff;
  padding: 16px;
  justify-self: center;
}


  #mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(3),
  #mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > *:nth-child(2){
    border-radius: 0px 4px 4px 0px;
  }


   #mainBolinho > .header > div > * {
#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > a{
    all: unset;
   background: green;
    text-align: center;
}
  }
#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(1),
#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > *:nth-child(1){
  border-radius: 4px 0px 0px 4px;
}


  #mainBolinho > .header > div > h1 {
#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(2){
    font-size: 40px;
  border-radius: 0px 0px 0px 0px;
    font-weight: bolder;
}
  }


  #mainBolinho > .header > div > h2 {
#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(3),
    font-size: 20px;
#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > *:nth-child(2){
  }
  border-radius: 0px 4px 4px 0px;
}


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


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


  #mainBolinho > .main {
#mainBolinho > .header > div > h2 {
    display: grid;
  font-size: 20px;
    width: 100%;
}
    grid-gap: 16px;
    text-align: center;
  }


  #mainBolinho > .main > .section:nth-child(1) {
#mainBolinho > .header > div > *::after {
    justify-self: center;
  all: unset;
   }
   border: none;
}


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


   #CriaturaDPL > table > tbody > tr > td:nth-child(2){
#mainBolinho > .main {
    background: white !important;
   display: grid;
    box-shadow: inset 0px 0px 4px 1px hsla(0,0%,0%,.24);
  width: 100%;
  }
  grid-gap: 16px;
  text-align: center;
}
 
#mainBolinho > .main > .section:nth-child(1) {
  justify-self: center;
}
 
#mainBolinho > .main > .section:nth-child(2) img {
  width: 100%;
  height: auto;
}
 
#CriaturaDPL > table > tbody > tr > td:nth-child(2){
  background: white !important;
  box-shadow: inset 0px 0px 4px 1px hsla(0,0%,0%,.24);
}

Edição das 22h10min de 19 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: 1pxsolid #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; textalign:center;}
table#tabelaDPL td:first-child {padding-left: 4px; backgroundcolor:transparent; text-align:left;}
table#tabelaDPL td:last-child {padding-left: 4px; text-align:left;}

/* NPC Trades */
#ComercioNPC table > tbody > tr > td:nth-child(1){
  display: grid;
}

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%;
}

#mNPC_Infobox {
  display: grid;
}



#mNPC_Infobox > .header {
  display: grid;
  grid-template-areas: 'Imagem .' 'Imagem titulo' 'Imagem subtitulo' 'Imagem.';
  column-gap: 16px;
  row-gap: 8px;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto auto 1fr;
}

#mNPC_Infobox > .header pre {
  padding: 0px;
  background: transparent;
  border: none;
}

#mNPC_Infobox > .header > *:nth-child(1){
  grid-area: Imagem;
}

#mNPC_Infobox > .header > *:nth-child(2){
  grid-area: titulo;
  align-self: end;
  font-size: 32px;
  font-weight: normal;
}

#mNPC_Infobox > .header > *:nth-child(2)::after {
  display: none;
}

#mNPC_Infobox > .header > *:nth-child(3){
  grid-area: subtitulo;
  align-self: start;
  font-size: 16px;
  font-weight: normal;
}

#mNPC_Infobox > .header > *:nth-child(3)::after {
  display: none;
}

#mNPC_Infobox > .main {
  display: grid;
}

#mNPC_Infobox > .main > .section {
  display: grid;
  gap: 4px;
  width: 100%;
  overflow-x: scroll;
}

/*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: 1100px;
  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: 125px;
}


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

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

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

#mainBolinho > .header a {
  background: none;
  padding-right: 0;
}

#mainBolinho > .header #toc {
  display: none;
}

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

#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > a,
#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > a{
  background-color: #2f487b;
  color: #fff;
  padding: 16px;
  justify-self: center;
}


#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > a{
  background: green;
}
#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(1),
#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > *:nth-child(1){
  border-radius: 4px 0px 0px 4px;
}

#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(2){
  border-radius: 0px 0px 0px 0px;
}

#mainBolinho > .header > div:nth-child(2) > div:nth-child(1) > *:nth-child(3),
#mainBolinho > .header > div:nth-child(2) > div:nth-child(2) > *:nth-child(2){
  border-radius: 0px 4px 4px 0px;
}

#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%;
  grid-gap: 16px;
  text-align: center;
}

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

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

#CriaturaDPL > table > tbody > tr > td:nth-child(2){
  background: white !important;
  box-shadow: inset 0px 0px 4px 1px hsla(0,0%,0%,.24);
}