forked from Rakesh9100/Click-The-Edible-Game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
144 lines (124 loc) · 3.26 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
@import url("https://fonts.googleapis.com/css?family=Bell+MT&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter&family=Poppins&display=swap");
* {
box-sizing: border-box;
}
:root {
--second: rgb(83,53,102);
--primary: #292d3f;
--third: rgba(255, 154, 158, 1);
--fourth: rgba(254, 207, 239, 1);
--textcol: rgb(255, 255, 255);
--c: #8892c6;
--block: #92b4df65;
--textcolblock: #547ba8;
}
body {
background: var(--primary);
background: linear-gradient(150deg, var(--primary) 30%, var(--second) 100%);
color: white;
font-family: "STLiti", sans-serif;
height: 100%;
overflow: hidden;
margin: 0;
text-align: center;
background-repeat: no-repeat;
background-size: cover;
border: white 16px solid;
}
#logo path:nth-child(2){
stroke-dasharray: 37.5rem;
stroke-dashoffset: 37.5rem;
animation: animate 2s ease forwards;
}
#logo path:nth-child(3){
stroke-dasharray: 23.125rem;
stroke-dashoffset: 23.125rem;
animation: animate 2s ease forwards 0.1s;
}
#logo path:nth-child(4){
stroke-dasharray: 23.438rem;
stroke-dashoffset: 23.438rem;
animation: animate 2s ease forwards 0.2s;
}
#logo path:nth-child(5){
stroke-dasharray: 26.25rem;
stroke-dashoffset: 26.25rem;
animation: animate 2s ease forwards 0.3s;
}
#logo path:nth-child(6){
stroke-dasharray: 37.188rem;
stroke-dashoffset: 37.188rem;
animation: animate 2s ease forwards 0.4s;
}
#logo path:nth-child(7){
stroke-dasharray: 73.75rem;
stroke-dashoffset: 73.75rem;
animation: animate 2s ease forwards 0.5s;
}
#logo path:nth-child(8){
stroke-dasharray: 28.125rem;
stroke-dashoffset: 28.125rem;
animation: animate 2s ease forwards 0.9s;
}
#logo path:nth-child(9){
stroke-dasharray: 38.75rem;
stroke-dashoffset: 38.75rem;
animation: animate 2s ease forwards ;
}
#logo path:nth-child(10){
stroke-dasharray: 41.563rem;
stroke-dashoffset: 41.563rem;
animation: animate 2s ease forwards 0.1s;
}
#logo path:nth-child(11){
stroke-dasharray: 23.438rem;
stroke-dashoffset: 23.438rem;
animation: animate 2s ease forwards 0.2s;
}
#logo path:nth-child(12){
stroke-dasharray: 34.375rem;
stroke-dashoffset: 34.375rem;
animation: animate 2s ease forwards 0.3s;
}
#logo path:nth-child(13){
stroke-dasharray: 23.125rem;
stroke-dashoffset: 23.125rem;
animation: animate 2s ease forwards 0.4s;
}
#logo path:nth-child(14){
stroke-dasharray: 28.125rem;
stroke-dashoffset: 28.125rem;
animation: animate 2s ease forwards 0.5s;
}
#logo path:nth-child(15){
stroke-dasharray: 60.75rem;
stroke-dashoffset: 60.75rem;
animation: animate 2s ease forwards 0.6s;
}
#logo path:nth-child(16){
stroke-dasharray: 36.875rem;
stroke-dashoffset: 36.875rem;
animation: animate 2s ease forwards 0.7s;
}
#logo path:nth-child(17){
stroke-dasharray: 50.125rem;
stroke-dashoffset: 50.125rem;
animation: animate 2s ease forwards 0.8s;
}
#logo path:nth-child(18){
stroke-dasharray: 28.125rem;
stroke-dashoffset: 28.125rem;
animation: animate 2s ease forwards 0.9s;
}
@keyframes animate {
to{
stroke-dashoffset: 0px;
}
}
@media screen and (max-width:1024px) {
#logo{
height:100%;
width: 100%;
}
}