Kolmisilmä/styles.css
Jump to navigation
Jump to search
.kolmisilma-scaling {
padding: 4px;
}
.kolmisilma-scaling td:nth-of-type(1) {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAFVBMVEUAAADq+/+t4/+A1P9PsdpEjc8/e7JESsEjAAAAAXRSTlMAQObYZgAAAJRJREFUeNrt2EEKwCAMRNFqmt7/yGU2GRqwi4qByvydCx9IEMFD7ZMhgdWgoffNAr+COvwWYN5nUaIFVoJRQz1qyJDAapCWo/NZUgXOg1OWIaoCa8CGTnShZDGqApeDHTkaTznqSGAheCGqTGAxmK/eUHXUkMDlIFVHVLlMlsASMM/bo/Q0CawGqfaIlsApUD/av+sGOmEfKMmX8SkAAAAASUVORK5CYII=');
background-position: left 4px top calc(50% - 3px);
background-size: 2.4em;
background-repeat: no-repeat;
image-rendering: pixelated;
padding: 0.4em 0.5em 0.2em 2.7em;
text-align: center;
line-height: 2.6em;
font-family: noita;
font-size: 1.5em;
color: #b5e7ff;
background-color: #000934aa;
text-shadow:
-0.1em 0 0 #000,
0 0.1em 0 #000,
0.1em 0 0 #000,
0 -0.1em 0 #000,
0.1em -0.1em 0 #000,
0.1em 0.1em 0 #000,
-0.1em 0.1em 0 #000,
-0.1em -0.1em 0 #000;
}
.kolmisilma-scaling .orbs0 td:nth-of-type(1) {
background-color: #000000aa;
}
.kolmisilma-scaling .orbs10 td:nth-of-type(1),
.kolmisilma-scaling .orbs10 ~ tr td:nth-of-type(1) {
font-size: 1.3em;
}
.kolmisilma-scaling .orbs11 ~ tr td:nth-of-type(1) {
background-color: #001d34aa;
}
.kolmisilma-scaling .orbs20 ~ tr td:nth-of-type(1) {
font-size: 1.2em;
}
.kolmisilma-scaling .orbs31 ~ tr td:nth-of-type(1) {
background-color: #000526aa;
}
.kolmisilma-scaling .thousands td:nth-of-type(2),
.kolmisilma-scaling .thousands ~ tr td:nth-of-type(2) {
font-size: 1.4em;
text-align: center;
background-color: #2200ee0a;
}
.kolmisilma-scaling .millions ~ tr td:nth-of-type(2) {
font-size: 1.3em;
background-color: #4400cc11;
}
.kolmisilma-scaling .billions ~ tr td:nth-of-type(2) {
font-size: 1.2em;
background-color: #6600aa13;
}
.kolmisilma-scaling .trillions ~ tr td:nth-of-type(2) {
font-size: 1.1em;
background-color: #88008815;
}
.kolmisilma-scaling .quadrillions ~ tr td:nth-of-type(2) {
font-size: 1em;
background-color: #aa006617;
}
.kolmisilma-scaling .quintillions ~ tr td:nth-of-type(2) {
font-size: 0.9em;
background-color: #cc004419;
}
.kolmisilma-scaling .sextillions ~ tr td:nth-of-type(2) {
font-size: 0.8em;
background-color: #ee002223;
}
.kolmisilma-scaling .threshold {
height: 1.6em;
}
.kolmisilma-scaling .threshold > :only-child {
width: 100%;
height: 1.4em;
position: relative;
background-image: none;
padding: 0;
}
.kolmisilma-scaling .threshold > :only-child > div {
position: absolute;
left: -5px;
right: -5px;
top: -1px;
bottom: -1px;
padding: 0;
background-color: #240000;
border-style: solid solid;
border-radius: 1em / 100%;
box-sizing: border-box;
border-width: 0.2px 0 2px 0;
background-size: 100%;
background-position: center;
color: #ffffffef;
font-family: noita;
font-weight: bold;
text-shadow: -1px 1px 0 #000,1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000,-1px 0 0 #000,1px 0 0 #000,0 -1px 0 #000,0 1px 0 #000;
letter-spacing: 0.1em;
font-variant: small-caps;
line-height: 2.1em;
font-size: 0.7em;
}
.kolmisilma-scaling .threshold.event > :only-child > div {
color: #eefaff;
background-color: #002c3d;
box-shadow: 0 1px 8px -1px #009edcc2 inset, 0 2px 2px 0 black;
border-color: #009edc #009edc #002c3d #009edc;
}
.kolmisilma-scaling .threshold.hp > :only-child > div {
color: #ffe3e3;
background-color: #240000;
box-shadow: 0 1px 8px -1px #d33 inset, 0 2px 2px 0 black;
border-color: #d33 #d33 #240000 #d33;
}
.kolmisilma-scaling .reward.reward > td:nth-of-type(1) {
background-color: #bea409ab;
box-shadow: 0 0 4px 5px #091b2a inset;
}
@media screen and (max-width: 700px) {
.kolmisilma-scaling.kolmisilma-scaling.kolmisilma-scaling {
display: grid;
grid-template-columns: auto 1fr;
border-style: solid;
padding: 0;
}
.kolmisilma-scaling.kolmisilma-scaling tbody,
.kolmisilma-scaling.kolmisilma-scaling tr {
display: contents;
}
.kolmisilma-scaling .threshold > :only-child > div {
grid-column: 1/span 2;
position: static;
margin: -1px 0 6px 0;
}
.kolmisilma-scaling.kolmisilma-scaling td:last-child,
.kolmisilma-scaling.kolmisilma-scaling th:last-child {
border-right-width: 1px;
margin-bottom: 8px;
border-bottom-width: 1px;
border-radius: 0 0 0 6px;
}
.kolmisilma-scaling .threshold td:only-child {
display: contents;
}
.kolmisilma-scaling tr > :nth-of-type(1) {
grid-column: 1/span 1;
border-width: 1px 1px 1px 1px;
border-radius: 0 0 0 10px;
margin-left: 0;
}
.kolmisilma-scaling tr > :nth-of-type(2) {
align-content: center;
grid-column: 2/span 1;
border-width: 1px 1px 1px 0;
border-radius: 0 7px 0 0 ;
}
.kolmisilma-scaling tr > :nth-of-type(3) {
grid-column: 1/span 2;
border-width: 0 1px 0 1px;
margin: 0 6px 0 6px;
}
.kolmisilma-scaling .threshold > :only-child > div {
font-size: 0.6em;
margin-bottom: 6px;
z-index: 1;
}
.kolmisilma-scaling .thousands td:nth-of-type(2),
.kolmisilma-scaling .thousands ~ tr td:nth-of-type(2) {
font-size: 1.6em;
display: flex;
justify-content: center;
align-items: center;
}
.kolmisilma-scaling .millions ~ tr td:nth-of-type(2) {
font-size: 1.4em;
}
.kolmisilma-scaling .billions ~ tr td:nth-of-type(2) {
font-size: 3vw;
}
.kolmisilma-scaling .trillions ~ tr td:nth-of-type(2) {
font-size: 3vw;
}
.kolmisilma-scaling .quadrillions ~ tr td:nth-of-type(2) {
font-size: 3vw;
}
.kolmisilma-scaling .quintillions ~ tr td:nth-of-type(2) {
font-size: 2.9vw;
}
.kolmisilma-scaling .sextillions ~ tr td:nth-of-type(2) {
font-size: 2.8vw;
}
.kolmisilma-scaling.kolmisilma-scaling tr:first-child > th:nth-of-type(1) {
border-width: 2px 1px 2px 2px;
}
.kolmisilma-scaling.kolmisilma-scaling tr:first-child > th:nth-of-type(2) {
border-width: 2px 2px 2px 1px;
}
.kolmisilma-scaling.kolmisilma-scaling tr:first-child > th:nth-of-type(3) {
border-width: 0 2px 1px 2px;
padding: 0.1em;
}
.kolmisilma-scaling.kolmisilma-scaling tr:last-child > td {
border-bottom-width: 1px;
}
}