frontend: add some styling

This commit is contained in:
tylen
2025-10-30 22:25:48 +02:00
parent 98175ede85
commit 923adfc7dc
2 changed files with 1 additions and 79 deletions

View File

@@ -1,15 +1,9 @@
#root {
width: 100%;
max-width: 1280px;
min-width: 375px;
margin: 0 auto;
text-align: center;
}
.mainText {
color: #5f5e5e;
}
/* General table styles */
table {
width: 100%;
@@ -23,13 +17,11 @@ table {
th {
background-color: #4CAF50; /* Green */
color: white;
padding: 10px;
text-align: left;
}
/* Table cell styles */
td {
padding: 10px;
border: 1px solid #ddd;
}
@@ -38,25 +30,6 @@ tr:nth-child(even) {
background-color: #f2f2f2;
}
/* Responsive table styles */
@media (max-width: 600px) {
table {
display: block;
overflow-x: auto;
white-space: nowrap;
}
th, td {
padding: 8px;
font-size: 0.9em;
}
th {
font-weight: bold;
background-color: #3C8A3C;
}
}
/* Hover effect for rows */
tr:hover {
background-color: #f1f1f1;