2014-07-12 21:22:47 +02:00
|
|
|
//
|
|
|
|
// kremalicious3
|
|
|
|
// --------------
|
|
|
|
// Content - Photo Post
|
|
|
|
//
|
|
|
|
|
|
|
|
.hentry.format-photo
|
|
|
|
@extend .textcenter
|
|
|
|
|
2017-07-23 20:40:33 +02:00
|
|
|
.entry-title
|
|
|
|
margin-top: -($spacer * 1.5)
|
|
|
|
|
2014-07-12 21:22:47 +02:00
|
|
|
figure
|
|
|
|
@extend .aligncenter
|
|
|
|
position: relative
|
|
|
|
display: inline-block
|
|
|
|
|
|
|
|
img,
|
|
|
|
figcaption
|
|
|
|
margin-bottom: 0
|
|
|
|
|
|
|
|
figcaption
|
2016-04-29 00:47:25 +02:00
|
|
|
@extend .transition, .h4
|
2015-12-05 15:15:35 +01:00
|
|
|
transition-property: transform, opacity
|
2014-07-12 21:22:47 +02:00
|
|
|
position: absolute
|
|
|
|
min-width: 45%
|
|
|
|
text-align: right
|
2016-04-16 19:32:58 +02:00
|
|
|
padding: ($spacer/3)
|
2014-07-12 21:22:47 +02:00
|
|
|
background: $link-color
|
2015-08-09 18:11:26 +02:00
|
|
|
background: alpha($link-color, .7)
|
2014-07-12 21:22:47 +02:00
|
|
|
color: #fff
|
|
|
|
text-shadow: 0 1px 0 #000
|
|
|
|
|
2016-04-29 00:47:25 +02:00
|
|
|
left: -($spacer)
|
2017-07-23 20:40:33 +02:00
|
|
|
top: $spacer * 6
|
2015-08-20 20:06:14 +02:00
|
|
|
|
2016-06-09 19:25:01 +02:00
|
|
|
@media $screen-sm
|
2016-10-05 17:13:28 +02:00
|
|
|
left: -($spacer * 4)
|
2016-04-29 00:47:25 +02:00
|
|
|
|
2016-06-09 19:25:01 +02:00
|
|
|
@media $screen-lg
|
2016-04-29 00:47:25 +02:00
|
|
|
left: -($spacer * 4)
|
2015-08-20 20:06:14 +02:00
|
|
|
|
2014-07-12 21:22:47 +02:00
|
|
|
opacity: 0
|
2015-12-05 15:15:35 +01:00
|
|
|
transform: translate3d(0, -20px, 0)
|
2014-07-12 21:22:47 +02:00
|
|
|
|
|
|
|
&:hover figcaption
|
|
|
|
opacity: 1
|
2015-12-05 15:15:35 +01:00
|
|
|
transform: translate3d(0, 0, 0)
|
2014-07-12 21:22:47 +02:00
|
|
|
|
|
|
|
.entry-content
|
|
|
|
text-align: left
|
2016-04-16 19:32:58 +02:00
|
|
|
margin-top: $spacer
|
2014-07-12 21:22:47 +02:00
|
|
|
|
|
|
|
.page-single &
|
2016-03-02 01:28:01 +01:00
|
|
|
padding-top: 0
|
2016-04-16 19:32:58 +02:00
|
|
|
padding-bottom: ($spacer*3)
|
2014-07-12 21:22:47 +02:00
|
|
|
|
2016-06-09 19:25:01 +02:00
|
|
|
@media $screen-sm
|
2016-03-02 01:28:01 +01:00
|
|
|
padding-top: 0
|
2016-04-16 19:32:58 +02:00
|
|
|
padding-bottom: ($spacer*6)
|
2014-07-12 21:22:47 +02:00
|
|
|
|
|
|
|
figure img
|
|
|
|
max-height: none
|
|
|
|
|
2015-10-31 20:43:50 +01:00
|
|
|
|
2014-07-12 21:22:47 +02:00
|
|
|
.photo-link
|
2017-02-17 18:39:38 +01:00
|
|
|
display: block;
|
2017-07-23 20:40:33 +02:00
|
|
|
|
2017-02-17 18:39:38 +01:00
|
|
|
img
|
|
|
|
@extend .media-frame
|
2014-07-12 21:22:47 +02:00
|
|
|
|
2016-10-03 23:36:15 +02:00
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active
|
|
|
|
box-shadow: none
|
|
|
|
|
2017-02-17 18:39:38 +01:00
|
|
|
&:hover,
|
|
|
|
&:focus
|
2016-04-16 20:37:23 +02:00
|
|
|
img
|
2017-02-17 18:39:38 +01:00
|
|
|
border-color: $link-color-hover
|
|
|
|
border-radius: $border-radius-base
|
2016-04-16 20:37:23 +02:00
|
|
|
|
2014-07-12 21:22:47 +02:00
|
|
|
&:active
|
2015-04-27 17:16:34 +02:00
|
|
|
background: none
|
|
|
|
|
2017-07-23 20:40:33 +02:00
|
|
|
|
2015-04-27 17:16:34 +02:00
|
|
|
//
|
|
|
|
// Photo background change adjustment
|
|
|
|
//
|
|
|
|
.ab-dark
|
|
|
|
.entry-content
|
2016-05-25 23:03:36 +02:00
|
|
|
@extend .text-dimmed
|
2015-04-27 17:16:34 +02:00
|
|
|
|
|
|
|
.byline, time, .comments
|
2015-06-15 01:41:53 +02:00
|
|
|
color: $text-color-light
|