-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
101 lines (84 loc) · 1.45 KB
/
index.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
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
.slick-slide {
width: 100%;
margin: 0 80px;
}
.slick-dots {
list-style-type: none;
width: 100%;
max-width: 200px;
text-align: center;
margin: 0 auto;
}
.slick-dots li {
display: inline-block;
}
.slick-dots button {
display: inline-block;
font-size: 0px;
color: #ccc;
background-color: #ccc;
width: 12px;
height: 12px;
border-radius: 50%;
border: 0;
margin-left: 6px;
margin-right: 6px;
outline: none;
cursor: pointer;
}
.slick-active button {
background-color: #aaa;
}
/* SLICK STYLES END */
/* PRODUCT STYLES */
.homepage-section {
padding: 4% 8% 0;
}
.section-heading {
font-size: 28px;
font-weight: 600;
opacity: 0.8;
}
.product-grid {
display: flex;
justify-content: start;
flex-wrap: wrap;
}
.product-card {
width: 100%;
max-width: 19%;
margin-left: 0.5%;
margin-right: 0.5%;
margin-bottom: 16px;
box-sizing: border-box;
box-shadow: 0 2px 5px #ccc;
border-radius: 5px;
}
.product-card > a {
text-decoration: none;
color: black;
}
.product-image {
width: 100%;
}
.product-meta {
box-sizing: border-box;
padding: 16px;
}
.product-meta > h4 {
font-weight: 600;
margin: 0;
font-size: 16px;
}
.product-meta > h5 {
font-weight: 600;
opacity: 0.8;
margin: 0;
margin-top: 12px;
}
.product-meta > p {
margin: 0;
margin-top: 12px;
font-weight: 600;
color: #009688;
}