Compare commits

...

5 Commits

Author SHA1 Message Date
rirat-0 4a80d42dda Update main.css
Anpassung der flexbox um inhalte besser zu skalieren
2026-05-26 11:41:11 +02:00
NOrtmann1 ee7986bef3 Update index.php 2026-05-21 21:03:38 +02:00
NOrtmann1 8de1b1bdb5 Update index.php 2026-05-21 21:02:46 +02:00
NOrtmann1 4a663391ef Update navbar.css 2026-05-21 21:00:20 +02:00
niklas.ortmann 4cd877ea4c Merge pull request 'PHP: Dynamischer Content' (#8) from PHP_DynamischerContent into dev
Reviewed-on: #8
2026-05-21 20:57:26 +02:00
3 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -17,7 +17,8 @@ a, button, input, select, textarea, label, main{
.flexbox {
display: flex;
flex-direction: column;
flex-direction: row;
flex-wrap: wrap;
gap: 20px;
margin-top: 30px;
}
@@ -29,6 +30,7 @@ a, button, input, select, textarea, label, main{
border: 1px solid #dbe3ec;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: transform 0.2s, box-shadow 0.2s;
flex: 1 1 300px;
}
.container:hover {
+2 -2
View File
@@ -149,8 +149,8 @@ CSS für die navbar
display: none;
}
/* Responsive Anpassungen unter 660px (für z.B. Smartphones) */
@media (max-width: 660px) {
/* Responsive Anpassungen unter 760px (für z.B. Smartphones) */
@media (max-width: 760px) {
.nav {
flex-direction: row;
flex-wrap: wrap;
+3 -3
View File
@@ -1,6 +1,6 @@
<!--
Seite: Hompage der Lernplattform
Funktion: Webseitengerüst, Anzeigen von Beiträgen, Suchfunktion etc.
Seite: Index der Lernplattform
Funktion: Webseitengerüst, Anzeigen von Content
-->
<!DOCTYPE html>
<html lang="de">
@@ -22,7 +22,7 @@
<?php
include_once 'includes/navbar.php';
//Dynamischer Inhalt (später mit php...):
//Dynamischer Inhalt:
if (isset($_GET["pfad"])) {
if (file_exists('content/' . $_GET["pfad"] . '.php')) {
include_once 'content/' . $_GET["pfad"] . '.php';