Skip to content

Commit b6623e9

Browse files
committed
Better differentiate headings/sections in top/extra content
1 parent d3ee0ef commit b6623e9

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

assets/css/content/general.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,34 @@
9090
margin: 1em 0 0.5em;
9191
}
9292

93+
:is(.page-module, .page-extra) .content-inner #top-content {
94+
& > h2.section-heading {
95+
font-size: 1.75rem;
96+
padding-top: 0;
97+
margin-top: 1.75em;
98+
}
99+
100+
& > h3.section-heading {
101+
font-size: 1.45rem;
102+
margin-top: 1.5em;
103+
margin-bottom: 0.5em;
104+
}
105+
106+
& > :is(h4, h5, h6) {
107+
font-size: 1.15rem;
108+
margin-top: 1.25em;
109+
margin-bottom: 0.5em;
110+
}
111+
112+
& > :is(h5, h6) {
113+
font-weight: normal;
114+
}
115+
116+
& > h6 {
117+
font-size: 1rem;
118+
}
119+
}
120+
93121
.content-inner li + li {
94122
margin-top: 0.25em;
95123
}

0 commit comments

Comments
 (0)