forked from greena13/react-hotkeys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
55 lines (47 loc) · 792 Bytes
/
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
* {
box-sizing: border-box;
}
body {
font-family: "Helvetica Neue", Arial;
margin: 0;
}
.app {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
}
.tips {
background: #ccc;
padding: 15px;
}
.viewport {
position: relative;
overflow: hidden;
flex: 1;
}
@keyframes konamiTime {
0% {background-color: #45CEEF;}
25% {background-color: #FFF5A5;}
50% {background-color: #FFD4DA;}
75% {background-color: #99D2E4;}
100% {background-color: #D8CAB4;}
}
.viewport.konamiTime {
animation: konamiTime 2s infinite linear;
}
.node {
z-index: 5;
position: absolute;
background: black;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
.node:focus {
background: blue;
}