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 */ | |||
/* 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 > * | #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; | ||
} | |||
#CriaturaDPL > table > tbody > tr > td:nth-child(2){ | #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); | |||
} |
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);
}