mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add extensions
This commit is contained in:
@@ -62,6 +62,7 @@ hr
|
||||
margin: 1.5rem 0
|
||||
|
||||
img
|
||||
height: auto
|
||||
max-width: 100%
|
||||
|
||||
input[type="checkbox"],
|
||||
|
||||
@@ -50,6 +50,29 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
||||
|
||||
// Text
|
||||
|
||||
@each $size in $sizes
|
||||
$i: index($sizes, $size)
|
||||
.is-size-#{$i}
|
||||
font-size: $size
|
||||
+mobile
|
||||
.is-size-#{$i}-mobile
|
||||
font-size: $size
|
||||
+tablet
|
||||
.is-size-#{$i}-tablet
|
||||
font-size: $size
|
||||
+touch
|
||||
.is-size-#{$i}-touch
|
||||
font-size: $size
|
||||
+desktop
|
||||
.is-size-#{$i}-desktop
|
||||
font-size: $size
|
||||
+widescreen
|
||||
.is-size-#{$i}-widescreen
|
||||
font-size: $size
|
||||
+fullhd
|
||||
.is-size-#{$i}-fullhd
|
||||
font-size: $size
|
||||
|
||||
.has-text-centered
|
||||
text-align: center !important
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
line-height: 1.25
|
||||
padding: 0.5em 0.75em
|
||||
position: relative
|
||||
a,
|
||||
a:not(.button),
|
||||
strong
|
||||
color: currentColor
|
||||
a
|
||||
a:not(.button)
|
||||
text-decoration: underline
|
||||
.delete
|
||||
flex-grow: 0
|
||||
@@ -49,10 +49,10 @@
|
||||
border-radius: $radius
|
||||
color: $text
|
||||
padding: 1em 1.25em
|
||||
a,
|
||||
a:not(.button),
|
||||
strong
|
||||
color: currentColor
|
||||
a
|
||||
a:not(.button)
|
||||
text-decoration: underline
|
||||
code,
|
||||
pre
|
||||
|
||||
Reference in New Issue
Block a user