2024-10-29 21:48:27 +01:00
|
|
|
/* Zentrieren des gesamten Inhalts und Grundfarbgebung */
|
2024-10-29 21:09:13 +01:00
|
|
|
body {
|
2024-10-29 21:48:27 +01:00
|
|
|
font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
|
2024-10-29 21:09:13 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
2024-10-29 21:48:27 +01:00
|
|
|
background-color: #e9ecef;
|
2024-10-29 21:09:13 +01:00
|
|
|
}
|
|
|
|
|
2024-10-29 21:48:27 +01:00
|
|
|
/* Container für zentrales Layout */
|
|
|
|
.container {
|
2024-10-29 21:09:13 +01:00
|
|
|
text-align: center;
|
2024-10-29 21:48:27 +01:00
|
|
|
max-width: 500px;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styling für die Form-Wrapper */
|
|
|
|
.form-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
gap: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Formulare aufhübschen */
|
|
|
|
.form {
|
|
|
|
background: #ffffff;
|
|
|
|
padding: 20px;
|
|
|
|
width: 75%;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
2024-10-29 21:09:13 +01:00
|
|
|
}
|
|
|
|
|
2024-10-29 21:48:27 +01:00
|
|
|
h1 {
|
2024-10-29 21:09:13 +01:00
|
|
|
color: #333;
|
2024-10-29 21:48:27 +01:00
|
|
|
font-size: 1.8rem;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
color: #007bff;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
margin-bottom: 15px;
|
2024-10-29 21:09:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input, button {
|
2024-10-29 21:48:27 +01:00
|
|
|
width: 80%;
|
|
|
|
padding: 12px;
|
2024-10-29 21:09:13 +01:00
|
|
|
margin: 10px 0;
|
2024-10-29 21:48:27 +01:00
|
|
|
border-radius: 5px;
|
2024-10-29 21:09:13 +01:00
|
|
|
border: 1px solid #ddd;
|
2024-10-29 21:48:27 +01:00
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus {
|
|
|
|
outline: none;
|
|
|
|
border-color: #007bff;
|
|
|
|
box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.3);
|
2024-10-29 21:09:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: #007bff;
|
2024-10-29 21:48:27 +01:00
|
|
|
color: #ffffff;
|
|
|
|
border: none;
|
2024-10-29 21:09:13 +01:00
|
|
|
cursor: pointer;
|
2024-10-29 21:48:27 +01:00
|
|
|
transition: background-color 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive Design */
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.form-wrapper {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form {
|
|
|
|
width: 90%;
|
|
|
|
}
|
2024-10-29 21:09:13 +01:00
|
|
|
}
|
2024-10-29 22:06:53 +01:00
|
|
|
|
|
|
|
/* Für die welcome.html Seite */
|
|
|
|
|
|
|
|
/* Grundlayout für den gesamten Body */
|
|
|
|
|
|
|
|
/* Header Layout */
|
|
|
|
.header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 10px 20px;
|
|
|
|
background-color: #ffffff;
|
|
|
|
border-bottom: 2px solid #ddd;
|
|
|
|
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Linksbündiger Willkommenstext */
|
|
|
|
.header-welcome {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
color: #333;
|
|
|
|
margin: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: left;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Benutzerinformationen (zentriert) */
|
|
|
|
.header-user-info {
|
|
|
|
text-align: center;
|
|
|
|
color: #007bff;
|
|
|
|
margin-right: 2%;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Header-Buttons für Admin und Logout (rechts) */
|
|
|
|
.header-buttons {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-btn {
|
|
|
|
background-color: #007bff;
|
|
|
|
color: #ffffff;
|
|
|
|
border: none;
|
|
|
|
width: auto;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 8px 12px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1rem;
|
|
|
|
transition: background-color 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-btn:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Freier Platz für zukünftige Features */
|
|
|
|
main {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|