-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspace-potato.css
69 lines (61 loc) · 1.57 KB
/
space-potato.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
html {
font-family: Arial, sans-serif;
font-size: 20px;
line-height: 1.5rem;
background-color: #ccc;
background-image:linear-gradient(#fff, #ccc);
height: 100vh;
}
#instructions {
text-align: center;
padding: 0.5rem;
opacity: 0.25;
}
.container {
text-align: center;
}
#textbox {
height: 50%;
width: 45%;
position: absolute;
display: none;
padding: 6rem 1rem;
}
#textbox p {
margin: 0 0 1rem 0;
font-size: 1.75rem;
}
.char-img {
display: inline-block;
padding: 3.5rem;
-webkit-transition: transform 0.25s ease-in-out;
-moz-transition: transform 0.25s ease-in-out;
-o-transition: transform 0.25s ease-in-out;
transition: transform 0.25s ease-in-out;
}
.neutral {
-webkit-transition: transform 0.25s ease-in-out;
-moz-transition: transform 0.25s ease-in-out;
-o-transition: transform 0.25s ease-in-out;
transition: transform 0.25s ease-in-out;
/*-webkit-animation: dance 1s ease-in-out infinite;
-moz-animation: dance 1s ease-in-out infinite;
animation: dance 1s ease-in-out infinite;*/
}
.unselected {
-webkit-transition: transform 0.25s ease-in-out;
-moz-transition: transform 0.25s ease-in-out;
-o-transition: transform 0.25s ease-in-out;
transition: transform 0.25s ease-in-out;
-webkit-transform: translateY(13rem) scale(0.25, 0.25);
-moz-transform: translateY(13rem) scale(0.25, 0.25);
-ms-transform: translateY(13rem) scale(0.25, 0.25);
-o-transform: translateY(13rem) scale(0.25, 0.25);
transform: translateY(13rem) scale(0.25, 0.25);
}
/* radio controls */
audio {
display: block;
width: 15rem;
margin: 0 auto;
}