Skip to content

Commit 00b62b9

Browse files
committed
Adjust line heights and padding for improved readability
1 parent ade0e60 commit 00b62b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css/common.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ main {
126126
font-size: 1.5em;
127127
font-weight: 700;
128128
margin: 0;
129-
line-height: 0.8;
130-
padding: 0 0 0.1em 0;
129+
line-height: 1;
130+
padding: 0.2em 0 0.2em 0;
131131
}
132132

133133
.codrops-header__tagline {
@@ -175,6 +175,7 @@ main {
175175
margin: 0.25em 0;
176176
padding: 0 1em;
177177
font-weight: bold;
178+
line-height: 1.6;
178179
}
179180

180181
.codrops-demos a {
@@ -460,7 +461,7 @@ main {
460461

461462
.content__title {
462463
font-size: 7vw;
463-
line-height: 0.85;
464+
line-height: 1;
464465
margin: 0;
465466
}
466467

0 commit comments

Comments
 (0)