From 3d57df45ce73eee1a18b7baaab5a77ad59dc13fb Mon Sep 17 00:00:00 2001 From: m1ka Date: Thu, 21 May 2026 08:57:23 +0200 Subject: [PATCH] new stylesheets ! --- .gitignore | 3 +- Dockerfile | 4 +- README | 2 +- bricks/base-header.thtml | 2 +- bricks/footer.thtml | 7 ++- bricks/navbar.thtml | 2 +- kethel/.formatter.exs | 2 +- kethel/lib/blog.ex | 28 +++++++++++ kethel/lib/thoughts.ex | 2 +- kethel/main.exs | 13 ++++-- nginx.conf | 2 +- pages/index.fxg | 4 +- pages/projects.fxg | 2 +- pull-hljs.sh | 2 +- scripts/dyn-codeberg-logo.js | 31 +++++++----- static/mastodon-logo-purple.svg | 10 ++++ static/mastodon-logo-white.svg | 3 ++ styles/base.css | 83 +++++++++++++++++---------------- styles/colophon.css | 4 +- styles/index.css | 6 +-- templates/pages/index.thtml | 6 ++- 21 files changed, 140 insertions(+), 78 deletions(-) create mode 100644 kethel/lib/blog.ex create mode 100644 static/mastodon-logo-purple.svg create mode 100644 static/mastodon-logo-white.svg diff --git a/.gitignore b/.gitignore index eeeb852ae05fef9ec324d1d4a2891fbcd75b300b..60d5d1a40501d92cf31949a89cadf1fbe60326e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /build /static/*.min.* /deploy.sh -.DS_Store \ No newline at end of file +.DS_Store +.zed diff --git a/Dockerfile b/Dockerfile index 8657b65e43a74dd2aeb320e858713af77d2a6d2d..7617c25c5fe1acad855cdf5ab3f4f236f3105724 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ WORKDIR "/usr/local/app" COPY pull-hljs.sh . RUN ./pull-hljs.sh WORKDIR "/usr/local/app/kethel" -COPY kethel/mix.exs kethel/mix.lock kethel/package.json kethel/package-lock.json . +COPY kethel/mix.exs kethel/mix.lock kethel/package.json kethel/package-lock.json ./ RUN npm i # build www.m1kadev.nl @@ -37,4 +37,4 @@ RUN chown -R www:www /data/www RUN chmod -R 744 /data/www # serve www.m1kadev.nl -CMD [ "nginx", "-c", "/etc/nginx/nginx.conf" ] \ No newline at end of file +CMD [ "nginx", "-c", "/etc/nginx/nginx.conf" ] diff --git a/README b/README index b8133613eaf214cdf1723bd27863e69bb68567b3..59eb4a81dae6caaf4fd8ec53097d3023f4f8a119 100644 --- a/README +++ b/README @@ -11,7 +11,7 @@ this should work out of the box: ==== from source ==== Make sure you have a compatible version of <#https://codeberg.org/m1ka/fxg fxg> installed (this site is usually compiled against fxg a990e6c5ab). -go into the 'kethel' directory, and use your javascript runtime of choice (for this site, usually node.js, sadly). +go into the 'kethel' directory, and use your javascript runtime of choice (for this site, usually node.js, sadly). afterwards, build any possible dependencies for kethel using mix. finally, using the main.exs script ran against the kethel library, you can compile the website, which will output in the 'build' folder, in the root of the repository. diff --git a/bricks/base-header.thtml b/bricks/base-header.thtml index 71bbc911c38981c4f046c3e085c4bbf6d0d34e1f..9437c989ea952f565c666de76fdc3ece62dba938 100644 --- a/bricks/base-header.thtml +++ b/bricks/base-header.thtml @@ -5,4 +5,4 @@ - \ No newline at end of file + diff --git a/bricks/footer.thtml b/bricks/footer.thtml index 427ec7e3f394daa114263502fba8e84c4dc72fb3..bdb410d2ec1abd13355b311b7b9a8708f0a7332c 100644 --- a/bricks/footer.thtml +++ b/bricks/footer.thtml @@ -4,8 +4,11 @@ All content on this website is licensed under CC-BY-SA-4.0, unless otherwise noted. diff --git a/bricks/navbar.thtml b/bricks/navbar.thtml index 6a828afff6f7ff6171135bd6864eae240d0f6107..4b200c6b8b3cdf65c1e08e4b6e5ba17005e3a31d 100644 --- a/bricks/navbar.thtml +++ b/bricks/navbar.thtml @@ -7,7 +7,7 @@