:root {
color-scheme: dark;
background-color: var(--wv-canvas, #040404);
--wv-edge: 1px;
--wv-press: 2px;
--wv-radius: 3px;
--wv-font: monospace, monospace;
--wv-font-size: 13px;
--wv-shadow: 0 3px 2px black;
--wv-shadow-pressed: 0 1px 1px black;
--wv-hover-gold: #ffd75e;
--bevel-up: #8a8a8a #2b2b2b #181818 #2b2b2b;
--bevel-down: #181818 #8a8a8a #8a8a8a #2b2b2b;
--face-kira: linear-gradient(180deg, rgb(28, 2, 36) 70%, rgb(63, 6, 79) 100%);
--face-kira-pressed: linear-gradient(180deg, rgb(70, 5, 88) 0%, rgb(104, 9, 130) 100%);
--face-go: linear-gradient(180deg, rgb(4, 43, 4) 0%, rgb(82, 151, 36) 100%);
--face-gold: linear-gradient(180deg, rgb(120, 82, 4) 0%, rgb(214, 160, 20) 100%);
--hover-gold: #ffd75e;
}
@font-face {
font-family: "flexi_ibm";
src: url("/wriksvis/fonts/flexi_ibm.woff2?v=c5b1738c57246300") format("woff2"), url("/wriksvis/fonts/flexi_ibm.ttf?v=10e6edc2e999a2b8") format("truetype");
font-display: swap;
unicode-range: U+20-FF;
}
@font-face {
font-family: "flexi_ibm";
src: url("/wriksvis/fonts/flexi_ibm_ext.woff2?v=5fb03befa431344e") format("woff2"), url("/wriksvis/fonts/flexi_ibm.ttf?v=10e6edc2e999a2b8") format("truetype");
font-display: swap;
unicode-range: U+0-1F, U+100-17F, U+192, U+1A1, U+1B7, U+1FA-1FF, U+218-21B, U+251, U+278, U+2C6-2C7, U+2C9, U+2D8-2DD, U+37E, U+384-38A, U+38C, U+38E-3A1, U+3A3-3CE, U+3D0, U+3F4, U+400-45F, U+490-491, U+5BE, U+5D0-5EA, U+5F0-5F4, U+1D1B, U+1D26, U+1D28, U+1E80-1E85, U+1E9F, U+1EF2-1EF3, U+2010, U+2012-2015, U+2017-2022, U+2026-2027, U+2030, U+2032-2033, U+2035, U+2039-203A, U+203C, U+203E-2040, U+2044, U+2054, U+2074-207B, U+207F, U+2081-208B, U+20A3-20A4, U+20A7, U+20AA, U+20AC, U+2105, U+2113, U+2116, U+2122, U+2126, U+212E, U+2150-2151, U+2153-215E, U+2190-2195, U+21A8, U+2202, U+2205-2206, U+2208, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E-221F, U+2229, U+222B, U+2248, U+2260-2261, U+2264-2265, U+2299, U+2300, U+2302, U+2310, U+2320-2321, U+2500, U+2502, U+250C, U+2510, U+2514, U+2518, U+251C, U+2524, U+252C, U+2534, U+253C, U+2550-256C, U+2580-2581, U+2584, U+2588, U+258C, U+2590-2593, U+25A0-25A1, U+25AA-25AC, U+25B2, U+25BA, U+25BC, U+25C4, U+25CA-25CB, U+25CF, U+25D8-25D9, U+25E6, U+263A-263C, U+2640, U+2642, U+2660, U+2663, U+2665-2666, U+266A-266B, U+2713, U+FB01-FB02, U+FFFD;
}
@font-face {
font-family: "flexi_ibm_437";
src: url("/wriksvis/fonts/flexi_ibm_437.woff2?v=2f533e48ef09ab32") format("woff2"), url("/wriksvis/fonts/flexi_ibm_437.ttf?v=0be061beb1127f82") format("truetype");
font-display: swap;
}
@font-face {
font-family: "sperry_pc";
src: url("/wriksvis/fonts/sperry_pc_8x16.woff2?v=3c64271f27e296cd") format("woff2"), url("/wriksvis/fonts/sperry_pc_8x16.ttf?v=f09ab7535fe1e991") format("truetype");
font-display: swap;
}
@font-face {
font-family: "ibm_bios";
src: url("/wriksvis/fonts/ibm_bios_8x8.woff2?v=d03cee23694787a6") format("woff2"), url("/wriksvis/fonts/ibm_bios_8x8.ttf?v=042383e7c2ddf789") format("truetype");
font-display: swap;
}
:root {
--wv-display-font: "flexi_ibm", monospace, monospace;
--wv-h1-size: 25px;
--wv-h2-size: 16px;
}
:is(.wv-vga-16, .wv-vga-32, .wv-vga-48, .wv-sperry-16, .wv-sperry-32, .wv-sperry-48, .wv-bios-8, .wv-bios-16, .wv-bios-32) {
font-weight: normal;
line-height: 1.25;
-webkit-font-smoothing: none;
}
:is(.wv-vga-16, .wv-vga-32, .wv-vga-48) {
font-family: "flexi_ibm", monospace, monospace;
}
:is(.wv-sperry-16, .wv-sperry-32, .wv-sperry-48) {
font-family: "sperry_pc", monospace, monospace;
}
:is(.wv-bios-8, .wv-bios-16, .wv-bios-32) {
font-family: "ibm_bios", monospace, monospace;
}
.wv-bios-8 {
--wv-smear: 1px;
font-size: 8px;
}
:is(.wv-vga-16, .wv-sperry-16) {
--wv-smear: 1px;
font-size: 16px;
}
.wv-bios-16 {
--wv-smear: 2px;
font-size: 16px;
}
:is(.wv-vga-32, .wv-sperry-32) {
--wv-smear: 2px;
font-size: 32px;
}
.wv-bios-32 {
--wv-smear: 4px;
font-size: 32px;
}
:is(.wv-vga-48, .wv-sperry-48) {
--wv-smear: 3px;
font-size: 48px;
}
.wv-smear {
text-shadow: var(--wv-smear, 1px) 0 currentColor, var(--wv-text-shadow, 0 0 transparent);
}
:root {
--wv-raised-face: linear-gradient(180deg, #2c2c2c 0%, #1e1e1e 100%);
--wv-raised-edges: #6a6a6a #1a1a1a #0a0a0a #4a4a4a;
--wv-raised-shine: inset 1px 1px 0 rgba(255, 255, 255, 0.08), inset -1px -1px 0 rgba(0, 0, 0, 0.45);
--wv-raised-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);
--wv-sunken-face: #0c0c0c;
--wv-sunken-edges: #050505 #3c3c3c #4a4a4a #0a0a0a;
--wv-sunken-shade: inset 1px 1px 0 rgba(0, 0, 0, 0.6), inset -1px -1px 0 rgba(255, 255, 255, 0.05), inset 0 2px 4px rgba(0, 0, 0, 0.7);
--wv-text: gainsboro;
--wv-dim: #888888;
--wv-highlight: #ffd75e;
--wv-danger: #ff4b3a;
}
.wv-offscreen,
.wv-offscreen::before,
.wv-offscreen::after {
animation-play-state: paused !important;
}
.wv-pacer {
position: fixed;
left: 0;
bottom: 0;
width: 2px;
height: 2px;
opacity: 0.01;
pointer-events: none;
}
:root {
--wv-accent: #910f0f;
--wv-accent-dark: color-mix(in srgb, var(--wv-accent) 32%, black);
--wv-accent-deep: color-mix(in srgb, var(--wv-accent) 18%, black);
--wv-accent-light: color-mix(in srgb, var(--wv-accent) 55%, white);
--wv-accent-face: linear-gradient(180deg, var(--wv-accent-dark) 0%, var(--wv-accent) 47%, var(--wv-accent-dark) 100%);
--wv-select-face: var(--wv-accent-face);
--wv-focus: var(--wv-accent-light);
--face-accent: linear-gradient(180deg, var(--wv-accent-deep) 70%, var(--wv-accent-dark) 100%);
}
:root {
--wv-bright: white;
--wv-link: #c8c8c8;
--wv-line: rgb(123, 123, 123);
--wv-line-light: #6a6a6a;
--wv-text-shadow: 1px 1px 0 black;
--wv-text-shadow-filter: drop-shadow(1px 1px 0 black);
--wv-head-shadow: 2px 2px 0 black;
--wv-row-alt: rgba(235, 235, 235, 0.04);
--wv-row-hover: rgba(235, 235, 235, 0.08);
--wv-well: #050505;
--wv-menu-face: #1a1a1a;
--wv-title-face: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgb(25, 25, 25) 33%, rgb(0, 0, 0) 100%);
--wv-window-face: linear-gradient(180deg, rgb(87, 87, 87) 0%, rgb(138, 138, 138) 37%, rgb(46, 46, 46) 100%);
--wv-header-face: linear-gradient(180deg, rgb(25, 25, 25) 0%, rgb(0, 0, 0) 100%);
--wv-shell-face: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(11, 11, 11) 50%, rgb(0, 0, 0) 100%);
--wv-shell-edge: rgb(92, 92, 92);
--wv-h1-color: #dcdcdc;
}
.wv-button {
--btn-face: var(--wv-raised-face);
--btn-color: var(--wv-text);
--btn-pad-y: 3px;
--btn-pad-x: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
padding: var(--btn-pad-y) var(--btn-pad-x);
background: var(--btn-face);
border: 1px solid;
border-color: var(--btn-edges, var(--wv-raised-edges));
box-shadow: var(--btn-shine, var(--wv-raised-shine));
color: var(--btn-color);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
line-height: 1.4;
text-decoration: none;
text-shadow: var(--wv-text-shadow);
white-space: nowrap;
cursor: pointer;
&:link,
&:visited {
color: var(--btn-color);
}
&.accent {
--btn-tint: var(--wv-accent);
--btn-face: linear-gradient(180deg, var(--wv-accent) 0%, var(--wv-accent-dark) 100%);
--btn-color: var(--wv-bright);
}
&.danger {
--btn-tint: #a0201a;
--btn-face: linear-gradient(180deg, #a0201a 0%, #4a0805 100%);
--btn-color: var(--wv-bright);
}
&.create {
--btn-tint: #2f7d32;
--btn-face: linear-gradient(180deg, var(--btn-tint) 0%, var(--btn-deep) 100%);
--btn-color: var(--wv-bright);
}
&.tinted {
--btn-tint: var(--wv-accent);
--btn-face: linear-gradient(180deg, var(--btn-tint) 0%, var(--btn-deep) 100%);
--btn-color: var(--wv-bright);
}
&:is(.accent, .danger, .create, .tinted) {
--btn-hi: color-mix(in srgb, var(--btn-tint) 55%, white);
--btn-hi-soft: color-mix(in srgb, var(--btn-tint) 75%, white);
--btn-lo: color-mix(in srgb, var(--btn-tint) 35%, black);
--btn-lo-deep: color-mix(in srgb, var(--btn-tint) 18%, black);
--btn-deep: color-mix(in srgb, var(--btn-tint) 32%, black);
--btn-side: color-mix(in srgb, var(--btn-tint) 92%, white);
@supports (color: oklch(from red l c h)) {
--btn-hi: oklch(from var(--btn-tint) calc(l + 0.22) calc(c * 0.85) calc(h + 22 * cos(h * 1deg)));
--btn-hi-soft: oklch(from var(--btn-tint) calc(l + 0.1) calc(c * 0.95) calc(h + 12 * cos(h * 1deg)));
--btn-lo: oklch(from var(--btn-tint) calc(l * 0.62) calc(c * 0.9) calc(h - 14 * cos(h * 1deg)));
--btn-lo-deep: oklch(from var(--btn-tint) calc(l * 0.42) calc(c * 0.8) calc(h - 22 * cos(h * 1deg)));
--btn-deep: oklch(from var(--btn-tint) calc(l * 0.5) calc(c * 0.9) calc(h - 18 * cos(h * 1deg)));
--btn-side: oklch(from var(--btn-tint) calc(l + 0.03) c calc(h + 6 * cos(h * 1deg)));
}
--btn-edges: var(--btn-hi) var(--btn-lo) var(--btn-lo-deep) var(--btn-side);
--btn-shine: 0 2px 2px rgba(0, 0, 0, 0.8);
--wv-wear: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--btn-lo-deep) 80%, transparent) 0 1px, transparent 1px 4px);
--wv-wear-top: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--btn-hi) 22%, transparent) 0 1px, transparent 1px 4px);
}
&:is(.accent, .danger, .create, .tinted):is(.plain-edges, :where(.wv-plain-edges) *) {
--btn-edges: #979797 #323232 #181818;
--wv-wear: repeating-linear-gradient(-45deg, rgba(26, 26, 26, 0.7) 0 1px, transparent 1px 4px);
--wv-wear-top: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
}
@media (hover: hover) and (pointer: fine) {
&:not(:disabled, .disabled):hover {
color: var(--wv-highlight);
filter: brightness(1.1);
}
}
&:active:not(:disabled, .disabled) {
padding: calc(var(--btn-pad-y) + 1px) calc(var(--btn-pad-x) - 1px) calc(var(--btn-pad-y) - 1px) calc(var(--btn-pad-x) + 1px);
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
&:is(.accent, .danger, .create, .tinted):active:not(:disabled, .disabled) {
background: linear-gradient(180deg, var(--btn-lo-deep) 0%, var(--btn-deep) 100%);
border-color: var(--btn-lo-deep) var(--btn-hi-soft) var(--btn-hi) var(--btn-lo);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
&:is(.accent, .danger, .create, .tinted):is(.plain-edges, :where(.wv-plain-edges) *):active:not(:disabled, .disabled) {
border-color: #181818 #323232 #979797;
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
}
&:disabled,
&.disabled {
opacity: 0.5;
cursor: not-allowed;
}
}
.button-fancy {
--bf-face: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgb(21, 21, 21) 60%, rgb(39, 39, 39) 80%);
--bf-outline-offset: 2px;
--bf-font-size: var(--wv-font-size, 13px);
--bf-margin-block: 0;
--bf-margin-inline: 10px;
--bf-padding-inline: 16px;
--bf-grow: 4px;
position: relative;
overflow: hidden;
display: inline-block;
padding: 3px var(--bf-padding-inline);
margin: var(--bf-margin-block) var(--bf-margin-inline);
border: 1px solid;
border-color: #979797 #323232 #181818;
border-radius: 3px;
background: var(--bf-face);
background-size: 100% 100%;
box-shadow: 0 3px 2px black;
color: var(--wv-bright);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--bf-font-size);
text-align: center;
text-decoration: none;
white-space: nowrap;
cursor: pointer;
text-shadow: var(--wv-text-shadow);
transition: filter 0.4s ease, transform 0.4s ease, padding 0.4s ease, margin 0.4s ease, background-size 0.4s ease, box-shadow 0.4s ease;
&:focus-visible {
outline: 1px dotted white;
outline-offset: var(--bf-outline-offset);
}
&:link,
&:visited {
color: var(--wv-bright);
}
&::after {
content: "";
position: absolute;
top: -50%;
left: -75%;
width: 50%;
height: 200%;
background: linear-gradient(120deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100%);
transform: translateX(-100%) rotate(25deg);
opacity: 0;
pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
&:not(:disabled, .disabled):hover {
filter: brightness(1.2);
padding-inline: calc(var(--bf-padding-inline) + var(--bf-grow));
}
&.steady:not(:disabled, .disabled):hover {
margin-inline: calc(var(--bf-margin-inline) - var(--bf-grow));
background-size: 100% 150%;
box-shadow: 0 3px 3px black;
}
&:not(:disabled, .disabled):hover::after {
animation: wriksvis-sheen 0.5s forwards;
}
}
&:active:not(:disabled, .disabled) {
transform: translateY(2px);
box-shadow: 0 1px 1px black;
filter: brightness(0.9);
transition-duration: 0.05s;
}
&.green {
--bf-face: linear-gradient(180deg, rgb(4, 43, 4) 0%, rgb(82, 151, 36) 100%);
--bf-outline-offset: 1px;
}
&.red {
--bf-face: linear-gradient(180deg, rgb(46, 0, 0) 0%, rgb(145, 15, 15) 100%);
--bf-outline-offset: 1px;
}
&.blue {
--bf-face: linear-gradient(180deg, rgb(3, 10, 38) 0%, rgb(0, 112, 186) 100%);
--bf-outline-offset: 1px;
}
&.purple {
--bf-face: linear-gradient(180deg, rgb(28, 2, 36) 0%, rgb(104, 9, 130) 100%);
--bf-outline-offset: 1px;
}
&:disabled,
&.disabled {
--bf-face: linear-gradient(180deg, #444444 0%, #6a6a6a 100%) !important;
opacity: 0.6;
cursor: not-allowed;
box-shadow: none;
}
}
@keyframes wriksvis-sheen {
0% {
transform: translateX(-100%) rotate(25deg);
opacity: 0;
}
50% {
opacity: 0.9;
}
100% {
transform: translateX(200%) scaleX(-200%) rotate(25deg);
opacity: 0;
}
}
.button-fancy.accent {
--bf-face: linear-gradient(180deg, var(--wv-accent-deep) 0%, var(--wv-accent) 100%);
--bf-outline-offset: 1px;
}
.button-fancy,
.button-fancy :is(span, b, i, em, strong) {
text-shadow: var(--wv-text-shadow);
}
.button-row {
--bf-row-room: 8px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
padding-inline: calc(var(--bf-row-room) / 2);
transition: padding 0.4s ease;
@media (hover: hover) and (pointer: fine) {
&:has(> .button-fancy:not(:disabled, .disabled):hover) {
padding-inline: 0;
}
}
}
.dotted-divider {
--dd-color: var(--wv-line);
--dd-gap: 16px;
display: flex;
align-items: center;
gap: var(--dd-gap);
width: 100%;
& > :not(.dotted-line) {
flex-shrink: 0;
}
& .dotted-line {
flex: 1;
height: 0;
border: 1px dotted var(--dd-color);
}
}
.page-div {
--pd-color: var(--wv-line);
--pd-margin-top: 5px;
--pd-margin-bottom: 10px;
height: 0;
margin: var(--pd-margin-top) 0 var(--pd-margin-bottom);
border: 1px dotted var(--pd-color);
}
.pagination {
--pg-face: linear-gradient(180deg, rgb(19, 19, 19) 70%, rgb(43, 43, 43) 100%);
--pg-face-active: linear-gradient(180deg, rgb(6, 6, 6) 0%, rgb(18, 18, 18) 100%);
--pg-color: var(--wv-link);
--pg-active: var(--wv-bright);
--pg-hover: var(--wv-highlight);
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 4px;
padding: 22px 0;
font-family: var(--wv-font);
font-size: var(--wv-font-size);
user-select: none;
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, rgba(120, 120, 120, 0) 0%, rgba(180, 180, 180, 0.7) 50%, rgba(120, 120, 120, 0) 100%);
}
& .page-btn {
padding: 3px 9px;
border: 1px solid;
border-color: #555555 #2b2b2b #181818 #2b2b2b;
border-radius: 3px;
background: var(--pg-face);
color: var(--pg-color);
text-align: center;
text-decoration: none;
text-shadow: var(--wv-text-shadow);
box-shadow: 0 1px 1px rgb(0 0 0 / 0.4);
transition: filter 0.2s, color 0.2s, transform 0.05s, box-shadow 0.2s;
}
& .page-btn.active {
background: var(--pg-face-active);
border-color: #181818 #555555 #555555 #2b2b2b;
box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.5);
color: var(--pg-active);
font-weight: bold;
cursor: default;
}
& .page-dots {
padding: 0 2px;
color: var(--wv-dim);
}
@media (hover: hover) and (pointer: fine) {
& a.page-btn:hover {
filter: brightness(1.15);
color: var(--pg-hover);
}
}
& a.page-btn:active {
transform: translateY(1px);
box-shadow: none;
}
}
.panel {
--panel-padding: 10px;
padding: var(--panel-padding);
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine), var(--wv-raised-shadow);
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
&.sunken {
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
}
.window {
--window-face: var(--wv-window-face);
padding: 2px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine), var(--wv-raised-shadow);
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
&.kira {
--window-face: linear-gradient(180deg, rgb(70, 2, 83) 0%, rgb(65, 15, 145) 37%, rgb(38, 0, 46) 100%);
}
& .window-title {
position: relative;
z-index: 2;
padding: 1px 5px;
background: var(--window-face);
border: 1px solid;
border-color: rgba(255, 255, 255, 0.35) rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.6) rgba(255, 255, 255, 0.2);
color: var(--wv-bright);
text-shadow: var(--wv-text-shadow);
&::after {
content: "";
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 16px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
pointer-events: none;
}
}
& .window-body {
margin-top: 2px;
padding: 10px;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
}
.section-title {
display: flex;
justify-content: space-between;
align-items: center;
min-height: 20px;
background: var(--wv-title-face);
border: 1px solid var(--wv-line);
border-bottom-color: rgb(110, 110, 110);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .section-title-text {
padding-left: 5px;
color: rgb(215, 215, 215);
text-shadow: var(--wv-text-shadow);
}
& .section-title-link,
& .section-title-link:visited {
padding-right: 5px;
color: rgb(165, 165, 165);
}
& .section-title-link:hover {
color: var(--wv-bright);
}
}
.navbar {
--nav-face: linear-gradient(180deg, rgb(24, 24, 24) 10%, rgb(45, 45, 45) 100%);
--nav-face-active: radial-gradient(circle at -20% 400%, rgb(11, 11, 11) 92%, rgb(99, 99, 99) 100%);
--nav-strip: var(--wv-line);
display: flex;
flex-wrap: wrap;
align-items: flex-end;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .navbar-btn {
position: relative;
display: flex;
align-items: center;
justify-content: center;
min-width: 55px;
height: 20px;
padding: 0 8px;
border: 1px solid rgb(27, 27, 27);
border-top: 2px solid rgb(58, 58, 58);
border-bottom: 2px solid black;
background: var(--nav-face);
color: var(--wv-link);
text-decoration: none;
text-shadow: var(--wv-text-shadow);
}
& .navbar-btn:hover {
color: var(--wv-bright);
}
& .navbar-btn.active {
background: var(--nav-face-active);
border-color: rgb(9, 9, 9);
border-left-color: rgb(87, 87, 87);
border-right-color: rgb(109, 109, 109);
border-top-color: rgb(153, 153, 153);
box-shadow: 0 0 2px rgb(8, 8, 8);
color: var(--wv-bright);
&::after {
content: "";
position: absolute;
inset: auto 0 -2px 0;
height: 0;
border-bottom: 2px solid var(--nav-strip);
}
}
& .navbar-btn:focus-visible {
outline: 1px dotted white;
outline-offset: -4px;
}
}
:root {
--wv-strip-face: linear-gradient(90deg, rgb(30, 30, 30) 0%, black 25%, black 75%, rgb(30, 30, 30) 100%);
}
.shell-nav {
display: flex;
justify-content: center;
align-items: flex-end;
min-height: 24px;
background: var(--wv-strip-face);
& .navbar {
justify-content: center;
}
}
.shell .shell-header:has(> .shell-nav),
.shell .shell-footer:has(> .shell-bar) {
padding: 0;
overflow: hidden;
}
.shell-bar {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 24px;
padding: 3px 16px;
box-sizing: border-box;
background: var(--wv-strip-face);
color: var(--wv-dim);
}
.entry-list {
display: flex;
flex-direction: column;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .entry {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 15px;
padding: 1px 0;
}
& .entry.striped {
background-color: var(--wv-row-alt);
}
& .entry-left {
display: flex;
min-width: 0;
transition: transform 1.2s ease-out;
}
& .entry-date {
flex: none;
color: var(--wv-dim);
white-space: nowrap;
}
& .entry-icon {
display: inline-flex;
flex: none;
align-self: center;
margin-left: 5px;
}
& .entry-title,
& .entry-title:visited {
min-width: 0;
margin-left: 5px;
color: var(--wv-bright);
text-decoration: none;
overflow-wrap: anywhere;
}
& a.entry-title:hover {
text-decoration: underline;
}
& .entry-note {
margin-left: auto;
color: #ccc;
text-align: right;
white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
& .entry:hover {
background-color: rgba(235, 235, 235, 0.02);
}
& .entry.striped:hover {
background-color: var(--wv-row-hover);
}
&.slide .entry :is(.entry-icon, .entry-title) {
transition: transform 1.2s ease-out;
}
&.slide .entry:hover :is(.entry-icon, .entry-title) {
transform: translateX(8px);
transition: transform 0.1s ease-in;
}
}
}
.badge-wall {
--badge-gap: 5px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--badge-gap);
& .badge {
display: block;
width: 88px;
height: 31px;
transition: transform 0.2s ease;
user-select: none;
}
& .badge img {
display: block;
width: 88px;
height: 31px;
image-rendering: pixelated;
}
& .badge:hover {
transform: translateY(-5px);
}
& .badge:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
}
}
.card {
--card-face: var(--wv-accent-face);
--card-edge: var(--wv-line);
display: block;
width: 160px;
overflow: hidden;
border: 1px solid var(--card-edge);
color: var(--wv-bright);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-decoration: none;
user-select: none;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.1s ease;
&.purple {
--card-face: linear-gradient(180deg, rgb(28, 2, 36) 70%, rgb(63, 6, 79) 100%);
}
&.gray {
--card-face: linear-gradient(180deg, rgb(19, 19, 19) 0%, rgb(60, 60, 60) 47%, rgb(19, 19, 19) 100%);
}
& .card-image {
position: relative;
height: 120px;
filter: grayscale(85%);
transition: filter 0.3s ease;
&::before {
content: "";
position: absolute;
inset: 0;
z-index: 2;
background: rgba(0, 0, 0, 0.4);
pointer-events: none;
transition: opacity 0.3s ease;
}
&::after {
content: "";
position: absolute;
top: -50%;
left: -75%;
z-index: 3;
width: 65%;
height: 200%;
background: linear-gradient(-120deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100%);
transform: translateX(28%) rotate(32deg) scaleX(129%);
opacity: 0;
pointer-events: none;
transition: opacity 0.35s ease, transform 0.35s ease;
}
}
& .card-image :is(img, video) {
position: relative;
z-index: 1;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: filter 0.3s ease;
}
& .card-title {
position: relative;
z-index: 4;
padding: 0 3px;
border-top: 1px solid var(--card-edge);
background: var(--card-face);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-shadow: var(--wv-text-shadow);
}
@media (hover: hover) and (pointer: fine) {
&:hover {
transform: translateY(-5px);
border-color: rgb(189, 189, 189);
box-shadow: 0 3px 2px rgba(0, 0, 0, 0.9);
}
&:hover .card-image {
filter: grayscale(0%);
}
&:hover .card-image::before {
opacity: 0;
}
&:hover .card-image::after {
transform: translateX(35%) rotate(32deg) scaleX(135%);
opacity: 0.83;
}
&:hover .card-image :is(img, video) {
filter: brightness(1.2);
}
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
}
}
.ticker {
--ticker-face: linear-gradient(180deg, var(--wv-accent-deep) 0%, color-mix(in srgb, var(--wv-accent) 30%, black) 50%, var(--wv-accent-deep) 100%);
--ticker-pace: 0.26s;
--ticker-speed: calc(var(--ticker-length, 96) * var(--ticker-pace));
--ticker-fade: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.1) 85%, rgba(0, 0, 0, 0.75) 100%);
--ticker-inset: 2px;
position: relative;
isolation: isolate;
box-sizing: border-box;
display: flex;
align-items: stretch;
min-height: 25px;
background: var(--ticker-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
color: var(--wv-bright);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-shadow: var(--wv-text-shadow);
&::after {
content: "";
position: absolute;
inset: -1px;
z-index: 2;
border: 1px solid transparent;
border-image: var(--wv-sunken-frame, none);
background: var(--ticker-fade);
background-clip: padding-box;
box-shadow: var(--wv-sunken-shade);
pointer-events: none;
}
& .ticker-window {
position: relative;
z-index: 1;
display: flex;
align-items: center;
flex: 1;
min-width: 0;
margin: 0 var(--ticker-inset);
overflow: hidden;
clip-path: inset(0);
}
& .ticker-track {
display: flex;
width: max-content;
animation: wriksvis-ticker var(--ticker-speed) linear infinite;
}
&:hover .ticker-track {
animation-play-state: paused;
}
& .ticker-group {
display: flex;
}
& .ticker-item {
padding-right: 50px;
white-space: nowrap;
text-shadow: var(--wv-text-shadow);
}
}
@keyframes wriksvis-ticker {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@media (prefers-reduced-motion: reduce) {
.ticker .ticker-track {
animation: none;
}
}
.gallery {
--gallery-columns: 3;
--gallery-well: var(--wv-well, #050505);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-shadow: var(--wv-text-shadow);
& .gallery-grid {
display: grid;
grid-template-columns: repeat(var(--gallery-columns), 1fr);
gap: 10px;
}
& .gallery-item {
position: relative;
display: block;
aspect-ratio: 1 / 1;
padding: 0;
overflow: hidden;
background: var(--gallery-well);
border: 1px solid;
border-color: var(--wv-raised-edges);
font: inherit;
cursor: pointer;
z-index: 0;
filter: saturate(0.5) brightness(0.5);
transition: transform 0.3s ease, filter 0.3s ease, border-color 0.3s ease, z-index 0s linear 0.3s;
&::after {
content: "";
position: absolute;
inset: 0;
z-index: 1;
box-shadow: var(--wv-raised-shine), inset 0 0 0 1px rgba(0, 0, 0, 0.35);
pointer-events: none;
}
}
& .gallery-item :is(img, video) {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
& .gallery-minicaption {
position: absolute;
bottom: 7px;
left: 7px;
z-index: 2;
max-width: calc(100% - 14px);
padding: 1px;
overflow-wrap: anywhere;
background: var(--gallery-caption-bg, rgba(0, 0, 0, 0.08));
color: var(--wv-bright);
opacity: 0;
transition: opacity 0.3s ease;
filter: drop-shadow(0 -1px 0 black) drop-shadow(0 1px 0 black) drop-shadow(1px 0 0 black) drop-shadow(-1px 0 0 black);
user-select: none;
}
@media (hover: hover) and (pointer: fine) {
& .gallery-item:hover {
z-index: 3;
transition: transform 0.3s ease, filter 0.3s ease, border-color 0.3s ease, z-index 0s;
transform: translate(3px, -5px);
filter: saturate(1) brightness(1) drop-shadow(-10px 10px 7px black);
border-color: var(--wv-highlight);
}
& .gallery-item:hover .gallery-minicaption {
opacity: 1;
}
}
& .gallery-item:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
filter: saturate(1) brightness(1);
}
& .lightbox {
box-sizing: border-box;
width: 100vw;
max-width: none;
height: 100dvh;
max-height: none;
margin: 0;
padding: 0;
overflow: hidden;
background: transparent;
border: 0;
color: var(--wv-bright);
font: inherit;
text-shadow: var(--wv-text-shadow);
&::backdrop {
background: rgba(0, 0, 0, 0.8);
}
&[open] {
animation: wriksvis-lightbox-in 0.15s ease;
}
}
& .lightbox-stage {
position: relative;
display: flex;
overscroll-behavior: contain;
touch-action: pan-y pinch-zoom;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
& .lightbox-close,
& .lightbox-arrow {
position: absolute;
z-index: 2;
padding: 0;
background: none;
border: 0;
color: var(--wv-bright);
font-family: inherit;
cursor: pointer;
user-select: none;
text-shadow: var(--wv-text-shadow);
}
& .lightbox-close {
top: 9px;
right: 30px;
font-size: 2rem;
}
& .lightbox-arrow {
top: 50%;
transform: translateY(-50%);
font-size: 3rem;
&.prev {
left: 30px;
}
&.next {
right: 30px;
}
}
& .lightbox-close:hover,
& .lightbox-arrow:hover {
color: var(--wv-highlight);
}
& .lightbox-counter {
position: absolute;
top: 20px;
left: 30px;
font-size: 1rem;
}
& .lightbox-frame {
position: relative;
isolation: isolate;
display: flex;
flex-direction: column;
gap: 4px;
min-width: min(260px, 90vw);
max-width: 90vw;
margin: 0;
padding: 4px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine), 0 8px 24px rgba(0, 0, 0, 0.85);
}
& .lightbox-bar {
contain: inline-size;
display: flex;
justify-content: space-between;
align-items: stretch;
gap: 20px;
overflow: hidden;
padding: 2px 6px;
background: var(--wv-title-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
}
& .lightbox-name {
min-width: 0;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
& .lightbox-facts {
display: flex;
flex: none;
align-items: stretch;
margin-left: auto;
}
& .lightbox-fact {
display: flex;
align-items: stretch;
flex: none;
white-space: nowrap;
}
& .lightbox-fact .wv-groove-v {
margin: -2px 8px;
}
& .lightbox-well {
position: relative;
background: var(--gallery-well);
border: 1px solid;
border-color: var(--wv-sunken-edges);
&::after {
content: "";
position: absolute;
inset: -1px;
border: 1px solid transparent;
border-image: var(--wv-sunken-frame, none);
box-shadow: var(--wv-sunken-shade);
pointer-events: none;
}
}
& .lightbox-img {
display: block;
max-width: calc(90vw - 12px);
max-height: 78vh;
margin: auto;
object-fit: contain;
}
& .lightbox-caption {
position: absolute;
right: 5px;
bottom: 5px;
left: 5px;
z-index: 2;
padding: 3px 8px;
background: rgba(0, 0, 0, 0.7);
color: var(--wv-bright);
text-shadow: var(--wv-text-shadow);
overflow-wrap: break-word;
pointer-events: none;
}
}
@keyframes wriksvis-lightbox-in {
from {
opacity: 0;
}
}
@media (max-width: 558px) {
.gallery {
--gallery-columns: 2;
}
}
.gallery.row {
& .gallery-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 20px 10px;
}
& .gallery-item {
display: flex;
flex-direction: column;
width: 240px;
max-width: 100%;
aspect-ratio: auto;
border: 1px solid var(--wv-line);
filter: brightness(0.8);
transition: transform 0.14s ease, filter 0.1s ease;
&::after {
display: none;
}
}
& .gallery-item :is(img, video) {
aspect-ratio: 4 / 3;
min-height: 180px;
height: auto;
}
@media (hover: hover) and (pointer: fine) {
& .gallery-item:hover {
transform: translateY(-5px);
filter: brightness(1);
border-color: var(--wv-line);
}
}
}
.gallery .gallery-caption {
display: block;
padding: 2px 5px;
background: black;
border-top: 1px solid var(--wv-line);
color: var(--wv-text);
font-style: italic;
text-align: left;
}
.gallery.stack {
& .gallery-grid {
display: flex;
flex-direction: column;
gap: 20px;
}
& .gallery-item {
aspect-ratio: auto;
border: 1px solid var(--wv-line);
filter: brightness(0.8);
transition: transform 0.14s ease, filter 0.1s ease;
&::after {
display: none;
}
}
& .gallery-item :is(img, video) {
height: auto;
min-height: 240px;
}
@media (hover: hover) and (pointer: fine) {
& .gallery-item:hover {
transform: translateX(-5px);
filter: brightness(1);
border-color: var(--wv-line);
}
}
}
@media (max-width: 558px) {
.gallery.row .gallery-item {
width: 90%;
}
}
.lightbox-img.sharpening {
filter: blur(0.5px);
}
.spinner {
--spin-color: var(--wv-bright);
position: relative;
display: inline-block;
width: 24px;
height: 24px;
vertical-align: middle;
&.gold {
--spin-color: var(--wv-highlight);
}
& span {
position: absolute;
width: 4px;
height: 4px;
background: var(--spin-color);
opacity: 0.15;
animation: wriksvis-spin-dot 0.8s infinite;
}
& span:nth-child(1) { left: 10px; top: 0; animation-delay: -0.7s; }
& span:nth-child(2) { left: 17px; top: 3px; animation-delay: -0.6s; }
& span:nth-child(3) { left: 20px; top: 10px; animation-delay: -0.5s; }
& span:nth-child(4) { left: 17px; top: 17px; animation-delay: -0.4s; }
& span:nth-child(5) { left: 10px; top: 20px; animation-delay: -0.3s; }
& span:nth-child(6) { left: 3px; top: 17px; animation-delay: -0.2s; }
& span:nth-child(7) { left: 0; top: 10px; animation-delay: -0.1s; }
& span:nth-child(8) { left: 3px; top: 3px; animation-delay: 0s; }
}
@keyframes wriksvis-spin-dot {
0%,
12% {
opacity: 1;
}
12.5%,
24% {
opacity: 0.6;
}
25%,
37% {
opacity: 0.35;
}
37.5%,
100% {
opacity: 0.15;
}
}
@media (prefers-reduced-motion: reduce) {
.spinner span {
animation-duration: 3s;
}
}
.spinner.small {
width: 12px;
height: 12px;
& span {
width: 2px;
height: 2px;
}
& span:nth-child(1) { left: 5px; top: 0; }
& span:nth-child(2) { left: 8px; top: 2px; }
& span:nth-child(3) { left: 10px; top: 5px; }
& span:nth-child(4) { left: 8px; top: 8px; }
& span:nth-child(5) { left: 5px; top: 10px; }
& span:nth-child(6) { left: 2px; top: 8px; }
& span:nth-child(7) { left: 0; top: 5px; }
& span:nth-child(8) { left: 2px; top: 2px; }
}
.input {
box-sizing: border-box;
width: 100%;
max-width: 320px;
padding: 4px 6px;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
color: var(--wv-bright);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
caret-color: var(--wv-highlight);
color-scheme: dark;
&::placeholder {
color: #555555;
}
&:focus {
outline: none;
border-color: var(--wv-focus);
}
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
&:user-invalid {
border-color: var(--wv-danger);
}
}
.textarea {
max-width: 100%;
min-height: 80px;
resize: vertical;
}
.select {
position: relative;
display: inline-block;
align-self: flex-start;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& select {
box-sizing: border-box;
width: 100%;
padding: 3px 30px 3px 10px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
border-radius: 0;
box-shadow: var(--wv-raised-shine);
color: var(--wv-text);
font: inherit;
text-shadow: var(--wv-text-shadow);
appearance: none;
cursor: pointer;
}
& select:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
}
& option {
background: var(--wv-menu-face);
color: var(--wv-text);
}
&::after {
content: "▾";
position: absolute;
top: 3px;
right: 1px;
bottom: 3px;
display: flex;
align-items: center;
justify-content: center;
width: 20px;
border-left: 1px solid var(--wv-groove-dark);
box-shadow: inset 1px 0 0 var(--wv-groove-light);
color: var(--wv-dim);
pointer-events: none;
}
}
.check {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
cursor: pointer;
user-select: none;
& input {
display: grid;
place-content: center;
width: 13px;
height: 13px;
margin: 0;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
appearance: none;
cursor: pointer;
}
& input::after {
content: "";
width: 7px;
height: 7px;
}
& input:checked::after {
background: radial-gradient(circle at 35% 30%, #d8ffd0 0 15%, #6dff5a 45%, #1f7a12 100%);
box-shadow: 0 0 4px rgba(109, 255, 90, 0.7);
}
& input:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
}
&.radio input,
&.radio input::after {
border-radius: 50%;
}
}
.field {
display: flex;
flex-direction: column;
gap: 3px;
margin-bottom: 10px;
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .field-label {
color: var(--wv-bright);
text-shadow: var(--wv-text-shadow);
}
& .field-hint {
color: var(--wv-dim);
}
& .field-error {
color: var(--wv-danger);
}
&.error .input {
border-color: var(--wv-danger);
}
}
.filedrop {
position: relative;
display: flex;
justify-content: center;
align-items: center;
min-height: 90px;
padding: 12px;
background: var(--wv-sunken-face);
border: 1px dashed #555555;
box-shadow: var(--wv-sunken-shade);
color: var(--wv-dim);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-align: center;
cursor: pointer;
& input {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
}
&.over {
background: #141008;
border-color: var(--wv-highlight);
color: var(--wv-highlight);
}
& .filedrop-files {
color: var(--wv-bright);
word-break: break-all;
}
&:focus-within {
outline: 1px dotted white;
outline-offset: 2px;
}
}
.input-group {
display: flex;
max-width: 320px;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .input {
flex: 1;
min-width: 0;
max-width: none;
}
& > * + * {
margin-left: -1px;
}
}
.input-addon,
.input-addon-button {
display: inline-flex;
align-items: center;
padding: 0 8px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
color: var(--wv-dim);
font: inherit;
white-space: nowrap;
text-shadow: var(--wv-text-shadow);
}
.input-addon-button {
color: var(--wv-text);
cursor: pointer;
&:hover {
color: var(--wv-highlight);
}
&:active {
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: -3px;
}
}
.search-input .input::-webkit-search-cancel-button {
display: none;
}
.stepper {
display: inline-flex;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .stepper-input {
width: calc(var(--stepper-digits, 3) * 1ch + 14px);
margin: 0 -1px;
text-align: center;
appearance: textfield;
-moz-appearance: textfield;
}
& .stepper-input::-webkit-inner-spin-button,
& .stepper-input::-webkit-outer-spin-button {
margin: 0;
appearance: none;
}
& .stepper-button {
width: 24px;
padding: 0;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
color: var(--wv-bright);
font: inherit;
cursor: pointer;
&:hover {
color: var(--wv-highlight);
}
&:active:not(:disabled) {
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
&:disabled {
color: #444444;
cursor: not-allowed;
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: -3px;
}
}
& > * + * {
margin-left: 0;
}
& .stepper-button.dec {
order: -1;
}
}
.switch {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
cursor: pointer;
user-select: none;
& input {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}
& .switch-track {
position: relative;
width: 36px;
height: 16px;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
transition: background 0.12s;
}
& .switch-thumb {
position: absolute;
top: 1px;
left: 1px;
width: 16px;
height: 12px;
background: linear-gradient(180deg, #5a5a5a 0%, #2a2a2a 100%);
border: 1px solid;
border-color: #8a8a8a #1a1a1a #0a0a0a #6a6a6a;
transition: left 0.12s ease;
&::after {
content: "";
position: absolute;
left: 7px;
top: 2px;
width: 2px;
height: 8px;
border-left: 1px solid #1a1a1a;
border-right: 1px solid #6a6a6a;
box-sizing: border-box;
}
}
& input:checked + .switch-track {
background: linear-gradient(90deg, #1f7a12 0%, #3fcf2a 100%);
box-shadow: var(--wv-sunken-shade), 0 0 6px rgba(109, 255, 90, 0.35);
}
& input:checked + .switch-track .switch-thumb {
left: 17px;
}
& input:focus-visible + .switch-track {
outline: 1px dotted white;
outline-offset: 2px;
}
}
.segmented {
display: inline-flex;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .segmented-option + .segmented-option {
margin-left: -1px;
}
& input {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}
& span {
display: block;
padding: 3px 12px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
color: var(--wv-dim);
text-shadow: var(--wv-text-shadow);
cursor: pointer;
user-select: none;
}
& span:hover {
color: var(--wv-bright);
}
& input:checked + span {
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
color: var(--wv-highlight);
}
& input:focus-visible + span {
outline: 1px dotted white;
outline-offset: -3px;
}
}
.counted {
position: relative;
max-width: 100%;
& .counted-count {
position: absolute;
right: 8px;
bottom: 6px;
color: var(--wv-dim);
font-family: var(--wv-font, monospace, monospace);
font-size: 11px;
pointer-events: none;
}
& .counted-count.near {
color: var(--wv-danger);
}
& .textarea {
padding-bottom: 18px;
}
}
.tag-input {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
box-sizing: border-box;
max-width: 320px;
min-height: 28px;
padding: 3px;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
cursor: text;
&:focus-within {
border-color: var(--wv-focus);
}
& .tag-input-chip {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 0 2px 0 6px;
background: var(--face-accent);
border: 1px solid;
border-color: #8a8a8a #2b2b2b #181818 #2b2b2b;
border-radius: 3px;
color: var(--wv-bright);
text-shadow: var(--wv-text-shadow);
& button {
padding: 0 3px;
background: none;
border: 0;
color: var(--wv-dim);
font: inherit;
cursor: pointer;
}
& button:hover {
color: var(--wv-danger);
}
}
& .tag-input-entry {
flex: 1;
min-width: 80px;
padding: 1px 3px;
background: none;
border: 0;
outline: none;
color: var(--wv-bright);
font: inherit;
caret-color: var(--wv-highlight);
}
& .tag-input-entry::placeholder {
color: #555555;
}
}
.color-input {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
cursor: pointer;
& input {
width: 32px;
height: 20px;
padding: 2px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
cursor: pointer;
appearance: none;
}
& input::-webkit-color-swatch-wrapper {
padding: 0;
}
& input::-webkit-color-swatch {
border: 1px solid black;
}
& input::-moz-color-swatch {
border: 1px solid black;
}
& input:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
}
}
.submit-button {
& .spinner {
position: absolute;
top: 50%;
left: 50%;
display: none;
transform: translate(-6px, -6px);
}
&.htmx-request .submit-label,
.htmx-request & .submit-label {
visibility: hidden;
}
&.htmx-request .spinner,
.htmx-request & .spinner {
display: inline-block;
}
}
.spinner.small {
width: 12px;
height: 12px;
& span {
width: 2px;
height: 2px;
}
& span:nth-child(1) { left: 5px; top: 0; }
& span:nth-child(2) { left: 9px; top: 1px; }
& span:nth-child(3) { left: 10px; top: 5px; }
& span:nth-child(4) { left: 9px; top: 9px; }
& span:nth-child(5) { left: 5px; top: 10px; }
& span:nth-child(6) { left: 1px; top: 9px; }
& span:nth-child(7) { left: 0; top: 5px; }
& span:nth-child(8) { left: 1px; top: 1px; }
}
.form-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
gap: 8px;
margin-top: 12px;
padding-top: 10px;
border-top: 1px dotted #444444;
}
.message {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 10px;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .icon {
flex: none;
}
&:is(.success, .error, .warning, .info) {
background:
linear-gradient(180deg, color-mix(in srgb, var(--msg-tint) 10%, transparent), color-mix(in srgb, var(--msg-tint) 22%, transparent)),
var(--wv-sunken-face);
border-color:
color-mix(in srgb, var(--msg-tint) 25%, black)
color-mix(in srgb, var(--msg-tint) 45%, #9a9a9a)
color-mix(in srgb, var(--msg-tint) 55%, #b0b0b0)
color-mix(in srgb, var(--msg-tint) 25%, black);
}
& .message-text {
color: var(--msg-text, var(--wv-text));
}
& .message-text :is(p, li, strong, em, b, i, a) {
color: inherit;
}
&.success {
--msg-tint: #3f9a3a;
--msg-text: #b8f5ae;
}
&.error {
--msg-tint: #b8302a;
--msg-text: #ffb3ab;
}
&.warning {
--msg-tint: #c09a18;
--msg-text: #fff0a8;
}
&.info {
--msg-tint: #3a72c0;
--msg-text: #b3d8ff;
}
}
@keyframes wriksvis-toast-in {
from {
transform: translateX(24px);
opacity: 0;
}
}
@keyframes wriksvis-toast-timer {
from {
width: 100%;
}
to {
width: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.toaster .toast {
animation: none;
}
}
.toaster {
position: fixed;
right: 16px;
bottom: 16px;
z-index: 2000;
display: flex;
flex-direction: column;
pointer-events: none;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .toast {
--toast-color: #5ab0ff;
position: relative;
display: flex;
align-items: center;
gap: 8px;
min-width: 220px;
max-width: 320px;
padding: 6px 8px 8px 10px;
overflow: hidden;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine), 0 4px 10px rgba(0, 0, 0, 0.8);
color: var(--wv-bright);
text-shadow: var(--wv-text-shadow);
pointer-events: auto;
animation: wriksvis-toast-in 0.15s steps(3);
&::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background: var(--toast-color);
animation: wriksvis-toast-timer 4s linear forwards;
}
&.success {
--toast-color: #6dff5a;
}
&.error {
--toast-color: #ff4b3a;
}
&.warning {
--toast-color: #ffe14a;
}
}
& .icon {
flex: none;
}
& .toast-text {
flex: 1;
min-width: 0;
overflow-wrap: anywhere;
}
& .toast-close {
padding: 0 2px;
background: none;
border: 0;
color: var(--wv-dim);
font-size: 16px;
cursor: pointer;
&:hover {
color: var(--wv-bright);
}
}
gap: 0;
}
.toaster .toast-slot {
display: grid;
grid-template-rows: 1fr;
margin-top: 8px;
transition: grid-template-rows 0.22s ease 0.2s, margin-top 0.22s ease 0.2s;
}
.toaster .toast-slot .toast-clip {
min-height: 0;
}
.toaster .toast-slot.leaving .toast-clip {
overflow: hidden;
}
.toaster .toast-slot .toast {
animation: wriksvis-toast-slide 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.toaster .toast-slot.leaving {
grid-template-rows: 0fr;
margin-top: 0;
}
.toaster .toast-slot.leaving .toast {
opacity: 0;
transform: translateX(16px);
}
@keyframes wriksvis-toast-slide {
from {
opacity: 0;
transform: translateX(32px);
}
}
@media (prefers-reduced-motion: reduce) {
.toaster .toast-slot,
.toaster .toast-slot .toast {
animation: none;
transition: none;
}
}
.toaster .toast .icon {
margin: 0 4px;
}
:is(.message, .toaster .toast) > .wv-groove-v {
margin: -2px 0;
}
.message-text {
min-width: 0;
& > :first-child {
margin-top: 0;
}
& > :last-child {
margin-bottom: 0;
}
& p {
text-align: left;
}
}
.table-wrap {
overflow-x: auto;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
.table {
width: 100%;
border-collapse: collapse;
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& th {
padding: 3px 8px;
background: var(--wv-raised-face);
border-right: 1px solid #0a0a0a;
border-bottom: 1px solid #0a0a0a;
box-shadow: var(--wv-raised-shine);
color: var(--wv-bright);
font-weight: normal;
text-align: left;
text-shadow: var(--wv-text-shadow);
white-space: nowrap;
}
& td {
padding: 2px 8px;
border-bottom: 1px dotted #2a2a2a;
}
& tbody tr:nth-child(even) {
background: var(--wv-row-alt);
}
& tbody tr:hover {
background: var(--wv-row-hover);
}
}
.stats {
margin: 0;
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .stat {
display: flex;
align-items: baseline;
}
& dt {
display: flex;
flex: 1;
align-items: baseline;
color: var(--wv-dim);
&::after {
content: "";
flex: 1;
margin: 0 6px;
border-bottom: 1px dotted #555555;
}
}
& dd {
margin: 0;
color: var(--wv-bright);
}
}
.tag-chip {
display: inline-block;
padding: 1px 6px;
background: var(--face-accent);
border: 1px solid;
border-color: #8a8a8a #2b2b2b #181818 #2b2b2b;
border-radius: 3px;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.7);
color: var(--wv-bright);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-decoration: none;
text-shadow: var(--wv-text-shadow);
transition: filter 0.2s, transform 0.2s, color 0.2s;
&:visited {
color: var(--wv-bright);
}
&:hover {
filter: brightness(1.12);
color: var(--wv-highlight);
transform: translateX(2px);
}
&:active {
box-shadow: none;
transform: translateY(1px);
}
}
.empty-state {
padding: 24px;
background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 6px, transparent 6px 12px);
border: 1px dashed #444444;
color: var(--wv-dim);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-align: center;
& .empty-state-title {
margin-bottom: 6px;
color: var(--wv-text);
text-shadow: var(--wv-text-shadow);
}
}
.code {
margin: 0;
padding: 8px 10px;
overflow-x: auto;
background: var(--wv-well);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
color: #b8f5ae;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
line-height: 1.4;
& code {
font: inherit;
}
}
.kbd {
display: inline-block;
min-width: 1.4em;
padding: 0 5px;
background: linear-gradient(180deg, #3a3a3a 0%, #222222 100%);
border: 1px solid;
border-color: #7a7a7a #1a1a1a #0a0a0a #5a5a5a;
border-bottom-width: 3px;
border-radius: 3px;
color: var(--wv-bright);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-align: center;
text-shadow: var(--wv-text-shadow);
}
.grid {
display: grid;
gap: var(--grid-gap, 10px);
}
.carousel {
position: relative;
background: var(--wv-well);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .carousel-track {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
& .carousel-slide {
position: relative;
flex: 0 0 100%;
margin: 0;
scroll-snap-align: start;
}
& .carousel-open {
display: block;
width: 100%;
padding: 0;
background: none;
border: 0;
cursor: pointer;
}
& .carousel-slide img {
display: block;
width: 100%;
height: 260px;
object-fit: cover;
}
& .carousel-slide figcaption {
pointer-events: none;
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 3px 8px;
background: rgba(0, 0, 0, 0.7);
color: var(--wv-bright);
text-shadow: var(--wv-text-shadow);
}
& .carousel-arrow {
position: absolute;
top: 50%;
z-index: 2;
width: 26px;
height: 34px;
padding: 0;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine), 0 2px 3px rgba(0, 0, 0, 0.6);
color: var(--wv-bright);
font: inherit;
margin-top: -17px;
cursor: pointer;
transition: opacity 0.08s linear;
&:hover {
color: var(--wv-highlight);
}
&.off {
opacity: 0;
pointer-events: none;
}
&:active {
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
}
&.prev {
left: 8px;
}
&.next {
right: 8px;
}
}
}
.gallery.gallery-host {
display: contents;
}
.media-bar {
display: flex;
align-items: center;
gap: 2px;
padding: 3px;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
.media-btn {
display: inline-flex;
flex: none;
justify-content: center;
align-items: center;
min-width: 24px;
height: 22px;
padding: 0 4px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
color: var(--wv-text);
font: inherit;
font-size: 11px;
text-shadow: var(--wv-text-shadow);
cursor: pointer;
&:hover {
color: var(--wv-highlight);
filter: brightness(1.15);
}
&:active {
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: -3px;
}
}
.media-sep {
flex: none;
align-self: stretch;
width: 0;
margin: 0 3px;
border-left: 1px solid rgba(0, 0, 0, 0.6);
box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06);
}
.media-time {
flex: none;
min-width: 9ch;
padding: 0 4px;
color: var(--wv-bright);
font-size: 11px;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.media-range {
--p: 0%;
--range-fill: var(--wv-accent);
--range-groove: linear-gradient(90deg, var(--range-fill) 0 var(--p), transparent var(--p)), var(--wv-well);
flex: 1;
min-width: 40px;
height: 16px;
margin: 0;
background: transparent;
cursor: pointer;
appearance: none;
&::-webkit-slider-runnable-track {
height: 6px;
background: var(--range-groove);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
&::-moz-range-track {
height: 6px;
background: var(--range-groove);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
&::-webkit-slider-thumb {
width: 8px;
height: 14px;
margin-top: -5px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
border-radius: 0;
box-shadow: var(--wv-raised-shine), 0 1px 2px rgba(0, 0, 0, 0.8);
appearance: none;
}
&::-moz-range-thumb {
box-sizing: border-box;
width: 8px;
height: 14px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
border-radius: 0;
box-shadow: var(--wv-raised-shine), 0 1px 2px rgba(0, 0, 0, 0.8);
}
&:hover::-webkit-slider-thumb {
border-color: var(--wv-highlight);
}
&:hover::-moz-range-thumb {
border-color: var(--wv-highlight);
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: 1px;
}
}
.media-volume {
position: relative;
display: flex;
flex: none;
}
.media-vol-pop {
position: absolute;
bottom: 100%;
left: 50%;
z-index: 5;
width: 26px;
height: 92px;
margin-left: -13px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine), 0 3px 8px rgba(0, 0, 0, 0.7);
&:popover-open {
position: fixed;
inset: auto;
margin: 0;
padding: 0;
overflow: visible;
color: inherit;
}
& .media-vol {
position: absolute;
top: 50%;
left: 50%;
width: 76px;
min-width: 0;
margin: -8px 0 0 -38px;
transform: rotate(-90deg);
}
}
.video-player,
.audio-player {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
max-width: 100%;
padding: 3px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
text-shadow: var(--wv-text-shadow);
}
.video-player video {
display: block;
box-sizing: border-box;
width: 100%;
max-height: 70vh;
background: black;
border: 1px solid;
border-color: var(--wv-sunken-edges);
cursor: pointer;
}
.video-player.full {
position: relative;
padding: 0;
background: black;
border: 0;
& .media-title {
display: none;
}
& video {
width: 100%;
height: 100%;
max-height: none;
object-fit: contain;
border: 0;
}
& .media-bar {
position: absolute;
right: 0;
bottom: 0;
left: 0;
background: var(--wv-raised-face);
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine), 0 -2px 10px rgba(0, 0, 0, 0.6);
transition: opacity 0.3s ease;
}
&.idle {
cursor: none;
& video {
cursor: none;
}
& .media-bar {
opacity: 0;
pointer-events: none;
}
}
}
.media-title {
display: flex;
align-items: stretch;
min-width: 0;
height: 24px;
background: var(--wv-title-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
color: var(--wv-text);
text-shadow: var(--wv-text-shadow);
contain: inline-size;
}
.media-title-cell {
display: flex;
flex: none;
align-items: center;
gap: 6px;
max-width: 100%;
min-width: 0;
padding: 0 10px 0 6px;
border-right: 1px solid rgba(0, 0, 0, 0.6);
box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06);
& .icon {
flex: none;
}
& > span:not(.icon) {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.media-title-now {
flex: 1;
min-width: 0;
align-self: center;
padding: 0 8px;
overflow: hidden;
color: var(--wv-bright);
text-overflow: ellipsis;
white-space: nowrap;
}
.playlist {
contain: inline-size;
max-height: 160px;
margin: 0;
padding: 2px;
overflow-y: auto;
list-style: none;
background: var(--wv-sunken-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
& button {
display: flex;
gap: 6px;
width: 100%;
padding: 2px 5px;
background: none;
border: 0;
color: var(--wv-text);
font: inherit;
font-size: 12px;
text-align: left;
text-shadow: inherit;
cursor: pointer;
&:hover {
background: rgba(255, 255, 255, 0.06);
color: var(--wv-highlight);
}
&.current {
background: var(--wv-accent-deep);
color: white;
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: -1px;
}
}
}
.playlist-n {
flex: none;
min-width: 2ch;
color: var(--wv-dim);
.current & {
color: inherit;
}
}
.playlist-title {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.playlist-artist {
color: var(--wv-dim);
.current & {
color: rgba(255, 255, 255, 0.75);
}
}
.playlist-dur {
flex: none;
color: var(--wv-dim);
.current & {
color: inherit;
}
}
.icon {
display: inline-block;
flex: none;
width: 16px;
height: 16px;
vertical-align: -3px;
image-rendering: pixelated;
}
.button-fancy .icon,
.menu-item .icon,
.dropdown-button .icon,
.tag-chip .icon {
margin-right: 4px;
}
.wv-atlas {
display: inline-block;
flex: none;
background-repeat: no-repeat;
image-rendering: pixelated;
vertical-align: middle;
}
.wv-silk {
background-image: url("/wriksvis/atlas/silk.png?v=e50c0ce8da23399f");
}
.wv-flags {
background-image: url("/wriksvis/atlas/flags.png?v=69850bd59e59973c");
}
.flag {
display: inline-block;
flex: none;
width: 16px;
height: 11px;
vertical-align: -1px;
image-rendering: pixelated;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.button-fancy .flag,
.menu-item .flag,
.dropdown-button .flag,
.tag-chip .flag,
.table .flag,
.stats .flag {
margin-right: 5px;
}
.table .icon,
.stats .icon {
margin-right: 4px;
}
.copy-button > span:not(.icon) {
display: inline-block;
min-width: 7ch;
text-align: left;
}
.code-wrap {
position: relative;
}
.code-wrap .code {
padding-right: 40px;
}
.code-copy {
position: absolute;
top: 5px;
right: 5px;
display: inline-flex;
padding: 3px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
opacity: 0.55;
cursor: pointer;
transition: opacity 0.15s;
& .icon {
margin: 0;
}
&:hover,
&:focus-visible {
opacity: 1;
}
&:active {
background: var(--wv-sunken-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
&:focus-visible {
outline: 1px dotted white;
outline-offset: 2px;
}
}
.shell {
--shell-width: 928px;
--shell-min-height: 100vh;
--shell-edge: var(--wv-shell-edge);
display: flex;
flex-direction: column;
box-sizing: border-box;
max-width: var(--shell-width);
min-height: var(--shell-min-height);
margin: 0 auto;
background: var(--wv-shell-face);
border-left: 1px solid var(--shell-edge);
border-right: 1px solid var(--shell-edge);
color: var(--wv-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
& .shell-header {
position: relative;
padding: 12px 16px;
background: var(--wv-header-face);
border-bottom: 1px solid var(--shell-edge);
&::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -1px;
height: 1px;
background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
}
}
& .shell-main {
flex: 1;
padding: 16px;
}
& .shell-footer {
padding: 10px 16px;
border-top: 1px dotted var(--shell-edge);
color: var(--wv-dim);
text-align: center;
}
--shell-shadow-width: 50px;
--shell-shadow: black;
position: relative;
box-shadow: none;
&::before,
&::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
width: var(--shell-shadow-width);
pointer-events: none;
}
&::before {
right: calc(100% + 1px);
background: linear-gradient(90deg, transparent 0%, var(--shell-shadow) 100%);
}
&::after {
left: calc(100% + 1px);
background: linear-gradient(270deg, transparent 0%, var(--shell-shadow) 100%);
}
}
.page-div-vertical {
--pd-color: var(--wv-line);
--pd-margin-x: 10px;
align-self: stretch;
flex: none;
width: 0;
min-height: 1em;
margin: 0 var(--pd-margin-x);
border: 1px dotted var(--pd-color);
}
@media (max-width: 1040px) {
.shell::before,
.shell::after {
display: none;
}
}
@media (max-width: 930px) {
.shell {
border-left: 0;
border-right: 0;
}
}
.shell.beveled {
--shell-gap: 3px;
gap: var(--shell-gap);
padding: var(--shell-gap);
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
& .shell-header,
& .shell-footer {
background: var(--shell-inset-face, linear-gradient(180deg, rgb(28, 28, 28) 0%, rgb(40, 40, 40) 100%));
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
& .shell-header::after {
display: none;
}
& .shell-main {
background: var(--wv-shell-face);
border: 1px solid;
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
}
@media (max-width: 930px) {
.shell.beveled {
--shell-gap: 2px;
border-left: 0;
border-right: 0;
}
}
body:has(.shell) {
margin: 0;
}
.wv-base {
color: var(--wv-text, gainsboro);
text-shadow: var(--wv-text-shadow);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
line-height: 1.45;
}
:where(.wv-base) :where(button, input, textarea, select, option, optgroup, dialog) {
text-shadow: inherit;
}
:where(.wv-base) :is(h1, h2, h3, h4, h5, h6) {
margin: 0 0 0.5em;
color: var(--wv-bright);
font-weight: normal;
line-height: 1.2;
}
:where(.wv-base) h1 {
color: var(--wv-h1-color);
font-family: var(--wv-display-font);
font-size: var(--wv-h1-size);
text-shadow: var(--wv-head-shadow);
}
:where(.wv-base) h2 {
padding-bottom: 3px;
border-bottom: 1px dotted var(--wv-line);
font-family: var(--wv-display-font);
font-size: var(--wv-h2-size);
text-shadow: var(--wv-head-shadow);
}
:where(.wv-base) h3 {
font-size: 0.95em;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
text-shadow: var(--wv-text-shadow);
}
:where(.wv-base) h4 {
color: #e0e0e0;
font-weight: bold;
}
:where(.wv-base) h5 {
color: var(--wv-dim, #888888);
font-size: 0.85em;
font-weight: bold;
letter-spacing: 1.5px;
text-transform: uppercase;
}
:where(.wv-base) h6 {
color: var(--wv-dim, #888888);
font-size: 0.85em;
}
:where(.wv-base) p {
margin: 0 0 1em;
color: var(--wv-text);
text-align: justify;
text-justify: inter-word;
}
:where(.wv-base) a {
color: var(--wv-link);
}
:where(.wv-base) a:visited {
color: rgb(159, 159, 159);
}
:where(.wv-base) a:hover {
color: var(--wv-highlight);
}
:where(.wv-base) :is(ul, ol):not([class]) {
margin: 0 0 1em;
padding-left: 1.6em;
color: var(--wv-text);
}
:where(.wv-base) ul:not([class]) > li::marker {
content: "■  ";
color: #6a6a6a;
font-size: 0.75em;
}
:where(.wv-base) ol:not([class]) > li::marker {
color: var(--wv-dim, #888888);
}
:where(.wv-base) blockquote {
margin: 0 0 1em;
padding: 4px 12px;
border-left: 2px dotted var(--wv-line);
color: #bbbbbb;
}
:where(.wv-base) hr:not([class]) {
height: 0;
margin: 10px 0;
border: 1px dotted var(--wv-line);
}
:where(.wv-base) :not(pre) > code {
padding: 0 4px;
background: black;
border: 1px solid #333333;
color: var(--wv-accent-light);
font-family: var(--wv-font, monospace, monospace);
font-size: 0.95em;
}
:where(.wv-base) :is(strong, b) {
color: var(--wv-bright);
}
:where(.wv-base) small {
color: var(--wv-dim, #888888);
}
:where(.wv-base) mark {
padding: 0 2px;
background: var(--wv-highlight);
color: black;
}
:where(.wv-base) img {
max-width: 100%;
}
:where(.wv-base) ::selection {
background: var(--wv-accent);
color: var(--wv-bright);
}
.wv-bright {
color: var(--wv-bright);
}
.wv-text {
color: var(--wv-text);
}
.wv-dim {
color: var(--wv-dim);
}
.rendered-in {
color: var(--wv-dim);
& b {
color: var(--wv-text);
font-weight: normal;
}
}
.wv-center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: var(--min-height, auto);
text-align: center;
}
.wv-stack {
display: flex;
flex-direction: column;
gap: var(--gap, 10px);
}
.wv-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--gap, 10px);
}
.wv-spread {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.wv-spacer {
flex: 1;
}
.wv-columns {
display: grid;
grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr));
gap: var(--gap, 10px);
}
.wv-container {
box-sizing: border-box;
width: 100%;
max-width: var(--max-width, 928px);
margin-left: auto;
margin-right: auto;
padding-left: 10px;
padding-right: 10px;
}
.wv-sidebar {
display: grid;
grid-template-columns: var(--side-width, 220px) minmax(0, 1fr);
gap: var(--gap, 14px);
align-items: start;
&.right {
grid-template-columns: minmax(0, 1fr) var(--side-width, 220px);
& .wv-sidebar-side {
order: 2;
}
}
}
.wv-stage {
position: relative;
min-height: var(--min-height, 200px);
}
.wv-place {
position: absolute;
&.top-left {
top: var(--inset, 8px);
left: var(--inset, 8px);
}
&.top {
top: var(--inset, 8px);
left: 50%;
transform: translateX(-50%);
}
&.top-right {
top: var(--inset, 8px);
right: var(--inset, 8px);
}
&.left {
top: 50%;
left: var(--inset, 8px);
transform: translateY(-50%);
}
&.center {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
&.right {
top: 50%;
right: var(--inset, 8px);
transform: translateY(-50%);
}
&.bottom-left {
bottom: var(--inset, 8px);
left: var(--inset, 8px);
}
&.bottom {
bottom: var(--inset, 8px);
left: 50%;
transform: translateX(-50%);
}
&.bottom-right {
bottom: var(--inset, 8px);
right: var(--inset, 8px);
}
}
@media (max-width: 558px) {
.wv-columns {
grid-template-columns: minmax(0, 1fr);
}
.wv-sidebar,
.wv-sidebar.right {
grid-template-columns: minmax(0, 1fr);
& .wv-sidebar-side {
order: 0;
}
}
}
.chart {
max-width: 100%;
height: auto;
}
.chart-wrap,
.chart-with-legend {
max-width: 100%;
}
.chart-with-legend {
flex-wrap: wrap;
}
.nav-mobile {
display: none;
}
.accordion > .accordion-panel,
.tree .tree-panel {
grid-template-columns: minmax(0, 1fr);
}
.accordion-inner,
.tree-inner,
.grid > *,
.ticker {
min-width: 0;
}
.ticker {
max-width: 100%;
}
.tooltip .tooltip-text {
display: none;
}
.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
display: block;
}
@media (max-width: 558px) {
.nav-desktop {
display: none;
}
.nav-mobile {
display: block;
}
.shell .shell-header,
.shell .shell-main {
padding: 10px;
}
.shell.beveled,
.shell.os {
padding: 3px;
}
.shell.plate {
padding: 12px;
}
:where(.wv-base) p {
text-align: left;
}
.navbar {
flex-direction: column;
align-items: stretch;
width: 100%;
}
.navbar .navbar-btn {
height: 33px;
}
.entry-list .entry {
flex-wrap: wrap;
gap: 0 15px;
}
.entry-list .entry-note {
flex-basis: 100%;
margin-left: 0;
padding-left: 8px;
color: var(--wv-dim);
text-align: left;
white-space: normal;
}
.toaster {
left: 8px;
right: 8px;
bottom: 8px;
}
.toaster .toast {
min-width: 0;
max-width: none;
}
.carousel .carousel-slide img {
height: 180px;
}
.gallery .lightbox-close {
right: 12px;
}
.gallery .lightbox-counter {
left: 12px;
}
.gallery .lightbox-arrow.prev {
left: 4px;
}
.gallery .lightbox-arrow.next {
right: 4px;
}
.gallery .lightbox-arrow {
font-size: 2rem;
}
.tabs .tabs-bar {
overflow-x: auto;
}
.segmented {
flex-wrap: wrap;
}
.input,
.input-group,
.autocomplete,
.tag-input {
max-width: 100%;
}
.form-actions > * {
flex: 1;
justify-content: center;
}
.asset-browser .asset-grid {
max-height: 300px;
}
.badge-wall {
justify-content: space-evenly;
}
.hamburger-menu {
min-width: min(220px, 80vw);
}
.nav-mobile .hamburger-menu {
left: auto;
right: 0;
}
}
.wv-busy,
.wv-cooling {
pointer-events: none;
}
.submit-button.wv-busy {
cursor: progress;
}
.submit-button.wv-cooling {
filter: saturate(0.4) brightness(0.8);
}
.submit-button.wv-cooling .submit-label {
visibility: hidden;
}
.submit-button.wv-cooling::before {
content: "wait " attr(data-wait) "s";
position: absolute;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
color: #cfcfcf;
text-shadow: var(--wv-text-shadow);
}
:is(.panel, .window, .accordion, .wv-button, .dropdown-menu, .hamburger-menu, .context-menu, .table-wrap, .tag-input, .input, .code),
.modal .modal-inner,
.toaster .toast {
border-image: var(--wv-raised-frame, none);
}
.panel.sunken,
.input,
.code,
.table-wrap,
.tag-input,
.window .window-body,
.modal .modal-body,
.tabs .tabs-panel,
.stepper .stepper-input {
border-image: var(--wv-sunken-frame, none);
}
.wv-button:active:not(:disabled, .disabled) {
border-image: var(--wv-pressed-frame, var(--wv-sunken-frame, none));
}
.shell {
border-image: var(--wv-shell-frame, none);
}
.wv-sprite {
display: inline-block;
flex: none;
width: calc(var(--fw) * var(--scale));
height: calc(var(--fh) * var(--scale));
background-image: var(--sprite);
background-repeat: no-repeat;
background-size: calc(var(--fw) * var(--frames) * var(--scale)) calc(var(--fh) * var(--scale));
image-rendering: pixelated;
vertical-align: middle;
animation: wriksvis-sprite var(--dur) steps(var(--frames)) infinite;
}
.wv-sprite.paused,
.wv-sprite.hover-play:not(:hover) {
animation-play-state: paused;
}
.wv-image {
display: inline-block;
max-width: 100%;
height: auto;
vertical-align: middle;
&.pixel {
image-rendering: pixelated;
}
}
@keyframes wriksvis-sprite {
to {
background-position-x: calc(var(--fw) * var(--frames) * var(--scale) * -1);
}
}
@media (prefers-reduced-motion: reduce) {
.wv-sprite {
animation: none;
}
}
.gallery .lightbox-frame {
border-image: var(--wv-raised-frame, none);
}
:root {
--wv-code-bg: #161616;
--wv-code-text: #dcdcdc;
--wv-code-gutter: #5c5c5c;
--wv-code-gutter-bg: #111111;
--wv-code-keyword: #e0806a;
--wv-code-type: #7ac8c0;
--wv-code-function: #8ab4f0;
--wv-code-string: #b4d48a;
--wv-code-number: #e0b46a;
--wv-code-comment: #6c6c6c;
--wv-code-tag: #e08a6a;
--wv-code-attr: #d4b87a;
--wv-code-punct: #9a9a9a;
}
.code-head {
display: flex;
align-items: center;
min-height: 24px;
padding: 0 40px 0 8px;
background: var(--wv-code-gutter-bg);
border: 1px solid;
border-color: var(--wv-sunken-edges);
border-bottom: 1px solid var(--wv-line-dark, #2a2a2a);
font-family: var(--wv-font, monospace, monospace);
font-size: 11px;
& .code-ext {
padding: 1px 6px;
background: var(--wv-code-bg);
border: 1px solid var(--wv-line-dark, #2a2a2a);
color: var(--wv-dim);
}
}
.code .tk-keyword { color: var(--wv-code-keyword); }
.code .tk-type { color: var(--wv-code-type); }
.code .tk-function { color: var(--wv-code-function); }
.code .tk-string { color: var(--wv-code-string); }
.code .tk-number { color: var(--wv-code-number); }
.code .tk-comment { color: var(--wv-code-comment); }
.code .tk-tag { color: var(--wv-code-tag); }
.code .tk-attr { color: var(--wv-code-attr); }
.code .tk-punct { color: var(--wv-code-punct); }
.code-wrap.has-head {
--code-head-height: 26px;
& .code-copy {
top: 1px;
right: 1px;
justify-content: center;
align-items: center;
width: auto;
height: var(--code-head-height);
aspect-ratio: 1 / 1;
padding: 0;
background: transparent;
border: 0;
border-left: 1px solid rgba(0, 0, 0, 0.6);
box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.06);
}
& .code-copy:hover,
& .code-copy:focus-visible {
background: var(--wv-raised-face);
}
& .code-copy:active {
background: var(--wv-sunken-face);
box-shadow: var(--wv-sunken-shade);
}
}
.code-wrap.has-head .code-head {
height: var(--code-head-height);
min-height: 0;
gap: 6px;
background: var(--wv-raised-face);
border: 1px solid;
border-color: var(--wv-raised-edges);
box-shadow: var(--wv-raised-shine);
font-size: var(--wv-font-size, 13px);
& .icon {
margin: 0;
}
& .code-ext {
padding: 0;
background: none;
border: 0;
color: var(--wv-text);
text-shadow: var(--wv-text-shadow);
}
align-items: stretch;
padding-left: 0;
& .code-title {
display: flex;
align-items: center;
gap: 6px;
padding: 0 10px 0 8px;
border-right: 1px solid rgba(0, 0, 0, 0.6);
box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06);
}
}
.code-wrap {
margin-bottom: 14px;
}
.code-wrap:last-child {
margin-bottom: 0;
}
.code-wrap.has-head .code {
border-top: 0;
padding-right: 0;
}
.code-wrap .code {
padding: 6px 40px 6px 0;
box-shadow: none;
color: var(--wv-code-text);
line-height: 1.6;
tab-size: 4;
white-space: pre;
& .code-line::before {
content: counter(code-line);
position: absolute;
left: 0;
width: 2.8em;
color: var(--wv-code-gutter);
text-align: right;
user-select: none;
}
& .code-line:hover {
background: rgba(255, 255, 255, 0.04);
}
padding-top: 10px;
padding-bottom: 10px;
& code {
display: block;
counter-reset: code-line;
width: max-content;
min-width: 100%;
}
& .code-line {
position: relative;
display: block;
min-height: 1.6em;
padding-left: 4.2em;
counter-increment: code-line;
padding-right: 16px;
}
background:
var(--wv-body-shade),
linear-gradient(90deg, var(--wv-code-gutter-bg) 0 3.4em, var(--wv-line-dark, #2a2a2a) 3.4em calc(3.4em + 1px), var(--wv-code-bg) calc(3.4em + 1px));
background-attachment: local;
}
.code-wrap .code:focus-visible {
outline: 1px dotted white;
outline-offset: -2px;
}
:is(
.wv-worn,
.wv-slab-head,
.toaster .toast,
.message,
.panel:not(.sunken),
.accordion > .accordion-summary,
.window .window-title,
.modal .modal-title,
.section-title,
.shell-header,
.shell-footer,
.wv-button,
.tabs .tabs-button,
.table-wrap,
.table th,
.code-wrap .code-head,
.media-title,
.media-btn,
.dropdown-button,
.hamburger-button,
.select,
.segmented span,
.stepper .stepper-button,
.input-addon,
.input-addon-button,
.pagination .page-btn,
.navbar .navbar-btn,
.tag-chip
) {
position: relative;
isolation: isolate;
}
:is(
.wv-worn,
.wv-slab-head,
.toaster .toast,
.message,
.panel:not(.sunken),
.accordion > .accordion-summary,
.window .window-title,
.modal .modal-title,
.section-title,
.shell-header,
.shell-footer,
.wv-button,
.tabs .tabs-button,
.table-wrap,
.table th,
.code-wrap .code-head,
.media-title,
.media-btn,
.dropdown-button,
.hamburger-button,
.select,
.segmented span,
.stepper .stepper-button,
.input-addon,
.input-addon-button,
.pagination .page-btn,
.navbar .navbar-btn,
.tag-chip
)::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background:
var(--wv-wear-top) top / 100% var(--wv-wear-top-height) no-repeat,
var(--wv-wear) bottom / 100% var(--wv-wear-height) no-repeat;
-webkit-mask-image:
linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 12%, transparent var(--wv-wear-top-height)),
linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 12%, transparent var(--wv-wear-height));
mask-image:
linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 12%, transparent var(--wv-wear-top-height)),
linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 12%, transparent var(--wv-wear-height));
pointer-events: none;
}
.select::before {
z-index: 1;
}
.wv-unworn::before {
display: none;
}
:root {
--wv-wear: repeating-linear-gradient(-45deg, rgba(26, 26, 26, 0.7) 0 1px, transparent 1px 4px);
--wv-wear-top: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
--wv-wear-height: 40%;
--wv-wear-top-height: 30%;
--wv-body-shade: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0, rgba(0, 0, 0, 0.25) 8px, rgba(0, 0, 0, 0.08) 20px, transparent 36px), linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 35%, rgba(0, 0, 0, 0.2) 100%);
}
:is(.accordion > .accordion-panel > .accordion-inner > .accordion-body, .window .window-body, .modal .modal-body, .tabs .tabs-panel, .wv-slab-body) {
position: relative;
isolation: isolate;
}
:is(.accordion > .accordion-panel > .accordion-inner > .accordion-body, .window .window-body, .modal .modal-body, .tabs .tabs-panel, .wv-slab-body)::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: var(--wv-body-shade);
pointer-events: none;
}
:is(.dropdown-menu, .hamburger-menu, .context-menu, .autocomplete .dropdown-menu) {
isolation: isolate;
}
:is(.dropdown-menu, .hamburger-menu, .context-menu, .autocomplete .dropdown-menu)::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: var(--wv-body-shade);
pointer-events: none;
}
:root {
--wv-groove-dark: rgba(0, 0, 0, 0.65);
--wv-groove-light: rgba(255, 255, 255, 0.08);
}
.wv-groove {
height: 0;
margin: 8px 0;
border: 0;
border-top: 1px solid var(--wv-groove-dark);
border-bottom: 1px solid var(--wv-groove-light);
}
.wv-groove-v {
flex: none;
align-self: stretch;
width: 0;
min-height: 1em;
margin: 0 10px;
border-left: 1px solid var(--wv-groove-dark);
border-right: 1px solid var(--wv-groove-light);
}
:is(.window .window-title, .modal .modal-title, .section-title, .wv-slab .wv-slab-head, .accordion > .accordion-summary, .code-wrap.has-head .code-head) {
background: var(--wv-head-face);
box-shadow: var(--wv-head-shine);
color: var(--wv-head-text);
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
font-weight: normal;
text-shadow: var(--wv-text-shadow);
}
:is(.window .window-title, .modal .modal-title, .section-title, .code-wrap.has-head .code-head) {
border: 1px solid;
border-color: var(--wv-head-edges);
}
.window .window-title::after {
display: none;
}
.window.kira {
--wv-head-face: var(--window-face);
--wv-head-text: white;
}
.code-wrap.has-head {
--code-head-height: calc(var(--wv-head-height) - 2px);
}
.section-title .section-title-text {
padding-left: 0;
}
:root {
--wv-head-face: var(--wv-raised-face);
--wv-head-edges: var(--wv-raised-edges);
--wv-head-shine: var(--wv-raised-shine);
--wv-head-text: var(--wv-text);
--wv-head-height: 26px;
--wv-head-inset-face: linear-gradient(180deg, rgb(28, 28, 28) 0%, rgb(40, 40, 40) 100%);
}
:is(.window .window-title, .modal .modal-title, .section-title, .wv-slab .wv-slab-head, .accordion > .accordion-summary) {
box-sizing: border-box;
display: flex;
gap: 6px;
min-height: var(--wv-head-height);
justify-content: flex-start;
align-items: stretch;
padding: 0;
}
:is(.wv-head-title, .code-wrap .code-title) {
display: flex;
align-items: center;
gap: 6px;
padding: 0 10px 0 8px;
border-right: 1px solid rgba(0, 0, 0, 0.6);
box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06);
}
.modal .modal-title form {
display: flex;
align-self: stretch;
margin-left: auto;
}
:is(.modal .modal-title .modal-close, .section-title .section-title-link) {
display: flex;
align-items: center;
justify-content: center;
align-self: stretch;
min-width: var(--wv-head-height);
margin-left: auto;
padding: 0 8px;
background: none;
border: 0;
border-left: 1px solid rgba(0, 0, 0, 0.6);
box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.06);
}
.window .window-title {
--wv-head-face: var(--wv-head-inset-face);
border-color: var(--wv-sunken-edges);
box-shadow: var(--wv-sunken-shade);
}
.window.kira .window-title {
--wv-head-face: var(--window-face);
}
.wv-head-title.wv-head-title {
border-right: 0;
box-shadow: none;
}
.wv-tip {
position: fixed;
z-index: 1000;
max-width: min(360px, calc(100vw - 12px));
padding: 3px 9px 4px;
box-sizing: border-box;
background: linear-gradient(180deg, var(--tip-a, #3b444c) 0%, var(--tip-b, #2c3339) 50%, var(--tip-c, #1f2529) 51%, var(--tip-d, #262d33) 100%);
border: 1px solid #0b0e11;
border-radius: 6px;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 6px rgba(0, 0, 0, 0.7);
color: white;
font-family: var(--wv-font, monospace, monospace);
font-size: var(--wv-font-size, 13px);
line-height: 1.3;
text-align: center;
text-shadow: 1px 1px 0 black;
overflow-wrap: anywhere;
opacity: 0;
visibility: hidden;
transform: translate(-50%, 5px);
transition: opacity 0.16s ease-out, transform 0.16s ease-out, visibility 0s linear 0.16s;
pointer-events: none;
&.on {
opacity: 1;
visibility: visible;
transform: translate(-50%, 0);
transition: opacity 0.16s ease-out, transform 0.16s ease-out, visibility 0s;
}
&.below {
transform: translate(-50%, -5px);
}
&.below.on {
transform: translate(-50%, 0);
}
& .wv-tip-sep {
display: inline-block;
width: 0;
height: 0.95em;
margin: 0 0.55em;
border-left: 1px solid rgba(0, 0, 0, 0.75);
border-right: 1px solid rgba(255, 255, 255, 0.2);
vertical-align: -0.12em;
}
&.tip-gold {
--tip-a: #8a6a10;
--tip-b: #6b500a;
--tip-c: #4a3605;
--tip-d: #5c4408;
}
&.tip-silver {
--tip-a: #7a8088;
--tip-b: #5d636a;
--tip-c: #41464c;
--tip-d: #4d5359;
}
&.tip-bronze {
--tip-a: #8a5530;
--tip-b: #6b3f20;
--tip-c: #4a2a12;
--tip-d: #5a3418;
}
&::before,
&::after {
content: "";
position: absolute;
top: 100%;
border: solid transparent;
}
&::before {
left: calc(50% - 6px + var(--arrow, 0px));
border-width: 6px;
border-top-color: #0b0e11;
}
&::after {
left: calc(50% - 5px + var(--arrow, 0px));
border-width: 5px;
border-top-color: var(--tip-d, #262d33);
}
&.below::before,
&.below::after {
top: auto;
bottom: 100%;
border-top-color: transparent;
}
&.below::before {
border-bottom-color: #0b0e11;
}
&.below::after {
border-bottom-color: var(--tip-a, #3b444c);
}
}
