74 lines
1.5 KiB
CSS
74 lines
1.5 KiB
CSS
|
/*
|
||
|
Index.css
|
||
|
Description: This file is the stylesheet for the html that the
|
||
|
user will see if they do not have javascript enabled.
|
||
|
Author: Arlo Filley
|
||
|
*/
|
||
|
|
||
|
:root {
|
||
|
--background-color: #000000;
|
||
|
--text-color: yellow;
|
||
|
--font: Verdana, Geneva, Tahoma, sans-serif;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background-color: var(--background-color);
|
||
|
position: absolute;
|
||
|
margin: 0;
|
||
|
font-family: Arial, sans-serif;
|
||
|
}
|
||
|
|
||
|
noscript {
|
||
|
display: block;
|
||
|
text-align: center;
|
||
|
|
||
|
font-family: var(--font);
|
||
|
color: var(--text-color);
|
||
|
font-size: large;
|
||
|
}
|
||
|
|
||
|
#navbar {
|
||
|
background-color: #333; /* Navbar background color */
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
width: 100%;
|
||
|
height: 5%; /* Covering the top 20% of the screen */
|
||
|
z-index: 1000; /* Ensures the navbar is on top of other content */
|
||
|
display: flex;
|
||
|
justify-content: center; /* Center horizontally */
|
||
|
align-items: center; /* Center vertically */
|
||
|
}
|
||
|
|
||
|
#navbar a {
|
||
|
text-decoration: none;
|
||
|
color: #fff; /* Text color */
|
||
|
padding: 0.7% 20px; /* Padding for each link */
|
||
|
}
|
||
|
|
||
|
#navbar a:hover {
|
||
|
background-color: #555; /* Background color on hover */
|
||
|
}
|
||
|
|
||
|
#navbar a.active {
|
||
|
background-color: #555; /* Background color for active link */
|
||
|
}
|
||
|
|
||
|
/* 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;
|
||
|
}
|
||
|
}
|