Skip to content

Commit 534ad9b

Browse files
committed
Consolidate and simplify heading styles
1 parent fbbd210 commit 534ad9b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

_sass/_ed.scss

+3-8
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,7 @@ h1, h2, h3, h4, h5, h6 {
115115
text-rendering: optimizeLegibility;
116116
}
117117

118-
h1 {
119-
font-size: 1.4rem;
120-
}
121-
118+
h1,
122119
h1.text-title {
123120
font-size: 1.4rem;
124121
}
@@ -128,17 +125,15 @@ h2 {
128125
font-size: 1.2rem;
129126
}
130127

131-
h3, h4, h5 {
128+
h3, h4, h5, h6 {
129+
margin-top: 1rem;
132130
font-size: 1rem;
133131
}
134132

135133
h3 {
136134
margin-top: 1.5rem;
137135
}
138136

139-
h4, h5, h6 {
140-
margin-top: 1rem;
141-
}
142137

143138
/* Body text */
144139
p {

0 commit comments

Comments
 (0)