mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-14 17:15:18 +01:00
fix featured layout
This commit is contained in:
parent
c54ba14291
commit
274e6ba84a
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
.featured
|
.featured
|
||||||
@extend .breakoutviewport
|
@extend .breakoutviewport
|
||||||
padding-bottom: ($spacer*2)
|
padding-bottom: $spacer
|
||||||
|
|
||||||
.grid
|
.grid
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
@ -15,6 +15,8 @@
|
|||||||
padding-bottom: ($spacer*3)
|
padding-bottom: ($spacer*3)
|
||||||
|
|
||||||
.hentry__teaser
|
.hentry__teaser
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
@media $screen-xs
|
@media $screen-xs
|
||||||
margin-left: 0
|
margin-left: 0
|
||||||
margin-right: 0
|
margin-right: 0
|
||||||
|
@ -77,7 +77,6 @@
|
|||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
|
||||||
.hentry__teaser
|
.hentry__teaser
|
||||||
@extend .breakoutviewport
|
|
||||||
max-width: none
|
max-width: none
|
||||||
display: block
|
display: block
|
||||||
margin-top: ($spacer*1.5)
|
margin-top: ($spacer*1.5)
|
||||||
@ -90,6 +89,9 @@
|
|||||||
@media $screen-sm
|
@media $screen-sm
|
||||||
border-radius: $border-radius-base
|
border-radius: $border-radius-base
|
||||||
|
|
||||||
|
&:not(.featured .hentry__teaser)
|
||||||
|
@extend .breakoutviewport
|
||||||
|
|
||||||
.hentry__teaser--link
|
.hentry__teaser--link
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus
|
&:focus
|
||||||
|
Loading…
Reference in New Issue
Block a user