-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
93 lines (81 loc) · 1.35 KB
/
styles.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
body {
font-family: 'Roboto', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(135deg, #72edf2 10%, #5151e5 100%);
color: #333;
}
.container {
text-align: center;
}
.intro-box,
.game-box {
background: #fff;
padding: 40px 60px;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
transition: opacity 0.5s ease;
}
h1 {
font-size: 2em;
margin-bottom: 10px;
}
p {
font-size: 1.2em;
margin-bottom: 20px;
}
button {
padding: 10px 20px;
margin-top: 20px;
border: none;
border-radius: 25px;
background-color: #007BFF;
color: #fff;
font-size: 1em;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: #0056b3;
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
.controls {
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
#speedInput {
width: 60px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
text-align: center;
font-size: 1em;
}
canvas {
margin-top: 20px;
border: 1px solid #ccc;
border-radius: 10px;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
padding: 10px;
background: transparent;
}
footer a {
margin: 0 15px;
display: inline-block;
font-size: 20px;
color: #1e1f22;
}