From 417cbec1bd52c239f28c19b7affcdec693e803fd Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Mon, 12 May 2025 14:52:39 -0400 Subject: some styling --- zola-static/config.toml | 1 + zola-static/content/blog/first.md | 9 +++++++++ zola-static/sass/.gitpreserve | 0 zola-static/sass/base.scss | 28 ++++++++++++++++++++++++++++ zola-static/templates/base.html | 1 + 5 files changed, 39 insertions(+) delete mode 100644 zola-static/sass/.gitpreserve create mode 100644 zola-static/sass/base.scss (limited to 'zola-static') diff --git a/zola-static/config.toml b/zola-static/config.toml index d7103dd..b5a0879 100644 --- a/zola-static/config.toml +++ b/zola-static/config.toml @@ -11,6 +11,7 @@ build_search_index = true # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true +highlight_theme = "nyx-bold" [extra] # Put all your custom variables here diff --git a/zola-static/content/blog/first.md b/zola-static/content/blog/first.md index f0f068f..ed88f5c 100644 --- a/zola-static/content/blog/first.md +++ b/zola-static/content/blog/first.md @@ -4,3 +4,12 @@ date = 2025-05-11 +++ This is my first blog post. + +### Code block test +```c++ +#include + +int main() { + std::cout << "hello world" << std::endl; +} +``` diff --git a/zola-static/sass/.gitpreserve b/zola-static/sass/.gitpreserve deleted file mode 100644 index e69de29..0000000 diff --git a/zola-static/sass/base.scss b/zola-static/sass/base.scss new file mode 100644 index 0000000..ba5e106 --- /dev/null +++ b/zola-static/sass/base.scss @@ -0,0 +1,28 @@ +* { + font-family: monospace; +} + +body { + background-color: #252422; + margin: 0; + padding: 0; +} + +section { + height: 100%; + margin: auto 23%; + padding: 1rem; + + background-color: #252422; + color: #F3E9DC; + font-size: 125%; +} + +a { + color: #8B95C9; +} + +pre { + padding : 0.5rem; + border-radius: 0.3rem; +} diff --git a/zola-static/templates/base.html b/zola-static/templates/base.html index 8f16f97..69b7dc3 100644 --- a/zola-static/templates/base.html +++ b/zola-static/templates/base.html @@ -4,6 +4,7 @@ Jack Jamison + -- cgit v1.2.3