2014-07-12 21:22:47 +02:00
|
|
|
//
|
|
|
|
// kremalicious3
|
|
|
|
// --------------
|
|
|
|
// Content - Photo Post
|
|
|
|
//
|
|
|
|
|
|
|
|
.hentry.format-photo
|
|
|
|
@extend .textcenter
|
|
|
|
|
|
|
|
figure
|
|
|
|
@extend .aligncenter
|
|
|
|
position: relative
|
|
|
|
display: inline-block
|
|
|
|
|
|
|
|
img,
|
|
|
|
figcaption
|
|
|
|
margin-bottom: 0
|
|
|
|
|
|
|
|
img
|
|
|
|
max-height: 540px
|
2015-04-17 20:55:04 +02:00
|
|
|
width: auto
|
2014-07-12 21:22:47 +02:00
|
|
|
|
|
|
|
figcaption
|
|
|
|
@extend .transition
|
|
|
|
position: absolute
|
|
|
|
left: 0
|
|
|
|
top: 25%
|
|
|
|
max-width: 55%
|
|
|
|
min-width: 45%
|
|
|
|
text-align: right
|
|
|
|
font-family: $headings-font-family
|
|
|
|
font-weight: $headings-font-weight
|
|
|
|
font-style: normal
|
|
|
|
font-size: $font-size-small
|
|
|
|
padding: ($line-height-computed/3)
|
|
|
|
background: $link-color
|
|
|
|
background: rgba($link-color, .7)
|
|
|
|
color: #fff
|
|
|
|
text-shadow: 0 1px 0 #000
|
|
|
|
|
|
|
|
opacity: 0
|
|
|
|
transform: translate(0, -20px)
|
|
|
|
|
|
|
|
&:hover figcaption
|
|
|
|
opacity: 1
|
|
|
|
transform: translate(0, 0)
|
|
|
|
|
|
|
|
.entry-content
|
|
|
|
text-align: left
|
2015-04-27 17:01:45 +02:00
|
|
|
margin-top: $line-height-computed
|
2014-07-12 21:22:47 +02:00
|
|
|
|
|
|
|
.page-single &
|
|
|
|
padding-top: ($line-height-computed*2)
|
|
|
|
padding-bottom: ($line-height-computed*3)
|
|
|
|
|
|
|
|
@media $breakpoint2
|
|
|
|
padding-top: ($line-height-computed*4)
|
|
|
|
padding-bottom: ($line-height-computed*6)
|
|
|
|
|
|
|
|
figure img
|
|
|
|
max-height: none
|
|
|
|
|
|
|
|
figcaption
|
|
|
|
opacity: 1
|
|
|
|
transform: translate(0,0)
|
|
|
|
top: auto
|
|
|
|
bottom: 0
|
|
|
|
background: #000
|
|
|
|
background: rgba(#000, .4)
|
|
|
|
|
|
|
|
.photo-link
|
|
|
|
display: block
|
|
|
|
|
|
|
|
&:active
|
2015-04-27 17:16:34 +02:00
|
|
|
background: none
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Photo background change adjustment
|
|
|
|
//
|
|
|
|
.ab-dark
|
|
|
|
.entry-content
|
|
|
|
color: $text-color-dimmed
|
|
|
|
|
|
|
|
.byline, time, .comments
|
|
|
|
color: $text-color-light
|