diff --git a/content/second.md b/content/second.md index 1799360..f0c842c 100644 --- a/content/second.md +++ b/content/second.md @@ -4,4 +4,11 @@ date = 2025-01-31 updated = 2025-01-31 +++ -This is my second blog post. +This is my second blog post, I'm still testing Zola!!! I just really wanted to see how longer form content looks and how it grows within my page + +hopefully this will work well, it seems good, as long as I can get the content of the actual blog post to appear lol... + +who really knows: +- Something is always broken +- If it's not broken it will break eventually +- [x] The thing I care about is currently breaking diff --git a/static/main.css b/static/main.css index 92d98cc..07ab95b 100644 --- a/static/main.css +++ b/static/main.css @@ -1,36 +1,43 @@ * { margin: 0rem; +} + +html { + margin: 0rem; padding: 0rem; } -html { - color: #000000; -} - -/* Magic background CSS lives here */ body { + display: flex; + flex-direction: column; + justify-content: start; + align-items: center; font-family: monospace; - color: #e4e4e4; + padding: 2rem; font-size: 18px; - margin: auto; - max-width: 57rem; line-height: 1.4; - -webkit-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - text-align: center; - background: linear-gradient(to bottom right, rgba(0,0,0,1) 10%, rgba(65,14,105, 1) 40%, rgba(55,17,95, 1) 50%, rgba(32,14,84, 1) 60%, rgba(0,0,0,1) 90%); -} - -ul { - margin-top: 4rem; + /* Fancy background CSS styling lives here */ + background: linear-gradient( + to bottom right, + rgba(0, 0, 0, 1), + rgba(65, 15, 75, 1) 40%, + rgba(65, 15, 90, 1) 50%, + rgba(30, 15, 80, 1) 60%, + rgba(0, 0, 0, 1) + ); + background-size: 100% 100%; + background-repeat: no-repeat; + background-attachment: fixed; } li { - margin-top: 1rem; list-style-type: none; } +ul { + padding: 0rem; +} + a { color: #4361ee; text-decoration: none; @@ -46,11 +53,11 @@ a:hover { } #site-content { - margin: 5rem auto; - padding: 1rem; - padding-bottom: 2rem; + max-width: 55rem; + color: #e4e4e4; + padding: 2rem; border-radius: 1rem; - background: rgba(0,0,0, 0.7); + background: rgba(0,0,0, 0.78); box-shadow: 1rem 1rem 1rem 1rem rgba(0,0,0, 0.5); } @@ -58,9 +65,8 @@ a:hover { font-size: 10px; color: #e4e4e4; text-decoration: none; - margin: 1rem; - padding-bottom: 14px; - border-bottom: #e4e4e4 8px dotted; + padding: 1rem; + text-align: center; } #ascii-header a { @@ -74,12 +80,54 @@ a:hover { } #welcome-message { - margin: 1rem; - padding-bottom: 14px; + padding: 1rem; font-weight: bold; + text-align: center; +} + +#blog-page-title { + padding-bottom: 0.5rem; + text-align: center; +} + +#blog-post-content { + padding-top: 1.5rem; +} + +#blog-post-content p { + padding: 1rem; +} + +#blog-post-content ul { + padding: 1rem; + padding-top: 0rem; + /* Align the inner il elements correctly */ + margin-left: 1rem; +} + +#blog-post-content li { + list-style-type: disc; +} + +.dotted-border { border-bottom: #e4e4e4 8px dotted; + width: 100%; } .title { letter-spacing: -2px; + text-align: center; +} + +.blog-entry-container { + padding: 1rem; + padding-top: 2rem; +} + +.blog-entry-title { + padding-top: 2rem; +} + +.blog-post-date { + text-align: center; } diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..b6a14a0 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block content %} +
+
+

|| 404 Not Found ||

+ +
+
+
+{% endblock content %} diff --git a/templates/base.html b/templates/base.html index 8657201..720988e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -16,21 +16,8 @@ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████ -
-
-

- Welcome -

-

- This blog is made with 💜 and Zola! -
- It's currently running on Vultr for free with 500MB of RAM and OpenBSD -

-
-
- {% block content %} {% endblock %} -
-
+
+ {% block content %} {% endblock content %} diff --git a/templates/index.html b/templates/index.html index 43f3a35..94f6fb2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,11 +1,23 @@ {% extends "base.html" %} {% block content %} - +
+
+

Welcome

+

This blog is made with 💜 and Zola!

+

It's currently running on Vultr and OpenBSD +

+
+
+
+

View the latest posts

+ +
+
{% endblock content %} diff --git a/templates/page.html b/templates/page.html index 559a8a0..9168758 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,20 +1,14 @@ - - - - - - 🐸 CyberFrog - +{% extends "base.html" %} - -

Cyberfrog blog

-
-

{{ page.title }}

-

Published: {{ page.date }} || Last updated: {{ page.updated }}

-
- {% block content %} {% endblock %} -
-
- - - +{% block content %} +
+
+

{{ page.title }}

+ +
+
+
+ {{ page.content | safe }} +
+
+{% endblock content %}