Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d440b98774 | |||
| f1feb4677e | |||
| e7bc5a5709 | |||
| dfb5076032 | |||
| 68b6ecdfc3 | |||
| a3fe501282 | |||
| 1a80d3576f | |||
| 60b6449ecd | |||
| 45924e6cfb | |||
| cd1512eadf | |||
| 71fc4c8184 | |||
| a32b59825e | |||
| 590ff7d916 | |||
| 51093d4995 | |||
| c6e7cdf95c | |||
| d2a4c14c88 | |||
| 9d5a76973b |
+22
-30
@@ -41,38 +41,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="login-page">
|
<main>
|
||||||
<div class="login-container">
|
<div style="width: 50%">
|
||||||
<div class="logo-wrapper">
|
<div style="width: 130px;">
|
||||||
<img src="../images/logo.png" alt="Logo" class="login-logo">
|
<img src="../images/logo.png" alt="" width="120" height="72">
|
||||||
</div>
|
|
||||||
|
|
||||||
<h1>Bitte anmelden</h1>
|
|
||||||
|
|
||||||
<form>
|
|
||||||
<label id ="inputEmail" class="screenreader-only">E-Mail Adresse / </label>
|
|
||||||
|
|
||||||
<p class="input-label">Benutzername/E-Mail-Adresse:</p>
|
|
||||||
<input type="email" name="email" class="login-input" placeholder="E-Mail-Adresse" required autofocus>
|
|
||||||
|
|
||||||
<p class="input-label">Passwort:</p>
|
|
||||||
<input type="password" name="password" class="login-input" placeholder="Passwort" required>
|
|
||||||
|
|
||||||
<div class="checkbox-wrapper">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="remember-me" value="1"> angemeldet bleiben
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button type="submit" value="anmelden" name="loginSubmit" class="login-button">anmelden</button>
|
|
||||||
|
|
||||||
<div class="register-link">
|
|
||||||
<a href="register.php">Noch keinen Account? Jetzt hier registrieren!</a>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
|
||||||
|
|
||||||
|
<h1 style="width: 60%; text-align: center">Bitte anmelden</h1><br>
|
||||||
|
|
||||||
|
<label id="inputEmail" >E-Mail-Adresse / </label>
|
||||||
|
<p style="width: 80%;">Benutzername/E-Mail-Adresse:</p>
|
||||||
|
<input type="email" name="email" style="width: 80%;" placeholder="E-Mail-Adresse" required autofocus>
|
||||||
|
<p style="width: 80%;">Passwort:</p>
|
||||||
|
<input type="password" name="password" style="width: 80%;" placeholder="Passwort" required>
|
||||||
|
<div style="width: 80%;">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="remember-me" value="1"> angemeldet bleiben
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">anmelden</button><br>
|
||||||
|
<div style="width: 70%; text-align: center">
|
||||||
|
<a href="register.php" style="text-align: center;"> Noch keinen Account? Jetzt hier registrieren! </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
<footer style="position:fixed;bottom:0;width:100%;background:#fff;text-align:center;">
|
<footer style="position:fixed;bottom:0;width:100%;background:#fff;text-align:center;">
|
||||||
<a href="../legal/impressum.php">Impressum</a>
|
<a href="../legal/impressum.php">Impressum</a>
|
||||||
<a href="../legal/datenschutz.php">Datenschutz</a>
|
<a href="../legal/datenschutz.php">Datenschutz</a>
|
||||||
|
|||||||
+23
-30
@@ -41,38 +41,31 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="login-page">
|
<main>
|
||||||
<div class="login-container">
|
<div style="width: 50%">
|
||||||
<div class="logo-wrapper">
|
<div style="width: 130px;">
|
||||||
<img src="../images/logo.png" alt="Logo" class="login-logo">
|
<img src="../images/logo.png" alt="" width="120" height="72">
|
||||||
</div>
|
|
||||||
|
|
||||||
<h1>Jetzt Registrieren!</h1>
|
|
||||||
|
|
||||||
<form>
|
|
||||||
<p class="input-label">Email:</p>
|
|
||||||
<input type="email" name="email" class="login-input" placeholder="mustermann@web.de" required>
|
|
||||||
|
|
||||||
<p class="input-label">Vorname:</p>
|
|
||||||
<input type="text" name="vorname" class="login-input" placeholder="Max" required>
|
|
||||||
|
|
||||||
<p class="input-label">Nachname:</p>
|
|
||||||
<input type="text" name="nachname" class="login-input" placeholder="Mustermann" required>
|
|
||||||
|
|
||||||
<p class="input-label">Passwort:</p>
|
|
||||||
<input type="password" name="password" class="login-input" placeholder="Passwort" required>
|
|
||||||
|
|
||||||
<div class="checkbox-wrapper">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" value="remember-me"> angemeldet bleiben
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button type="submit" value="anmelden" name="loginSubmit" class="login-button">kostenlos registrieren</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
|
||||||
|
|
||||||
|
<h1 style="width: 50%; text-align: center">Jetzt Registrieren!</h1><br>
|
||||||
|
|
||||||
|
<p style="width: 80%;"> Email:</p>
|
||||||
|
<input type="email" name="email" style="width: 80%;" placeholder="mustermann@web.de" required>
|
||||||
|
<p style="width: 80%;"> Vorname:</p>
|
||||||
|
<input type="text" name="vorname" style="width: 80%;" placeholder="Max" required>
|
||||||
|
<p style="width: 80%;"> Nachname:</p>
|
||||||
|
<input type="text" name="nachname" style="width: 80%;" placeholder="Mustermann" required>
|
||||||
|
|
||||||
|
<p style="width: 80%;"> Passwort:</p>
|
||||||
|
<input type="password" name="password" style="width: 80%;" placeholder="Passwort" required>
|
||||||
|
<div style="width: 80%;">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" value="remember-me"> angemeldet bleiben
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">kostenlos registrieren</button>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
<footer style="position:fixed;bottom:0;width:100%;background:#fff;text-align:center;">
|
<footer style="position:fixed;bottom:0;width:100%;background:#fff;text-align:center;">
|
||||||
<a href="../legal/impressum.php">Impressum</a>
|
<a href="../legal/impressum.php">Impressum</a>
|
||||||
<a href="../legal/datenschutz.php">Datenschutz</a>
|
<a href="../legal/datenschutz.php">Datenschutz</a>
|
||||||
|
|||||||
+17
-23
@@ -13,28 +13,22 @@
|
|||||||
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no
|
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.
|
sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||||
</p>
|
</p>
|
||||||
|
<div>
|
||||||
<!-- Flexbox -->
|
<a href = "content/informatik.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a> <br>
|
||||||
<div class="flexbox">
|
<div>
|
||||||
<div class="container">
|
<a href="articles/datenschutz.php">Datenschutz vs. Datensicherheit</a>
|
||||||
<a href="content/informatik.php" class="category-link">Informatik</a>
|
</div>
|
||||||
<div class="article-link">
|
</div>
|
||||||
<a href="articles/datenschutz.php">Datenschutz vs. Datensicherheit</a>
|
<div>
|
||||||
</div>
|
<a href = "content/mathe.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Mathe</b></a> <br>
|
||||||
</div>
|
<div>
|
||||||
|
<a href="articles/pythagoras.php">Satz des Pythagoras</a>
|
||||||
<div class="container">
|
</div>
|
||||||
<a href="content/mathe.php" class="category-link">Mathe</a>
|
</div>
|
||||||
<div class="article-link">
|
<div>
|
||||||
<a href="articles/pythagoras.php">Satz des Pythagoras</a>
|
<a href = "content/physik.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</b></a>
|
||||||
</div>
|
<div>
|
||||||
</div>
|
<a href="articles/tunneleffekt.php">Der Tunneleffekt</a>
|
||||||
|
</div>
|
||||||
<div class="container">
|
|
||||||
<a href="content/physik.php" class="category-link">Physik</a>
|
|
||||||
<div class="article-link">
|
|
||||||
<a href="articles/tunneleffekt.php">Der Tunneleffekt</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
+152
-102
@@ -1,129 +1,179 @@
|
|||||||
|
* {
|
||||||
main {
|
box-sizing: border-box;
|
||||||
max-width:1200px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 20px;
|
|
||||||
font-family: Arial;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexbox {
|
/* =========================
|
||||||
display: flex;
|
Farben
|
||||||
flex-direction: column;
|
========================= */
|
||||||
gap: 20px;
|
|
||||||
margin-top: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
:root {
|
||||||
border: 1px solid white;
|
--bg: #eef2f7;
|
||||||
padding: 15px;
|
--white: #ffffff;
|
||||||
border-radius: 8px;
|
|
||||||
background-color: coral;
|
|
||||||
transition: transform 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-link {
|
--nav: #1e293b;
|
||||||
display: block;
|
--nav-hover: #334155;
|
||||||
text-align: left;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 10px;
|
|
||||||
background-color: blue;
|
|
||||||
color: white;
|
|
||||||
border-radius: 4px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.article-link a {
|
--primary: #2563eb;
|
||||||
color: blue;
|
--primary-hover: #1d4ed8;
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
--text: #1e293b;
|
||||||
|
--text-light: #64748b;
|
||||||
|
|
||||||
@media (min-width: 1024px) {
|
--border: #dbe4ee;
|
||||||
.container {
|
|
||||||
padding: 25px;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Seite wird horizontal und vertikal zentriert */
|
/* =========================
|
||||||
.login-page {
|
Body
|
||||||
display: flex;
|
========================= */
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
min-height: 80vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Segoe UI", Arial, sans-serif;
|
||||||
|
background-color: var(--bg);
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
.login-container {
|
/* =========================
|
||||||
width: 90%;
|
Header
|
||||||
max-width: 450px;
|
========================= */
|
||||||
padding: 30px;
|
|
||||||
border: 1px solid white;
|
header {
|
||||||
border-radius: 10px;
|
background-color: var(--nav);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =========================
|
||||||
|
Logo / Bild
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
header img {
|
||||||
|
object-fit: cover;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
border-radius: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.logo-wrapper {
|
/* =========================
|
||||||
text-align: center;
|
Navigation
|
||||||
margin-bottom: 20px;
|
========================= */
|
||||||
}
|
|
||||||
|
|
||||||
.login-logo {
|
nav {
|
||||||
width: 120px;
|
background-color: var(--nav);
|
||||||
height: auto;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.login-container h1 {
|
nav a {
|
||||||
text-align: center;
|
text-decoration: none;
|
||||||
margin-bottom: 25px;
|
color: #f1f5f9;
|
||||||
font-size: 1.5rem;
|
font-weight: 600;
|
||||||
}
|
border-radius: 10px;
|
||||||
|
transition: 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
.input-label {
|
nav a:hover {
|
||||||
margin-bottom: 5px;
|
background-color: var(--nav-hover);
|
||||||
font-weight: bold;
|
color: white;
|
||||||
width: 100%;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.login-input {
|
/* =========================
|
||||||
width: 100%;
|
Suchfeld
|
||||||
padding: 12px;
|
========================= */
|
||||||
margin-bottom: 20px;
|
|
||||||
border: 1px solid white;
|
|
||||||
border-radius: 4px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-wrapper {
|
input[type="text"],
|
||||||
margin-bottom: 20px;
|
input[type="search"] {
|
||||||
}
|
border: 1px solid var(--border);
|
||||||
|
background-color: white;
|
||||||
|
font-size: 1rem;
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.login-button {
|
input:focus {
|
||||||
width: 100%;
|
border-color: var(--primary);
|
||||||
padding: 12px;
|
}
|
||||||
background-color: blue;
|
|
||||||
|
/* =========================
|
||||||
|
Buttons
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
button {
|
||||||
|
background-color: var(--primary);
|
||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
|
||||||
|
|
||||||
.login-button:hover {
|
border-radius: 12px;
|
||||||
background-color: blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
.register-link {
|
transition: 0.25s ease;
|
||||||
margin-top: 20px;
|
}
|
||||||
text-align: center;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Versteckt das doppelte Label fuer Screenreader/Accessibility */
|
/* Hover Bewegung */
|
||||||
.screenreader-only {
|
button:hover {
|
||||||
display: none;
|
background-color: var(--primary-hover);
|
||||||
}
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
/* Klick-Effekt */
|
||||||
background-color: coral;
|
button:active {
|
||||||
}
|
transform: translateY(0px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =========================
|
||||||
|
Hauptinhalt
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
main {
|
||||||
|
background-color: var(--white);
|
||||||
|
border-radius: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =========================
|
||||||
|
Überschriften
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: var(--primary);
|
||||||
|
font-size: 3.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =========================
|
||||||
|
Texte
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
p {
|
||||||
|
color: var(--text-light);
|
||||||
|
line-height: 1.8;
|
||||||
|
font-size: 1.08rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =========================
|
||||||
|
Links
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--primary);
|
||||||
|
transition: 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: var(--primary-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =========================
|
||||||
|
Footer
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
footer {
|
||||||
|
background-color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
footer a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--text-light);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer a:hover {
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user