]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/scss/style.scss
Merge branch 'master' into new-design
[ipfire.org.git] / src / scss / style.scss
index 8eafb5907fd7eafc9f07750b01146b176a45688d..ce2adc50630b556c0fcca2658abec7151522a4c5 100644 (file)
@@ -248,6 +248,27 @@ blockquote {
                        // Add some extra margin to the top & bottom
                        padding: ($spacer * 2) 0 ($spacer * 2) 0;
                }
+
+               table {
+                       @extend .table;
+                       @extend .table-sm;
+                       @extend .table-striped;
+
+                       // Apply CSS classes for alignment
+                       thead {
+                               th[align="left"], td[align="left"] {
+                                       @extend .text-left;
+                               }
+
+                               th[align="center"], td[align="center"] {
+                                       @extend .text-center;
+                               }
+
+                               th[align="right"], td[align="right"] {
+                                       @extend .text-right;
+                               }
+                       }
+               }
        }
 
        &.lightning-wire-labs {