RogerDodger (talk | contribs) No edit summary |
RogerDodger (talk | contribs) No edit summary |
||
Line 87: | Line 87: | ||
--blue-15: #b2d8ff; | --blue-15: #b2d8ff; | ||
--blue-muddy-05: #ecf1f8; | --blue-muddy-05: #ecf1f8; | ||
--blue: #93ccff; | |||
--yellow: #efc200; | --yellow: #efc200; | ||
--green: #6de000; | --green: #6de000; | ||
Line 99: | Line 100: | ||
--blue-15: #00344e; | --blue-15: #00344e; | ||
--blue-muddy-05: #121d26; | --blue-muddy-05: #121d26; | ||
--blue: #003f5f; | |||
--yellow: #493a00; | --yellow: #493a00; | ||
--green: #1c4400; | --green: #1c4400; | ||
Line 111: | Line 113: | ||
} | } | ||
.bg-blue { background-color: var(--blue); } | |||
.bg-green { background-color: var(--green); } | .bg-green { background-color: var(--green); } | ||
.bg-red { background-color: var(--red); } | .bg-red { background-color: var(--red); } |
Revision as of 16:22, 18 December 2020
/*
* CSS placed here will be applied to all skins
*/
/* for Template:CharSelect, since this doesn't pass the css-sanitizer */
.char-select-img img {
background-image: url('/w/skins/Tekken/character-select-spritesheet-v2-602w.webp');
}
/* less table padding, and not wasting space in cells without a sort button */
.skin-citizen table.wikitable tr td,
.skin-citizen table.wikitable tr th {
padding: 5px;
}
.skin-citizen table.wikitable tr th.headerSort {
padding-right: 21px;
}
/* helper classes to change alignment of columns in table */
.col-1-center td:nth-child(1) { text-align: center; }
.col-2-center td:nth-child(2) { text-align: center; }
.col-3-center td:nth-child(3) { text-align: center; }
.col-4-center td:nth-child(4) { text-align: center; }
.col-5-center td:nth-child(5) { text-align: center; }
.col-6-center td:nth-child(6) { text-align: center; }
.col-7-center td:nth-child(7) { text-align: center; }
.col-8-center td:nth-child(8) { text-align: center; }
.col-9-center td:nth-child(9) { text-align: center; }
.col-1-end td:nth-child(1) { text-align: end; }
.col-2-end td:nth-child(2) { text-align: end; }
.col-3-end td:nth-child(3) { text-align: end; }
.col-4-end td:nth-child(4) { text-align: end; }
.col-5-end td:nth-child(5) { text-align: end; }
.col-6-end td:nth-child(6) { text-align: end; }
.col-7-end td:nth-child(7) { text-align: end; }
.col-8-end td:nth-child(8) { text-align: end; }
.col-9-end td:nth-child(9) { text-align: end; }
/* font based on in-game Tekken symbols */
@font-face {
font-family: IronFist;
src: url('/w/skins/Tekken/Iron-Fist.woff');
font-weight: normal;
font-style: normal;
font-display: block;
}
.ironfist {
font-family: IronFist;
}
/*
* Colors are from https://www.hsluv.org/ color space
*
* Light mode bg: hsluv(0, 0, 100)
* Dark mode bg: hsluv(0, 0, 5)
*
* == hue
* red 12
* yellow 65
* green 120
* teal 160
* blue 240
* purple 300
*
* == saturation
* base 100
* muddy 50
*
* == lightness
* base 80
* {n} 100 - {n}
*
* == lightness (dark mode)
* base 25
* {n} 5 + {n}
*/
:root {
--blue-05: #e7f2ff;
--blue-15: #b2d8ff;
--blue-muddy-05: #ecf1f8;
--blue: #93ccff;
--yellow: #efc200;
--green: #6de000;
--red: #ffb3b3;
--purple: #f2afff;
--teal: #00e0b1;
}
@media (prefers-color-scheme: dark) {
:root {
--blue-05: #001e2f;
--blue-15: #00344e;
--blue-muddy-05: #121d26;
--blue: #003f5f;
--yellow: #493a00;
--green: #1c4400;
--red: #7e0002;
--purple: #6b0076;
--teal: #004434;
}
body.skin-citizen {
background-color: #111111;
}
}
.bg-blue { background-color: var(--blue); }
.bg-green { background-color: var(--green); }
.bg-red { background-color: var(--red); }
.bg-yellow { background-color: var(--yellow); }
.bg-purple { background-color: var(--purple); }
.bg-teal { background-color: var(--teal); }
.bg-blue-05 { background-color: var(--blue-05); }
.border-left-blue-15 { border-left-color: var(--blue-15); }
.hover-bg-blue-muddy-05:hover {
background-color: var(--blue-muddy-05);
}