diff --git a/content/second.md b/content/second.md index f0c842c..1799360 100644 --- a/content/second.md +++ b/content/second.md @@ -4,11 +4,4 @@ date = 2025-01-31 updated = 2025-01-31 +++ -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 +This is my second blog post. diff --git a/static/main.css b/static/main.css index 7c9909b..c893f2c 100644 --- a/static/main.css +++ b/static/main.css @@ -3,22 +3,26 @@ } /* Magic fix which forces outer most element to full view size for background scaling */ -/* NOTE: min-height and min-width here prevent body/site-content overflow and background breaking */ html { min-height: 100%; min-width: 100%; display: flex; justify-content: center; + align-items: column; } body { font-family: monospace; - padding: 2rem; + color: #e4e4e4; + padding-top: 2rem; font-size: 18px; max-width: 55rem; line-height: 1.4; - /* Fancy background CSS colouring 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)); + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; + /* Fancy background CSS lives here */ + background: linear-gradient(to bottom right, rgba(0,0,0, 1) 2%, rgba(65,15,75, 1) 40%, rgba(65,15,90, 1) 50%, rgba(30,15,80, 1) 60%, rgba(0,0,0, 1) 98%); } li { @@ -44,7 +48,10 @@ a:hover { } #site-content { - color: #e4e4e4; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; padding: 2rem; border-radius: 1rem; background: rgba(0,0,0, 0.78); @@ -75,30 +82,6 @@ a:hover { 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 li { - list-style-type: disc; -} - -#blog-post-content ul { - padding: 1rem; - padding-top: 0rem; - /* Align the inner il elements correctly */ - margin-left: 1rem; -} - .dotted-border { border-bottom: #e4e4e4 8px dotted; width: 100%; @@ -109,15 +92,11 @@ a:hover { text-align: center; } -.blog-entry-container { +.blog-post-container { padding: 1rem; padding-top: 2rem; } -.blog-entry-title { +.blog-post-title { padding-top: 2rem; } - -.blog-post-date { - text-align: center; -} diff --git a/templates/base.html b/templates/base.html index d642fc1..2b7c948 100644 --- a/templates/base.html +++ b/templates/base.html @@ -21,11 +21,11 @@

Welcome

This blog is made with 💜 and Zola!

-

It's currently running on Vultr and OpenBSD +

It's currently running on Vultr for free with 500MB of RAM and OpenBSD

-
+

View the latest posts

{% block content %} {% endblock %}
diff --git a/templates/index.html b/templates/index.html index ce6db9e..ab1d1d4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,7 @@ {% for page in section.pages %} -
  • {{ page.date }} // {{ page.title }}
  • +
  • {{ page.date }} // {{ page.title }}
  • {% endfor %} {% endblock content %} diff --git a/templates/page.html b/templates/page.html index a4658c1..559a8a0 100644 --- a/templates/page.html +++ b/templates/page.html @@ -7,25 +7,13 @@ -
    - -
    - ██████ ██    ██ ██████  ███████ ██████  ███████ ██████   ██████   ██████     ███    ███ ███████ 
    -██       ██  ██  ██   ██ ██      ██   ██ ██      ██   ██ ██    ██ ██          ████  ████ ██      
    -██        ████   ██████  █████   ██████  █████   ██████  ██    ██ ██   ███    ██ ████ ██ █████   
    -██         ██    ██   ██ ██      ██   ██ ██      ██   ██ ██    ██ ██    ██    ██  ██  ██ ██      
    - ██████    ██    ██████  ███████ ██   ██ ██      ██   ██  ██████   ██████  ██ ██      ██ ███████ 
    -  
    -
    +

    Cyberfrog blog

    -
    -

    {{ page.title }}

    - +

    {{ page.title }}

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