85 lines
985 B
SCSS
85 lines
985 B
SCSS
/* typography */
|
|
html {
|
|
--line-height: 1.6;
|
|
}
|
|
h1 {
|
|
font-size: 2.49em;
|
|
font-weight: bold;
|
|
}
|
|
h2 {
|
|
font-size: 2.07em;
|
|
font-weight: bold;
|
|
}
|
|
h3 {
|
|
font-size: 1.73em;
|
|
font-weight: bold;
|
|
}
|
|
h4 {
|
|
font-size: 1.44em;
|
|
font-weight: bold;
|
|
}
|
|
h5 {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
}
|
|
h6 {
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
}
|
|
p {
|
|
line-height: var(--line-height);
|
|
}
|
|
h1, h2, h3, h4, h5, h6, p {
|
|
margin-block: 1rem;
|
|
}
|
|
strong {
|
|
font-weight: bold;
|
|
}
|
|
em {
|
|
font-style: italic;
|
|
}
|
|
|
|
/* lists */
|
|
ol {
|
|
list-style: decimal;
|
|
}
|
|
ul {
|
|
list-style: disc;
|
|
}
|
|
ol, ul {
|
|
margin-inline-start: 1em;
|
|
}
|
|
li {
|
|
margin-block: 0.5em;
|
|
line-height: var(--line-height);
|
|
}
|
|
|
|
/* content */
|
|
blockquote {
|
|
border-inline-start: 0.25em solid black;
|
|
padding-inline-start: 0.5em;
|
|
display: block;
|
|
margin-block: 1em;
|
|
line-height: 1.6;
|
|
p {
|
|
|
|
}
|
|
}
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
figure {
|
|
blockquote {
|
|
|
|
}
|
|
img {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
figcaption {
|
|
padding: 0.5em;
|
|
font-style: italic;
|
|
line-height: 2;
|
|
}
|
|
}
|
|
|