Skip to content

Commit b74bb5a

Browse files
committed
refactor(home): clean up typographical styles
1 parent dba3e5a commit b74bb5a

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

src/css/pages/home.css

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
.home-template {
2-
h3#conferences {
3-
background: none;
4-
}
5-
62
hr {
73
border: 3px solid var(--yellow);
84
width: 70px;
@@ -20,7 +16,7 @@
2016
color: var(--red);
2117
font-size: 2rem;
2218
font-weight: 700;
23-
line-height: auto;
19+
line-height: normal;
2420
text-transform: uppercase;
2521
}
2622

@@ -45,6 +41,14 @@
4541
background-image: url('/assets/images/home__pillars--background.jpg');
4642
}
4743

44+
.home-template__pillars,
45+
.home-template__open-source,
46+
.home-template__support {
47+
h2 {
48+
text-transform: uppercase;
49+
}
50+
}
51+
4852
.home-template__community {
4953
color: white;
5054
background-image: url('/assets/images/home__community--background.jpg');
@@ -201,14 +205,6 @@
201205
gap: 16px;
202206
grid-area: open-source-content;
203207

204-
h2 {
205-
margin-bottom: 0;
206-
}
207-
208-
p {
209-
margin-bottom: 0;
210-
}
211-
212208
p:first-of-type {
213209
flex-grow: 1;
214210
}
@@ -397,10 +393,6 @@
397393
font-size: 2.625rem;
398394
line-height: 3rem;
399395
}
400-
401-
p {
402-
font-size: 1rem;
403-
}
404396
}
405397
}
406398

@@ -416,10 +408,6 @@
416408
font-size: 2.625rem;
417409
line-height: 3rem;
418410
}
419-
420-
p {
421-
font-size: 1rem;
422-
}
423411
}
424412
}
425413

0 commit comments

Comments
 (0)