-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
66 lines (59 loc) · 1.22 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
*{
font-family: 'Press Start 2P';
}
button {
}
#canvas {
margin-left: 5%;
margin-right: 25%;
border: 1px #00ff00 dotted;
}
.solid-walls {
border: 1px red solid !important;
}
body {
background-color: black;
}
@keyframes neonspark {
0% { text-shadow: none; }
30% { text-shadow: 0 0 30px rgba(0, 255, 0,0.6); }
60% {
text-shadow: 0 0 30px rgba(0,255,0,0.6),
0 0 60px rgba(0,255,0,0.4);
}
80% { text-shadow: none; }
100% {
text-shadow: 0 0 30px rgba(80,255,0,0.6),
0 0 60px rgba(80,255,0, 0.4),
0 0 100px rgba(80,255, 0,0.2),
0 0 90px rgba(80,255,0,0.1);
}
}
@font-face{
font-weight:normal;
font-style:normal;
}
body { margin: 0; }
h1#neon-tubing {
padding: 6rem;
text-align: center;
font-family: 'Press Start 2P';
font-size: 11rem; letter-spacing: 2rem;
}
h3#neon-tubing {
margin: 0;
font-weight: 100;
text-align: center;
font-family: 'Press Start 2P';
color: #111;
padding: 1rem;
font-size: 5rem;
letter-spacing: 2rem;
animation: neonspark 1s 3s forwards;
text-shadow:
0 0 20px rgba(0,255,0,0.6),
0 0 40px rgba(0,255,0,0.4),
0 0 60px rgba(0,255,0,0.2),
0 0 80px rgba(0,255,0,0.1);
}
h1#neon-tubing span { animation: neonspark 1s 1s infinite; }