Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/vendor/bulma/sass/components/level.sass')
-rw-r--r--assets/vendor/bulma/sass/components/level.sass10
1 files changed, 6 insertions, 4 deletions
diff --git a/assets/vendor/bulma/sass/components/level.sass b/assets/vendor/bulma/sass/components/level.sass
index 3328410..8f73120 100644
--- a/assets/vendor/bulma/sass/components/level.sass
+++ b/assets/vendor/bulma/sass/components/level.sass
@@ -1,5 +1,7 @@
+$level-item-spacing: ($block-spacing / 2) !default
+
.level
- +block
+ @extend %block
align-items: center
justify-content: space-between
code
@@ -18,9 +20,9 @@
.level-item
&:not(:last-child)
margin-bottom: 0
+ +ltr-property("margin", $level-item-spacing)
&:not(.is-narrow)
flex-grow: 1
- margin-right: 0.75rem
// Responsiveness
+tablet
display: flex
@@ -41,7 +43,7 @@
// Responsiveness
+mobile
&:not(:last-child)
- margin-bottom: 0.75rem
+ margin-bottom: $level-item-spacing
.level-left,
.level-right
@@ -55,7 +57,7 @@
// Responsiveness
+tablet
&:not(:last-child)
- margin-right: 0.75rem
+ +ltr-property("margin", $level-item-spacing)
.level-left
align-items: center