-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (101 loc) · 2.02 KB
/
style.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
.header{
color: rgb(34, 31, 31);
padding: 50px 300px;
font-family: 'Poppins', sans-serif;
text-align: center;
font-size: 50px;
}
.container{
display: grid;
padding: 0px 300px;
grid-template-columns: repeat(auto-fit, minmax(389px, 1fr));
margin-bottom: 100px;
}
.item{
/* height: 350px; */
text-align: center;
background-color: white;
margin: 20px;
border: 1px solid rgb(212, 212, 212);
border-radius: 10px;
font-family: 'Poppins', sans-serif;
font-weight: 600;
color: gray;
min-width: 329px;
}
.item img{
max-width: 100%;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.item .name{
padding: 10px;
}
.item a{
text-decoration: none;
color: gray;
}
.item:hover{
box-shadow: 10px 10px 20px rgb(212, 212, 212);
}
.item a:hover{
text-decoration: none;
color: black;
}
.item .price{
margin: 7px;
font-size: 16px
}
.product-container{
display: flex;
font-family: 'Poppins', sans-serif;
flex-wrap: wrap;
padding: 100px;
}
.product-container .product-img{
width: 100%;
flex: 1 1 60%;
min-width: 440px;
}
.product-container .product-details{
display: flex;
flex: 1 1 40%;
flex-direction: column;
padding: 0px 80px;
font-size: 20px;
}
.product-details .product-name{
font-size: 50px;
}
.product-details .product-size{
padding: 15px 0px;
}
.product-details .product-color{
padding: 20px 0px;
}
.product-details .product-price{
padding: 8px 0px;
}
.product-container .product-info{
padding-top: 10px;
font-size: 20px;
}
.product-details .buy{
display: flex;
padding: 25px 0px;
border-bottom: 1px solid lightgray;
}
.product-details .buy a{
margin: 5px;
}
@media (max-width:650px) {
.container{
padding: 0px;
}
.header{
padding: 50px 0px;
}
.product-container{
padding: 0px;
}
}