Compare commits

..

3 Commits

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