logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: d820fd42d4b7476c2a62ec2be2eaa85cc6d3044e
parent 0c0274360a3430d431fa10d9539b45f882aa5a3d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 14 Dec 2020 05:53:27 +0100

index.css: Add color on targeted headings

Diffstat:

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

diff --git a/css/index.css b/css/index.css @@ -117,6 +117,11 @@ kbd, samp { } kbd { font-weight: bold; } +/* selectors */ +h1:target, h2:target, h3:target, h4:target, h5:target, h6:target { + color: var(--dark-ansi03); +} + /* classes */ .select-all { -webkit-user-select: all; 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=2020220701"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2020121401"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab" /> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/>