-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexstyle.css
100 lines (87 loc) · 1.59 KB
/
indexstyle.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
html {
/* background-color: #6f86d4; */
background-color: black;
background-image: url(./images/vaporwave.gif);
background-size: cover;
font-size: 10px;
height: 100vh;
touch-action: manipulation;
}
body,
html {
font-family: "Press Start 2P", cursive;
margin: 0;
padding: 0;
}
kbd {
display: block;
font-size: 4rem;
}
/* Links */
a {
color: #4caf50;
}
.box {
display: inline-block;
}
.key {
background: rgba(0, 0, 0, 0.4);
border: 0.4rem solid black;
border-radius: 0.5rem;
color: #4caf50;
display: inline-block;
font-size: 1.5rem;
margin: 1rem;
padding: 1rem 0.5rem;
text-align: center;
text-shadow: 0 0 0.5rem black;
transition: all 0.07s ease;
width: 10rem;
}
#loading {
display: block;
position: absolute;
top: 0;
left: 0;
z-index: 100;
width: 100vw;
height: 100vh;
/* background-color: rgba(192, 192, 192, 0.5); */
background-image: url(./images/cutekitty.gif);
background-repeat: no-repeat;
background-position: center;
}
.main {
/* Thank goodness this worked */
text-align: center;
}
#page {
display: none;
}
.playing {
background: #d81b60;
border-color: #d81b60;
box-shadow: 0 0 1rem #d81b60;
transform: scale(1.1);
}
.row {
display: flex;
}
/* The text underneath the key */
.sound {
color: #d81b60;
font-size: 1.2rem;
letter-spacing: 0.1rem;
text-transform: uppercase;
}
.title {
align-items: center;
color: #4caf50;
display: flex;
flex: 1;
justify-content: center;
text-align: center;
}
/* What would show on mobile devices (less than 800px width) */
@media screen and (max-width: 800px) {
}