From 428a8a75a3a7c5e9d09be286c54ff8f8f7693c1c Mon Sep 17 00:00:00 2001 From: isUnknown Date: Wed, 10 Apr 2024 15:49:42 +0200 Subject: [PATCH] style --- assets/css/src/texts.css | 8 ++++++-- site/snippets/panels.php | 4 ++-- site/snippets/text-item.php | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/css/src/texts.css b/assets/css/src/texts.css index 8df6e56..62ace33 100644 --- a/assets/css/src/texts.css +++ b/assets/css/src/texts.css @@ -127,8 +127,12 @@ a * { transition: font 0.2s ease-in-out; } -a.no-line:hover * { - font-weight: 250; +a.no-line.text__title:hover * { + text-decoration: underline; + text-decoration-color: inherit; + text-decoration-line: underline; + text-underline-offset: 0.2rem; + text-decoration-thickness: 0.5px; } a:not(.no-line):hover { text-decoration: none; diff --git a/site/snippets/panels.php b/site/snippets/panels.php index 497f7b4..906d2ae 100644 --- a/site/snippets/panels.php +++ b/site/snippets/panels.php @@ -78,7 +78,7 @@ || category.toLowerCase().includes(search.toLowerCase()) " > - +

title() ?>

@@ -173,7 +173,7 @@ || category.toLowerCase().includes(search.toLowerCase()) " > - +

title() ?>

diff --git a/site/snippets/text-item.php b/site/snippets/text-item.php index 248453f..b732490 100644 --- a/site/snippets/text-item.php +++ b/site/snippets/text-item.php @@ -1,7 +1,7 @@
  • - +

    title() ?>