From e0a128ddc201433d9c45d74de70941505a72fba2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 25 Oct 2023 16:19:08 +0000 Subject: [PATCH] CSS: Bring back listing.css This is very large because we pull the entire main stylesheet in and then add more on top of it. This is however easier than building this all from the bits and pieces. Signed-off-by: Michael Tremer --- src/sass/listing.sass | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/sass/listing.sass b/src/sass/listing.sass index 103449fd..66ec73f3 100644 --- a/src/sass/listing.sass +++ b/src/sass/listing.sass @@ -1 +1,23 @@ -// To be re-done https://bugzilla.ipfire.org/show_bug.cgi?id=13051 +@import "main.sass" + +// Make the body stretch over the entire screen +body + @extend .container + + // Add some space around the content + padding: 3rem 1rem; + +h1 + @extend .title.is-3 + +// Make all tables .table by default +table + @extend .table.is-fullwidth.is-bordered.is-striped.is-hoverable + +// Fix to show the bottom line of the table +table + tr + &:last-child + td, + th + border-bottom-width: 1px !important -- 2.47.3