From cd382aeadbe7f92609d13a74ed7b8b8167da8755 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 8 Aug 2025 23:07:32 -0600 Subject: Working on switch to dark theme --- org/css/contact.css | 4 ++-- org/css/front-page.css | 6 ++++-- org/css/shitty-theme.css | 24 +++++++++++++++++++----- org/images/linux-background.jpg | Bin 0 -> 24063 bytes org/images/linux-background.png | Bin 9515 -> 0 bytes org/images/windows_kills_kittens.jpg | Bin 66522 -> 23398 bytes org/linux-room.org | 2 +- shittyweb-html.el | 5 +++++ 8 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 org/images/linux-background.jpg delete mode 100644 org/images/linux-background.png diff --git a/org/css/contact.css b/org/css/contact.css index a991fef..1704bfc 100644 --- a/org/css/contact.css +++ b/org/css/contact.css @@ -7,7 +7,7 @@ body { margin: auto; color: #00ff00; background-color: #060a0f; - border: 1px solid black; + border: 1px solid gray; } a:link { @@ -23,7 +23,7 @@ b { } .outline-2 { - border: 1px dotted black; + border: 1px dotted gray; } #buttons { diff --git a/org/css/front-page.css b/org/css/front-page.css index c4595a3..3f75712 100644 --- a/org/css/front-page.css +++ b/org/css/front-page.css @@ -15,7 +15,9 @@ body { margin: auto; color: #00ff00; background-color: #060a0f; - border: 1px solid black; + border: 1px solid gray; + word-wrap : break-word; + overflow-wrap: break-word; } a:link { @@ -35,7 +37,7 @@ table { } .outline-2 { - border: 1px dotted black; + border: 1px dotted gray; } #buttons { diff --git a/org/css/shitty-theme.css b/org/css/shitty-theme.css index 19da409..e2aeff2 100644 --- a/org/css/shitty-theme.css +++ b/org/css/shitty-theme.css @@ -1,5 +1,5 @@ body { - background-color: #dcd1ba; + background-color: black; } .shittyweb-header { @@ -9,18 +9,32 @@ body { #content { width: 65%; margin: auto; - background-color: #bebebe; - border: 1px solid black; + color: #00ff00; + background-color: #060a0f; + border: 1px solid gray; word-wrap : break-word; overflow-wrap: break-word; } +a:link { + color: red; +} + +a:visited { + color: pink; +} + +b { + color: white; +} + .outline-2 { - border: 1px dotted black; + border: 1px dotted gray; } .org-src-container { - background-color: white; + color: black; + background-color: darkgray; } #postamble { diff --git a/org/images/linux-background.jpg b/org/images/linux-background.jpg new file mode 100644 index 0000000..1960093 Binary files /dev/null and b/org/images/linux-background.jpg differ diff --git a/org/images/linux-background.png b/org/images/linux-background.png deleted file mode 100644 index 2715a80..0000000 Binary files a/org/images/linux-background.png and /dev/null differ diff --git a/org/images/windows_kills_kittens.jpg b/org/images/windows_kills_kittens.jpg index 4650982..eb964ff 100644 Binary files a/org/images/windows_kills_kittens.jpg and b/org/images/windows_kills_kittens.jpg differ diff --git a/org/linux-room.org b/org/linux-room.org index 8009e7d..856ab34 100644 --- a/org/linux-room.org +++ b/org/linux-room.org @@ -1,6 +1,6 @@ #+SETUPFILE: ../org-templates/level-1.org #+TITLE: Linux Room -#+BACKGROUND_IMAGE: images/linux-background.png +#+BACKGROUND_IMAGE: images/linux-background.jpg #+SHITTYWEB_HEADER: Tux the penguin flying * Why linux diff --git a/shittyweb-html.el b/shittyweb-html.el index c0d817c..3454566 100644 --- a/shittyweb-html.el +++ b/shittyweb-html.el @@ -41,6 +41,11 @@ holding export options." ">\n") "\n" ;;(org-html--build-meta-info info) ;; Causes scaling issues on mobile + ;; Title (to make up for the above line commented out) + (let* ((title (org-html-plain-text + (org-element-interpret-data (plist-get info :title)) info)) + (title (if (org-string-nw-p title) title "‎"))) + (format "%s\n" title)) (org-html--build-head info) (org-html--build-mathjax-config info) ;; Background -- cgit v1.2.3