-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
216 lines (213 loc) · 4.17 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
html,
body {
height: 100%;
width: 100%;
margin: 0;
}
/* header style */
#header {
font-family: "Inter", sans-serif;
text-align: center;
margin-top: 40px;
font-weight: 700;
font-size: 40px;
text-shadow: 0 8px 10px rgb(176, 168, 168);
}
@media only screen and (max-width: 767px) {
#header {
text-align: center;
font-size: 20px;
}
.choices-btn-group button img{
margin-right: -10px;
margin-top: -3px;
}
}
/* category choices tab */
.choices-btn-group {
display: flex;
justify-content: center;
margin-top: 30px;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.choices-btn-group {
display: flex;
margin: 30px 20% 0 20%;
}
.choices-btn-group button {
display: flex;
align-items: center;
justify-content: center;
width: 50%;
font-size: smaller;
padding: 10px;
}
.choices-btn-group button img{
margin-right: -10px;
margin-top: -3px;
}
}
@media only screen and (max-width: 767px) {
.choices-btn-group {
flex-direction: column;
align-items: center;
margin-top: 40px;
text-align: center;
}
.choices-btn-group button {
display: flex;
align-items: center;
width: 80%;
font-size: smaller;
}
}
.choices-btn-group button {
gap: 10px;
font-family: "Inter", sans-serif;
font-weight: 700;
font-size: larger;
border: 1px solid rgb(248, 241, 241);
color: black;
padding: 15px 120px;
cursor: pointer;
float: left;
border-radius: 5px;
}
.choices-btn-group button:not(:last-child) {
border-right: none;
}
.choices-btn-group button:hover {
background-color: rgb(203, 200, 200);
color: white;
}
.choices-btn-group button.selected {
background-color: black;
color: white;
}
.choices-btn-group button img {
height: 20px;
padding-right: 10px;
margin-bottom: -2px;
}
/* cards styles */
.cards {
display: flex;
margin-top: 30px;
justify-content: center;
gap: 20px;
}
@media only screen and (max-width: 767px) {
.cards {
flex-direction: column;
align-items: center;
text-align: center;
}
.cards > div {
width: 80%;
margin-bottom: 30px;
}
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
width: 60%;
margin: auto;
margin-top: 40px;
margin-bottom: 50px;
}
.cards > div {
width: 260px;
border-radius: 5px;
margin-bottom: 20px;
}
}
.cards > div {
width: 260px;
border-radius: 5px;
position: relative;
}
.cards div img {
width: 100%;
position: relative;
height: 300px;
object-fit: cover;
border-radius: 5px;
}
.cards .badge-text {
font-family: "Inter", sans-serif;
position: absolute;
font-weight: 600;
font-size: smaller;
width: 120px;
top: 5px;
left: 5px;
background-color: white;
color: rgb(0, 0, 0);
text-align: center;
padding: 10px 5px;
border-radius: 2px;
}
.card-row-one {
display: flex;
padding: 0px 0px 0px 1px;
margin-top: -10px;
padding-left: 1px;
}
.card-row-one #title {
font-family: "Inter", sans-serif;
font-weight: 500;
font-size: 20px;
padding-top: 3%;
}
.card-row-one span {
padding: 0px 5px 7% 5px;
font-size: 50px;
}
.card-row-one #vender {
font-family: "Inter", sans-serif;
font-weight: 400;
font-size: 15px;
padding-top: 7%;
}
.card-row-two {
width: 280px;
display: flex;
margin-top: -20px;
padding-left: 1px;
gap: 5%;
}
.card-row-two #price {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-weight: 600;
line-height: 9.63px;
text-align: left;
}
.card-row-two #compare_at_price {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-weight: 600;
line-height: 9.63px;
text-align: left;
color: grey;
text-decoration: line-through;
}
.card-row-two #offer {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-weight: 600;
line-height: 9.63px;
text-align: left;
color: red;
}
.add-to-cart-btn > button {
width: 100%;
font-family: "Inter", sans-serif;
background-color: black;
font-weight: 600;
font-size: medium;
border: 1px solid white;
color: rgb(255, 255, 255);
padding: 15px 40px;
cursor: pointer;
float: left;
border-radius: 5px;
}