1
0
mirror of https://github.com/osmarks/website synced 2025-08-30 09:17:56 +00:00

Dark theme

This commit is contained in:
2024-01-02 14:55:23 +00:00
parent c858d2131f
commit 085514da02
3 changed files with 32 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
div(style=`background: ${bgcol}`)
div.autocol(style=`background: ${bgcol}`)
div
a(href=permalink)= renderDate(date)
div!= content

View File

@@ -7,7 +7,7 @@ block content
Read my opinions via the internet.
div.blog
each post in posts
.imbox(style=`background: ${post.bgcol}`)
.autocol.imbox(style=`background: ${post.bgcol}`)
if images.hasOwnProperty(post.slug)
+image(images[post.slug])
div
@@ -28,7 +28,7 @@ block content
Various web projects I have put together over many years. Made with at least four different JS frameworks. Some of them are bad.
div.experiments
each experiment in experiments
.imbox(style=`background: ${experiment.bgcol}`)
.autocol.imbox(style=`background: ${experiment.bgcol}`)
if images.hasOwnProperty(experiment.slug)
+image(images[experiment.slug])
div