Skip to content

Commit d2c79b5

Browse files
committed
Mobile: bump h2 to 36px, center red accent bar under all h2s
1 parent 5666b54 commit d2c79b5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/css/custom.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ ul {
186186

187187
h2 {
188188
font-family: var(--ifm-font-family-display);
189-
font-size: 30px;
189+
font-size: 36px;
190190
font-style: normal;
191191
font-weight: 800;
192192
line-height: 115%;
@@ -278,6 +278,13 @@ ul {
278278
margin-right: auto;
279279
}
280280

281+
@media (max-width: 996px) {
282+
.page-content h2::after {
283+
margin-left: auto;
284+
margin-right: auto;
285+
}
286+
}
287+
281288
/* No red bar on dark-background sections */
282289
[class*="section_dark"] .page-content h2::after {
283290
display: none;

0 commit comments

Comments
 (0)