aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackJ30 <jackqjamison@gmail.com>2025-05-12 14:52:39 -0400
committerJackJ30 <jackqjamison@gmail.com>2025-05-12 14:52:39 -0400
commit417cbec1bd52c239f28c19b7affcdec693e803fd (patch)
tree43bb831b91a36740edd9f5164c19577866df5ebf
parent1c831883e0ad3d6edb753248aa3e8be52e8f2e0a (diff)
some styling
-rw-r--r--nginx/homepage.conf1
-rw-r--r--zola-static/config.toml1
-rw-r--r--zola-static/content/blog/first.md9
-rw-r--r--zola-static/sass/.gitpreserve0
-rw-r--r--zola-static/sass/base.scss28
-rw-r--r--zola-static/templates/base.html1
6 files changed, 40 insertions, 0 deletions
diff --git a/nginx/homepage.conf b/nginx/homepage.conf
index bc69fbb..e6dd965 100644
--- a/nginx/homepage.conf
+++ b/nginx/homepage.conf
@@ -2,5 +2,6 @@ server {
location / {
root /var/www/homepage;
index index.html;
+ error_page 404 404.html;
}
} \ No newline at end of file
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 <iostream>
+
+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
--- a/zola-static/sass/.gitpreserve
+++ /dev/null
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 @@
<head>
<meta charset="utf-8">
<title>Jack Jamison</title>
+ <link rel="stylesheet" href="/base.css">
</head>
<body>