begin actual theming
This commit is contained in:
parent
51c0a6b30e
commit
d995b97ad8
5 changed files with 26 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "List of blog posts"
|
title = "Various Ramblings"
|
||||||
sort_by = "date"
|
sort_by = "date"
|
||||||
template = "blog.html"
|
template = "blog.html"
|
||||||
page_template = "post.html"
|
page_template = "post.html"
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #11111b;
|
background-color: #0a0a0a;
|
||||||
font-family: "JetBrains Mono", monospace;
|
|
||||||
|
|
||||||
max-width: max(800px, 45%);
|
max-width: max(800px, 45%);
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
@ -22,11 +21,28 @@ body {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:is(h1, h2, h3) {
|
||||||
|
font-family: "JetBrains Mono", monospace;
|
||||||
|
color: #8aadf4;
|
||||||
|
}
|
||||||
|
:is(a:link, a:visited) {
|
||||||
|
color: #91d7e3;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: #8eeacd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
color: #8bd5ca
|
||||||
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
font-family: "JetBrains Mono", monospace;
|
||||||
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
@ -36,7 +52,7 @@ header {
|
||||||
a {
|
a {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
color: #a6e3a1;
|
color: #8aadf4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,7 +70,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
border: 2px dashed #89b4fa
|
border: 2px dotted #89b4fa
|
||||||
}
|
}
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -69,8 +85,8 @@ footer {
|
||||||
|
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
background-color: hsl(199deg, 76%, 39%);
|
background-color: hsl(199deg, 76%, 20%);
|
||||||
border-color: hsl(189deg, 71%, 73%);
|
border-color: hsl(189deg, 71%, 30%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.insert-warning {
|
.insert-warning {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div id="new-site-warning">
|
<div id="new-site-warning">
|
||||||
Hey! This is a new version of my site rewritten from scratch!
|
<b>Hey!</b> This is a new version of my site rewritten from scratch!
|
||||||
I still don't really know what I'm doing with web dev, and this is still <i>very</i> WIP.
|
I still don't really know what I'm doing with web dev, and this is still <i>very</i> WIP.
|
||||||
Stuff is still very broken/incomplete relative to the old site, but I'm working on it! (Hopefully)
|
Stuff is still very broken/incomplete relative to the old site, but I'm working on it! (Hopefully)
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</h1>
|
</h1>
|
||||||
<ul>
|
<ul>
|
||||||
{% for page in section.pages %}
|
{% for page in section.pages %}
|
||||||
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
<li>{{ page.date }} <a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
|
@ -4,6 +4,6 @@
|
||||||
<h1 class="title">
|
<h1 class="title">
|
||||||
{{ page.title }}
|
{{ page.title }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
<p class="subtitle"><strong>{{ page.date }}</strong>{%if page.updated %}   Updated {{page.updated}}{% endif %}</p>
|
||||||
{{ page.content | safe }}
|
{{ page.content | safe }}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
Loading…
Add table
Reference in a new issue