2024-07-20 23:20:57 +02:00
|
|
|
/* Animation */
|
|
|
|
|
#home-page,
|
|
|
|
|
#home-page #chat-section,
|
|
|
|
|
#chat-page,
|
|
|
|
|
#chat-page #main > div {
|
2026-04-01 08:29:39 +00:00
|
|
|
animation: slide-up var(--animation-duration) ease;
|
2024-07-20 23:20:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Gradient */
|
2024-07-21 02:49:04 +02:00
|
|
|
#background-wrapper {
|
2026-04-01 08:29:39 +00:00
|
|
|
position: fixed;
|
2026-09-25 14:32:45 +02:00
|
|
|
inset: 0px;
|
2026-09-26 23:32:38 +02:00
|
|
|
|
2026-09-25 14:32:45 +02:00
|
|
|
transform: scale(1.2);
|
|
|
|
|
filter: blur(40px);
|
2024-07-20 14:54:52 +02:00
|
|
|
|
2026-04-01 08:29:39 +00:00
|
|
|
z-index: 1;
|
|
|
|
|
pointer-events: none;
|
2024-07-20 14:54:52 +02:00
|
|
|
|
2026-04-01 08:29:39 +00:00
|
|
|
overflow: hidden;
|
2024-07-20 15:35:10 +02:00
|
|
|
|
2026-09-24 16:39:53 +02:00
|
|
|
background: var(--background);
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-20 15:18:11 +02:00
|
|
|
main {
|
2026-04-01 08:29:39 +00:00
|
|
|
z-index: 2;
|
2024-07-20 15:18:11 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-21 02:49:04 +02:00
|
|
|
#background-wrapper div {
|
2026-04-01 08:29:39 +00:00
|
|
|
content: "";
|
2024-07-20 14:54:52 +02:00
|
|
|
|
2026-04-01 08:29:39 +00:00
|
|
|
position: absolute;
|
2026-09-17 20:03:55 +02:00
|
|
|
inset: 0px;
|
2024-07-20 14:54:52 +02:00
|
|
|
|
2026-04-01 08:29:39 +00:00
|
|
|
z-index: -1;
|
|
|
|
|
pointer-events: none;
|
2024-07-21 02:49:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#background-wrapper #sky {
|
2026-04-01 08:29:39 +00:00
|
|
|
left: -100%;
|
|
|
|
|
bottom: -50%;
|
2024-07-21 02:49:04 +02:00
|
|
|
|
2026-09-17 20:03:55 +02:00
|
|
|
background-image: radial-gradient(var(--sky-1), var(--sky-2));
|
2026-09-26 23:32:38 +02:00
|
|
|
|
2026-09-25 17:22:49 +02:00
|
|
|
opacity: 0.4;
|
2024-07-21 02:49:04 +02:00
|
|
|
}
|
|
|
|
|
|
2026-09-18 17:40:16 +02:00
|
|
|
body {
|
2026-09-23 00:09:09 +02:00
|
|
|
transition:
|
|
|
|
|
--sky-1 1s,
|
|
|
|
|
--sky-2 5s;
|
2026-09-18 17:40:16 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-21 02:49:04 +02:00
|
|
|
#background-wrapper #grass-1 {
|
2026-09-25 17:22:49 +02:00
|
|
|
--color-1: hsl(104.61, 100%, 46.85%);
|
|
|
|
|
--color-2: hsl(37.43, 88.75%, 53.58%);
|
2026-09-17 20:03:55 +02:00
|
|
|
|
|
|
|
|
filter: var(--backdrop-grass-filter);
|
2026-09-25 17:22:49 +02:00
|
|
|
opacity: 0.3;
|
2026-04-01 08:29:39 +00:00
|
|
|
|
|
|
|
|
background-image: linear-gradient(
|
|
|
|
|
350deg,
|
|
|
|
|
var(--color-1),
|
|
|
|
|
var(--color-2) 30%,
|
|
|
|
|
transparent 40%
|
|
|
|
|
);
|
2024-07-21 02:49:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#background-wrapper #grass-2 {
|
2026-09-17 20:03:55 +02:00
|
|
|
--color-1: hsl(110, 60%, 40%);
|
|
|
|
|
--color-2: hsl(110, 60%, 35%);
|
2026-09-23 00:09:09 +02:00
|
|
|
|
2026-09-17 20:03:55 +02:00
|
|
|
filter: var(--backdrop-grass-filter);
|
2026-09-25 17:22:49 +02:00
|
|
|
opacity: 0.3;
|
2026-04-01 08:29:39 +00:00
|
|
|
|
|
|
|
|
background-image: linear-gradient(
|
|
|
|
|
9deg,
|
|
|
|
|
var(--color-1),
|
|
|
|
|
var(--color-2) 30%,
|
|
|
|
|
transparent 35%
|
|
|
|
|
);
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
|
|
|
|
|
2026-04-09 18:09:26 +00:00
|
|
|
body[theme="dark"] #background-wrapper {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body[theme="dark"] #background-wrapper #sky {
|
|
|
|
|
--color-1: hsl(188, 100%, 30%);
|
|
|
|
|
--color-2: hsl(194, 72%, 24%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body[theme="dark"] #background-wrapper #grass-1 {
|
|
|
|
|
--color-1: hsl(120, 30%, 30%);
|
|
|
|
|
--color-2: hsl(120, 30%, 24%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body[theme="dark"] #background-wrapper #grass-2 {
|
|
|
|
|
--color-1: hsl(110, 60%, 30%);
|
|
|
|
|
--color-2: hsl(110, 50%, 24%);
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
2026-09-24 15:55:43 +02:00
|
|
|
|
|
|
|
|
/* Zoom */
|
|
|
|
|
.zoom {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: start;
|
|
|
|
|
gap: var(--large-gap);
|
|
|
|
|
|
|
|
|
|
width: auto;
|
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
|
|
transform-origin: center;
|
|
|
|
|
|
|
|
|
|
padding: var(--content-padding);
|
|
|
|
|
}
|
2026-09-29 22:24:34 +02:00
|
|
|
|
|
|
|
|
/* Keystrokes */
|
|
|
|
|
[ctkeystroke] {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ctkeystroke]::after {
|
|
|
|
|
content: attr(ctkeystroke);
|
|
|
|
|
|
|
|
|
|
background: var(--primary);
|
|
|
|
|
color: var(--text-on-color);
|
|
|
|
|
|
|
|
|
|
--size: 24px;
|
|
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: calc(50% - var(--size) / 2);
|
|
|
|
|
left: calc(50% - var(--size) / 2);
|
|
|
|
|
|
|
|
|
|
width: var(--size);
|
|
|
|
|
height: var(--size);
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(10px);
|
|
|
|
|
transition: all calc(var(--animation-duration) / 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body[keystroke-active] [ctkeystroke]::after {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0px);
|
|
|
|
|
}
|