Files
lair.moe/static/scss/main.scss
T

120 lines
2.0 KiB
SCSS
Raw Normal View History

2025-07-31 18:21:10 +03:00
$base: #1e1e2e;
$text: #cdd6f4;
$mantle: #181825;
$crust: #11111b;
$overlay0: #6c7086;
$overlay1: #7f849c;
$overlay2: #9399b2;
$surface0: #313244;
$surface1: #45475a;
$surface2: #585b70;
$subtext0: #a6adc8;
$subtext1: #bac2de;
$blue: #89b4fa;
2025-07-31 01:27:33 +03:00
body {
2025-07-31 18:21:10 +03:00
background-color: $base;
2025-07-31 01:27:33 +03:00
font-family: Pixeloid;
2025-07-31 18:21:10 +03:00
color: $text;
width: 100%;
/* margin: 0 8px; */
margin: 0;
}
main {
max-width: 45rem;
margin-inline: auto;
padding: 0 8px;
2025-07-31 22:27:06 +03:00
}
h1 {
text-align: center;
2025-07-31 01:27:33 +03:00
}
a {
color: unset;
text-decoration: underline;
2025-07-31 18:21:10 +03:00
text-decoration-color: $blue;
2025-07-31 01:27:33 +03:00
text-underline-offset: 1px;
transition: text-underline-offset 0.3s ease;
&:hover {
text-underline-offset: 3px;
}
&:active {
display: inline-block;
transform: scale(.98);
}
}
2025-07-31 23:34:17 +03:00
header {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
background-color: $surface0;
padding: 8px;
}
2025-07-31 01:27:33 +03:00
.mono {
font-family: Monocraft, monospace;
2025-07-31 18:21:10 +03:00
background-color: $mantle;
2025-07-31 20:47:05 +03:00
border-radius: 2px;
padding: 0 4px;
2025-07-31 18:21:10 +03:00
color: $subtext0;
overflow-wrap: anywhere;
2025-07-31 18:21:10 +03:00
&:hover {
2025-07-31 20:47:05 +03:00
transition: .3s ease;
2025-07-31 18:21:10 +03:00
background-color: $crust;
}
}
2025-07-31 22:27:06 +03:00
.services-block {
display: flex;
flex-direction: column;
width: fit-content;
}
2025-08-01 00:45:24 +03:00
.block {
2025-07-31 18:21:10 +03:00
background-color: $surface0;
border-radius: 8px;
padding: 8px;
& + & {
2025-07-31 20:47:05 +03:00
margin-top: 8px;
2025-07-31 18:21:10 +03:00
}
2025-07-31 01:27:33 +03:00
}
@font-face {
font-family: Monocraft;
src: url("/static/font/Monocraft.ttc");
}
@font-face {
font-family: Pixeloid;
src:
url("/static/font/Pixeloid/woff/Sans.woff2") format("woff2"),
url("/static/font/Pixeloid/otf/Sans.otf") format("opentype");
2025-07-31 20:47:05 +03:00
}
@font-face {
font-family: Pixeloid;
src:
url("/static/font/Pixeloid/woff/Sans-Bold.woff2") format("woff2"),
url("/static/font/Pixeloid/otf/Sans-Bold.otf") format("opentype");
font-weight: bold;
}
@font-face {
font-family: PixeloidMono;
src:
url("/static/font/Pixeloid/woff/Mono.woff2") format("woff2"),
url("/static/font/Pixeloid/otf/Mono.otf") format("opentype");
font-style: mono;
}