From 008e0cc5af632ac7dd3ff0c97ca4c1a18e2131a1 Mon Sep 17 00:00:00 2001 From: leah Date: Thu, 24 Mar 2022 15:44:17 +0000 Subject: [PATCH] some website tweakage --- paths.toml | 8 +++++ sass/main.scss | 8 +++-- templates/header.html | 48 ++++++++++++++++++------- templates/index.html | 16 +++------ templates/index/header.html | 68 ----------------------------------- templates/index/section1.html | 31 ++++++++++++++++ templates/index/userlist.html | 60 ++++++++++++++++--------------- 7 files changed, 115 insertions(+), 124 deletions(-) create mode 100644 paths.toml create mode 100644 templates/index/section1.html diff --git a/paths.toml b/paths.toml new file mode 100644 index 0000000..15959c6 --- /dev/null +++ b/paths.toml @@ -0,0 +1,8 @@ +paths = [ + { name = "join", path = "/signup" }, + { name = "code of conduct", path = "/coc" }, + { name = "docs + guides", path = "https://library.southlondon.cc"}, + { name = "code", path = "https://tildegit.org/southlondon"}, + { name = "x", path = "https://x.southlondon.cc"}, + +] \ No newline at end of file diff --git a/sass/main.scss b/sass/main.scss index 91b23dc..470bae9 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -6,7 +6,7 @@ :root { --bg: white; - --fg: rgb(5, 5, 5); + --fg: rgb(40, 40, 40); --highlight: rgb(220, 220, 220); --border: 1px solid var(--highlight); @@ -23,7 +23,8 @@ body { } body { - font-family: 'Recursive', sans-serif; + font-family:'Recursive', sans-serif; + color: var(--fg); } main { @@ -56,8 +57,9 @@ footer { a, a:visited { - color: inherit; + color: black; text-decoration: underline var(--highlight) dashed 2px; + font-weight: 500; } a:hover { diff --git a/templates/header.html b/templates/header.html index 1b76b0b..655c1d0 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,23 +1,47 @@ +{% set paths = load_data(path="paths.toml") %} +
+
+ + a.active { + color: #8360c3; + font-weight: 800; + } + + nav > span::after { + content: " · "; + margin: 0 1rem; + } + + nav > span:last-of-type::after { + content: ""; + } + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index e1cc3a5..867db46 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,20 +6,13 @@ {% block content %} -{% include "index/header.html" %} +{% include "header.html" %} +
+{% include "index/section1.html" %} +
{% include "index/userlist.html" %} - {% endblock content %} \ No newline at end of file diff --git a/templates/index/header.html b/templates/index/header.html index 92055c6..e69de29 100644 --- a/templates/index/header.html +++ b/templates/index/header.html @@ -1,68 +0,0 @@ -
- - south london - - -
- - diff --git a/templates/index/section1.html b/templates/index/section1.html new file mode 100644 index 0000000..75f17a5 --- /dev/null +++ b/templates/index/section1.html @@ -0,0 +1,31 @@ +
+

south london

+

strand-type computing

+
+ +
+

hello! we're a small little very tiny community of people who like to use computers to make things. come join us!

+

this page is served from a shared linux-based computer that all members have access to. it's pretty modest + resource-wise but it should be able to handle all your favourite-command line tools without any trouble.

+

right now we have:

+ + +
+ + \ No newline at end of file diff --git a/templates/index/userlist.html b/templates/index/userlist.html index ed8aa45..c563159 100644 --- a/templates/index/userlist.html +++ b/templates/index/userlist.html @@ -1,7 +1,7 @@
+

our esteemed users

{% set user_data = load_data(path="users.toml") %} -

our esteemed users

-