From b035a591a3de2afa6a20f0d34ad872c55b5dd6ff Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Sat, 29 Jun 2024 13:50:36 +0200 Subject: [PATCH] Style `itemlist` with item-wide anchor --- byceps/static/style/common.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/byceps/static/style/common.css b/byceps/static/style/common.css index 02eea169a..481bfbd8b 100644 --- a/byceps/static/style/common.css +++ b/byceps/static/style/common.css @@ -402,6 +402,19 @@ ol.itemlist > li:not(:first-child) { border-top: var(--itemlist-border-color) solid 1px; } +ol.itemlist.is-linked > li { + padding: 0; +} + +ol.itemlist.is-linked > li > a { + display: block; + padding: var(--item-padding-vertical) var(--item-padding-horizontal); +} + +ol.itemlist.is-linked > li > a:hover { + background-color: #eeeeee; +} + ol.itemlist.is-wide { width: 100%; } -- 2.45.2