-
Notifications
You must be signed in to change notification settings - Fork 0
/
hsu_gallery.css
63 lines (56 loc) · 1.15 KB
/
hsu_gallery.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.hsu-gallery .view-content ul {
margin: 0;
padding: 0;
list-style: none;
}
.hsu-gallery .view-content li {
display: block;
margin: 0;
padding: 0;
}
.hsu-gallery .view-content li img {
border: 1px solid #adbe77;
margin-bottom: 2rem;
width: 100%;
height: auto;
}
.hsu-gallery .field-collection-item-field-hsu-gallery-item {
position: relative;
}
.hsu-gallery .field-name-field-hsu-gallery-image-title {
position: absolute;
padding: .5rem .75rem;
top: 0;
left: 0;
line-height: 1.2;
background: #25551b;
color: #fff;
z-index: 30;
}
.node-hsu-gallery .field-name-body {
font-size: 1.5rem;
}
.hsu-gallery .colorbox {
display: block;
position: relative;
}
.hsu-gallery .colorbox::before {
background: rgba(182,83,0,.7);
color: #fff;
display: block;
padding: .5rem .625rem;
position: absolute;
font: normal normal normal 1.375rem/1 FontAwesome;
content: "\f065";
bottom: 1rem;
left: 1rem;
z-index: 20;
transition: all 0.2s ease-in-out;
}
.hsu-gallery .colorbox:hover::before {
background: rgba(182,83,0,1);
font: normal normal normal 2.75rem/1 FontAwesome;
}
.hsu-gallery .colorbox img {
display: block;
}