57 lines
984 B
CSS
57 lines
984 B
CSS
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
table {
|
||
|
width: 60%;
|
||
|
border-collapse: collapse;
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
th, td {
|
||
|
border: 1px solid #ddd;
|
||
|
text-align: left;
|
||
|
padding: 8px;
|
||
|
}
|
||
|
th {
|
||
|
background-color: #f2f2f2;
|
||
|
}
|
||
|
tr:nth-child(even) {
|
||
|
background-color: #f9f9f9;
|
||
|
}
|
||
|
.refresh-button {
|
||
|
cursor: pointer;
|
||
|
border: none;
|
||
|
background-color: transparent;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
color: #4CAF50;
|
||
|
}
|
||
|
|
||
|
.refresh-button:hover {
|
||
|
transform: rotate(90deg);
|
||
|
}
|
||
|
|
||
|
/* Dark Mode styles */
|
||
|
@media (prefers-color-scheme: dark) {
|
||
|
body {
|
||
|
background-color: #121212;
|
||
|
color: #e0e0e0;
|
||
|
}
|
||
|
table {
|
||
|
border-color: #424242;
|
||
|
}
|
||
|
th {
|
||
|
background-color: #333;
|
||
|
}
|
||
|
tr:nth-child(even) {
|
||
|
background-color: #2a2a2a;
|
||
|
}
|
||
|
.refresh-icon {
|
||
|
fill: #90caf9;
|
||
|
}
|
||
|
}
|