mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
🚑 Hotfix: Fix title not being hoverable
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
||||||
/*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */
|
/*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */
|
||||||
@layer properties;
|
@layer properties;
|
||||||
#zen-mode-button {
|
#zen-mode-button {
|
||||||
@@ -2415,6 +2415,13 @@ body.zen-mode-enable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.group-hover\:underline-offset-2 {
|
||||||
|
&:is(:where(.group):hover *) {
|
||||||
|
@media (hover: hover) {
|
||||||
|
text-underline-offset: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.group-hover\:opacity-100 {
|
.group-hover\:opacity-100 {
|
||||||
&:is(:where(.group):hover *) {
|
&:is(:where(.group):hover *) {
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ $constrainItemsWidth := site.Params.list.constrainItemsWidth | default false }}
|
{{ $constrainItemsWidth := site.Params.list.constrainItemsWidth | default false }}
|
||||||
{{ $disableImageOptimization := site.Params.disableImageOptimization | default false }}
|
{{ $disableImageOptimization := site.Params.disableImageOptimization | default false }}
|
||||||
|
|
||||||
{{ $articleClasses := "flex flex-wrap md:flex-nowrap article" }}
|
{{ $articleClasses := "group flex flex-wrap md:flex-nowrap article relative" }}
|
||||||
{{ if site.Params.list.showCards }}
|
{{ if site.Params.list.showCards }}
|
||||||
{{ $articleClasses = delimit (slice $articleClasses "border border-neutral-200 dark:border-neutral-700 border-2 rounded-md overflow-hidden") " " }}
|
{{ $articleClasses = delimit (slice $articleClasses "border border-neutral-200 dark:border-neutral-700 border-2 rounded-md overflow-hidden") " " }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
{{ with $target.Params.externalUrl }}
|
{{ with $target.Params.externalUrl }}
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2">
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2">
|
||||||
{{ $target.Title | emojify }}
|
{{ $target.Title | emojify }}
|
||||||
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
||||||
<span class="rtl:hidden">↗</span>
|
<span class="rtl:hidden">↗</span>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2"
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2"
|
||||||
href="{{ $target.RelPermalink }}">
|
href="{{ $target.RelPermalink }}">
|
||||||
{{ $target.Title | emojify }}
|
{{ $target.Title | emojify }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }}
|
{{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }}
|
||||||
<div
|
<div
|
||||||
class="relative min-h-full min-w-full overflow-hidden rounded border border-2 border-neutral-200 shadow-2xl dark:border-neutral-700">
|
class="group relative min-h-full min-w-full overflow-hidden rounded border border-2 border-neutral-200 shadow-2xl dark:border-neutral-700">
|
||||||
<a
|
<a
|
||||||
{{ partial "article-link/_external-link.html" . | safeHTMLAttr }}
|
{{ partial "article-link/_external-link.html" . | safeHTMLAttr }}
|
||||||
class="absolute inset-0"
|
class="absolute inset-0"
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<div class="px-6 py-4">
|
<div class="px-6 py-4">
|
||||||
{{ with .Params.externalUrl }}
|
{{ with .Params.externalUrl }}
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2">
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2">
|
||||||
{{ $.Title | emojify }}
|
{{ $.Title | emojify }}
|
||||||
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
||||||
<span class="rtl:hidden">↗</span>
|
<span class="rtl:hidden">↗</span>
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2">
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2">
|
||||||
{{ .Title | emojify }}
|
{{ .Title | emojify }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }}
|
{{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }}
|
||||||
<div
|
<div
|
||||||
class="relative min-h-full min-w-full overflow-hidden rounded border border-2 border-neutral-200 shadow-2xl dark:border-neutral-700">
|
class="group relative min-h-full min-w-full overflow-hidden rounded border border-2 border-neutral-200 shadow-2xl dark:border-neutral-700">
|
||||||
<a
|
<a
|
||||||
{{ partial "article-link/_external-link.html" . | safeHTMLAttr }}
|
{{ partial "article-link/_external-link.html" . | safeHTMLAttr }}
|
||||||
class="absolute inset-0"
|
class="absolute inset-0"
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<div class="px-6 py-4">
|
<div class="px-6 py-4">
|
||||||
{{ with .Params.externalUrl }}
|
{{ with .Params.externalUrl }}
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2">
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2">
|
||||||
{{ $.Title | emojify }}
|
{{ $.Title | emojify }}
|
||||||
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
||||||
<span class="rtl:hidden">↗</span>
|
<span class="rtl:hidden">↗</span>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2">
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2">
|
||||||
{{ .Title | emojify }}
|
{{ .Title | emojify }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{{ $constrainItemsWidth := .Page.Site.Params.list.constrainItemsWidth | default false }}
|
{{ $constrainItemsWidth := .Page.Site.Params.list.constrainItemsWidth | default false }}
|
||||||
|
|
||||||
{{ $articleClasses := "flex flex-wrap md:flex-nowrap article relative" }}
|
{{ $articleClasses := "group flex flex-wrap md:flex-nowrap article relative" }}
|
||||||
{{ if .Site.Params.list.showCards }}
|
{{ if .Site.Params.list.showCards }}
|
||||||
{{ $articleClasses = delimit (slice $articleClasses "border border-neutral-200 dark:border-neutral-700 border-2 rounded-md overflow-hidden") " " }}
|
{{ $articleClasses = delimit (slice $articleClasses "border border-neutral-200 dark:border-neutral-700 border-2 rounded-md overflow-hidden") " " }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
<div class="items-center text-left text-xl font-semibold">
|
<div class="items-center text-left text-xl font-semibold">
|
||||||
{{ with .Params.externalUrl }}
|
{{ with .Params.externalUrl }}
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2">
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2">
|
||||||
{{ $.Title | emojify }}
|
{{ $.Title | emojify }}
|
||||||
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
<span class="cursor-default align-top text-xs text-neutral-400 dark:text-neutral-500">
|
||||||
<span class="rtl:hidden">↗</span>
|
<span class="rtl:hidden">↗</span>
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div
|
<div
|
||||||
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 hover:underline hover:underline-offset-2">
|
class="decoration-primary-500 dark:text-neutral text-xl font-bold text-neutral-800 group-hover:underline group-hover:underline-offset-2">
|
||||||
{{ .Title | emojify }}
|
{{ .Title | emojify }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user