[#41] Changed hover affect on resource boxes

lektura
Marc Horne 2017-06-22 14:49:11 +02:00
parent d3be7d0865
commit 7043648bde
2 changed files with 2 additions and 8 deletions

View File

@ -11,11 +11,6 @@
{{ if and .category .title }}
<div class="resources-box-caption">
<div class="resources-box-caption-content">
{{ with .category }}
<div class="resource-category text-faded">
{{ . }}
</div>
{{ end }}
{{ with .title }}
<div class="resource-name">
{{ . }}

View File

@ -357,8 +357,7 @@ header .header-content .header-content-inner p {
height: 100%;
text-align: center;
color: #fff;
opacity: 0;
background: rgba(76, 189, 56, .9);
background: rgba(0, 0, 0, .4);
-webkit-transition: all .35s;
-moz-transition: all .35s;
transition: all .35s;
@ -389,7 +388,7 @@ header .header-content .header-content-inner p {
}
.resources-box:hover .resources-box-caption {
opacity: 1;
background: rgba(76, 189, 56, .9);
}
@media(min-width:768px) {