Redid styles and colors to be more appealing

This commit is contained in:
rain
2023-05-25 00:23:55 -05:00
parent 6b4da5d51a
commit f43dd2a7d8
2 changed files with 56 additions and 30 deletions
+55 -29
View File
@@ -1,6 +1,15 @@
:root {
--accent-color: #105E26;
--dark-accent-color: #105E26;
--header-text: #ffffff;
--odd-color: #252728;
--even-color: #2f3133;
--active-color: #e2d0a2;
}
body{
background-color: black;
color: black;
color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
text-align:center;
margin:2% 5% 0 5%;
@@ -11,21 +20,48 @@ h2{
padding-bottom:0;
}
#scan-table{
.scan-table {
border-collapse: collapse;
margin: 25px 0;
font-size: 1.2em;
min-width: 400px;
border-radius: 5px 5px 0 0;
overflow: hidden;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
width: 100%;
height: 100%;
}
th{
padding:5px;
.scan-table thead tr {
background-color: var(--accent-color);
color: var(--header-text);
font-weight: bold;
}
tr{
border:1px solid white;
background-color: #E8EDFF;
.scan-table th,
.scan-table td {
padding: 12px 15px;
}
td{
padding:5px;
font-size:1vw;
tbody {
background-color: var(--odd-color);
}
tbody tr {
border-bottom: 1px solid #dddddd;
}
tbody tr:nth-of-type(even) {
background-color: var(--even-color);
}
tbody tr:nth-of-type(odd) {
background-color: var(--odd-color);
}
tbody tr:last-of-type {
border-bottom: 2px solid var(--dark-accent-color);
}
tr td:first-child{
background-color: var(--dark-accent-color);
width:1px;
}
tr td:last-child{
text-align: left;
@@ -39,25 +75,14 @@ tr td:last-child{
tbody tr:hover td {
background-color: #FFEFC6;
font-weight: bold;
color: var(--accent-color);
cursor: pointer;
}
tbody tr.active td {
background-color: #FFEFC6;
}
table tr:last-child td:first-child {
border-bottom-left-radius: 10px;
}
table tr:first-child th:first-child {
border-top-left-radius: 10px;
}
table tr:last-child td:last-child {
border-bottom-right-radius: 10px;
}
table tr:first-child th:last-child {
border-top-right-radius: 10px;
background-color: var(--active-color);
font-weight: bold;
color: var(--accent-color);
}
a:hover, a:link, a:visited, a:active{
@@ -67,6 +92,7 @@ a:hover, a:link, a:visited, a:active{
input[type=text]{
background: transparent;
color: var(--header-text);
border: 0;
width: 100%;
height: 100%;
@@ -74,12 +100,12 @@ input[type=text]{
font-size:1.2vw;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: black;
color: var(--header-text);
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: black;
color: var(--header-text);
}
::-ms-input-placeholder { /* Microsoft Edge */
color: black;
color: var(--header-text);
}