Skip to content

Commit df37228

Browse files
committed
fix up h1-4 heading styles for desktop and mobile/tablet
1 parent 6a31b85 commit df37228

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

ui/src/css/doc.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,25 @@
5656
font-size: 16px;
5757
}
5858

59+
/* Mobile heading sizes */
60+
@media screen and (max-width: 1023.5px) {
61+
.doc h1 {
62+
font-size: 24px;
63+
}
64+
65+
.doc h2 {
66+
font-size: 20px;
67+
}
68+
69+
.doc h3 {
70+
font-size: 18px;
71+
}
72+
73+
.doc h4 {
74+
font-size: 16px;
75+
}
76+
}
77+
5978
/* Special case: Page title gets extra top margin on larger screens */
6079
@media screen and (min-width: 768px) {
6180
.doc > h1.page:first-child {

0 commit comments

Comments
 (0)