From: Molkobain Date: Sat, 11 Dec 2021 17:09:02 +0000 (+0100) Subject: Add missing variables for content customization X-Git-Tag: 0.9.4~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b78ca6e981364035fc13903caf2649f19f05063f;p=thirdparty%2Fbulma.git Add missing variables for content customization This introduces 2 variables to customize some parts of the "content": * `$content-block-margin-bottom`: To customize bottom margin of "block" elements (especially tables in our case) * `$content-table-body-last-row-cell-border-bottom-width`: To customize the size of the bottom border of the body last row cells --- diff --git a/sass/elements/content.sass b/sass/elements/content.sass index 7a734d321..3f709ad79 100644 --- a/sass/elements/content.sass +++ b/sass/elements/content.sass @@ -4,6 +4,8 @@ $content-heading-color: $text-strong !default $content-heading-weight: $weight-semibold !default $content-heading-line-height: 1.125 !default +$content-block-margin-bottom: 1em !default + $content-blockquote-background-color: $background !default $content-blockquote-border-left: 5px solid $border !default $content-blockquote-padding: 1.25em 1.5em !default @@ -16,6 +18,7 @@ $content-table-cell-padding: 0.5em 0.75em !default $content-table-cell-heading-color: $text-strong !default $content-table-head-cell-border-width: 0 0 2px !default $content-table-head-cell-color: $text-strong !default +$content-table-body-last-row-cell-border-bottom-width: 0 !default $content-table-foot-cell-border-width: 2px 0 0 !default $content-table-foot-cell-color: $text-strong !default @@ -33,7 +36,7 @@ $content-table-foot-cell-color: $text-strong !default pre, table &:not(:last-child) - margin-bottom: 1em + margin-bottom: $content-block-margin-bottom h1, h2, h3, @@ -144,7 +147,7 @@ $content-table-foot-cell-color: $text-strong !default &:last-child td, th - border-bottom-width: 0 + border-bottom-width: $content-table-body-last-row-cell-border-bottom-width .tabs li + li margin-top: 0