diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 24035a62..033ce358 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */ +/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ @layer properties; #zen-mode-button { @@ -3728,44 +3728,29 @@ a { pre { text-align: left; } +.thumbnail, .thumbnail_card, .thumbnail_card_related, .thumbnail_card_term, .single_hero_basic, .single_hero_background { + background-repeat: no-repeat; + background-size: cover; + background-position: center; +} .thumbnail { min-width: 300px; height: 180px; - background-repeat: no-repeat; - background-size: cover; - background-position: center; } .thumbnail_card { height: 200px; - background-repeat: no-repeat; - background-size: cover; - background-position: center; } .thumbnail_card_related { height: 150px; - background-repeat: no-repeat; - background-size: cover; - background-position: center; } .thumbnail_card_term { height: 150px; - background-repeat: no-repeat; - background-size: cover; - background-position: center; -} -.single_hero_basic { - background-repeat: no-repeat; - background-size: cover; - background-position: center; } .single_hero_round { max-height: 50vh; object-fit: cover; } .single_hero_background { - background-repeat: no-repeat; - background-size: cover; - background-position: center; z-index: -10; } .hero_gradient { @@ -3828,6 +3813,9 @@ pre { text-decoration-thickness: 3px; text-underline-offset: 4px; } +.group-hover-card:hover:has(.group-hover-cancel:hover) .group-hover-card-title { + text-decoration: none !important; +} @layer base { [type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select { appearance: none; diff --git a/assets/css/main.css b/assets/css/main.css index c1e6e7de..a617b674 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -277,3 +277,8 @@ pre { text-decoration-thickness: 3px; text-underline-offset: 4px; } + +/* Cancel group hover if .group-hover-card contains .group-hover-cancel*/ +.group-hover-card:hover:has(.group-hover-cancel:hover) .group-hover-card-title { + text-decoration: none !important; +} diff --git a/layouts/partials/article-link/_shortcode.html b/layouts/partials/article-link/_shortcode.html index 603c8a1d..46ab8ec2 100644 --- a/layouts/partials/article-link/_shortcode.html +++ b/layouts/partials/article-link/_shortcode.html @@ -4,7 +4,7 @@ {{ $constrainItemsWidth := site.Params.list.constrainItemsWidth | default false }} {{ $disableImageOptimization := site.Params.disableImageOptimization | default false }} -{{ $articleClasses := "group flex flex-wrap md:flex-nowrap article relative" }} +{{ $articleClasses := "group-hover-card group flex flex-wrap md:flex-nowrap article relative" }} {{ if site.Params.list.showCards }} {{ $articleClasses = delimit (slice $articleClasses "border border-neutral-200 dark:border-neutral-700 border-2 rounded-md overflow-hidden") " " }} {{ else }} @@ -75,7 +75,7 @@ {{ with $target.Params.externalUrl }}