diff --git a/webseite/config/subjects/deutsch/topics/topic1/properties.json b/webseite/config/subjects/deutsch/topics/topic1/properties.json index 426de26..d4aa146 100644 --- a/webseite/config/subjects/deutsch/topics/topic1/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic1/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 1", + "displayName": "Geschichten erzählen", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/deutsch/topics/topic2/properties.json b/webseite/config/subjects/deutsch/topics/topic2/properties.json index d776814..61ebc43 100644 --- a/webseite/config/subjects/deutsch/topics/topic2/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic2/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 2", + "displayName": "Wortarten", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/deutsch/topics/topic3/properties.json b/webseite/config/subjects/deutsch/topics/topic3/properties.json index cbe7e38..c5d001d 100644 --- a/webseite/config/subjects/deutsch/topics/topic3/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic3/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 3", + "displayName": "Vier Fälle", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/deutsch/topics/topic4/properties.json b/webseite/config/subjects/deutsch/topics/topic4/properties.json index 75b608a..2fcd460 100644 --- a/webseite/config/subjects/deutsch/topics/topic4/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic4/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 4", + "displayName": "Personalpronomen", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/deutsch/topics/topic5/properties.json b/webseite/config/subjects/deutsch/topics/topic5/properties.json index 5b0924d..6cf0a79 100644 --- a/webseite/config/subjects/deutsch/topics/topic5/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic5/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 5", + "displayName": "Personalpronomen in den vier Fällen", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/deutsch/topics/topic6/properties.json b/webseite/config/subjects/deutsch/topics/topic6/properties.json index fade52f..e686ff8 100644 --- a/webseite/config/subjects/deutsch/topics/topic6/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic6/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 6", + "displayName": "Satzglieder", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/deutsch/topics/topic7/properties.json b/webseite/config/subjects/deutsch/topics/topic7/properties.json index d6ad914..a3e4282 100644 --- a/webseite/config/subjects/deutsch/topics/topic7/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic7/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 7", + "displayName": "Possessivpronomen", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/deutsch/topics/topic8/properties.json b/webseite/config/subjects/deutsch/topics/topic8/properties.json index 22e4e58..c9701a3 100644 --- a/webseite/config/subjects/deutsch/topics/topic8/properties.json +++ b/webseite/config/subjects/deutsch/topics/topic8/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 8", + "displayName": "Adverbiale Bestimmung", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/mathe/topics/topic1/properties.json b/webseite/config/subjects/mathe/topics/topic1/properties.json index 426de26..2922997 100644 --- a/webseite/config/subjects/mathe/topics/topic1/properties.json +++ b/webseite/config/subjects/mathe/topics/topic1/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 1", + "displayName": "Schriftliches Multiplizieren", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/mathe/topics/topic10/article.html b/webseite/config/subjects/mathe/topics/topic10/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic10/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic10/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic10/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic10/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic10/image.png b/webseite/config/subjects/mathe/topics/topic10/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic10/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic10/properties.json b/webseite/config/subjects/mathe/topics/topic10/properties.json new file mode 100644 index 0000000..017ce01 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic10/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Rechnen mit Zeit", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic11/article.html b/webseite/config/subjects/mathe/topics/topic11/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic11/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic11/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic11/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic11/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic11/image.png b/webseite/config/subjects/mathe/topics/topic11/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic11/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic11/properties.json b/webseite/config/subjects/mathe/topics/topic11/properties.json new file mode 100644 index 0000000..2e2d568 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic11/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Punkt- vor Strichrechnung", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic12/article.html b/webseite/config/subjects/mathe/topics/topic12/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic12/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic12/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic12/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic12/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic12/image.png b/webseite/config/subjects/mathe/topics/topic12/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic12/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic12/properties.json b/webseite/config/subjects/mathe/topics/topic12/properties.json new file mode 100644 index 0000000..47b8541 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic12/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Rechnen mit Klammern", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic2/properties.json b/webseite/config/subjects/mathe/topics/topic2/properties.json index d776814..de172f7 100644 --- a/webseite/config/subjects/mathe/topics/topic2/properties.json +++ b/webseite/config/subjects/mathe/topics/topic2/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 2", + "displayName": "Schriftliches Dividieren", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/mathe/topics/topic3/properties.json b/webseite/config/subjects/mathe/topics/topic3/properties.json index cbe7e38..c724984 100644 --- a/webseite/config/subjects/mathe/topics/topic3/properties.json +++ b/webseite/config/subjects/mathe/topics/topic3/properties.json @@ -1,5 +1,5 @@ { - "displayName": "Thema 3", + "displayName": "Echte Brüche", "icon": "fa-divide", "description": "Eine kurze Beschreibung des Themas", "relatedTopics": [ diff --git a/webseite/config/subjects/mathe/topics/topic4/article.html b/webseite/config/subjects/mathe/topics/topic4/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic4/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic4/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic4/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic4/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic4/image.png b/webseite/config/subjects/mathe/topics/topic4/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic4/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic4/properties.json b/webseite/config/subjects/mathe/topics/topic4/properties.json new file mode 100644 index 0000000..2d75863 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic4/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Unechte Brüche", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic5/article.html b/webseite/config/subjects/mathe/topics/topic5/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic5/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic5/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic5/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic5/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic5/image.png b/webseite/config/subjects/mathe/topics/topic5/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic5/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic5/properties.json b/webseite/config/subjects/mathe/topics/topic5/properties.json new file mode 100644 index 0000000..9e890e4 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic5/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Gemischte Zahlen", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic6/article.html b/webseite/config/subjects/mathe/topics/topic6/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic6/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic6/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic6/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic6/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic6/image.png b/webseite/config/subjects/mathe/topics/topic6/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic6/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic6/properties.json b/webseite/config/subjects/mathe/topics/topic6/properties.json new file mode 100644 index 0000000..522db7c --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic6/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Addition & Subtraktion mit Brüchen", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic7/article.html b/webseite/config/subjects/mathe/topics/topic7/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic7/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic7/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic7/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic7/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic7/image.png b/webseite/config/subjects/mathe/topics/topic7/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic7/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic7/properties.json b/webseite/config/subjects/mathe/topics/topic7/properties.json new file mode 100644 index 0000000..d752215 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic7/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Multiplikation & Division mit Brüchen", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic8/article.html b/webseite/config/subjects/mathe/topics/topic8/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic8/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic8/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic8/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic8/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic8/image.png b/webseite/config/subjects/mathe/topics/topic8/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic8/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic8/properties.json b/webseite/config/subjects/mathe/topics/topic8/properties.json new file mode 100644 index 0000000..d7e732e --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic8/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Rechnen mit Gewichten", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic9/article.html b/webseite/config/subjects/mathe/topics/topic9/article.html new file mode 100644 index 0000000..74f9470 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic9/article.html @@ -0,0 +1,5 @@ +Das ist der Erklärtext +Ein Bild +
+When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ \ No newline at end of file diff --git a/webseite/config/subjects/mathe/topics/topic9/exercise1.pdf b/webseite/config/subjects/mathe/topics/topic9/exercise1.pdf new file mode 100644 index 0000000..10b056f Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic9/exercise1.pdf differ diff --git a/webseite/config/subjects/mathe/topics/topic9/image.png b/webseite/config/subjects/mathe/topics/topic9/image.png new file mode 100644 index 0000000..a111ca4 Binary files /dev/null and b/webseite/config/subjects/mathe/topics/topic9/image.png differ diff --git a/webseite/config/subjects/mathe/topics/topic9/properties.json b/webseite/config/subjects/mathe/topics/topic9/properties.json new file mode 100644 index 0000000..2fa4092 --- /dev/null +++ b/webseite/config/subjects/mathe/topics/topic9/properties.json @@ -0,0 +1,11 @@ +{ + "displayName": "Rechnen mit Längen", + "icon": "fa-divide", + "description": "Eine kurze Beschreibung des Themas", + "relatedTopics": [ + "topic2", "topic3" + ], + "files": [ + "exercise1.pdf" + ] +} \ No newline at end of file diff --git a/webseite/homepage.php b/webseite/homepage.php index a7dbd14..2390e93 100644 --- a/webseite/homepage.php +++ b/webseite/homepage.php @@ -23,13 +23,13 @@ .card-hover:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), - 0 10px 10px -5px rgba(0, 0, 0, 0.04); + 0 10px 10px -5px rgba(0, 0, 0, 0.04); } .gradient-border { position: relative; background: linear-gradient(white, white) padding-box, - linear-gradient(45deg, #7C3AED, #F59E0B) border-box; + linear-gradient(45deg, #7C3AED, #F59E0B) border-box; border: 4px solid transparent; border-radius: 1rem; } @@ -97,88 +97,143 @@ -
-
-
-
- - - - -
- - +
+
+
+

+ Entdecke deine Lernreise +

+

+ Interaktives Lernen für die digitale Generation. Personalisierte Lernpfade, sofortiges Feedback und spielerische Elemente. +

+
+
+
- foreach ($subjects as $subject) { - ?> - -
- - +
@@ -189,65 +244,65 @@
- + + card.addEventListener('mouseleave', () => { + gsap.to(card.querySelector('.w-12'), { + rotate: 0, + scale: 1, + duration: 0.3 + }); + }); + }); + diff --git a/webseite/subject.php b/webseite/subject.php index b781b5f..641fa22 100644 --- a/webseite/subject.php +++ b/webseite/subject.php @@ -109,16 +109,16 @@ $topics = $subjectData->topics; .search-container { position: fixed; top: 0; - left: 280px; right: 0; - padding: 1rem 2rem; + padding: 1rem; background: var(--card-bg); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); - transition: left 0.3s ease; z-index: 40; display: flex; align-items: center; gap: 1rem; + transition: all 0.3s ease; + width: auto; } .search-box { @@ -146,11 +146,12 @@ $topics = $subjectData->topics; .container { display: grid; - grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); - gap: 2rem; + grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); /* Back to original 380px for desktop */ + gap: 2rem; /* Back to original 2rem gap */ padding: 2rem; max-width: 1600px; margin: 0 auto; + width: 100%; } .topic-card { @@ -296,7 +297,31 @@ $topics = $subjectData->topics; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); } + @media (min-width: 1025px) { + .menu-toggle { + display: none; + } + + .sidebar { + transform: translateX(0); + } + + .search-container { + left: 280px; /* Sidebar width */ + width: calc(100% - 280px); + } + + .main-content { + margin-left: 280px; + width: calc(100% - 280px); + } + } + @media (max-width: 1024px) { + .menu-toggle { + display: flex !important; + } + .sidebar { transform: translateX(-100%); } @@ -305,13 +330,58 @@ $topics = $subjectData->topics; transform: translateX(0); } + .search-container { + left: 0; + width: 100%; + padding-left: 4.5rem; + } + .main-content { margin-left: 0; width: 100%; } + .search-box { + width: calc(100% - 2rem); + } + } + + @media (max-width: 768px) { .search-container { - left: 0; + padding: 1rem; + padding-left: 4.5rem; + } + + .search-box { + width: 100%; + } + } + + @media (max-width: 480px) { + .search-container { + padding: 0.75rem; + padding-left: 4rem; /* Keep space for menu icon */ + } + + .search-box { + font-size: 0.9rem; + padding: 0.5rem 0.75rem; + } + + .download-links { + flex-direction: column; + } + + .download-btn { + width: 100%; + } + + .container { + padding: 0.5rem; + } + + .topic-card { + margin: 0 0.5rem; } } @@ -320,20 +390,21 @@ $topics = $subjectData->topics; top: 1rem; left: 1rem; z-index: 60; - background: white; + background: var(--card-bg); border: none; padding: 0.75rem; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); - display: none; + width: 42px; + height: 42px; + display: none; /* Hidden by default */ + align-items: center; + justify-content: center; + color: var(--text-primary); + transition: all 0.3s ease; } - @media (max-width: 1024px) { - .menu-toggle { - display: block; - } - } /* Add floating animation for icons */ @keyframes float { 0%, 100% { transform: translateY(0); } @@ -523,15 +594,6 @@ $topics = $subjectData->topics; Kurse - - Erfolge - - - Fortschritt - - - Hilfe -
@@ -559,13 +621,13 @@ $topics = $subjectData->topics;

Verwandte Themen:

    relatedTopics as $relatedTopic) { - ?> + foreach ($topicData->relatedTopics as $relatedTopic) { + ?> -
  • +
  • -
@@ -574,17 +636,17 @@ $topics = $subjectData->topics;

Übungen herunterladen:

@@ -601,10 +663,101 @@ $topics = $subjectData->topics;