[enh] yay, titles for galleries covers
This commit is contained in:
parent
8c2ae9db85
commit
418040a769
@ -30,3 +30,15 @@
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.gallery-title {
|
||||
color: white;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: initial;
|
||||
bottom: 0px;
|
||||
text-align: center;
|
||||
z-index: 3;
|
||||
background: transparent -moz-linear-gradient(center top , rgba(255, 255, 255, 0) 0%, transparent 1%, rgba(0, 0, 0, 0.07) 26%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0%;
|
||||
padding: 20% 0 0;
|
||||
}
|
||||
|
@ -28,12 +28,20 @@
|
||||
<div class="galleries-grid">
|
||||
<div class="galleries-line">
|
||||
<div class="gallery-square">
|
||||
<div class="gallery-title">
|
||||
<h2>First Gallery Title</h2>
|
||||
<h3>Sub gallery title</h3>
|
||||
<div>3th march 2015</div>
|
||||
</div>
|
||||
<div class="gallery-cover" style="background-image: url('./1.png');"></div>
|
||||
<p>pouet</p>
|
||||
</div>
|
||||
<div class="gallery-square">
|
||||
<div class="gallery-title">
|
||||
<h2>Second Gallery Title</h2>
|
||||
<h3>Sub gallery title</h3>
|
||||
<div>3th march 2015</div>
|
||||
</div>
|
||||
<div class="gallery-cover" style="background-image: url('./1.png');"></div>
|
||||
<p>pouet</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user