fix: constrained height of chaffled text

This commit is contained in:
Laureηt 2021-10-08 09:15:03 +02:00
parent 7d116b681d
commit dc2c24cf9f
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -1,5 +1,7 @@
$background: #232830; $background: #232830;
$foreground-text: #c0c5ce; $foreground-text: #c0c5ce;
$font-size: 1.5rem;
$h1-size: 3rem;
* { * {
margin: 0; margin: 0;
@ -13,7 +15,7 @@ body {
font-family: 'Lora', serif; font-family: 'Lora', serif;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
font-size: 1.5rem; font-size: $font-size;
width: 60rem; width: 60rem;
margin: auto; margin: auto;
@ -34,6 +36,7 @@ a {
header { header {
margin: 2rem 0; margin: 2rem 0;
height: $font-size;
} }
footer { footer {
@ -51,7 +54,8 @@ hr {
} }
h1 { h1 {
font-size: 3rem; font-size: $h1-size;
height: $h1-size;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }