-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
55 lines (49 loc) · 895 Bytes
/
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
body {
background-color: #f0f0f0;
overflow: hidden;
margin: 0;
padding: 0;
}
.container {
margin: 0 auto;
text-align: center;
position: relative;
}
canvas {
width: 100%;
height: 100%;
}
button {
border-radius: 15px;
padding: 10px 20px;
font-size: 16px;
background-color: #eb9008;
color: white;
border: none;
cursor: pointer;
margin-top: 20px;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
button:hover {
background-color: #ffdf37;
}
.text {
position: absolute;
color: #333;
left: 50%;
transform: translateX(-50%);
top: 150px;
width: 100%;
line-height: 1.5;
font-size: xx-large;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
opacity: 0;
transition: opacity 1s ease;
font-family: 'Indie Flower', cursive;
}
.text.show {
opacity: 1;
}