-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyle.css
179 lines (171 loc) · 3.14 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
body{
font-family: system-ui;
}
header{
background-color: #e4e4e8;
padding-top: 18px;
padding-bottom: 18px;
box-shadow: 0 7px 8px -3px grey;
position: fixed;
width: 100%;
margin-top: -10px;
z-index: 99;
}
.container{
max-width: 1200px;
text-align: center;
margin: auto;
}
.header-section{
display: flex;
justify-content: space-between;
margin: auto;
align-items: center;
position: relative;
}
.header-section div{
position: relative;
}
.header-section p{
position: absolute;
top: -24px;
right: -8px;
background-color: #fff;
padding: 1px 6px;
border-radius: 50%;
color: red;
font-weight: 700;
font-family: system-ui;
line-height: 18px;
}
.logo{
width: 164px;
height: 84px;
cursor: pointer;
}
.cart{
width: 39px;
height: 38px;
}
.cart-products{
position: absolute!important;
top: 82px;
right: -18px;
background-color: #fff;
padding: 0 18px;
box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
display: none;
min-width: 290px;
}
.cart:hover{
margin-bottom: 16px;
transition-duration: .5s;
}
/*end header*/
.products{
padding-top: 170px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.carts{
max-width: 250px;
box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
padding-bottom: 34px;
margin-bottom: 40px;
}
.carts img{
width: 100%;
}
.carts p{
font-family: system-ui;
font-weight: 500;
padding: 0 20px;
margin-bottom: 24px;
}
.carts div p{
position: absolute;
top: 0;
right: 0px;
background-color: rgb(0, 235, 129);
color: #fff;
padding: 2px 7px 4px 21px;
clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
}
.carts div{
position: relative;
}
.carts a{
font-family: system-ui;
text-decoration: none;
background: red;
padding: 9px 23px;
color: #fff;
font-size: 17px;
text-transform: uppercase;
font-weight: 700;
}
.carts a:hover{
background: #fff;
color: red;
border: solid 2px red;
transition-duration: .3s;
}
/*float cart*/
.cart-products .item img{
width: 115px;
}
.cart-products .item{
display: flex;
align-items: center;
border-bottom: solid 2px red;
}
.cart-products .item .item-content{
margin: 0 19px;
width: 201px;
}
.cart-products .item .item-content h5{
margin: 0;
font-size: 15px;
font-weight: 400;
font-family: system-ui;
}
.cart-products .item .item-content h6{
margin: 0;
font-size: 13px;
font-weight: 400;
font-family: system-ui;
}
.cart-products .item span{
background-color: red;
padding: 0px 5px;
border-radius: 50%;
color: #fff;
font-family: system-ui;
cursor: pointer;
}
.cart-products h3{
margin-bottom: 0;
}
.cart-products .item .item-content h5.cart-price{
font-weight: 700;
}
/*stye to btn close*/
p.close-btn{
top: -4px;
right: 6px;
cursor: pointer;
color: #000;
}
p.author {
display: flex;
justify-content: center;
FONT-VARIANT: JIS04;
margin-top: 3%;
gap: 7px;
}
p.author a {
text-decoration: none;
font-weight: 700;
color: #000;
}