From 85258d03ba8187d1fdb4c1d90fdb1e7f130f9fc2 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 20 Oct 2024 10:14:47 -0400 Subject: [PATCH 1/3] Alternate background color for rows of table#t01 --- public_html/css/hpr.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index 10f155c..f68e153 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -291,11 +291,13 @@ table.hosts { } +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; From 5cfb37cae2a961547d013dd14b99b8fa15400ed7 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 20 Oct 2024 10:18:20 -0400 Subject: [PATCH 2/3] Allow horizontal scroll on small screens for tables This is applied to the .hosts and #t01 tables only --- public_html/css/hpr.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index f68e153..f302b17 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -291,6 +291,17 @@ 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; From dcea8a374b82f62fc57c9d7524d4254bd8da8225 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 20 Oct 2024 10:33:10 -0400 Subject: [PATCH 3/3] Set minimum height of host table avatar column --- public_html/css/hpr.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index f302b17..d979989 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -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; @@ -324,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), @@ -449,6 +456,10 @@ fieldset>input { clear: right; } + table.hosts td:first-child { + height: 80px; + } + footer #more_info nav.column { clear: none; float: left; @@ -504,4 +515,4 @@ fieldset>input { fieldset>table td input[type="radio"] { margin-top: 1.5rem; } -} \ No newline at end of file +}