Skip to content

Commit 05d92a5

Browse files
Aibono1225tiagov8
andauthored
💄 UI - Add more space above the h2 (#1972)
* add more margin space to h2 * Refactor CSS rules for header margins --------- Co-authored-by: Tiago Araújo [SSW] <[email protected]>
1 parent 3036e41 commit 05d92a5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

‎src/style.css‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -808,11 +808,15 @@ blockquote :last-child {
808808
/* Single Rule
809809
-------------------------------------------------- */
810810

811-
.rule-header-container h1 {
812-
margin-top: 1rem;
813-
}
811+
.rule-header-container h1 {
812+
margin-top: 1rem;
813+
}
814+
815+
.rule-content h2, .rule-content .h2 {
816+
margin-top: 3rem;
817+
}
814818

815-
.rule-content h2, .rule-content h3, .rule-content h4, .rule-content h5, .rule-content h6, .rule-content .h1, .rule-content .h2, .rule-content .h3, .rule-content .h4, .rule-content .h5, .rule-content .h6 {
819+
.rule-content h3, .rule-content h4, .rule-content h5, .rule-content h6, .rule-content .h1, .rule-content .h3, .rule-content .h4, .rule-content .h5, .rule-content .h6 {
816820
margin-top: 2rem;
817821
}
818822

0 commit comments

Comments
 (0)