From: Michael Tremer Date: Wed, 25 Oct 2023 16:19:08 +0000 (+0000) Subject: CSS: Bring back listing.css X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0a128ddc201433d9c45d74de70941505a72fba2;p=ipfire.org.git 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 --- 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