[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] main 7d8c2d03dc 2/2: * html/layout.css (h4, h5): Margins, text-de
From: |
Stefan Monnier |
Subject: |
[elpa] main 7d8c2d03dc 2/2: * html/layout.css (h4, h5): Margins, text-decoration |
Date: |
Sun, 11 Sep 2022 10:46:15 -0400 (EDT) |
branch: main
commit 7d8c2d03dc7b977d92c4bd4f0e091a583f98ac00
Author: Adam Porter <adam@alphapapa.net>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* html/layout.css (h4, h5): Margins, text-decoration
The margin changes add whitespace after other page elements, matching
the margins of other heading levels. The text decorations visually
distinguish them from normal body text. The result is much more
readable.
---
html/layout.css | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/html/layout.css b/html/layout.css
index 59d88a3bec..dbd7a9626e 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -92,6 +92,14 @@ h3 {
font-size: 1.5em;
margin: 1.2em 0px;
}
+h4 {
+ margin: 1em 0px;
+ text-decoration: underline;
+}
+h5 {
+ margin: 1em 0px;
+ text-decoration: italic;
+}
a {
color: #c73a6c;