2019-11-27 17:06:26 +00:00
|
|
|
/* ----------------------------------------------------------- */
|
|
|
|
/* == main */
|
|
|
|
/* ----------------------------------------------------------- */
|
|
|
|
|
2024-11-09 02:56:27 +00:00
|
|
|
// experimental view transition API
|
|
|
|
@view-transition {
|
|
|
|
navigation: auto;
|
|
|
|
}
|
|
|
|
|
2024-12-12 12:19:49 +00:00
|
|
|
html {
|
|
|
|
color-scheme: dark;
|
|
|
|
}
|
|
|
|
|
2019-11-27 17:06:26 +00:00
|
|
|
body {
|
|
|
|
background-color: $color-primary;
|
|
|
|
color: $color-light-text;
|
|
|
|
font-family: $fontstack1;
|
2023-05-12 01:50:10 +00:00
|
|
|
overscroll-behavior: none;
|
2019-11-27 17:06:26 +00:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
padding-right: 4rem;
|
|
|
|
padding-left: 4rem;
|
|
|
|
max-width: 138rem;
|
|
|
|
}
|
|
|
|
|
2024-05-02 20:01:01 +00:00
|
|
|
.container--medium {
|
|
|
|
max-width: 80rem;
|
|
|
|
}
|
|
|
|
|
2019-11-27 17:06:26 +00:00
|
|
|
.container--small {
|
|
|
|
max-width: 60rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background-color: rgba($color-secondary, .8);
|
|
|
|
color: $color-light-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* titles
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
@include flow(100);
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
@include flow(22);
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
@include flow(18);
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
@include flow(16);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* links
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
a,
|
|
|
|
a:visited {
|
|
|
|
color: $color-link;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:focus {
|
|
|
|
outline: none;
|
|
|
|
border-radius: .3rem;
|
|
|
|
box-shadow: $focus-ring;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* lists
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 2rem;
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* divers
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
hr {
|
|
|
|
display: block;
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: 0;
|
|
|
|
height: .1rem;
|
|
|
|
border: 0;
|
|
|
|
border-top: .1rem solid #ccc;
|
|
|
|
}
|