Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
1 files changed, 2 insertions, 12 deletions
-rw-r--r--src/styles.css14
diff --git a/src/styles.css b/src/styles.css
index cae4384..3f27474 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -87,7 +87,7 @@ table code {
/* Show link icon next to headings */
-h2, h3, h4, h5, h6 {
+h2, h3, h4, h5, h6, .about-header {
display: inline-block;
margin-block-start: 0.4em;
margin-block-end: 0.5em; /* Account for it being an inline block, as opposed to a normal block */
@@ -103,7 +103,7 @@ h1 + p a, h2 + p a, h3 + p a, h4 + p a, h5 + p a, h6 + p a {
}
/* This selects the link images, next to headings */
-h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img {
+h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p {
height: 1.3em;
border: none;
vertical-align: text-top;
@@ -181,16 +181,6 @@ h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img {
margin-block-end: calc(1em + 10px);
}
-/* About me page styling */
-
-.about-header {
- display: inline-block;
-}
-
-.about-p {
- display: inline-block; margin-block-end: 0;
-}
-
/* The following CSS is a modified version of sindresorhus's github-markdown-css repo: https://github.com/sindresorhus/github-markdown-css */
code,