fix: scope badge hover to link badges, remove inline hover classes, expand logo viewBox

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-25 16:00:00 +02:00
parent ae8410c3ff
commit 37a9418136
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -175,7 +175,7 @@
transition: transform 0.15s var(--ease-bounce), filter 0.2s;
}
.badge:hover { transform: skewX(-4deg) scale(1.06); filter: brightness(1.2); }
a.badge:not(.badge-static):hover { transform: skewX(-4deg) scale(1.06); filter: brightness(1.2); }
a.badge, a > .badge { cursor: pointer; }
.badge-heat { background: var(--color-heat); color: #fff; }
+1 -1
View File
@@ -46,7 +46,7 @@
href="{{ $href }}"
target="_blank"
rel="noopener noreferrer"
class="badge badge-outline hover:bg-heat hover:text-white hover:border-heat transition-all"
class="badge badge-outline badge-static"
>{{ $platform | upper }} {{ partial "icon.html" "arrow-external" }}</a>
{{- end -}}
</div>
+2 -2
View File
@@ -24,7 +24,7 @@
{{- range . -}}
<a
href="/categories/{{ . | urlize }}/"
class="badge badge-outline hover:bg-heat hover:text-white hover:border-heat transition-all"
class="badge badge-outline"
>{{ . }}</a>
{{- end -}}
</div>
@@ -172,7 +172,7 @@
{{- range . -}}
<a
href="/tags/{{ . | urlize }}/"
class="badge badge-outline hover:bg-heat hover:text-white hover:border-heat transition-all"
class="badge badge-outline"
># {{ . }}</a>
{{- end -}}
</div>