Disabling target style

This commit is contained in:
Loïc Guibert
2026-02-10 08:59:19 +01:00
parent e0892c5936
commit 7fd4eb58c1
3 changed files with 16 additions and 0 deletions

View File

@@ -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

3
assets/css/override.css Normal file
View File

@@ -0,0 +1,3 @@
*:target {
background-color: none !important;
}

View File

@@ -48,3 +48,15 @@
{{- end}}
{{- end }}
{{- end }}
{{- with resources.Get "css/override.css" }}
{{- if hugo.IsDevelopment }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end}}
{{- end }}
{{- end }}