From d7e5df2a95b5490f65119076bb5c94cb722dee19 Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Thu, 9 May 2024 16:52:13 +0200 Subject: [PATCH] tables --- web/static/style.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/web/static/style.css b/web/static/style.css index 8ed2129..f91e38f 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -65,6 +65,12 @@ input[type='submit'].secondary:focus { background-color: rgba(93, 107, 137, 0.25); } +/* for checkboxes */ +label > input { + display: inherit; + width: initial; +} + /* from pico.css */ mark { padding: 0.125rem 0.25rem; @@ -128,6 +134,18 @@ pre { white-space: pre-wrap; } +table { + width: 100%; +} + +th { + border-bottom: solid #888 1px; +} + +tr:nth-child(2n) { + background: #f0f0f1; +} + .header { display: flex; flex-flow: row; @@ -266,4 +284,4 @@ nav.row { height: 100%; aspect-ratio: 1 / 1; object-fit: cover; -} \ No newline at end of file +}