summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/assets/css/main.css12
-rw-r--r--main/assets/image/sidebar/missing_texture.pngbin0 -> 154 bytes
-rw-r--r--main/templates/main_neighbors.html.j26
-rw-r--r--main/templates/main_sidebar.html.j28
-rw-r--r--main/templates/main_wip.html.j212
-rw-r--r--modules/main_generate.py2
6 files changed, 30 insertions, 10 deletions
diff --git a/main/assets/css/main.css b/main/assets/css/main.css
index 64cdf6a..bda3e6f 100644
--- a/main/assets/css/main.css
+++ b/main/assets/css/main.css
@@ -9,7 +9,7 @@ canvas.canvas_bg {
z-index: -1;
}
-a, p {
+a, p, h1, h2, h3, li {
color: white;
}
@@ -32,14 +32,20 @@ div.main_parent {
padding: 0 !important;
}
+main, aside {
+ padding-top: 1rem;
+ padding-bottom: 1rem;
+}
+
main {
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
- main, header {
- padding: 0 2rem 0 2rem !important;
+ main {
+ padding-left: 2rem !important;
+ padding-right: 2rem !important;
}
div.main_parent {
diff --git a/main/assets/image/sidebar/missing_texture.png b/main/assets/image/sidebar/missing_texture.png
new file mode 100644
index 0000000..8fb646a
--- /dev/null
+++ b/main/assets/image/sidebar/missing_texture.png
Binary files differ
diff --git a/main/templates/main_neighbors.html.j2 b/main/templates/main_neighbors.html.j2
index dd81617..b64c6f5 100644
--- a/main/templates/main_neighbors.html.j2
+++ b/main/templates/main_neighbors.html.j2
@@ -1,13 +1,11 @@
{% extends "main_base.html.j2" %}
{% block content %}
-<h2 style="color: #dddddd; text-align: center">Visit these sites, they have way cooler (and more finished) webpages than me:</h2>
<div align="center">
+ <h2>Visit these sites, they have way cooler (and more finished) webpages than me:</h2>
<a href="https://www.tar.dev/" target="_blank"><img src="/assets/image/neighbors/tarandir.gif" alt="tar.dev" title="tar.dev" style="width:88px;height:31px;"></a>
<br>
<p>A way cooler neighbor page coming soon... (I swear.)</p>
-</div>
-<h2 style="color: #dddddd; text-align: center">Fanlistings I'm part of:</h2>
-<div align="center">
+ <h2>Fanlistings I'm part of:</h2>
<a href="http://fan.after-death.org/crows" target="_blank"><img src="/assets/image/fanlisting/crows.png" alt="http://fan.after-death.org/crows" title="http://fan.after-death.org/crows" style="width:50px;height:50px;"></a>
<a href="https://n7.redcrown.net" target="_blank"><img src="/assets/image/fanlisting/masseffect.png" alt="Mass Effect series fanlisting"></a>
</div>
diff --git a/main/templates/main_sidebar.html.j2 b/main/templates/main_sidebar.html.j2
index 05ab83d..1aa914f 100644
--- a/main/templates/main_sidebar.html.j2
+++ b/main/templates/main_sidebar.html.j2
@@ -1,8 +1,12 @@
<a href="/" class="icon-text">
- <img src="/assets/image/chip.svg" />
+ <img src="/assets/image/sidebar/missing_texture.png" />
<span>Home</span>
</a>
<a href="/neighbors.html" class="icon-text">
- <img src="/assets/image/chip.svg" />
+ <img src="/assets/image/sidebar/missing_texture.png" />
<span>Neighbors</span>
+</a>
+<a href="/wip.html" class="icon-text">
+ <img src="/assets/image/sidebar/missing_texture.png" />
+ <span>WIP projects</span>
</a> \ No newline at end of file
diff --git a/main/templates/main_wip.html.j2 b/main/templates/main_wip.html.j2
new file mode 100644
index 0000000..991feb9
--- /dev/null
+++ b/main/templates/main_wip.html.j2
@@ -0,0 +1,12 @@
+{% extends "main_base.html.j2" %}
+{% block content %}
+ <h2>Work in progress or planned projects:</h2>
+ <ul>
+ <li>Codenames grid generator</li>
+ <li>Adding translations or at least disclaimers to the Hungarian pages on the site</li>
+ <li>A collection of my Space Station 14 characters</li>
+ <li>Medieval meme (ye olde tapestry) collection</li>
+ <li>Cool neighborhood page</li>
+ <li>Self-owned fanlistings for stuff I like (Garry's mod, Lindy Hop, Roleplaying games)</li>
+ </ul>
+{% endblock %}
diff --git a/modules/main_generate.py b/modules/main_generate.py
index 5e058ed..d80ff44 100644
--- a/modules/main_generate.py
+++ b/modules/main_generate.py
@@ -23,7 +23,7 @@ def generate(jinja_env: jinja2.Environment, output_root_path: str, local: bool):
os.mkdir(output_root_path)
- for page in ("index", "neighbors"):
+ for page in ("index", "neighbors", "wip"):
template = jinja_env.get_template(f"main_{page}.html.j2")
html_file_name = f"{page}.html"
with open(os.path.join(output_root_path, html_file_name), "w") as f: