2014-12-14 12:38:48 +09:00
|
|
|
$small-break: 30em;
|
|
|
|
@mixin small(){
|
|
|
|
@media screen and (max-width: $small-break) {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-29 10:37:35 +09:00
|
|
|
.post-thumbnail{
|
2014-12-13 17:43:52 +09:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 10px;
|
2014-12-14 12:38:48 +09:00
|
|
|
@include small{
|
|
|
|
margin: 0 0 0 10px;
|
2014-12-14 12:43:52 +09:00
|
|
|
float: right;
|
2014-12-14 12:38:48 +09:00
|
|
|
}
|
2014-08-29 10:37:35 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-thumbnail-link{
|
2014-09-16 09:15:41 +09:00
|
|
|
display: block;
|
2014-08-29 10:37:35 +09:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2014-12-13 17:43:52 +09:00
|
|
|
width: 80px;
|
2014-12-14 12:38:48 +09:00
|
|
|
@include small{
|
|
|
|
width: 50px;
|
|
|
|
}
|
2014-08-29 10:37:35 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-thumbnail-image{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-thumbnail-has-video:after{
|
|
|
|
content: '‣';
|
|
|
|
font-size: 40px;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
|
|
|
margin: -18px 0 0 -18px;
|
|
|
|
line-height: 32px;
|
|
|
|
text-align: center;
|
|
|
|
color: white;
|
|
|
|
display: block;
|
|
|
|
z-index: 10;
|
|
|
|
text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
|
|
|
|
background: rgba(0,0,0,0.4);
|
|
|
|
border: 2px solid rgba(255,255,255,0.8);
|
|
|
|
border-radius: 100%;
|
2014-12-14 12:38:48 +09:00
|
|
|
@include small{
|
|
|
|
display: none;
|
2014-08-29 10:37:35 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-video-lightbox{
|
|
|
|
position: fixed;
|
|
|
|
background: rgba(0,0,0,0.7);
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
.post-video-lightbox-inner{
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
-webkit-transform:translate(-50%, -50%);
|
|
|
|
-moz-transform:translate(-50%, -50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
z-index: 20000;
|
|
|
|
}
|
|
|
|
.post-video-lightbox-hide, .post-video-lightbox-hide:link, .post-video-lightbox-hide:visited, .post-video-lightbox-hide:hover{
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 20px;
|
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
|
|
|
color: white;
|
|
|
|
font-size: 40px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 40px;
|
2014-11-30 11:30:48 +09:00
|
|
|
}
|
|
|
|
|
2014-12-01 10:14:03 +09:00
|
|
|
.post-thumbnail-container{
|
|
|
|
position: relative;
|
|
|
|
}
|
2014-11-30 11:30:48 +09:00
|
|
|
.post-thumbnail-preview{
|
|
|
|
background: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-thumbnail-loading{
|
|
|
|
display: none;
|
2014-12-01 10:14:03 +09:00
|
|
|
position: absolute;
|
|
|
|
z-index: 100;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
right: 0px;
|
2014-11-30 11:30:48 +09:00
|
|
|
.loading & {
|
2014-12-01 10:14:03 +09:00
|
|
|
background: rgba(255,255,255,0.4);
|
2014-11-30 11:30:48 +09:00
|
|
|
display: block;
|
|
|
|
}
|
2014-12-14 12:38:48 +09:00
|
|
|
}
|