-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront-grid.css
61 lines (60 loc) · 1.03 KB
/
front-grid.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
#front-grid {
padding: 20px;
}
.col-1-3 {
display: table-cell;
width: 33.33%;
vertical-align: middle;
}
.quote-item {
padding: 5px;
}
.quote-item > div.quote {
font-weight: bold;
}
.quote-item > div.author {
font-style: italic;
text-align: right;
}
.quote-item > div.author::before {
content: "...";
}
.photo-item {
width: 100%;
padding: 10px;
box-sizing: border-box;
}
.photo-frame {
padding: 5px;
background: white;
border-radius: 4px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.photo-frame-content {
position: relative;
}
.photo-frame-content > img {
width: 100%;
display: block;
}
.photo-frame-content > .info {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
.photo-frame-content:hover > .info {
display: block;
}
.photo-frame-content > .info > .photo-name {
color: #afdcec;
font-size: 1.1em;
padding: 5px;
}
.photo-frame-content > .info > .rating {
color: #deb887;
padding: 5px;
}