From b8a5be6b7e5d994f2ffb57d02f2415fd4cc25231 Mon Sep 17 00:00:00 2001 From: dozens Date: Sat, 3 Feb 2024 14:45:14 -0700 Subject: [PATCH] add pretty css anchors --- dist/index.html | 18 ++++++++++++++++++ justfile | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dist/index.html b/dist/index.html index b592bf1..550fe4a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,6 +9,24 @@ border-bottom: solid 1px black; margin-top: 3rem; } + h2, h3 { + position: relative; + } + h2 a, h3 a { + position: absolute; + left: -1.2rem; + text-decoration: none; + opacity: 0.2; + } + h2 a { + line-height: 1.4; + } + h3 a { + line-height: 1.2; + } + h2:hover a, h3:hover a { + opacity: 1; + }

Gamelogs

All the roleplaying games I've played.

diff --git a/justfile b/justfile index ab91018..81047dd 100644 --- a/justfile +++ b/justfile @@ -68,6 +68,24 @@ html: border-bottom: solid 1px black; margin-top: 3rem; } + h2, h3 { + position: relative; + } + h2 a, h3 a { + position: absolute; + left: -1.2rem; + text-decoration: none; + opacity: 0.2; + } + h2 a { + line-height: 1.4; + } + h3 a { + line-height: 1.2; + } + h2:hover a, h3:hover a { + opacity: 1; + } EOF ## END: STYLE ##