Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
1 files changed, 5 insertions, 9 deletions
-rw-r--r--src/styles.css14
diff --git a/src/styles.css b/src/styles.css
index 8bbb254..b9e641d 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -167,33 +167,29 @@ table code {
/* Show link icon next to headings */
-h2, h3, h4, h5, h6, .about-header {
+h2, h3, h4, h5, h6 {
display: inline-block;
margin-block-start: 0.4em;
margin-block-end: 0.16em;
line-height: 1.25em;
}
-.about-header:first-child {
- margin-block-start: 0.83em;
-}
-
-h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, .about-p {
+h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
display: inline;
}
-h1 + p a, h2 + p a, h3 + p a, h4 + p a, h5 + p a, h6 + p a, .about-p a {
+h1 + p a, h2 + p a, h3 + p a, h4 + p a, h5 + p a, h6 + p a {
border: none !important;
}
/* This selects the link images, next to headings */
-h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p img {
+h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img {
height: 1.3em;
border: none;
vertical-align: text-top;
}
-h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p img, .file-icon {
+h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .file-icon {
/* Since link images are made for dark mode, and have white-ish foreground,
* this filter makes them black (when in light mode)
*/