From 43f0c78b3de1b512e0551164164c3e55b3dfb492 Mon Sep 17 00:00:00 2001
From: rirat-0
Date: Tue, 12 May 2026 14:19:57 +0200
Subject: [PATCH] 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.
-
-
-
-
Physik
-
+
+
+
\ 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