-
Notifications
You must be signed in to change notification settings - Fork 0
/
vanilla.css
264 lines (239 loc) · 4.25 KB
/
vanilla.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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
html, body{
margin: 0px;
background-color: #ebdab6b3;
}
main{
margin: 1em;
background-color: #a5a5df;
background-color: #00000052;
}
nav {
/* background-color: #877bf4; */
background-color: #00000052;
/* margin: auto; */
padding: 1em;
display: flex;
align-items:center;
justify-content: space-between;
height: auto;
border-radius: 0.4rem;
}
.pages{
margin-left: 0px;
grid-column: -4/-2;
}
a{
font-size: 1rem;
color: white;
margin: 0px 2em;
text-decoration: none;
}
.site-logo{
opacity: unset;
color: white;
font-size: 1.5em;
font-family: Helvetica;
margin: auto;
height: 8em;
}
.slogan{
background-color: inherit;
color: white;
font-size: 1.3em;
padding: 1em;
margin:0px;
text-align: center;
}
.products--parent {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
gap: 2em 4em;
padding: 2em;
justify-content: center;
align-items: center;
margin: auto;
border-radius: 0.4rem;
background-color: #99918042;
}
.product{
background-color: #e7e6e669;
/* background-color: transparent; */
color: black;
padding: 0.4em;
font: 1.3rem Bell MT;
border: none;
border-radius: .5em;
width: auto;
display: flex;
flex-direction: column;
box-shadow: 0px 0px 10px 0px black;
}
.product:hover{
/* background-color: #30259b52; */
color: white;
text-shadow: 0 0 12px black;
box-shadow: 0 0 5px black;
}
.product--img{
margin: auto;
opacity: unset;
border-radius: inherit;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
width:100%;
height: 12em;
cursor: pointer;
grid-column: 1 / 2;
grid-row: 1/-2;
}
.product--title{
text-align: center;
padding: 5px;
font-family: Arial;
margin: 10px auto;
}
.price, .product--name{
margin: .8em auto;
text-align: center;
font-weight: 300;
}
.content.d{
/* padding: 0.5em 0.5em 0px; */
display:flex;
flex-wrap: wrap;
flex-direction: column;
line-height: 2.5em;
margin: auto;
width: 100%;
}
.product--name.cart {
grid-column: 2 / 3;
grid-row: 3/3;
}
.price.crt {
grid-column: 2 / 3;
grid-row: 4/4;
margin: 0;
}
.product.cart {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: .5em 1em;
grid-template-rows: repeat(6, max-content);
margin: auto;
width: 30em;
}
.btn--cart{
display: block;
background-color: #1c863f;
width: 100%;
color: white;
border-radius: 0.5rem;
border:0.5px solid white;
padding: 0.3em;
height: min-content;
font-size: 1.4rem;
font-family: sans-serif;
}
div.container {
padding: 0.3em;
background-color: white;
}
.product.details {
margin: auto;
width: auto;
align-items: flex-end;
display: grid;
height: auto;
padding: 1em;
gap: 1.5em;
}
section.description {
display: flex;
flex-direction: column;
width: inherit;
flex-wrap: wrap;
line-height: 1.5rem;
font-family: sans-serif;
gap: 1em;
}
p.description {
text-align: start;
width: auto;
margin: 0px;
}
h4{
font-size: 2rem;
margin: 0px;
}
.product--img:hover {
box-shadow: 0px 0px 10px 0px grey;
}
.content {
display: flex;
font: 1.5rem sans-serif;
gap: 0.8em;
flex-direction: column;
}
#details {
font-family: sans-serif;
font-weight: normal;
margin: 0px;
}
div.selected {
display: grid;
}
.selected-product {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
align-items: end;
gap: 1em;
}
.btn--cart:hover {
text-shadow: 0 0 15px black;
border: none;
box-shadow: -12px -1px 10px 3px #111111ab;
}
p#count {
border: none;
border-radius: 100%;
width: 1.5em;
text-align: center;
padding: .2em;
color: white;
font: bold 1em sans-serif;
background-color: #e97979;
}
footer{
text-align: center;
/* color: #2133c0; */
color: black;
font: 1.5em Bell MT;
background-color: white;
border-radius: 0.4rem;
}
.product--name.crt {
grid-row: 3/4;
margin: 0;
}
.products--parent.cart {
display: flex;
flex-direction: column;
}
div#root {
display: grid;
grid-template-rows: auto auto auto;
margin: 2em;
row-gap: 1.2em;
}
.watches {
background-color: transparent;
/* color: white; */
color: black;
}
.watches:hover {
background-color: #e7e6e630;
color: white;
font-weight: inherit;
text-shadow: 0 0 12px black;
}