Compare commits

..

No commits in common. "main" and "dev" have entirely different histories.
main ... dev

3 changed files with 25 additions and 45 deletions

View file

@ -1,22 +1,15 @@
* {
margin: 0rem;
}
/* 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 */
html { html {
min-height: 100%; min-height: 100%;
min-width: 100%; min-width: 100%;
display: flex;
justify-content: center;
align-items: column;
} }
body { body {
font-family: monospace; font-family: monospace;
color: #e4e4e4; color: #e4e4e4;
padding-top: 2rem;
font-size: 18px; font-size: 18px;
max-width: 55rem; margin: 5rem auto;
max-width: 57rem;
line-height: 1.4; line-height: 1.4;
-webkit-hyphens: auto; -webkit-hyphens: auto;
-ms-hyphens: auto; -ms-hyphens: auto;
@ -25,12 +18,13 @@ body {
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%); 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 { ul {
list-style-type: none; margin-top: 4rem;
} }
ul { li {
padding: 0rem; margin-top: 1rem;
list-style-type: none;
} }
a { a {
@ -48,22 +42,21 @@ a:hover {
} }
#site-content { #site-content {
display: flex; padding: 1rem;
justify-content: center; padding-bottom: 2rem;
align-items: center;
flex-direction: column;
padding: 2rem;
border-radius: 1rem; border-radius: 1rem;
background: rgba(0,0,0, 0.78); background: rgba(0,0,0, 0.78);
box-shadow: 1rem 1rem 1rem 1rem rgba(0,0,0, 0.5); box-shadow: 1rem 1rem 1rem 1rem rgba(0,0,0, 0.5);
text-align: center;
} }
#ascii-header { #ascii-header {
font-size: 10px; font-size: 10px;
color: #e4e4e4; color: #e4e4e4;
text-decoration: none; text-decoration: none;
padding: 1rem; margin: 1rem;
text-align: center; padding-bottom: 14px;
border-bottom: #e4e4e4 8px dotted;
} }
#ascii-header a { #ascii-header a {
@ -77,26 +70,12 @@ a:hover {
} }
#welcome-message { #welcome-message {
padding: 1rem; margin: 1rem;
padding-bottom: 14px;
font-weight: bold; font-weight: bold;
text-align: center;
}
.dotted-border {
border-bottom: #e4e4e4 8px dotted; border-bottom: #e4e4e4 8px dotted;
width: 100%;
} }
.title { .title {
letter-spacing: -2px; letter-spacing: -2px;
text-align: center;
}
.blog-post-container {
padding: 1rem;
padding-top: 2rem;
}
.blog-post-title {
padding-top: 2rem;
} }

View file

@ -16,18 +16,19 @@
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████ ██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████
</pre></a></div> </pre></a></div>
<div class="dotted-border"></div>
<main id="main-content"> <main id="main-content">
<div id="welcome-message"> <div id="welcome-message">
<h1 class="title">Welcome</h1> <h1 class="title">
<p>This blog is made with 💜 and <a target="_blank" href="https://www.getzola.org">Zola!</a></p> Welcome
<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> </h1>
<p>
This blog is made with 💜 and <a target="_blank" href="https://www.getzola.org">Zola!</a>
</br>
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> </p>
</div> </div>
<div class="dotted-border"></div> <div class="blog-posts">
<div class="blog-post-container"> {% block content %} {% endblock %}
<h3 class="title">View the latest posts</h3>
{% block content %} {% endblock %}
</div> </div>
</main> </main>
</div> </div>

View file

@ -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><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endblock content %} {% endblock content %}