From 1d918f19174ff14ac7784119bb42bebbdd684a25 Mon Sep 17 00:00:00 2001 From: Marco Hitschler Date: Mon, 19 May 2025 20:59:03 +0200 Subject: [PATCH] Styles Hyperlinks Comments --- readme.md | 1 + theme.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/readme.md b/readme.md index 1c46ede..5f78dd8 100644 --- a/readme.md +++ b/readme.md @@ -169,6 +169,7 @@ This project is licensed under the GPL3 License. Release pending +* Added: Styles for Hyperlinks in Comments * Changed: Styling of Comment Notification Checkbox * Changed: Envira Lightbox / Position of Close & Next Icons diff --git a/theme.json b/theme.json index 29b55f4..c144cd2 100644 --- a/theme.json +++ b/theme.json @@ -166,6 +166,34 @@ } } }, + "core/comment-content": { + "elements": { + "link": { + "color": { + "text": "#900" + }, + "typography": { + "textDecoration": "none" + }, + "border": { + "bottom": { + "width": "2px", + "color": "transparent", + "style": "solid" + } + }, + ":hover": { + "border": { + "bottom": { + "width": "2px", + "color": "#900", + "style": "solid" + } + } + } + } + } + }, "core/query-pagination": { "color": { "text": "black"