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