Skip to content

Commit 6458ce1

Browse files
committed
Füge Link zu Unterrichtsseite in mehrere HTML-Dateien hinzu und aktualisiere CSS-Variablen für Schwierigkeitsgrade
1 parent 813e4f2 commit 6458ce1

7 files changed

Lines changed: 322 additions & 29 deletions

File tree

project/ai-test.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,9 @@
364364
<a href="/html.html">HTML Tutorial</a>
365365
<a href="/css.html">CSS Tutorial</a>
366366
<a href="/aufgaben.html">Aufgaben</a>
367-
<a href="/quiz.html">Quiz</a>
368-
<a href="/ai-test.html" aria-current="page">AI Test</a>
367+
<a href="/quiz.html">Quiz</a>
368+
<a href="/ai-test.html" aria-current="page">AI Test</a>
369+
<a href="/unterricht.html">Unterricht</a>
369370
</nav>
370371

371372
<main>

project/aufgaben.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
<a href="/aufgaben.html" aria-current="page">Aufgaben</a>
185185
<a href="/quiz.html">Quiz</a>
186186
<a href="/ai-test.html">AI Test</a>
187+
<a href="/unterricht.html">Unterricht</a>
187188
</nav>
188189

189190
<main>

project/css.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
<a href="/aufgaben.html">Aufgaben</a>
166166
<a href="/quiz.html">Quiz</a>
167167
<a href="/ai-test.html">AI Test</a>
168+
<a href="/unterricht.html">Unterricht</a>
168169
</nav>
169170

170171
<main>

project/html.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
<a href="/aufgaben.html">Aufgaben</a>
123123
<a href="/quiz.html">Quiz</a>
124124
<a href="/ai-test.html">AI Test</a>
125+
<a href="/unterricht.html">Unterricht</a>
125126
</nav>
126127

127128
<main>

project/quiz.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@
439439
<a href="/aufgaben.html">Aufgaben</a>
440440
<a href="/quiz.html" aria-current="page">Quiz</a>
441441
<a href="/ai-test.html">AI Test</a>
442+
<a href="/unterricht.html">Unterricht</a>
442443
</nav>
443444

444445
<div class="page-container">

project/styles.css

Lines changed: 41 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
--shadow-color: rgba(0,0,0,0.05);
1515
--code-bg: #2d3748;
1616
--code-text: #e2e8f0;
17+
/* Difficulty Colors */
18+
--easy-bg: #e6ffe6;
19+
--easy-text: #006600;
20+
--medium-bg: #fff3e6;
21+
--medium-text: #cc6600;
22+
--hard-bg: #ffe6e6;
23+
--hard-text: #cc0000;
1724
}
1825

1926
/* Dark Theme */
@@ -28,6 +35,13 @@
2835
--shadow-color: rgba(0,0,0,0.15);
2936
--code-bg: #0d1016;
3037
--code-text: #f9fafb;
38+
/* Difficulty Colors */
39+
--easy-bg: rgba(40, 167, 69, 0.2);
40+
--easy-text: #50c878;
41+
--medium-bg: rgba(255, 165, 0, 0.2);
42+
--medium-text: #ffa500;
43+
--hard-bg: rgba(220, 53, 69, 0.2);
44+
--hard-text: #ff6b6b;
3145
}
3246

3347
/* Zusätzliche Dark Theme Anpassungen */
@@ -224,7 +238,7 @@ ul, ol {
224238

225239
li {
226240
margin-bottom: 0.5rem;
227-
color: #d693b2;
241+
color: var(--text-secondary);
228242
}
229243

230244
/* Feature Cards */
@@ -270,15 +284,15 @@ li {
270284
content: "→";
271285
position: absolute;
272286
left: 0;
273-
color: #4a90e2;
287+
color: var(--accent-color);
274288
}
275289

276290
/* Buttons */
277291
.button {
278292
display: inline-block;
279293
padding: 0.8rem 1.5rem;
280-
background: #4a90e2;
281-
color: white;
294+
background: var(--accent-color);
295+
color: var(--bg-secondary);
282296
border-radius: 8px;
283297
font-weight: 500;
284298
transition: all 0.3s ease;
@@ -287,7 +301,7 @@ li {
287301
}
288302

289303
.button:hover {
290-
background: #357abd;
304+
background: var(--accent-hover);
291305
transform: translateY(-2px);
292306
}
293307

@@ -387,7 +401,7 @@ code {
387401

388402
.intro p {
389403
font-size: 1.1em;
390-
color: #4a5568;
404+
color: var(--text-secondary);
391405
}
392406

393407
/* Responsive Design */
@@ -437,17 +451,17 @@ code {
437451
}
438452

439453
.task-card {
440-
background: white;
454+
background: var(--bg-secondary);
441455
border-radius: 12px;
442456
padding: 25px;
443-
box-shadow: 0 4px 6px rgba(0,0,0,0.05);
444-
border: 1px solid #e2e8f0;
457+
box-shadow: 0 4px 6px var(--shadow-color);
458+
border: 1px solid var(--border-color);
445459
transition: all 0.3s ease;
446460
}
447461

448462
.task-card:hover {
449463
transform: translateY(-5px);
450-
box-shadow: 0 8px 15px rgba(0,0,0,0.1);
464+
box-shadow: 0 8px 15px var(--shadow-color);
451465
}
452466

453467
.task-header {
@@ -458,8 +472,8 @@ code {
458472
}
459473

460474
.task-number {
461-
background: #4a90e2;
462-
color: white;
475+
background: var(--accent-color);
476+
color: var(--bg-secondary);
463477
width: 35px;
464478
height: 35px;
465479
border-radius: 50%;
@@ -473,12 +487,12 @@ code {
473487
.task-title {
474488
font-size: 1.3em;
475489
margin: 0;
476-
color: #2d3748;
490+
color: var(--text-primary);
477491
flex-grow: 1;
478492
}
479493

480494
.task-description {
481-
color: #4a5568;
495+
color: var(--text-secondary);
482496
margin-bottom: 20px;
483497
line-height: 1.6;
484498
}
@@ -493,24 +507,24 @@ code {
493507
margin-bottom: 12px;
494508
padding-left: 25px;
495509
position: relative;
496-
color: #4a5568;
510+
color: var(--text-secondary);
497511
}
498512

499513
.task-steps li::before {
500514
content: "→";
501515
position: absolute;
502516
left: 0;
503-
color: #4a90e2;
517+
color: var(--accent-color);
504518
}
505519

506520
.task-hint {
507-
background: #f8fafc;
521+
background: var(--bg-primary);
508522
padding: 15px 20px;
509-
border-left: 4px solid #4a90e2;
523+
border-left: 4px solid var(--accent-color);
510524
border-radius: 0 8px 8px 0;
511525
margin-top: 20px;
512526
font-size: 0.95em;
513-
color: #4a5568;
527+
color: var(--text-secondary);
514528
}
515529

516530
.difficulty {
@@ -521,33 +535,33 @@ code {
521535
}
522536

523537
.easy {
524-
background: #e6ffe6;
525-
color: #006600;
538+
background: var(--easy-bg);
539+
color: var(--easy-text);
526540
}
527541

528542
.medium {
529-
background: #fff3e6;
530-
color: #cc6600;
543+
background: var(--medium-bg);
544+
color: var(--medium-text);
531545
}
532546

533547
.hard {
534-
background: #ffe6e6;
535-
color: #cc0000;
548+
background: var(--hard-bg);
549+
color: var(--hard-text);
536550
}
537551

538552
.example-link {
539553
display: inline-flex;
540554
align-items: center;
541555
margin-top: 15px;
542-
color: #4a90e2;
556+
color: var(--accent-color);
543557
text-decoration: none;
544558
font-weight: 600;
545559
transition: all 0.3s ease;
546560
gap: 8px;
547561
}
548562

549563
.example-link:hover {
550-
color: #357abd;
564+
color: var(--accent-hover);
551565
transform: translateX(5px);
552566
}
553567

0 commit comments

Comments
 (0)