From 43f0c78b3de1b512e0551164164c3e55b3dfb492 Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Tue, 12 May 2026 14:19:57 +0200 Subject: [PATCH 1/7] Napassung von home.php und der main.css fuer responsive design --- content/home.php | 40 +++++++++++++++++++++++----------------- css/main.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 17 deletions(-) diff --git a/content/home.php b/content/home.php index f862a98..6e199ec 100644 --- a/content/home.php +++ b/content/home.php @@ -13,22 +13,28 @@ sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

-
- Informatik
-
- Datenschutz vs. Datensicherheit -
-
-
- Mathe
-
- Satz des Pythagoras -
-
-
- Physik -
- Der Tunneleffekt -
+ + + \ No newline at end of file diff --git a/css/main.css b/css/main.css index c9f08fb..4356059 100644 --- a/css/main.css +++ b/css/main.css @@ -1,3 +1,50 @@ +/** Standard Layout */ +main { + max-width:1200px; + margin: 0 auto; + padding: 20px; + font-family: Arial; +} + +.flexbox { + display: flex; + flex-direction: column; + gap: 20px; + margin-top: 30px; +} + +.container { + border: 1px solid #ddd; + padding: 15px; + border-radius: 8px; + background-color: #f9f9f9; + transition: transform 0.2s; +} + +.category-link { + display: block; + text-align: center; + text-decoration: none; + font-weight: none; + padding: 10px; + background-color: #007bff; + color: white; + border-radius: 4px; + margin-bottom: 10px; +} + +.article-link a { + color: orange; + text-decoration: none; +} + +/** Anpassung fuer grosse Monitore */ +@media (min-width: 1024px) { + .container { + padding 25px + } +} + body { background-color: coral; } \ No newline at end of file -- 2.47.3 From b81216cef151be5361ac4e4b90eaea3b5833ff12 Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Tue, 12 May 2026 18:03:37 +0200 Subject: [PATCH 2/7] kleine fehler und farbe behoben --- content/home.php | 2 +- css/main.css | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/home.php b/content/home.php index 6e199ec..fd035f5 100644 --- a/content/home.php +++ b/content/home.php @@ -32,7 +32,7 @@
Physik - diff --git a/css/main.css b/css/main.css index 4356059..0721741 100644 --- a/css/main.css +++ b/css/main.css @@ -14,27 +14,27 @@ main { } .container { - border: 1px solid #ddd; + border: 1px solid white; padding: 15px; border-radius: 8px; - background-color: #f9f9f9; + background-color: coral; transition: transform 0.2s; } .category-link { display: block; - text-align: center; + text-align: left; text-decoration: none; font-weight: none; padding: 10px; - background-color: #007bff; + background-color: blue; color: white; border-radius: 4px; margin-bottom: 10px; } .article-link a { - color: orange; + color: blue; text-decoration: none; } -- 2.47.3 From 9375ab90b04796613a8cb46a996501e050b65b3e Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Wed, 13 May 2026 12:04:55 +0200 Subject: [PATCH 3/7] update der login seite --- auth/login.php | 47 +++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/auth/login.php b/auth/login.php index 9dba584..45f21ad 100644 --- a/auth/login.php +++ b/auth/login.php @@ -41,29 +41,36 @@
-
-
-
- -
+
+
Impressum -- 2.47.3 From 012e3b8b9b35185ecbfc39edbc63df20effd5607 Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Wed, 13 May 2026 12:39:11 +0200 Subject: [PATCH 4/7] update css fuer login seite --- css/main.css | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 77 insertions(+), 3 deletions(-) diff --git a/css/main.css b/css/main.css index 0721741..8c0867e 100644 --- a/css/main.css +++ b/css/main.css @@ -1,4 +1,4 @@ -/** Standard Layout */ + main { max-width:1200px; margin: 0 auto; @@ -38,13 +38,87 @@ main { text-decoration: none; } -/** Anpassung fuer grosse Monitore */ + @media (min-width: 1024px) { .container { - padding 25px + padding: 25px; } } +.login-page { + display: flex; + justify-content: center; + align-items: center; + min-height: 80vh; +} + + +.login-container { + width: 90%; + max-width: 450px; + padding: 30px; + border: 1px solid white; + border-radius: 10px; + background-color: white; + /** box-shadow: 0 4px 10px rgba(0,0,0,0.05); */ +} + +.logo-wrapper { + text-align: center; + margin-bottom: 20px; +} + +.login-logo { + width: 120px; + height: auto; +} + +.login-container h1 { + text-align: center; + margin-bottom: 25px; + font-size: 1.5rem; +} + +.input-label { + margin-bottom: 5px; + font-weight: bold; + width: 100%; +} + +.login-input { + width: 100%; + padding: 12px; + margin-bottom: 20px; + border: 1px solid white; + border-radius: 4px; + box-sizing: border-box; +} + +.checkbox-wrapper { + margin-bottom: 20px; +} + +.login-button { + width: 100%; + padding: 12px; + background-color: blue; + color: white; + border: none; + border-radius: 4px; + font-size: 1rem; + cursor: pointer; +} + +.login-button:hover { + background-color: blue; +} + +.register-link { + margin-top: 20px; + text-align: center; + font-size: 0.9rem; +} + body { background-color: coral; } \ No newline at end of file -- 2.47.3 From 6abc244be7f930bc96a164f0775b9903266d5b8e Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Wed, 13 May 2026 12:48:35 +0200 Subject: [PATCH 5/7] anpassung der login seite und main css fuer accessibility --- auth/login.php | 5 +++-- css/main.css | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/auth/login.php b/auth/login.php index 45f21ad..735bdd9 100644 --- a/auth/login.php +++ b/auth/login.php @@ -50,8 +50,8 @@

Bitte anmelden

- - + +

Benutzername/E-Mail-Adresse:

@@ -72,6 +72,7 @@
+
Impressum Datenschutz diff --git a/css/main.css b/css/main.css index 8c0867e..2376dea 100644 --- a/css/main.css +++ b/css/main.css @@ -45,6 +45,7 @@ main { } } +/* Seite wird horizontal und vertikal zentriert */ .login-page { display: flex; justify-content: center; @@ -60,7 +61,6 @@ main { border: 1px solid white; border-radius: 10px; background-color: white; - /** box-shadow: 0 4px 10px rgba(0,0,0,0.05); */ } .logo-wrapper { @@ -119,6 +119,11 @@ main { font-size: 0.9rem; } +/* Versteckt das doppelte Label fuer Screenreader/Accessibility */ +.screenreader-only { + display: none; +} + body { background-color: coral; } \ No newline at end of file -- 2.47.3 From 33b028375825b28ade1b3d8c7aca01d944b2f6f7 Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Wed, 13 May 2026 13:27:23 +0200 Subject: [PATCH 6/7] update der register seite --- auth/register.php | 53 +++++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/auth/register.php b/auth/register.php index d154634..67faab5 100644 --- a/auth/register.php +++ b/auth/register.php @@ -41,31 +41,38 @@
-
-
-
- +
+ - -

Jetzt Registrieren!


- -

Email:

- -

Vorname:

- -

Nachname:

- - -

Passwort:

- -
- -
- -
+