From 78e1aa645eda1ae2d3927d5116c75603b41a3acd Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 5 Mar 2022 19:12:30 +0200 Subject: Fixed about-header styling and updated folder file --- src/about/index.md | 14 +++++++------- src/styles.css | 14 ++------------ 2 files changed, 9 insertions(+), 19 deletions(-) (limited to 'src') diff --git a/src/about/index.md b/src/about/index.md index b6c5222..e24df6a 100644 --- a/src/about/index.md +++ b/src/about/index.md @@ -1,5 +1,5 @@ -

About Me

-

+

About Me

+

🔗 @@ -14,10 +14,10 @@ I've been toying with computers ever since I was a kid, though mostly with the l I have 3 years of learning experience with *C#*, but I have also worked with *HTML*, *CSS*, *JavaScript*, *Haskell*, *Go* and *SQL*. My main desktop OS has been *Linux* for the past year and a half (first was [Linux Mint](https://linuxmint.com/) and now [Fedora](https://getfedora.org/)). -

+

Resume

-

+

🔗 @@ -33,10 +33,10 @@ I have 3 years of learning experience with *C#*, but I have also worked with *HT *Made with my [resume v1.1](https://gitlab.com/Syndamia/css-snippets/-/tree/main/resume-v1.1) HTML+CSS template.* -

+

Acknowledgements

-

+

🔗 @@ -45,7 +45,7 @@ I have 3 years of learning experience with *C#*, but I have also worked with *HT --- --- -> [tabler-icons](https://github.com/tabler/tabler-icons) for link icon (that I modified) +> [tabler-icons](https://github.com/tabler/tabler-icons) for link and chevron up icons (that I modified)

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, -- cgit v1.3.1-26-gb76a