From cdcfcc1ff066a7035acd822da1a7860da725d492 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Sat, 9 Feb 2019 12:06:43 -0600 Subject: [PATCH] Adapting nulloctet to use sothr.com color scheme --- config.toml | 5 +++++ run_hugo_server.sh | 10 ++++++++++ static/css/main.css | 13 +++++++++++++ themes/hyde/layouts/partials/sidebar.html | 2 +- 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100755 run_hugo_server.sh diff --git a/config.toml b/config.toml index 3bd6b9d..cd3bfba 100644 --- a/config.toml +++ b/config.toml @@ -22,6 +22,11 @@ paginatePath = "page" copyright = "© 2018 Drew Short. All rights reserved." [menu] + [[menu.main]] + name = "Website" + url = "https://sothr.com" + weight = -120 + [[menu.main]] name = "Tags" post = "New!" diff --git a/run_hugo_server.sh b/run_hugo_server.sh new file mode 100755 index 0000000..0e1b02b --- /dev/null +++ b/run_hugo_server.sh @@ -0,0 +1,10 @@ +#! /usr/bin/sh + +docker run -it \ + -e HUGO_WATCH=true \ + -e HUGO_THEME=hyde \ + -e HUGO_BASEURL=http://localhost:1313/ \ + -e HUGO_DESTINATION=/src/public \ + -v ${PWD}:/src \ + -p 1313:1313 \ + sothr.com/hugo:0.54.0 $@ diff --git a/static/css/main.css b/static/css/main.css index aba024d..863559c 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,3 +1,16 @@ +.sidebar { + background-color: #E7732F; + color: #323232; +} + +.sidebar a { + color: #000000; +} + +.sidebar-about h1 { + color: #000000; +} + div.sidebar-about a h1 { font-style: italic; } diff --git a/themes/hyde/layouts/partials/sidebar.html b/themes/hyde/layouts/partials/sidebar.html index 2403502..a7b76ea 100644 --- a/themes/hyde/layouts/partials/sidebar.html +++ b/themes/hyde/layouts/partials/sidebar.html @@ -2,7 +2,7 @@