-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.css
More file actions
101 lines (89 loc) · 1.73 KB
/
main.css
File metadata and controls
101 lines (89 loc) · 1.73 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@import url(https://cdn.jsdelivr.net/jquery.slick/1.5.9/slick.css);
@import url(https://cdn.jsdelivr.net/jquery.slick/1.5.9/slick-theme.css);
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
color: #333;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
}
a {
color: inherit;
text-decoration: none;
}
nav {
width: 100%;
height: 60px;
background: #666;
}
nav ul {
height: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
padding: 0;
margin: 0;
}
nav li {
list-style-type: none;
color: #f7f7f7;
}
nav li:hover {
color: cornflowerblue;
}
.thumbnail_container {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
margin: 10px 0 10px 0;
}
ss-thumbnail {
display: block;
position: relative;
height: 250px;
width: 250px;
cursor: pointer;
background-size: cover;
}
ss-thumbnail img {
opacity: 1;
position: absolute;
z-index: 2;
transition: all 120ms ease;
}
ss-thumbnail p {
position: absolute;
text-align: center;
top: 50%;
-webkit-transform: translateY(-60%);
transform: translateY(-60%);
}
ss-thumbnail .price {
position: absolute;
color: #216c2a;
font-weight: 500;
bottom: 0;
width: 100%;
text-align: center;
}
ss-thumbnail .title {
position: absolute;
bottom: -25px;
font-size: 1.2em;
width: 100%;
text-align: center;
}
ss-thumbnail:hover img {
opacity: 0;
}