This repository has been archived on 2024-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
services-panel/assets/sass/main.scss

88 lines
1.2 KiB
SCSS
Raw Normal View History

2023-02-23 14:55:08 +00:00
@import './colors.scss';
@import './fonts.scss';
* {
margin: 0;
padding: 0;
}
2023-02-23 14:55:08 +00:00
2023-02-23 21:40:16 +00:00
body {
font-family: 'FantasqueNF', monospace;
2023-02-23 21:40:16 +00:00
}
header {
margin-top: 2.5rem;
display: flex;
justify-content: center;
h1.cli {
font-size: 2.5rem;
.decoration {
font-variant-ligatures: none;
}
.hint {
font-style: italic;
}
2023-02-23 21:40:16 +00:00
}
.subtitle {
font-size: 1.25rem;
margin-top: 1rem;
2023-02-23 21:40:16 +00:00
}
}
.blink {
animation: blink 1s step-start infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
@media (prefers-color-scheme: light) {
body {
background: $base_latte;
color: $text_latte;
}
header{
h1.cli {
.pink {
color: $pink_latte;
}
.yellow {
color: $yellow_latte;
}
.cyan {
color: $sky_latte;
}
.hint {
color: $subtext0_latte;
}
}
}
}
@media (prefers-color-scheme: dark) {
body {
background: $base_macchiato;
color: $text_macchiato;
}
header{
h1.cli {
.pink {
color: $pink_macchiato;
}
.yellow {
color: $yellow_macchiato;
}
.cyan {
color: $sky_macchiato;
}
.hint {
color: $subtext0_macchiato;
}
}
}
}