mirror of
https://github.com/danog/sass-site.git
synced 2025-01-22 05:41:42 +01:00
clean up type sizing
This commit is contained in:
parent
dfe96c9430
commit
dff68235c0
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user