-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (110 loc) · 1.99 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
body {
font-family: monospace;
font-size: 10pt;
overflow: hidden;
}
button {
font-family: monospace;
height: 1.5em;
margin-top: 0.5em;
border: 1px black solid;
background-color: #ddd;
}
button:hover {
background-color: #ccc;
transform: translate(0, 1px);
}
button:active {
background-color: #eee;
transform: translate(0, 1px);
}
button:disabled {
opacity: 0.7;
background-color: white;
}
input[type="text"] {
height: 1.5em;
font-family: monospace;
border: 1px solid black;
background-color: white;
}
input[type="text"]:hover {
transform: translate(0, 1px);
}
input[type="text"]:focus-visible {
outline: 1px lightgray;
transform: translate(0, 1px);
}
div.gameFrame {
margin: 0.5em;
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
}
@keyframes fizzle {
90% {
opacity: 0;
} to {
transform: translate(10%, 100%) rotate(10deg);
opacity: 0;
}
}
div.fizzle {
animation: fizzle 5s 1s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes slidein {
from {
opacity: 0;
transform: translate(-20%, 0);
} 50% {
opacity: 0;
} to {
opacity: 1;
transform: translate(0, 0);
}
}
@keyframes slideout {
from {
opacity: 1;
transform: translate(0, 0);
} 50% {
opacity: 0;
} to {
opacity: 0;
transform: translate(-20%, 0);
}
}
#intro-div {
margin: 0.5em;
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
animation: slidein 1s forwards, slideout 1s 3s forwards;
}
.intro-title {
font-weight: bolder;
font-size: 1.4em;
}
.intro-subtitle {
font-style: italic;
margin-top: 1em;
}
#recursion-div {
animation: slidein 1s forwards;
margin: 0.5em;
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
}
button#debug-step {
z-index: 10;
position: fixed;
left: 1em;
bottom: 1em;
}