Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a2daded6b3 | |||
| 193e526e67 | |||
| f77643af44 | |||
| 9e900a3436 | |||
| 75988ffe71 | |||
| cb1f3f0d07 | |||
| 4d8017aa2b | |||
| ee7986bef3 | |||
| 8de1b1bdb5 | |||
| 4a663391ef | |||
| 4cd877ea4c |
@@ -10,10 +10,10 @@
|
||||
<meta name="description" content="EduForge">
|
||||
<meta name="author" content="Niklas Ortmann">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" type="image/x-icon" href="images/logos/logo_icon.ico">
|
||||
<link rel="stylesheet" href="css/main.css">
|
||||
<link rel="stylesheet" href="css/navbar.css">
|
||||
<link rel="stylesheet" href="css/footer.css">
|
||||
<link rel="icon" type="image/x-icon" href="../images/logos/logo_icon.ico">
|
||||
<link rel="stylesheet" href="../css/main.css">
|
||||
<link rel="stylesheet" href="../css/navbar.css">
|
||||
<link rel="stylesheet" href="../css/footer.css">
|
||||
<title>EduForge</title>
|
||||
</head>
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/* Footer‑Grundlayout */
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background: #333d43;
|
||||
text-align: center;
|
||||
|
||||
@@ -3,12 +3,19 @@ main {
|
||||
max-width:1200px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #eef2f7;
|
||||
color: #1f2937;
|
||||
margin: 0;
|
||||
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto; /* Header(auto), Inhalt (bekommt Rest), Footer(auto) */
|
||||
}
|
||||
|
||||
a, button, input, select, textarea, label, main{
|
||||
|
||||
+2
-2
@@ -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
@@ -1,5 +1,5 @@
|
||||
<footer>
|
||||
<a href="impressum.php">Impressum</a>
|
||||
<a href="datenschutz.php">Datenschutz</a>
|
||||
<a href="nutzungsbedingungen.php">Nutzungsbedingungen</a>
|
||||
<a href="index.php?pfad=impressum">Impressum</a>
|
||||
<a href="index.php?pfad=datenschutz">Datenschutz</a>
|
||||
<a href="index.php?pfad=nutzungsbedingungen">Nutzungsbedingungen</a>
|
||||
</footer>
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user