From a1236a3156ce4218c358fe0a5c84e96af66b2de6 Mon Sep 17 00:00:00 2001 From: Matthias Grief Date: Sun, 17 Nov 2024 20:46:05 +0100 Subject: [PATCH] =?UTF-8?q?Downloadlinks=20in=20der=20Themen=C3=BCbersicht?= =?UTF-8?q?=20=C3=B6ffnen=20nur=20noch=20den=20Download=20und=20nicht=20me?= =?UTF-8?q?hr=20auch=20das=20Thema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webseite/subject.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/webseite/subject.php b/webseite/subject.php index c52c7fe..b5cdbbb 100644 --- a/webseite/subject.php +++ b/webseite/subject.php @@ -526,6 +526,11 @@ $topics = $subjectData->topics; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } + .related-topics a { + color: inherit; + text-decoration: none; + } + /* Add dark mode support for related topics */ :root[data-theme="dark"] .related-topics { background: rgba(124, 58, 237, 0.1); @@ -629,7 +634,11 @@ $topics = $subjectData->topics; ?> -
  • displayName); ?>
  • +
  • + + displayName); ?> + +
  • topics; foreach ($topicData->files as $fileName) { ?> - - id/topics/$topicData->id/$fileName")?>" target="_blank" download class="download-btn"> + id/topics/$topicData->id/$fileName")?>" target="_blank" download class="download-btn">