Compare commits
2 commits
a865751408
...
138440d973
Author | SHA1 | Date | |
---|---|---|---|
138440d973 | |||
3b17c1f479 |
5 changed files with 63 additions and 23 deletions
|
@ -4,4 +4,11 @@ date = 2025-01-31
|
||||||
updated = 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
|
||||||
|
|
|
@ -3,26 +3,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Magic fix which forces outer most element to full view size for background scaling */
|
/* 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 {
|
html {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: column;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
color: #e4e4e4;
|
padding: 2rem;
|
||||||
padding-top: 2rem;
|
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
max-width: 55rem;
|
max-width: 55rem;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
-webkit-hyphens: auto;
|
/* Fancy background CSS colouring lives here */
|
||||||
-ms-hyphens: auto;
|
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));
|
||||||
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 {
|
li {
|
||||||
|
@ -48,10 +44,7 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#site-content {
|
#site-content {
|
||||||
display: flex;
|
color: #e4e4e4;
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
background: rgba(0,0,0, 0.78);
|
background: rgba(0,0,0, 0.78);
|
||||||
|
@ -82,6 +75,30 @@ a:hover {
|
||||||
text-align: center;
|
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 {
|
.dotted-border {
|
||||||
border-bottom: #e4e4e4 8px dotted;
|
border-bottom: #e4e4e4 8px dotted;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -92,11 +109,15 @@ a:hover {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blog-post-container {
|
.blog-entry-container {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blog-post-title {
|
.blog-entry-title {
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.blog-post-date {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
<div id="welcome-message">
|
<div id="welcome-message">
|
||||||
<h1 class="title">Welcome</h1>
|
<h1 class="title">Welcome</h1>
|
||||||
<p>This blog is made with 💜 and <a target="_blank" href="https://www.getzola.org">Zola!</a></p>
|
<p>This blog is made with 💜 and <a target="_blank" href="https://www.getzola.org">Zola!</a></p>
|
||||||
<p>It's currently running on <a target="_blank" href="https://www.vultr.com">Vultr</a> for free with 500MB of RAM and <a target="_blank" href="https://www.openbsd.org">OpenBSD</a>
|
<p>It's currently running on <a target="_blank" href="https://www.vultr.com">Vultr</a> and <a target="_blank" href="https://www.openbsd.org">OpenBSD</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="dotted-border"></div>
|
<div class="dotted-border"></div>
|
||||||
<div class="blog-post-container">
|
<div class="blog-entry-container">
|
||||||
<h3 class="title">View the latest posts</h3>
|
<h3 class="title">View the latest posts</h3>
|
||||||
{% block content %} {% endblock %}
|
{% block content %} {% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<!-- If you are using pagination, section.pages will be empty.
|
<!-- If you are using pagination, section.pages will be empty.
|
||||||
You need to use the paginator object -->
|
You need to use the paginator object -->
|
||||||
{% for page in section.pages %}
|
{% for page in section.pages %}
|
||||||
<li class="blog-post-title">{{ page.date }} // <a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
<li class="blog-entry-title">{{ page.date }} // <a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -7,13 +7,25 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1 class="title">Cyberfrog blog</h1>
|
<div id="site-content">
|
||||||
|
<!-- Credits to http://patorjk.com/software/taag/ for the header, made using "ANSI Regular" font -->
|
||||||
|
<div id="ascii-header"><a href="/"><pre>
|
||||||
|
██████ ██ ██ ██████ ███████ ██████ ███████ ██████ ██████ ██████ ███ ███ ███████
|
||||||
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██
|
||||||
|
██ ████ ██████ █████ ██████ █████ ██████ ██ ██ ██ ███ ██ ████ ██ █████
|
||||||
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████
|
||||||
|
</pre></a></div>
|
||||||
|
<div class="dotted-border"></div>
|
||||||
<main id="main-content">
|
<main id="main-content">
|
||||||
<h2 class="blog-title">{{ page.title }}</h2>
|
<div id="welcome-message">
|
||||||
<h4 class="blog-post-date">Published: {{ page.date }} || Last updated: {{ page.updated }}</h4>
|
<h2 id="blog-page-title">{{ page.title }}</h2>
|
||||||
<div class="blog-posts">
|
<h6 class="blog-post-date">// Published: {{ page.date }} // Modified: {{ page.updated }} //</h6>
|
||||||
{% block content %} {% endblock %}
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="dotted-border"></div>
|
||||||
|
<div id="blog-post-content">
|
||||||
|
{{ page.content | safe }}
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue