[#41] Changed hover affect on resource boxes
parent
d3be7d0865
commit
7043648bde
|
@ -11,11 +11,6 @@
|
||||||
{{ if and .category .title }}
|
{{ if and .category .title }}
|
||||||
<div class="resources-box-caption">
|
<div class="resources-box-caption">
|
||||||
<div class="resources-box-caption-content">
|
<div class="resources-box-caption-content">
|
||||||
{{ with .category }}
|
|
||||||
<div class="resource-category text-faded">
|
|
||||||
{{ . }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ with .title }}
|
{{ with .title }}
|
||||||
<div class="resource-name">
|
<div class="resource-name">
|
||||||
{{ . }}
|
{{ . }}
|
||||||
|
|
|
@ -357,8 +357,7 @@ header .header-content .header-content-inner p {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
opacity: 0;
|
background: rgba(0, 0, 0, .4);
|
||||||
background: rgba(76, 189, 56, .9);
|
|
||||||
-webkit-transition: all .35s;
|
-webkit-transition: all .35s;
|
||||||
-moz-transition: all .35s;
|
-moz-transition: all .35s;
|
||||||
transition: all .35s;
|
transition: all .35s;
|
||||||
|
@ -389,7 +388,7 @@ header .header-content .header-content-inner p {
|
||||||
}
|
}
|
||||||
|
|
||||||
.resources-box:hover .resources-box-caption {
|
.resources-box:hover .resources-box-caption {
|
||||||
opacity: 1;
|
background: rgba(76, 189, 56, .9);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(min-width:768px) {
|
@media(min-width:768px) {
|
||||||
|
|
Loading…
Reference in New Issue