From dfc3ed0d303d59cafdfb2c7d2dfc925649c73d1a Mon Sep 17 00:00:00 2001 From: Swissky <12152583+swisskyrepo@users.noreply.github.com> Date: Fri, 30 Sep 2022 16:53:49 +0200 Subject: [PATCH] Dark mode CSS --- _layouts/default.html | 2 +- _sass/_dark-mode-button.scss | 5 +++++ style.scss | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 _sass/_dark-mode-button.scss diff --git a/_layouts/default.html b/_layouts/default.html index 8e8124c..340080b 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -34,7 +34,7 @@ 📖PayloadsAllTheThings 🖥️HardwareAllTheThings 👤About - 🌗 + 🌗 Dark mode {% include dark-mode.html %} diff --git a/_sass/_dark-mode-button.scss b/_sass/_dark-mode-button.scss new file mode 100755 index 0000000..6956a66 --- /dev/null +++ b/_sass/_dark-mode-button.scss @@ -0,0 +1,5 @@ +.dark-mode-button { + float: right; + background-color: #04AA6D; + color: white; +} \ No newline at end of file diff --git a/style.scss b/style.scss index 797d5af..0c11e9c 100755 --- a/style.scss +++ b/style.scss @@ -288,3 +288,4 @@ footer { @import "highlights"; @import "share-pages"; @import "svg-icons"; +@import "dark-mode-button";