- Welcome -
-- This blog is made with 💜 and Zola! - - It's currently running on Vultr for free with 500MB of RAM and OpenBSD +
Welcome
+This blog is made with 💜 and Zola!
+It's currently running on Vultr for free with 500MB of RAM and OpenBSD
diff --git a/static/main.css b/static/main.css index 92d98cc..c893f2c 100644 --- a/static/main.css +++ b/static/main.css @@ -1,36 +1,38 @@ * { margin: 0rem; - padding: 0rem; } +/* Magic fix which forces outer most element to full view size for background scaling */ html { - color: #000000; + min-height: 100%; + min-width: 100%; + display: flex; + justify-content: center; + align-items: column; } -/* Magic background CSS lives here */ body { font-family: monospace; color: #e4e4e4; + padding-top: 2rem; font-size: 18px; - margin: auto; - max-width: 57rem; + max-width: 55rem; 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 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 { - margin-top: 1rem; list-style-type: none; } +ul { + padding: 0rem; +} + a { color: #4361ee; text-decoration: none; @@ -46,11 +48,13 @@ a:hover { } #site-content { - margin: 5rem auto; - padding: 1rem; - padding-bottom: 2rem; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + 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 +62,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 +77,26 @@ a:hover { } #welcome-message { - margin: 1rem; - padding-bottom: 14px; + padding: 1rem; font-weight: bold; + text-align: center; +} + +.dotted-border { border-bottom: #e4e4e4 8px dotted; + width: 100%; } .title { letter-spacing: -2px; + text-align: center; +} + +.blog-post-container { + padding: 1rem; + padding-top: 2rem; +} + +.blog-post-title { + padding-top: 2rem; } diff --git a/templates/base.html b/templates/base.html index 8657201..2b7c948 100644 --- a/templates/base.html +++ b/templates/base.html @@ -16,19 +16,18 @@ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████ +
- This blog is made with 💜 and Zola! - - It's currently running on Vultr for free with 500MB of RAM and OpenBSD +
This blog is made with 💜 and Zola!
+It's currently running on Vultr for free with 500MB of RAM and OpenBSD