Skip to content

Commit d78f4e5

Browse files
committed
fix: Categories and Tags pages do not have space below the header
1 parent 60ae3a9 commit d78f4e5

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

static/css/elegant.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ div.recent-posts p {
158158
max-width: 50em;
159159
}
160160
.article-content p {
161-
margin: 20px 0;
161+
margin: 0 0 20px 0;
162162
}
163163
.article-content ul:not(.related-posts-list):not(.articles-timeline) {
164164
font-size: inherit;
@@ -190,9 +190,19 @@ div.recent-posts p {
190190
.article-content dt {
191191
font-size: inherit;
192192
}
193+
h1,
194+
h2,
195+
h3,
196+
h4,
197+
h5,
198+
h6 {
199+
font-weight: normal;
200+
margin: 10px 0px;
201+
}
193202
.page-header {
194203
border-bottom: 2px solid maroon;
195204
color: maroon;
205+
margin: 10px 0 30px 0;
196206
}
197207
.page-header h1 {
198208
border: none;

static/css/typography.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ h5,
1818
h6,
1919
.page-header {
2020
font-weight: normal;
21-
margin: 10px 0px;
2221
text-align: left;
2322
& small {
2423
font-style: italic;

0 commit comments

Comments
 (0)