clean up type sizing

This commit is contained in:
Stacy Kvernmo 2023-02-20 14:54:31 -06:00
parent dfe96c9430
commit dff68235c0

View File

@ -119,7 +119,7 @@ h6 {
h1,
h2,
caption {
letter-spacing: -#{functions.sl-px-to-em(0.5px)};
letter-spacing: -0.03125em;
}
h1,
@ -129,7 +129,7 @@ h2 {
h1 {
margin-top: 0;
font-size: var(h1-size, var(--sl-font-size--xx-large));
font-size: var(--h1-size, var(--sl-font-size--xx-large));
line-height: 1;
text-align: center;
@ -176,7 +176,7 @@ footer {
.caps {
font-size: 0.875em;
text-transform: uppercase;
letter-spacing: functions.sl-px-to-em(1px);
letter-spacing: 0.0625em;
line-height: 0;
}
@ -188,7 +188,6 @@ pre {
code {
// Scale the code font size down, because the font itself is much larger.
font-size: 0.88889em;
font-size: var(--sl-font-size--small);
line-height: 1;
nav & {
@ -209,7 +208,7 @@ pre {
white-space: pre-wrap;
code {
font-size: 1em;
font-size: var(--sl-font-size--x-small);
line-height: inherit;
}
}