124 lines
2.6 KiB
CSS
124 lines
2.6 KiB
CSS
|
body {
|
||
|
font-family: 'Roboto', sans-serif;
|
||
|
background-color: #f0f0f0;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
max-width: 100%;
|
||
|
margin: 0 auto;
|
||
|
padding: 0 20px; /* Fügen Sie bei Bedarf seitliche Polsterung hinzu */
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
width: 100%;
|
||
|
border-collapse: collapse;
|
||
|
margin-bottom: 20px;
|
||
|
table-layout: auto;
|
||
|
}
|
||
|
|
||
|
table, th, td {
|
||
|
border: 1px solid black;
|
||
|
}
|
||
|
|
||
|
th, td {
|
||
|
padding: 8px;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
form {
|
||
|
width: 100%;
|
||
|
margin-top: 20px;
|
||
|
max-width: 600px;
|
||
|
}
|
||
|
|
||
|
label {
|
||
|
display: block;
|
||
|
margin-bottom: 8px;
|
||
|
}
|
||
|
|
||
|
|
||
|
h2 {
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
input[type="text"],
|
||
|
input[type="number"] {
|
||
|
width: 300px;
|
||
|
padding: 8px;
|
||
|
border: 1px solid #ccc;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
input[type="submit"] {
|
||
|
padding: 10px 20px;
|
||
|
background-color: #4CAF50;
|
||
|
color: white;
|
||
|
border: none;
|
||
|
border-radius: 5px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
input[type="submit"]:hover {
|
||
|
background-color: #45a049;
|
||
|
}
|
||
|
|
||
|
.table-title {
|
||
|
margin-top: 40px; /* Ändern Sie die Anzahl der Pixel nach Bedarf */
|
||
|
}
|
||
|
|
||
|
/* Neues CSS für das Login-Formular */
|
||
|
.login-container {
|
||
|
max-width: 400px;
|
||
|
margin: 100px auto; /* Zentriert das Login-Feld vertikal und horizontal */
|
||
|
background-color: #ffffff;
|
||
|
padding: 20px;
|
||
|
border-radius: 5px;
|
||
|
border: 1px solid #cccccc; /* Rahmen hinzufügen */
|
||
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||
|
text-align: center; /* Zentriert den Inhalt horizontal */
|
||
|
}
|
||
|
|
||
|
.login-container h2 {
|
||
|
margin-top: 0;
|
||
|
color: #333333;
|
||
|
text-align: center; /* Zentriert den Text horizontal */
|
||
|
}
|
||
|
|
||
|
.login-container form {
|
||
|
text-align: center; /* Zentriert den Inhalt horizontal */
|
||
|
}
|
||
|
|
||
|
.login-form label {
|
||
|
display: block;
|
||
|
margin-bottom: 8px;
|
||
|
color: #555555;
|
||
|
text-align: center; /* Zentriert den Text horizontal */
|
||
|
}
|
||
|
|
||
|
.login-form input[type="text"],
|
||
|
.login-form input[type="password"] {
|
||
|
width: calc(100% - 20px); /* Berücksichtigt den Rahmen */
|
||
|
padding: 10px;
|
||
|
border: 1px solid #cccccc;
|
||
|
border-radius: 5px;
|
||
|
box-sizing: border-box; /* Berücksichtigt die Padding in der Breite */
|
||
|
margin-bottom: 10px; /* Kleiner Abstand nach unten */
|
||
|
}
|
||
|
|
||
|
.login-form input[type="submit"] {
|
||
|
width: calc(100% - 20px); /* Berücksichtigt den Rahmen */
|
||
|
padding: 10px;
|
||
|
background-color: #4CAF50;
|
||
|
color: white;
|
||
|
border: none;
|
||
|
border-radius: 5px;
|
||
|
cursor: pointer;
|
||
|
transition: background-color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.login-form input[type="submit"]:hover {
|
||
|
background-color: #45a049;
|
||
|
}
|