328 lines
No EOL
6.1 KiB
CSS
328 lines
No EOL
6.1 KiB
CSS
:root {
|
|
--lavender: #cdb4db;
|
|
--light-pink: #ffc8dd;
|
|
--pink: #ffafcc;
|
|
--light-blue: #bde0fe;
|
|
--blue: #a2d2ff;
|
|
--darker-pink: #ff75a7;
|
|
--darkerer-pink: #ff4287;
|
|
--win-bg-grey: #c0c0c0;
|
|
--grey-500: oklch(55.1% 0.027 264.364);
|
|
}
|
|
|
|
body {
|
|
background-image: url(assets/images/tiledbgpink.webp);
|
|
background-size: cover;
|
|
background-position: center;
|
|
height: 100lvh;
|
|
width: 100lvw;
|
|
overflow: auto;
|
|
font-family: "DotGothic16", sans-serif;
|
|
|
|
|
|
main {
|
|
padding-top: 3.5rem;
|
|
}
|
|
}
|
|
|
|
/* CRT Effect */
|
|
|
|
crt {
|
|
display: block;
|
|
position: relative;
|
|
z-index: 9999;
|
|
|
|
&::before,
|
|
&::after {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
z-index: 2147483647;
|
|
}
|
|
|
|
&::before {
|
|
background: linear-gradient(to bottom,
|
|
transparent 50%,
|
|
rgba(0, 0, 0, 0.2) 51%);
|
|
background-size: 100% 4px;
|
|
animation: scanlines 1s steps(60) infinite;
|
|
}
|
|
|
|
&::after {
|
|
width: 100%;
|
|
height: 2px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
|
|
@keyframes scanlines {
|
|
0% {
|
|
background-position: 0 50%;
|
|
}
|
|
}
|
|
|
|
/* Navbar */
|
|
navbar {
|
|
font-family: "VT323", monospace;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100svw;
|
|
height: 3.5rem;
|
|
background-color: var(--win-bg-grey);
|
|
border-bottom: 2px solid #000;
|
|
|
|
navbar-content {
|
|
display: flex;
|
|
gap: 0.3rem;
|
|
|
|
|
|
input {
|
|
opacity: 0;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
|
|
& a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border: 2px solid black;
|
|
background: var(--win-bg-grey);
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
|
|
&:has(input:checked) {
|
|
background: #ff75a7;
|
|
color: #ffffff;
|
|
border-color: #808080 #ffffff #ffffff #808080;
|
|
}
|
|
|
|
&:active {
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
padding: 5px 7px 3px 9px;
|
|
border-color: #808080 #ffffff #ffffff #808080;
|
|
}
|
|
|
|
&:hover {
|
|
background: #0004;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Home */
|
|
home-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* 404 */
|
|
katcenkat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
img {
|
|
transition: opacity 5s ease, transform 5s ease-out;
|
|
opacity: 1;
|
|
transform: translateY(0px);
|
|
|
|
@starting-style {
|
|
opacity: 0;
|
|
transform: translateY(500px);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Mini player */
|
|
|
|
mini-player {
|
|
position: fixed;
|
|
top: 3.5rem;
|
|
left: 0;
|
|
z-index: 100;
|
|
width: min(240px, 100svw);
|
|
background-color: var(--win-bg-grey);
|
|
border: 2px solid;
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
box-shadow: 2px 2px 0 #000;
|
|
|
|
|
|
transition: opacity 0.3s,
|
|
translate 0.3s;
|
|
|
|
ominous-message {
|
|
display: block;
|
|
padding: 0.5rem;
|
|
font-style: italic;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
title-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 2px solid;
|
|
border-color: #808080 #ffffff #ffffff #808080;
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
track-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.125rem;
|
|
max-width: 60%;
|
|
overflow: hidden;
|
|
|
|
track-title {
|
|
font-weight: bold;
|
|
font-size: 0.75rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
track-artist {
|
|
font-size: 0.625rem;
|
|
color: #555;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
|
|
time-display {
|
|
font-size: 0.625rem;
|
|
color: #333;
|
|
}
|
|
}
|
|
|
|
progress-bar-container {
|
|
padding: 0.25rem 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: nowrap;
|
|
|
|
.progress-input {
|
|
display: block;
|
|
width: 90%;
|
|
height: 0.2rem;
|
|
appearance: none;
|
|
background: #fff;
|
|
border: 1px solid #808080;
|
|
outline: none;
|
|
cursor: pointer;
|
|
|
|
|
|
&::-webkit-slider-thumb {
|
|
appearance: none;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: var(--win-bg-grey);
|
|
border: 2px solid;
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&::-moz-range-thumb {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: var(--win-bg-grey);
|
|
border: 2px solid;
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
controls-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
transport-controls {
|
|
display: flex;
|
|
gap: 1px;
|
|
|
|
button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.25rem;
|
|
background: var(--win-bg-grey);
|
|
border: 2px solid;
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: #0002;
|
|
}
|
|
|
|
&:active {
|
|
border-color: #808080 #ffffff #ffffff #808080;
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: 1px solid #000;
|
|
}
|
|
|
|
img {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
volume-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
|
|
.volume-input {
|
|
width: 4rem;
|
|
height: 4px;
|
|
appearance: none;
|
|
background: #fff;
|
|
border: 1px solid #808080;
|
|
outline: none;
|
|
cursor: pointer;
|
|
|
|
&::-webkit-slider-thumb {
|
|
appearance: none;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--win-bg-grey);
|
|
border: 2px solid;
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&::-moz-range-thumb {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--win-bg-grey);
|
|
border: 2px solid;
|
|
border-color: #ffffff #808080 #808080 #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
audio {
|
|
display: none;
|
|
}
|
|
} |