mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
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
This commit is contained in:
parent
705cfaf1b2
commit
b78ca6e981
@ -4,6 +4,8 @@ $content-heading-color: $text-strong !default
|
|||||||
$content-heading-weight: $weight-semibold !default
|
$content-heading-weight: $weight-semibold !default
|
||||||
$content-heading-line-height: 1.125 !default
|
$content-heading-line-height: 1.125 !default
|
||||||
|
|
||||||
|
$content-block-margin-bottom: 1em !default
|
||||||
|
|
||||||
$content-blockquote-background-color: $background !default
|
$content-blockquote-background-color: $background !default
|
||||||
$content-blockquote-border-left: 5px solid $border !default
|
$content-blockquote-border-left: 5px solid $border !default
|
||||||
$content-blockquote-padding: 1.25em 1.5em !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-cell-heading-color: $text-strong !default
|
||||||
$content-table-head-cell-border-width: 0 0 2px !default
|
$content-table-head-cell-border-width: 0 0 2px !default
|
||||||
$content-table-head-cell-color: $text-strong !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-border-width: 2px 0 0 !default
|
||||||
$content-table-foot-cell-color: $text-strong !default
|
$content-table-foot-cell-color: $text-strong !default
|
||||||
|
|
||||||
@ -33,7 +36,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|||||||
pre,
|
pre,
|
||||||
table
|
table
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-bottom: 1em
|
margin-bottom: $content-block-margin-bottom
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
@ -144,7 +147,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|||||||
&:last-child
|
&:last-child
|
||||||
td,
|
td,
|
||||||
th
|
th
|
||||||
border-bottom-width: 0
|
border-bottom-width: $content-table-body-last-row-cell-border-bottom-width
|
||||||
.tabs
|
.tabs
|
||||||
li + li
|
li + li
|
||||||
margin-top: 0
|
margin-top: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user