-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (90 loc) · 1.59 KB
/
Copy pathstyle.css
File metadata and controls
101 lines (90 loc) · 1.59 KB
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
* {
padding: 0;
margin: 0;
}
@font-face {
font-family: "Arcade";
src: url("./ARCADECLASSIC.TTF") format("truetype");
font-style: normal;
font-weight: 400;
}
.page {
background-color: #00ace6;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 100%;
min-height: 100%;
}
.game {
width: 500px;
height: 200px;
border: 1px solid white;
background-color: #00ace6;
}
.character {
width: 20px;
height: 50px;
background: url(./images/Weezer\ bolt.png);
position: relative;
top: 150px;
}
.animate {
animation: jump 500ms;
}
.block {
width: 20px;
height: 20px;
background: url(./images/Weezer\ W.png);
position: relative;
top: 130px;
left: 480px;
animation: block 1s infinite linear;
}
.title {
font-family: 'Arcade', Arial, sans-serif;
color: #ffffff;
font-weight: 400;
font-size: 200px;
line-height: 22px;
margin: 50px auto 25px;
}
.middletitle {
font-family: 'Arcade', Arial, sans-serif;
color: #ffffff;
font-weight: 400;
font-size: 50px;
line-height: 22px;
margin: 50px auto 50px;
}
.subtitle {
font-family: 'Arcade', Arial, sans-serif;
color: #ffffff;
font-weight: 400;
font-size: 75px;
line-height: 21px;
margin: 0 auto 25px;
}
@keyframes block {
0% {
left: 480px;
}
100% {
left: -40px;
}
}
@keyframes jump {
0% {
top: 150px;
}
30% {
top: 100px;
}
70% {
top: 100px;
}
100% {
top: 150px;
}
}