Template:Emblem/style.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
object-fit: contain; |
object-fit: contain; |
||
} |
} |
||
/* .emblemtable .summary img.splashicon { |
|||
⚫ | |||
} */ |
|||
.item-name-main { |
.item-name-main { |
||
Line 36: | Line 32: | ||
text-align: center; |
text-align: center; |
||
} |
} |
||
.emblemtable .data-row { |
.emblemtable .data-row { |
||
Line 47: | Line 41: | ||
width: calc(100% / 4); |
width: calc(100% / 4); |
||
} |
} |
||
Line 52: | Line 47: | ||
div.emblem { |
div.emblem { |
||
position: relative; |
position: relative; |
||
/* width: 100%; |
|||
max-width: 558px; */ |
|||
width: 558px; |
width: 558px; |
||
aspect-ratio: 558/106; |
aspect-ratio: 558/106; |
||
/* container-type: inline-size; */ |
/* container-type: inline-size; does not pass MediaWiki css sanitation, moved inline */ |
||
} |
} |
||
Line 69: | Line 62: | ||
padding-right: 2%; |
padding-right: 2%; |
||
top:8%; |
top:8%; |
||
⚫ | |||
text-align: center; |
text-align: center; |
||
text-transform: uppercase; |
text-transform: uppercase; |
||
Line 74: | Line 68: | ||
text-shadow: 0 0 3px #fff; |
text-shadow: 0 0 3px #fff; |
||
font-size: 32px; |
font-size: 32px; |
||
/* font-size: 5.8cqw; */ |
/* font-size: 5.8cqw; does not pass MediaWiki css sanitation, moved inline */ |
||
font-weight: bold; |
font-weight: bold; |
||
text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff, -2px 2px 0 #fff; |
text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff, -2px 2px 0 #fff; |
||
Line 97: | Line 91: | ||
height: auto; |
height: auto; |
||
} |
} |
||
/* Probability and amount pillows */ |
|||
/* |
|||
.emblemtable span.prob, |
|||
.emblemtable span.amount { |
|||
display: inline-block; |
|||
line-height: 20px; |
|||
border-radius: 12px; |
|||
padding: 0 6px; |
|||
color: #fff; |
|||
} |
|||
.emblemtable span.prob { |
|||
background: #406ea0; |
|||
} |
|||
.emblemtable span.amount { |
|||
background: #a06c40; |
|||
font-size: 12px; |
|||
} */ |