mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
photo post fixes
This commit is contained in:
parent
521e73730f
commit
752cf42a18
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<article class="hentry format-image">
|
<article class="hentry format-image">
|
||||||
|
|
||||||
<a class="photoPost" href="{{ post.url }}">
|
<a class="photo-link" href="{{ post.url }}">
|
||||||
<figure class="hmedia">
|
<figure class="hmedia">
|
||||||
|
|
||||||
{% picture {{ post.image }} %}
|
{% picture {{ post.image }} %}
|
||||||
|
@ -6,15 +6,13 @@ layout: base
|
|||||||
|
|
||||||
<article class="hentry format-image">
|
<article class="hentry format-image">
|
||||||
|
|
||||||
<div class="photoPost">
|
<figure class="hmedia">
|
||||||
<figure class="hmedia">
|
|
||||||
|
{% picture {{ page.image }} %}
|
||||||
{% picture {{ page.image }} %}
|
|
||||||
|
<figcaption class="entry-title fn">{{ page.title }}</figcaption>
|
||||||
<figcaption class="entry-title fn">{{ page.title }}</figcaption>
|
exif
|
||||||
exif
|
</figure>
|
||||||
</figure>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="entry-content">
|
<section class="entry-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
@ -58,14 +58,6 @@
|
|||||||
&:hover:before {
|
&:hover:before {
|
||||||
color: @link-color
|
color: @link-color
|
||||||
}
|
}
|
||||||
|
|
||||||
// hide by default, show on hover or touch
|
|
||||||
opacity: 0;
|
|
||||||
|
|
||||||
.hentry:hover &,
|
|
||||||
.touch .hentry:hover & {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -113,7 +105,9 @@
|
|||||||
border: 1px solid rgba(158, 170, 178, .6);
|
border: 1px solid rgba(158, 170, 178, .6);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
.box-shadow(0 1px 4px rgba(0, 0, 0, 0.1));
|
.box-shadow(0 1px 4px rgba(0, 0, 0, 0.1));
|
||||||
.transition();
|
.transition;
|
||||||
|
|
||||||
|
.page-single & { margin-bottom: @line-height-computed*2; }
|
||||||
|
|
||||||
@media @breakpoint2 {
|
@media @breakpoint2 {
|
||||||
.box-shadow(~"0 1px 4px rgba(0, 0, 0, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 #fff");
|
.box-shadow(~"0 1px 4px rgba(0, 0, 0, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 #fff");
|
||||||
@ -139,7 +133,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a.photoPost {
|
.photo-link {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user