redid some styling

This commit is contained in:
rain
2023-05-24 23:30:39 -05:00
parent 28e77c84e0
commit 6b4da5d51a
2 changed files with 44 additions and 24 deletions
+43 -23
View File
@@ -1,38 +1,39 @@
body{ body{
background-color: black; background-color: black;
color: black; color: black;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
text-align:center; text-align:center;
margin:2% 5% 0 5%; margin:2% 5% 0 5%;
} }
h2{ h2{
color:gray; color:gray;
padding-bottom:0; padding-bottom:0;
} }
#scan-table{ #scan-table{
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
th{ th{
padding:5px; padding:5px;
} }
tr{ tr{
border:1px solid white; border:1px solid white;
background-color: #E8EDFF; background-color: #E8EDFF;
} }
td{ td{
padding:5px; padding:5px;
font-size:1vw;
} }
tr td:last-child{ tr td:last-child{
text-align: left; text-align: left;
} }
.table-header{ .table-header{
border-bottom:10px solid white; border-bottom:10px solid white;
font-weight: bold; font-weight: bold;
background-color: #B9C9FE; background-color: #B9C9FE;
} }
@@ -46,20 +47,39 @@ tbody tr.active td {
} }
table tr:last-child td:first-child { table tr:last-child td:first-child {
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
} }
table tr:first-child th:first-child { table tr:first-child th:first-child {
border-top-left-radius: 10px; border-top-left-radius: 10px;
} }
table tr:last-child td:last-child { table tr:last-child td:last-child {
border-bottom-right-radius: 10px; border-bottom-right-radius: 10px;
} }
table tr:first-child th:last-child { table tr:first-child th:last-child {
border-top-right-radius: 10px; border-top-right-radius: 10px;
} }
a:hover, a:link, a:visited, a:active{ a:hover, a:link, a:visited, a:active{
color:gray; color:gray;
text-decoration:none; text-decoration:none;
}
input[type=text]{
background: transparent;
border: 0;
width: 100%;
height: 100%;
text-align: center;
font-size:1.2vw;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: black;
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: black;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: black;
} }
+1 -1
View File
@@ -20,7 +20,7 @@
{% for target in targets %} {% for target in targets %}
<tr> <tr>
<td class='{{target.os|lower}}'><img onerror="this.onerror=null;this.src='static/media/unsure.png';" src='static/media/{{target.os|lower}}.png'></td> <td class='{{target.os|lower}}'><img onerror="this.onerror=null;this.src='static/media/unsure.png';" title="{{target.os}}" alt="{{target.os}}" src='static/media/{{target.os|lower}}.png'></td>
<td>{{ target.hostname }}</td> <td>{{ target.hostname }}</td>
<td>{{ target.address }}</td> <td>{{ target.address }}</td>
<td>{{ target.ports[1:-1]|replace('|', ', ') }}</td> <td>{{ target.ports[1:-1]|replace('|', ', ') }}</td>