[enh] add link to galleries covers

This commit is contained in:
Laurent Peuch 2015-12-04 12:42:07 +01:00
parent c80094b2c7
commit c1320d0152
2 changed files with 13 additions and 0 deletions

View File

@ -27,6 +27,15 @@ body {
position: relative;
}
.gallery-square > a {
position: absolute;
top: 0px;
left: 0px;
z-index: 555;
width: 100%;
height: 100%;
}
.gallery-cover {
position: absolute;
top: 0px;

View File

@ -20,6 +20,7 @@
<div class="galleries-grid">
<div class="galleries-line">
<div class="gallery-square">
<a href="#"></a>
<div class="gallery-title">
<h2>First Gallery Title</h2>
<h3>Sub gallery title</h3>
@ -28,6 +29,7 @@
<div class="gallery-cover" style="background-image: url('./1.png');"></div>
</div>
<div class="gallery-square">
<a href="#"></a>
<div class="gallery-title">
<h2>Second Gallery Title</h2>
<h3>Sub gallery title</h3>
@ -39,6 +41,7 @@
<div class="galleries-line">
<div class="gallery-square">
<a href="#"></a>
<div class="gallery-title">
<h2>First Gallery Title</h2>
<h3>Sub gallery title</h3>
@ -47,6 +50,7 @@
<div class="gallery-cover" style="background-image: url('./1.png');"></div>
</div>
<div class="gallery-square">
<a href="#"></a>
<div class="gallery-title">
<h2>Second Gallery Title</h2>
<h3>Sub gallery title</h3>