Farben etwas unauffälliger gemacht

This commit is contained in:
Matthias Grief
2024-11-19 19:19:35 +01:00
parent 56186f0f6a
commit 16cbf67497
4 changed files with 35 additions and 12 deletions

View File

@@ -70,15 +70,15 @@ if (!isset($topicData)) {
<?php echo($topicData->article); ?>
</p>
<div class="exercise-section bg-[<?php echo($subjectData->color); ?>]">
<h3 style="margin-bottom: 1rem;">Übungen herunterladen:</h3>
<div class="exercise-section bg-gray-100">
<h3 style="margin-bottom: 1rem;" class="text-[var(--primary-color)]">Übungen herunterladen:</h3>
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem;">
<?php
foreach ($topicData->files as $fileName) {
?>
<a href='<?php echo("config/subjects/$subjectData->id/topics/$topicData->id/$fileName") ?>'
target="_blank" download class="download-btn">
target="_blank" download class="download-btn border-[<?php echo($subjectData->color); ?>] border-2">
<i class="fas fa-file-pdf"></i>
<?php echo($fileName); ?>
</a>