logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: bf5e2f9a36a5643115c3c6105bcca5be6cda300b
parent 4dabbc77248df19e7d0e249a86065d45b9e7940c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  6 Apr 2024 06:04:19 +0200

css/index: Add {td,th}.date for YYYY-MM-DD cells

Diffstat:

Mcss/index.css5+++++
Mtemplates/head.shtml2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/css/index.css b/css/index.css @@ -135,6 +135,11 @@ thead td, thead th { border: none; } +td.date, th.date { + /* YYYY-MM-DD -> 10 characters, of roughly the width of '0' */ + min-width: 10ch; +} + rt,rp { font-size: 75%; } kbd, samp { diff --git a/templates/head.shtml b/templates/head.shtml @@ -1,5 +1,5 @@ <meta charset="utf-8"/> - <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024020901"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024040601"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="vcs-git" href="https://hacktivis.me/git/blog/"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/>