Compare commits

..

4 Commits

Author SHA1 Message Date
c1be07780f Merge pull request '[i222] fix css' (#224) from i222-fix-css into main
Reviewed-on: #224
2024-10-20 15:26:27 +00:00
dcea8a374b
Set minimum height of host table avatar column 2024-10-20 10:33:10 -04:00
5cfb37cae2
Allow horizontal scroll on small screens for tables
This is applied to the .hosts and #t01 tables only
2024-10-20 10:18:20 -04:00
85258d03ba
Alternate background color for rows of table#t01 2024-10-20 10:14:47 -04:00

View File

@ -270,6 +270,12 @@ pre {
padding: 0.5rem
}
code {
background: #eee;
border-radius: 0.2rem;
font-size: 0.95rem;
}
pre code {
padding-right: 0.5rem;
font-size: 0.85rem;
@ -291,11 +297,24 @@ table.hosts {
}
table#t01,
table.hosts {
display: block;
overflow-x: auto;
}
table#t01 tbody,
table.hosts tbody {
display: table;
}
table#t01 tr:nth-child(even),
table.hosts tr:nth-child(even) {
background-color: #cccccc;
border-bottom: thick solid white;
}
table#t01 tr:nth-child(odd),
table.hosts tr:nth-child(odd) {
background-color: white;
border-bottom: thick solid white;
@ -311,6 +330,7 @@ table.hosts td:first-child {
min-width: 60px;
max-width: 80px;
text-align: left;
height: 62px;
}
table.hosts th:nth-child(2),
@ -436,6 +456,10 @@ fieldset>input {
clear: right;
}
table.hosts td:first-child {
height: 80px;
}
footer #more_info nav.column {
clear: none;
float: left;
@ -491,4 +515,4 @@ fieldset>input {
fieldset>table td input[type="radio"] {
margin-top: 1.5rem;
}
}
}