site/src/css/global.scss

65 lines
914 B
SCSS
Raw Normal View History

2023-10-24 01:40:23 -04:00
@use "colors";
@use "fonts";
/*
Colors
======
*/
$bg: colors.$paper;
$fg: scale-color(colors.$magenta-600, $lightness: -20%);
$fg-logo: colors.$magenta-600;
$link: colors.$green-600;
$bg-hover: scale-color(colors.$green-400, $alpha: -75%);
$bg-highlight: scale-color(colors.$magenta-600, $alpha: -75%);
body {
background-color: $bg;
color: $fg;
font-family: Alkhemikal;
font-size: 1.5rem;
}
::selection {
background: $bg-highlight;
}
h1 {
font-size: 4rem;
}
h2 {
font-size: 2rem;
}
main, article {
padding: 0.5em;
}
main :where(ol, ul), article :where(ol, ul) {
all: revert;
margin: 0;
}
2023-10-25 01:34:15 -04:00
header.header_main {
text-align: center;
}
2023-10-24 01:40:23 -04:00
a {
color: $link;
border-radius: 10px;
}
a:hover, a:active {
background-color: $bg-hover;
}
2023-10-25 01:34:15 -04:00
a.logo, a.logo:hover, a.logo:active {
font-size: 3em;
2023-10-24 01:40:23 -04:00
color: $fg-logo;
2023-10-25 01:34:15 -04:00
text-decoration: none;
2023-10-24 01:40:23 -04:00
}
.navbar :where(li) {
display: inline-flex;
2023-10-25 01:34:15 -04:00
}