diff --git a/src/css/cheat-sheet.css b/src/css/cheat-sheet.css index bc2f7c7f..7af6b427 100644 --- a/src/css/cheat-sheet.css +++ b/src/css/cheat-sheet.css @@ -264,6 +264,7 @@ body.cheat-sheet h3:not(.discrete) { flex: 0 0 60%; flex-grow: 1; padding-right: 0; + border: none; } body.cheat-sheet h3:not(.discrete) a { diff --git a/src/css/doc.css b/src/css/doc.css index c4388240..5d3de3bd 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -81,11 +81,21 @@ body { padding: 0.5rem 1rem; } -.doc h2:not(.discrete) { - border-bottom: 1px solid var(--section-divider-color); - /* margin-left: -1rem; - margin-right: -1rem; */ +.doc h2 { padding: 0.4rem 0 0.5rem; + border-bottom: 1px solid var(--section-divider-color); +} + +.doc h3, +.doc h4 { + padding: 0.3rem 0 0.4rem; + border-bottom: 1px solid var(--section-divider-color); +} + +.doc h5, +.doc h6 { + padding: 0.2rem 0 0.3rem; + border-bottom: 1px solid var(--section-divider-color); } .doc h3:not(.discrete) {