mirror of
https://github.com/jgthms/bulma.git
synced 2025-01-09 15:44:25 +00:00
Add title weight variables, Add breakpoint variables, Remove card-image
This commit is contained in:
parent
808c49b604
commit
0f5703631a
@ -1,21 +1,6 @@
|
|||||||
.card-image
|
.card-image
|
||||||
display: block
|
display: block
|
||||||
position: relative
|
position: relative
|
||||||
img
|
|
||||||
display: block
|
|
||||||
&.is-square,
|
|
||||||
&.is-4x3,
|
|
||||||
&.is-3x2
|
|
||||||
img
|
|
||||||
+overlay
|
|
||||||
height: 100%
|
|
||||||
width: 100%
|
|
||||||
&.is-square
|
|
||||||
padding-top: 100%
|
|
||||||
&.is-4x3
|
|
||||||
padding-top: 75%
|
|
||||||
&.is-3x2
|
|
||||||
padding-top: 66.6666%
|
|
||||||
|
|
||||||
.card-content
|
.card-content
|
||||||
padding: 20px
|
padding: 20px
|
||||||
|
@ -30,6 +30,15 @@ $size-6: 14px
|
|||||||
|
|
||||||
$size-7: 11px
|
$size-7: 11px
|
||||||
|
|
||||||
|
$weight-title-normal: 300
|
||||||
|
$weight-title-bold: 500
|
||||||
|
|
||||||
|
// Breakpoints
|
||||||
|
|
||||||
|
$tablet: 769px
|
||||||
|
$desktop: 980px
|
||||||
|
$widescreen: 1180px
|
||||||
|
|
||||||
// Dimensions
|
// Dimensions
|
||||||
|
|
||||||
$column-gap: 20px
|
$column-gap: 20px
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
@import "notifications"
|
@import "notifications"
|
||||||
|
|
||||||
.box
|
.box
|
||||||
|
@extend .block
|
||||||
background: white
|
background: white
|
||||||
border-radius: 5px
|
border-radius: 5px
|
||||||
box-shadow: 0 2px 3px rgba(black, 0.1), 0 0 0 1px rgba(black, 0.1)
|
box-shadow: 0 2px 3px rgba(black, 0.1), 0 0 0 1px rgba(black, 0.1)
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
.title,
|
.title,
|
||||||
.subtitle
|
.subtitle
|
||||||
@extend .block
|
@extend .block
|
||||||
font-weight: 300
|
font-weight: $weight-title-normal
|
||||||
em
|
em,
|
||||||
font-weight: 300
|
span
|
||||||
|
font-weight: $weight-title-normal
|
||||||
|
strong
|
||||||
|
font-weight: $weight-title-bold
|
||||||
a
|
a
|
||||||
&:hover
|
&:hover
|
||||||
border-bottom: 1px solid
|
border-bottom: 1px solid
|
||||||
@ -44,7 +47,6 @@
|
|||||||
margin-top: -20px
|
margin-top: -20px
|
||||||
strong
|
strong
|
||||||
color: $text-strong
|
color: $text-strong
|
||||||
font-weight: 400
|
|
||||||
code
|
code
|
||||||
border-radius: $radius
|
border-radius: $radius
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
@ -62,10 +62,6 @@
|
|||||||
-ms-user-select: none
|
-ms-user-select: none
|
||||||
user-select: none
|
user-select: none
|
||||||
|
|
||||||
$tablet: 769px
|
|
||||||
$desktop: 980px
|
|
||||||
$widescreen: 1180px
|
|
||||||
|
|
||||||
=from($device)
|
=from($device)
|
||||||
@media screen and (min-width: $device)
|
@media screen and (min-width: $device)
|
||||||
@content
|
@content
|
||||||
|
Loading…
Reference in New Issue
Block a user