Changed overlay back to gradient

This commit is contained in:
Tobias Reich 2015-01-06 22:54:32 +01:00
parent 522d31d33d
commit b240e2dbaa
2 changed files with 7 additions and 3 deletions

BIN
dist/main.css vendored

Binary file not shown.

View File

@ -73,6 +73,7 @@
margin: 0 1px;
width: 200px;
background: black(.6);
background: linear-gradient(to bottom, black(0), black(.6));
bottom: 1px;
}
@ -81,9 +82,7 @@
background: none;
}
.photo .overlay {
opacity: 0;
}
.photo .overlay { opacity: 0; }
.photo:hover .overlay,
.photo.active .overlay {
@ -96,6 +95,7 @@
width: 185px;
margin: 12px 0 5px 15px;
color: #fff;
text-shadow: 0 1px 3px black(.4);
font-size: 16px;
font-weight: bold;
overflow: hidden;
@ -107,10 +107,14 @@
margin: 0 0 12px 15px;
font-size: 11px;
color: #bbb;
text-shadow: 0 1px 3px black(.4);
}
.photo .overlay a span { margin: 0 6px 0 0; }
.album img[data-type^='nonretina'] + .overlay h1,
.album img[data-type^='nonretina'] + .overlay a { text-shadow: none; }
/* Badges ------------------------------------------------*/
.album .badge,
.photo .badge {