This commit is contained in:
2026-02-04 17:56:29 -05:00
parent c88c9bbeea
commit 050db847ca
6 changed files with 114 additions and 10 deletions
@@ -1,8 +1,101 @@
table {
border: 2px solid black;
/* Full disclosure, I am really bad at styling. Just not the creative type... */
/* Body and other basic elements styling */
body {
background-color: gray;
font-family: 'Courier New', Courier, monospace;
padding: 0;
margin: 0;
}
h1 {
text-align: center;
}
/* Nav styling */
nav ul {
list-style: none;
display: flex;
padding: 0;
margin: 0;
justify-content: center;
gap: 15px;
}
nav a {
text-decoration: none;
}
/* Inputs styling */
fieldset input {
max-width: 120px;
padding: 3px 5px;
margin-right: 5px;
}
/* Button styling */
button {
background-color: lime;
font-weight: bold;
padding: 5px 10px;
cursor: pointer;
border: 1px solid black;
transition: background-color 0.2;
}
button:hover {
background-color: #a6ff00;
}
#resetFilterBtn {
background-color: red;
}
#resetFilterBtn:hover {
background-color: #ff5555;
}
#downloadBtn{
display: block;
margin: 10px auto;
}
/* Fieldset legend and table captions */
legend, caption {
font-weight: bold;
}
/* Table Styling */
table {
border: 2px solid black;
background-color: white;
margin: 0px auto;
border-collapse: collapse;
width: 90%;
max-width: 1200px;
}
table td, table th {
border: 2px solid black;
padding: 6px 10px;
text-align: center;
}
table th {
background-color: #f0f0f0;
}
table tr:nth-child(even) { /* Make every even row a different colour */
background-color: #f9f9f9;
}
table tr:hover {
background-color: #e0e0e0;
}
/* Map Styling */
#map {
height: 720px;
width: 100%;
border: 2px solid black;
height: 700px;
width: 90%;
margin: 20px auto;
}