Add title weight variables, Add breakpoint variables, Remove card-image

This commit is contained in:
Jeremy Thomas 2016-02-27 15:46:05 +00:00
parent 808c49b604
commit 0f5703631a
5 changed files with 16 additions and 23 deletions

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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