Dateien nach "css" hochladen

This commit is contained in:
M_Viper 2024-02-24 14:07:35 +00:00
parent c575b16a75
commit a288813b79
2 changed files with 233 additions and 0 deletions

46
css/install.css Normal file
View File

@ -0,0 +1,46 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
width: 400px; /* Festgelegte Breite für die Box */
margin: 50px auto; /* Zentriert auf der Seite */
padding: 20px;
border: 1px solid #ccc; /* Rand für die Box */
}
h1, h2 {
color: #333;
}
form {
margin-bottom: 20px;
}
form label {
display: block;
margin-bottom: 5px;
}
form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="submit"] {
padding: 8px;
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
}
form input[type="submit"] {
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
}
form input[type="submit"]:hover {
background-color: #45a049;
}

187
css/style.css Normal file
View File

@ -0,0 +1,187 @@
/* Header CSS */
body {
background-color: aliceblue;
}
.header {
background-color: #333;
color: #fff;
padding: 20px 0;
}
.header-container {
width: 80%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.header h1 {
margin: 0;
}
.header nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.header nav ul li {
display: inline;
margin-right: 20px;
}
.header nav ul li:last-child {
margin-right: 0;
}
.header nav ul li a {
color: #fff;
text-decoration: none;
}
/* Container CSS */
.container {
width: 80%;
margin: 0 auto;
padding: 20px;
background-color: #333;
color: #fff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 40px;
}
.welcome-container {
width: 50%; /* Breite des Containers */
margin: 40px auto; /* Mittige Ausrichtung */
padding: 20px; /* Innenabstand */
background-color: rgb(237, 235, 233); /* Hintergrundfarbe */
border: 2px solid #333; /* Rahmen */
border-radius: 5px; /* Abrundung der Ecken */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Schatten */
text-align: center; /* Text zentrieren */
}
.welcome-container img {
max-width: 100%; /* Bild auf die volle Breite des Containers skalieren */
height: auto;
margin-bottom: 20px;
}
.add-material-box {
width: 60%; /* Breite der Box */
margin: 50px auto; /* Zentrierung der Box */
padding: 10px; /* Innenabstand der Box */
background-color: #fff; /* Hintergrundfarbe der Box */
border-radius: 15px; /* Abrundung der Ecken */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Schatten */
}
.add-material-box h2 {
margin-top: 0; /* Abstand oben aufheben */
}
.form-group {
margin-bottom: 15px; /* Abstand zwischen Formularfeldern */
}
.form-group label {
display: block; /* Label als Blockelement anzeigen */
margin-bottom: 5px; /* Abstand unterhalb des Labels */
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="file"] {
width: calc(100% - 10px); /* Breite der Eingabefelder */
padding: 8px; /* Innenabstand der Eingabefelder */
border: 1px solid #ccc; /* Randstil */
border-radius: 3px; /* Abrundung der Ecken */
}
.form-group input[type="submit"] {
background-color: #007bff; /* Blaue Hintergrundfarbe */
color: white; /* Weiße Textfarbe */
border: none; /* Kein Rand */
padding: 10px 20px; /* Innenabstand des Buttons */
border-radius: 3px; /* Abrundung der Ecken */
cursor: pointer; /* Mauszeiger-Form */
transition: background-color 0.3s ease; /* Animierter Übergang für Hover */
}
.form-group input[type="submit"]:hover {
background-color: #0056b3; /* Dunkleres Blau bei Mouseover */
}
/* Fehlermeldung */
#error-msg {
color: red; /* Rote Schriftfarbe */
}
.submit-button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}
.submit-button:hover {
background-color: #45a049;
}
.table-container {
margin-top: 20px;
}
table {
width: 100%;
border-collapse: collapse;
}
/* Schriftfarbe für Tabellenüberschriften */
th {
color: black; /* Schwarz für Tabellenüberschriften */
background-color: #f2f2f2;
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
/* Standardaussehen für Tabellenzellen */
td {
color: white; /* Weiß für Tabellenzellen */
border-bottom: 1px solid #ddd;
padding: 8px;
text-align: left;
}
/* Hintergrundfarbe und Schriftfarbe der Zeile bei Hover */
tr:hover {
background-color: white; /* Weiße Hintergrundfarbe bei Hover */
}
/* Schriftfarbe der markierten Zeile */
tr:hover td {
color: black; /* Schwarze Schriftfarbe bei Hover */
}
a {
text-decoration: none;
color: black;
}
a:hover {
opacity: 0.6;
}
th,
td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}