webinterface/client/css/styles.css
2024-10-29 21:48:27 +01:00

85 lines
1.4 KiB
CSS

/* Zentrieren des gesamten Inhalts und Grundfarbgebung */
body {
font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #e9ecef;
}
/* Container für zentrales Layout */
.container {
text-align: center;
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);
}
h1 {
color: #333;
font-size: 1.8rem;
margin-bottom: 10px;
}
h2 {
color: #007bff;
font-size: 1.5rem;
margin-bottom: 15px;
}
input, button {
width: 80%;
padding: 12px;
margin: 10px 0;
border-radius: 5px;
border: 1px solid #ddd;
font-size: 1rem;
}
input:focus {
outline: none;
border-color: #007bff;
box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.3);
}
button {
background-color: #007bff;
color: #ffffff;
border: none;
cursor: pointer;
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%;
}
}