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

157 lines
2.2 KiB
SCSS
Raw Normal View History

2023-02-23 14:55:08 +00:00
@import './colors.scss';
@import './fonts.scss';
2023-02-25 18:42:20 +00:00
* {
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 {
2023-02-25 18:42:20 +00:00
width: 90vw;
margin-left: auto;
margin-right: auto;
margin-top: 2.5rem;
display: flex;
justify-content: center;
h1.cli {
2023-02-25 18:42:20 +00:00
font-size: calc(min(6vw, 2.5rem));
.decoration {
font-variant-ligatures: none;
}
.hint {
font-style: italic;
}
2023-02-23 21:40:16 +00:00
}
.subtitle {
2023-02-25 18:42:20 +00:00
font-size: 1.15rem;
margin-top: 1rem;
2023-02-23 21:40:16 +00:00
}
}
.blink {
animation: blink 1s step-start infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
2023-02-25 18:42:20 +00:00
main {
margin-top: 2.5rem;
display: grid;
grid-template-columns: repeat(auto-fit, 20rem) ;
gap: 2.5rem;
justify-content: center;
font-size: 1.15rem;
max-width: 90vw;
margin-right: auto;
margin-left: auto;
fieldset {
border: solid 3px;
padding: 1rem;
border-radius: 5px;
.top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
img {
width: 64px;
height: auto;
}
}
2023-02-25 20:29:06 +00:00
a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
2023-02-25 18:42:20 +00:00
}
legend {
padding-left: 1rem;
padding-right: 1rem;
margin: auto;
}
}
@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;
}
}
}
2023-02-25 18:42:20 +00:00
main {
fieldset {
border-color: $text_latte;
2023-02-25 20:29:06 +00:00
a {
color: $mauve_latte;
}
2023-02-25 18:42:20 +00:00
}
}
}
@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;
}
}
}
2023-02-25 18:42:20 +00:00
main {
fieldset {
border-color: $text_macchiato;
2023-02-25 20:29:06 +00:00
a {
color: $mauve_macchiato;
}
2023-02-25 18:42:20 +00:00
}
}
}