92 lines
1.6 KiB
SCSS
92 lines
1.6 KiB
SCSS
@font-face {
|
|
font-family: spectral;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("/fonts/spectral-regular.woff2") format("woff2"),
|
|
url("/fonts/spectral-regular.woff") format("woff"),
|
|
url("/fonts/spectral-regular.ttf") format("truetype");
|
|
}
|
|
@font-face {
|
|
font-family: spectral;
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url("/fonts/spectral-bold.woff2") format("woff2"),
|
|
url("/fonts/spectral-bold.woff") format("woff"),
|
|
url("/fonts/spectral-bold.ttf") format("truetype");
|
|
}
|
|
@font-face {
|
|
font-family: spectral;
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url("/fonts/spectral-italic.woff2") format("woff2"),
|
|
url("/fonts/spectral-italic.woff") format("woff"),
|
|
url("/fonts/spectral-italic.ttf") format("truetype");
|
|
}
|
|
|
|
|
|
body {
|
|
font-family: spectral, serif;
|
|
text-rendering: optimizeLegibility;
|
|
font-size: 18px;
|
|
line-height: 1.5;
|
|
|
|
max-width: 60em;
|
|
margin: 0 auto;
|
|
padding: 1em;
|
|
|
|
display: grid;
|
|
grid-template-columns: 10em auto;
|
|
grid-column-gap: 2em;
|
|
}
|
|
|
|
header {
|
|
grid-column: 1/-1;
|
|
padding: 2rem 0;
|
|
font-weight: bold;
|
|
font-size: 1.5em;
|
|
|
|
a { color: inherit }
|
|
}
|
|
|
|
aside {
|
|
span.title {
|
|
display: block;
|
|
margin: 2em 0 1em 0;
|
|
font-weight: bold;
|
|
}
|
|
ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
|
|
li a {
|
|
color: #000;
|
|
display: block;
|
|
padding: 0 .5em;
|
|
|
|
&:hover {
|
|
color: #fff;
|
|
background-color: #000;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
main {
|
|
article {
|
|
.info {
|
|
border-top: 1px solid #eee;
|
|
margin: 2em 0;
|
|
padding: 1em 0;
|
|
}
|
|
h1 a { color: inherit }
|
|
}
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #E1140A;
|
|
|
|
&:hover { text-decoration: underline }
|
|
}
|