Compare commits

..

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

3 changed files with 52 additions and 66 deletions

View file

@ -1,38 +1,23 @@
* {
margin: 0rem;
}
/* Magic fix which forces outer most element to full view size for background scaling */
html {
min-height: 100%;
min-width: 100%;
display: flex;
justify-content: center;
align-items: column;
}
body { body {
font-family: monospace; font-family: Open Sans, Arial;
color: #e4e4e4; color: #e4e4e4;
padding-top: 2rem; font-size: 14px;
font-size: 18px; margin: auto;
max-width: 55rem; max-width: 50em;
line-height: 1.4; line-height: 1.4;
-webkit-hyphens: auto; -webkit-hyphens: auto;
-ms-hyphens: auto; -ms-hyphens: auto;
hyphens: auto; hyphens: auto;
/* Fancy background CSS lives here */ text-align: center;
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%); height: 100%;
width: 100%;
} }
li { li {
margin-top: 1em;
list-style-type: none; list-style-type: none;
} }
ul {
padding: 0rem;
}
a { a {
color: #4361ee; color: #4361ee;
text-decoration: none; text-decoration: none;
@ -48,22 +33,20 @@ a:hover {
} }
#site-content { #site-content {
display: flex; height: 100%;
justify-content: center; margin: 5em auto;
align-items: center; padding: 1em;
flex-direction: column; padding-bottom: 2em;
padding: 2rem; border-radius: 1em;
border-radius: 1rem; background: rgba(0,0,0, 0.7);
background: rgba(0,0,0, 0.78); box-shadow: 1em 1em 1em 1em rgba(0,0,0, 0.5);
box-shadow: 1rem 1rem 1rem 1rem rgba(0,0,0, 0.5);
} }
#ascii-header { #ascii-header {
font-size: 10px; font-size: 10px;
color: #e4e4e4; color: #e4e4e4;
text-decoration: none; text-decoration: none;
padding: 1rem; border-bottom: #541287 0.8em dotted;
text-align: center;
} }
#ascii-header a { #ascii-header a {
@ -76,27 +59,30 @@ a:hover {
text-decoration: none; text-decoration: none;
} }
#welcome-message { .blog-post-date {
padding: 1rem; margin: 0;
font-weight: bold; padding: 0;
text-align: center;
} }
.dotted-border { .blog-title {
border-bottom: #e4e4e4 8px dotted; margin-bottom: 0;
}
/* Magic background CSS lives here */
#bg-effect-container {
z-index: -1;
position: absolute;
bottom: 0%;
left: 0%;
height: 100%;
width: 100%;
background-color: #000000;
overflow: hidden;
}
.bg-effect {
background: linear-gradient(to bottom right, rgba(0,0,0,1) 10%, rgba(65,14,105, 0.6) 40%, rgba(55,17,95,0.7) 50%, rgba(32,14,84,0.6) 60%, rgba(0,0,0,1) 90%);
height: 100%;
width: 100%; width: 100%;
} }
.title {
letter-spacing: -2px;
text-align: center;
}
.blog-post-container {
padding: 1rem;
padding-top: 2rem;
}
.blog-post-title {
padding-top: 2rem;
}

View file

@ -6,7 +6,7 @@
<title>🐸 CyberFrog</title> <title>🐸 CyberFrog</title>
</head> </head>
<body id="bg-effect"> <body>
<div id="site-content"> <div id="site-content">
<!-- Credits to http://patorjk.com/software/taag/ for the header, made using "ANSI Regular" font --> <!-- Credits to http://patorjk.com/software/taag/ for the header, made using "ANSI Regular" font -->
<div id="ascii-header"><a href="/"><pre> <div id="ascii-header"><a href="/"><pre>
@ -16,21 +16,21 @@
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████ ██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████
</pre></a></div> </pre></a></div>
<div class="dotted-border"></div>
<main id="main-content"> <main id="main-content">
<div id="welcome-message"> <h1 class="title">
<h1 class="title">Welcome</h1> This is my blog made with <a target="_blank" href="https://www.getzola.org">Zola!</a>
<p>This blog is made with 💜 and <a target="_blank" href="https://www.getzola.org">Zola!</a></p> </h1>
<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> <h3>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></h3>
</p> <div class="blog-posts">
</div> {% block content %} {% endblock %}
<div class="dotted-border"></div>
<div class="blog-post-container">
<h3 class="title">View the latest posts</h3>
{% block content %} {% endblock %}
</div> </div>
</main> </main>
</div> </div>
<!-- The wonderful frog pool -->
<div id="bg-effect-container">
<div class="bg-effect">
</div>
</div>
</body> </body>
</html> </html>

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 %}