1
0
mirror of https://github.com/osmarks/website synced 2025-09-02 10:48:03 +00:00

rework navbar palette

This commit is contained in:
osmarks
2024-11-21 12:02:34 +00:00
parent 41b5af0d0b
commit 32a9276cb3
6 changed files with 40 additions and 21 deletions

View File

@@ -37,15 +37,23 @@ block content
span.description!= experiment.description
p Get updates to the blog (not experiments) in your favourite RSS reader using the <a href="/rss.xml">RSS feed</a>.
p View some of my projects at
p View some of my projects at
a(href=`https://git.${domain}/`) my git hosting.
h2.section-header Other Blogs
h2.section-header Other blogs
details
summary View list
ul
each url, name in otherBlogURLs
li
a(href=url)= name
div.ring
each entry in openring
!= entry
iframe(src="https://george.gh0.pw/embed.cgi?gollark", style="border:none;width:100%;height:50px", title="Acquiesce to GEORGE.")
block under-title

View File

@@ -1,5 +1,5 @@
mixin nav-item(url, name)
a(href=url)= name + " "
mixin nav-item(url, name, color)
a(href=url, style=`color: ${color}`)= name + " "
mixin image(src)
if typeof src === "string"
@@ -40,12 +40,12 @@ html(lang="en")
a.logocont(href="/")
img.logo(src="/assets/images/logo256.png", alt="osmarks.net logo")
.logotext osmarks
+nav-item(`/me/`, "About Me")
+nav-item(`https://mse.${domain}/`, "Meme Search")
+nav-item(`https://docs.${domain}/random`, "Documentation")
+nav-item(`https://b.${domain}`, "Microblog")
+nav-item(`https://status.${domain}`, "Status")
+nav-item(`https://r.${domain}/login`, "Login")
+nav-item(`/me/`, "About Me", "#5AF2F2")
+nav-item(`https://b.${domain}`, "Microblog", "#F25AF2")
+nav-item(`https://mse.${domain}/`, "Meme Search", "#5AF25A")
+nav-item(`https://docs.${domain}/random`, "Documentation", "#F2A65A")
+nav-item(`https://status.${domain}`, "Status", "#EEDC5B")
+nav-item(`https://r.${domain}/login`, "Login", "#12E193")
block nav-items
.sidenotes-container
main(class=!haveSidenotes ? "fullwidth" : "")

View File

@@ -3,5 +3,5 @@ div.autocol(style=hashBG("remoteFeedEntry", i, 30))
a.title(href=link)= title
div.deemph
span=`${renderDate(published)} / `
a(href=feed.link)= feed.title
div!= description
a(href=feed.link)= feedName
div!= description