Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commite4c13b86d566831e54301b1ca0144110782a83bf (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-17 14:18:57 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-17 14:18:57 +0300
Filese0cfdbc624360eb93ccbda58de5a028681687c71 /src/styles.css
syndamia.com-e4c13b86d566831e54301b1ca0144110782a83bf.tar
syndamia.com-e4c13b86d566831e54301b1ca0144110782a83bf.tar.gz
syndamia.com-e4c13b86d566831e54301b1ca0144110782a83bf.zip
Parentab488019d09c8a7bcb7892697cb724779a37139b (diff)
Greately simplified and reorganized about me page
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)
*/