mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-29 23:48:11 +01:00
fix photo titles
This commit is contained in:
parent
8f859dfd80
commit
d3e19225b4
@ -22,26 +22,25 @@
|
|||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
|
|
||||||
figcaption
|
figcaption
|
||||||
@extend .transition
|
@extend .transition, .h4
|
||||||
transition-property: transform, opacity
|
transition-property: transform, opacity
|
||||||
position: absolute
|
position: absolute
|
||||||
min-width: 45%
|
min-width: 45%
|
||||||
text-align: right
|
text-align: right
|
||||||
font-family: $headings-font-family
|
|
||||||
font-weight: $headings-font-weight
|
|
||||||
font-style: normal
|
|
||||||
font-size: $font-size-small
|
|
||||||
padding: ($spacer/3)
|
padding: ($spacer/3)
|
||||||
background: $link-color
|
background: $link-color
|
||||||
background: alpha($link-color, .7)
|
background: alpha($link-color, .7)
|
||||||
color: #fff
|
color: #fff
|
||||||
text-shadow: 0 1px 0 #000
|
text-shadow: 0 1px 0 #000
|
||||||
|
|
||||||
left: -8%
|
left: -($spacer)
|
||||||
top: $spacer
|
top: $spacer
|
||||||
|
|
||||||
@media $breakpoint2
|
@media $breakpoint2
|
||||||
left: -16%
|
left: -($spacer * 2)
|
||||||
|
|
||||||
|
@media $breakpoint3
|
||||||
|
left: -($spacer * 4)
|
||||||
|
|
||||||
opacity: 0
|
opacity: 0
|
||||||
transform: translate3d(0, -20px, 0)
|
transform: translate3d(0, -20px, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user