From 7fd4eb58c1e2de380b6561d4651f7389b3dd7539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guibert?= Date: Tue, 10 Feb 2026 08:59:19 +0100 Subject: [PATCH] Disabling target style --- README.md | 1 + assets/css/override.css | 3 +++ layouts/_partials/head/css.html | 12 ++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 assets/css/override.css diff --git a/README.md b/README.md index e4dbef9..1d36393 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ You can see Moonwalk live by visting its [demo site](https://arkhamcookie.github ## Features - **Vertical Card Lists** support +- Disabling **target** style ## Contributing diff --git a/assets/css/override.css b/assets/css/override.css new file mode 100644 index 0000000..5475410 --- /dev/null +++ b/assets/css/override.css @@ -0,0 +1,3 @@ +*:target { + background-color: none !important; +} \ No newline at end of file diff --git a/layouts/_partials/head/css.html b/layouts/_partials/head/css.html index ec5a5db..839c625 100644 --- a/layouts/_partials/head/css.html +++ b/layouts/_partials/head/css.html @@ -48,3 +48,15 @@ {{- end}} {{- end }} {{- end }} + + + +{{- with resources.Get "css/override.css" }} + {{- if hugo.IsDevelopment }} + + {{- else }} + {{- with . | minify | fingerprint }} + + {{- end}} + {{- end }} +{{- end }}