chaoswest.tv/assets/scss/_typography.scss

76 lines
916 B
SCSS
Raw Normal View History

2022-05-08 11:57:02 +02:00
.container > nav {
font-family: $heading_font_family;
}
h1,
h2,
h3,
h4,
h5,
h6 {
2022-05-08 11:57:02 +02:00
font-family: $heading_font_family;
font-weight: 500;
margin-bottom: 1.5em;
}
body {
font-family: $main_font_family;
font-size: 12pt;
2022-05-08 11:57:02 +02:00
line-height: 1.45em;
}
h1 {
font-size: 1.4em;
}
h2 {
font-size: 1.3em;
}
h3 {
font-size: 1.2em;
}
h4 {
font-size: 1.2em;
}
h5 {
font-size: 1.15em;
}
h6 {
font-size: 1.1em;
}
a {
letter-spacing: normal;
transition: text-decoration-thickness 0.1s;
2022-05-08 11:57:02 +02:00
text-underline-offset: 0.2rem;
text-decoration-thickness: 0.15rem;
}
a:hover {
text-decoration-thickness: 0.3rem;
}
dt {
font-weight: 500;
}
code,
pre {
2022-05-08 11:57:02 +02:00
font-family: $mono_font_family;
font-size: 13pt;
line-height: 1.45em;
}
.admonition {
padding: 0.5em 0 0.5em 0;
2022-05-08 11:57:02 +02:00
}
.admonition p {
line-height: 1rem;
}
.admonition-title {
font-weight: 500;
}