92 lines
1.2 KiB
SCSS
92 lines
1.2 KiB
SCSS
//
|
|
// Base elements
|
|
//
|
|
|
|
html {
|
|
@include fluid-type($min-vw, $max-vw, $min-font-size, $max-font-size);
|
|
}
|
|
|
|
body {
|
|
color: $text-color;
|
|
background: $background-color;
|
|
}
|
|
|
|
blockquote {
|
|
color: tint($text-color, 40%);
|
|
font-style: italic;
|
|
|
|
cite {
|
|
font-size: 80%;
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
|
|
&:before {
|
|
content: '\2014';
|
|
padding-right: 0.25rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
font-family: $monospace-font-family;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: $headline-font-family;
|
|
}
|
|
|
|
h1 {
|
|
@include fluid-type($min-vw, $max-vw, $h1-min, $h1-max);
|
|
}
|
|
|
|
h2 {
|
|
@include fluid-type($min-vw, $max-vw, $h2-min, $h2-max);
|
|
}
|
|
|
|
h3 {
|
|
@include fluid-type($min-vw, $max-vw, $h3-min, $h3-max);
|
|
}
|
|
|
|
h4 {
|
|
@include fluid-type($min-vw, $max-vw, $h4-min, $h4-max);
|
|
}
|
|
|
|
h5 {
|
|
@include fluid-type($min-vw, $max-vw, $h5-min, $h5-max);
|
|
}
|
|
|
|
h6 {
|
|
@include fluid-type($min-vw, $max-vw, $h6-min, $h6-max);
|
|
}
|
|
|
|
dt {
|
|
font-weight: bold;
|
|
|
|
&:not(:first-child) {
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
dd {
|
|
margin: 0;
|
|
}
|
|
|
|
pre {
|
|
@include fluid-type($min-vw, $max-vw, 12px, 14px);
|
|
}
|
|
|
|
figcaption {
|
|
margin: 0.5rem 0;
|
|
font-size: 80%;
|
|
}
|
|
|
|
a {
|
|
color: $accent-color;
|
|
|
|
&:hover {
|
|
color: shade($accent-color, 25%);
|
|
}
|
|
} |