logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 4f2da3dc98b5c5f5ca1613a04f7f43d6ca67cd80
parent 8004807bb9f7ef24968a569a133b0b19eb825122
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 14 Dec 2020 06:43:17 +0100

css: section:target highlight

Diffstat:

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

diff --git a/css/index.css b/css/index.css @@ -121,6 +121,8 @@ kbd { font-weight: bold; } h1:target, h2:target, h3:target, h4:target, h5:target, h6:target { color: var(--dark-ansi03); } +section { border: 1px dashed transparent; } +section:target { border: 1px dashed var(--dark-ansi03); } /* classes */ .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=2020121401"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2020121402"/> <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"/>