66 lines
982 B
CSS
66 lines
982 B
CSS
|
.widget_gallery {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
.widget_gallery:after {
|
||
|
display: table;
|
||
|
width: 100%;
|
||
|
content: '';
|
||
|
}
|
||
|
.widget_gallery ul {
|
||
|
list-style: none;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
.widget_gallery li a {
|
||
|
display: block;
|
||
|
}
|
||
|
.widget_gallery li a img {
|
||
|
height: auto;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* widget 1 */
|
||
|
.w1 ul {
|
||
|
margin: 0 -1%;
|
||
|
}
|
||
|
.w1 li {
|
||
|
float: left;
|
||
|
margin: 1%;
|
||
|
}
|
||
|
.w1.c2 li { width: 48%; }
|
||
|
.w1.c3 li { width: 31.3333%; }
|
||
|
.w1.c4 li { width: 23%; }
|
||
|
.w1.c5 li { width: 18%; }
|
||
|
.w1.c6 li { width: 14.6666%; }
|
||
|
.w1 li a:hover {
|
||
|
box-shadow: 0 0 20px rgba(0,0,0,0.9);
|
||
|
outline: solid 4px #429DFF;
|
||
|
position: relative;
|
||
|
}
|
||
|
.w1 li a img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
/* widget 2 */
|
||
|
.w2 li {
|
||
|
width: 100%;
|
||
|
}
|
||
|
.w2 li a img {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
.w2 li a {
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
color: #fff;
|
||
|
text-transform: capitalize;
|
||
|
}
|
||
|
.w2 li a .desc {
|
||
|
position: absolute;
|
||
|
bottom: -60px;
|
||
|
opacity: 0;
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
padding: 5%;
|
||
|
background-color: rgba(8, 166, 255, 0.8);
|
||
|
}
|