-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
83 lines (82 loc) · 1.23 KB
/
styles.scss
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
#app {
font-family: "Amatic SC", cursive;
font-size: 1.5rem;
font-weight: 700;
}
.mainButtons {
font-weight: 400;
font-size: 1.5rem;
}
.boldText {
font-weight: 700;
font-size: 1.8rem;
}
nav {
display: flex;
align-items: center;
div {
width: calc(98vw / 2);
padding: 15px 10px;
text-align: center;
}
}
h1 {
text-align: center;
font-size: 1.5em;
}
ul {
padding: 0;
font-size:2rem;
li {
list-style: none;
&:before {
content: "";
display: inline-block;
width: 12px;
height: 12px;
border-right: 1px solid black;
border-bottom: 1px solid black;
transform: rotate(-45deg);
margin: 0 10px;
}
}
}
@keyframes toCart {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes clue {
0% {
opacity: 0;
color: #000;
}
10% {
opacity: 1;
color: #de2012;
}
90% {
opacity: 1;
color: #de2012;
}
100% {
opacity: 0;
color: #000;
}
}
.addToCart {
animation: toCart 1s forwards;
}
.clue {
opacity: 0;
text-align: center;
display: block;
margin: 0 auto;
color: #de2012;
}
.clueActive {
animation: clue 3.5s forwards;
}