chaoswest.tv/assets/scss/_typography.scss

90 lines
1.1 KiB
SCSS

.container > nav {
font-family: $heading_font_family;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: $heading_font_family;
font-weight: 500;
//margin-bottom: 0.5em;
//margin-top: 1.5em;
}
body {
font-family: $main_font_family;
font-size: 13pt;
line-height: 1.45em;
}
h1 {
font-size: 1.4em;
}
h2 {
font-size: 1.3em;
margin-top: 1.5em;
margin-left: -0.4em;
padding-left: 0.4em;
padding-bottom: 0.1em;
border-left: 0.2em solid var(--main-accent-color);
}
h3 {
font-size: 1.2em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 0.9em;
}
h6 {
font-size: 0.8em;
}
p {
}
a {
letter-spacing: normal;
transition: text-decoration-thickness 0.1s;
text-underline-offset: 0.2rem;
text-decoration-thickness: 0.15rem;
}
a:hover {
text-decoration-thickness: 0.3rem;
}
dt {
font-weight: 500;
}
code,
pre {
font-family: $mono_font_family;
font-size: 13pt;
line-height: 1.45em;
}
.admonition {
padding: 0.5em 0 0.5em 0;
}
.admonition p {
line-height: 1rem;
}
.admonition-title {
font-weight: 500;
}
.subline {
font-size: 0.7em;
}