Set unitless lineheight. Not bigger font for mobile.

This commit is contained in:
Fredrik Jonsson 2022-01-14 14:54:16 +01:00
commit ef80ad8ef8

View file

@ -35,22 +35,14 @@ th,
label,
legend,
figcaption {
@include type-layout(s, 1);
@include respond-to(xxl) {
@include type-layout(s-2, 1);
}
@include font-size(s);
}
.language-selector,
article > header,
.content-dates,
.footer {
@include type-layout(xs, 1);
@include respond-to(xxl) {
@include type-layout(xs-2, 1);
}
@include font-size(xs);
}
// Apply heading font stack to heading, labels etc.
@ -119,12 +111,8 @@ article {
}
code {
@include type-layout(xs, 1);
@include font-size(xs);
overflow-wrap: break-word;
@include respond-to(xxl) {
@include type-layout(xs-2, 1);
}
}
pre {
@ -257,7 +245,7 @@ figure {
}
.search-text {
@include type-layout(l, 1);
@include font-size(l);
max-width: 80%;
}