From e67786c3b33dd9520c664f116039f3ee0267d487 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 3 Jul 2022 17:00:21 +0300 Subject: Fixed some icons not properly changing color when selecting light theme and brought back mistakenly removed index page --- src/_header.html | 4 ++-- src/darkmode.css | 2 +- src/index.md | 33 +++++++++++++++++++++++++++++++++ src/styles.css | 2 +- 4 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 src/index.md (limited to 'src') diff --git a/src/_header.html b/src/_header.html index bef59f8..df43064 100644 --- a/src/_header.html +++ b/src/_header.html @@ -46,8 +46,8 @@
- Toggle theme - Toggle full width + Toggle theme + Toggle full width
diff --git a/src/darkmode.css b/src/darkmode.css index 47de994..6fa01e8 100644 --- a/src/darkmode.css +++ b/src/darkmode.css @@ -21,7 +21,7 @@ } /* This selects the link images, next to headings */ -h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .file-icon { +h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .icon { /* Refer to styles.css on why this is necessary */ filter: none; } diff --git a/src/index.md b/src/index.md new file mode 100644 index 0000000..1e7db8d --- /dev/null +++ b/src/index.md @@ -0,0 +1,33 @@ +# Welcome + +
+ +
+

Hello! My name is Kamen Mladenov and I am a computer science student.

+

This is my website and personal playing ground. Currently it's fairly empty, but hopefully there will be much more stuff in the future.

+

+ Mozilla Observatory + Security Headers + HSTS +
+ + Created With VIM + W3C Valid HTML + W3C Valid CSS + Viewable With Any Browser + Spyware Watchdog +
+ + +

+
+
+ +

+ +||| +|---|---| +|About the website| [Website policies](/policies.html) \|\| [Detailed usage of JavaScript](/regarding-js.html) \|\| [License](/license.html) \|\| [Acknowledgements](/acknowledgements.html)| +|Services|[Digital preservation (Archives)](/archives)| +|Content by me|[Documents](/docs) \|\| [Blog](/blog) \|\| [Tutorials](/tutorials)| +||| diff --git a/src/styles.css b/src/styles.css index 07f7fc2..933ee1d 100644 --- a/src/styles.css +++ b/src/styles.css @@ -193,7 +193,7 @@ h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img { vertical-align: text-top; } -h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .file-icon { +h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .icon, .file-icon, .file-wrapper > summary { /* Since link images are made for dark mode, and have white-ish foreground, * this filter makes them black (when in light mode) */ -- cgit v1.3.1-26-gb76a