]> git.ipfire.org Git - ipfire.org.git/commitdiff
CSS: Bring back listing.css
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Oct 2023 16:19:08 +0000 (16:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Oct 2023 16:19:08 +0000 (16:19 +0000)
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 <michael.tremer@ipfire.org>
src/sass/listing.sass

index 103449fda618e3bda7f56421e83ae0fb38b206f7..66ec73f3287ef10b27d135e350ae070cbb4c8072 100644 (file)
@@ -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