main-site

Main site for niliara.net
git clone git://niliara.net/main-site
Log | Files | Refs

commit 9cc7654cba261fa41cde00bd97d91b10490e2456
parent ceb2f03d323b6af2edc60a83d10e8c6d58d75325
Author: niljimeno <niliara@proton.me>
Date:   Thu, 26 Feb 2026 16:22:18 +0100

checkpoint

Diffstat:
Mcontent/blog/07-window-manager.md | 2+-
Mlayouts/about.html | 9+++++++++
Mlayouts/blog/list.html | 12++----------
Mlayouts/index.html | 2++
Mstatic/style.css | 21++++++++++++++++++---
5 files changed, 32 insertions(+), 14 deletions(-)

diff --git a/content/blog/07-window-manager.md b/content/blog/07-window-manager.md @@ -12,4 +12,4 @@ I came in with the idea that creating a window manager would be an impossible task; now I'm left with the realisation that writing C is hard. -## C programming is great! +## C is great! diff --git a/layouts/about.html b/layouts/about.html @@ -43,6 +43,7 @@ and web development. <h3>Recent highlighted projects</h3> <div class="projects"> + <div> <a href="https://github.com/niljimeno/enforcer"><h4>Enforcer</h4></a> <p> @@ -50,6 +51,7 @@ Window manager for the X11 display server, written in C from scratch. </p> </div> + <div> <a href="https://github.com/niljimeno/music-player-backend"><h4>Music player backend</h4></a> <p> @@ -58,7 +60,14 @@ that scraps songs, written in Clojure. </p> </div> + <div> +<a href="https://niliara.itch.io/noob-adventure"><h4>Noob adventure</h4></a> +<p> +Dumb game we made for a school project +using Python and Pyxel. +</p> +</div> </div> diff --git a/layouts/blog/list.html b/layouts/blog/list.html @@ -2,22 +2,14 @@ {{ .Content }} <div class="links"> <ul> - <li><span class="ascii-border">{{ "#" | strings.Repeat 69 }}</span><br/></li> - {{- range .Pages -}} <li><nobr - ><span class="ascii-border">#</span ><a class="alt" href="{{ .Permalink }}" - ><span class="ascii-border">&nbsp;&nbsp;</span ><h3 style="display: inline">{{ .Title }}</h3 - ><span class="ascii-border">{{ strings.Repeat (sub 70 (add (len .Title) 8 10)) "&nbsp;" | safeHTML }}</span - ><span>-- {{ .Date | time.Format "01/02/06" }}</span - ><span class="ascii-border">&nbsp;&nbsp;</span></a - ><span class="ascii-border">#</span></nobr + ><span>~ {{ .Date | time.Format "01/02/06" }}</span + ></a ></li> {{- end -}} - - <li><span class="ascii-border">{{ "#" | strings.Repeat 69 }}</span></li> </ul> </div> {{ end }} diff --git a/layouts/index.html b/layouts/index.html @@ -29,7 +29,9 @@ <h3>~/Spaces</h3> <ul> <li><a style="display:block;" href="/about">About</a></li> + <!-- <li><a style="display:block;" href="/blog">Blog</a></li> + --> </ul> </div> <div> diff --git a/static/style.css b/static/style.css @@ -52,6 +52,7 @@ a:not(:hover) { .links { margin: 0 auto; + max-width: 800px; } .links ul { @@ -60,9 +61,23 @@ a:not(:hover) { margin: 0 auto; } -.links li { +.links li a { display: flex; - justify-content: center; + justify-content: space-between; + line-height: 2em; + padding: 0 0.4em; +} + +.links li:hover { + background-color: var(--bg-dark); +} + +.links li h3 { + text-align: left; +} + +.links li span { + text-align: right; } a.alt { @@ -206,7 +221,7 @@ td { } .projects div { - width: calc(50% - 3em); + width: calc(50% - 2.5em); padding: 0 1em; background-color: var(--bg-dark); }