106 lines
1.5 KiB
SCSS
106 lines
1.5 KiB
SCSS
@import url(https://fonts.bunny.net/css?family=averia-sans-libre:700|cabin:400,400i,500,500i,600,600i,700,700i);
|
|
|
|
body {
|
|
font-family: 'Cabin', sans-serif;
|
|
font-size: 1.2rem;
|
|
line-height: 1.5;
|
|
margin: 1rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 768px;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, nav {
|
|
font-family: 'Averia Sans Libre', display;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
nav {
|
|
ul {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
list-style-position: inside;
|
|
margin-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
li {
|
|
font-size: 1.3rem;
|
|
flex-direction: column;
|
|
list-style-type: none;
|
|
border-bottom: 1px solid #a6dc68;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
figure {
|
|
margin: none;
|
|
text-align: center;
|
|
img {
|
|
border-radius: 1rem;
|
|
max-height: 30rem;
|
|
max-width: 100%;
|
|
}
|
|
figcaption {
|
|
margin-top: -0.666rem;
|
|
font-size: 0.8rem;
|
|
opacity: 69%;
|
|
}
|
|
}
|
|
|
|
footer {
|
|
margin-top: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
a {
|
|
color: #a6dc68;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1 {
|
|
a {
|
|
color: #87a73d;
|
|
}
|
|
}
|
|
|
|
code {
|
|
}
|
|
|
|
main {
|
|
padding: 1rem;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
body {
|
|
background: #eee;
|
|
color: #291712;
|
|
}
|
|
a {
|
|
color: #63843e;
|
|
}
|
|
footer {
|
|
border-top: 1px solid #222;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background: #291712;
|
|
color: #eee;
|
|
}
|
|
header {
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
footer {
|
|
border-top: 1px solid #eee;
|
|
}
|
|
}
|