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; 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; } a.badge, a > .badge { cursor: pointer; }
.badge-heat { background: var(--color-heat); color: #fff; } .badge-heat { background: var(--color-heat); color: #fff; }
+1 -1
View File
@@ -46,7 +46,7 @@
href="{{ $href }}" href="{{ $href }}"
target="_blank" target="_blank"
rel="noopener noreferrer" 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> >{{ $platform | upper }} {{ partial "icon.html" "arrow-external" }}</a>
{{- end -}} {{- end -}}
</div> </div>
+2 -2
View File
@@ -24,7 +24,7 @@
{{- range . -}} {{- range . -}}
<a <a
href="/categories/{{ . | urlize }}/" href="/categories/{{ . | urlize }}/"
class="badge badge-outline hover:bg-heat hover:text-white hover:border-heat transition-all" class="badge badge-outline"
>{{ . }}</a> >{{ . }}</a>
{{- end -}} {{- end -}}
</div> </div>
@@ -172,7 +172,7 @@
{{- range . -}} {{- range . -}}
<a <a
href="/tags/{{ . | urlize }}/" href="/tags/{{ . | urlize }}/"
class="badge badge-outline hover:bg-heat hover:text-white hover:border-heat transition-all" class="badge badge-outline"
># {{ . }}</a> ># {{ . }}</a>
{{- end -}} {{- end -}}
</div> </div>