-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.css
112 lines (99 loc) · 1.86 KB
/
cart.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
.cartText {
font-size: 30px;
font-family: 'Lato', sans-serif;
}
nav {
display: flex;
justify-content: space-around;
align-items: center;
min-height: 5vh;
background-color: #5d4954;
font-family: 'Roboto', sans-serif;
text-decoration: none;
}.logo {
color: #c2a095;
text-transform: uppercase;
letter-spacing: 5px;
font-size: 30px;
}
.items {
display: flex;
justify-content: space-around;
text-decoration: none;
width: 30%;
margin-top: auto;
}
.items li {
list-style: none;
}
.items a {
color: #c2a095;
text-decoration: none;
letter-spacing: 5px;
font-weight: bold;
font-size: 14px;
}
.collicon {
display: none;
cursor: pointer;
}.collicon div {
width: 25px;
height: 5px;
background-color: #c2a095;
margin: 5px;
}
@media screen and (max-width: 1024px) {
.items {
width: 60%;
}
}@media screen and (max-width: 300px) {
body {
overflow-x: hidden;
}
}
@media screen and (max-width: 768px) {
.items {
position: absolute;
right: 0px;
height: 18vh;
top: 100%;
background-color: #5d4954;
display: flex;
flex-direction: column;
align-items: center;
width: 25%;
z-index: 99;
transform: translateX(100%);
transition: transform 0.3s ease-in;
text-decoration: none;
}
.items li {
text-decoration: none;
opacity: 0;
}
.collicon {
display: block;
text-decoration: none;
}
}.nav-active {
transform: translateX(0%);
}
@keyframes navLinksFade {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0px);
}
}
.toggle .line1 {
transform: rotate(-45deg) translate(-6px, 7px);
}
.toggle .line3 {
transform: rotate(45deg) translate(-7px, -8px);
}
.toggle .line2 {
opacity: 0;
}