-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (99 loc) · 1.76 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
* {
padding:0;
margin:0;
text-align: left;
font-family: Helvetica;
color:#fff;
list-style-type: none;
}
body {
margin: 0;
text-align: left;
font-family: sans-serif;
display: grid;
grid-gap: 0;
grid-template-columns:1fr 1fr 1fr 1fr 1fr ;
grid-template-rows: 1fr 1fr 1fr 1fr;
background-image: url(back.gif);
background-size: cover;
height: 100vh;
letter-spacing: normal;
margin: 0;
overflow: hidden;
justify-content: center;
align-items: center;
}
label, input {
font-size: large;
margin: 5px;
}
input[type=range], input[type=checkbox] {
accent-color: #eee;
}
#controls {
grid-area:1/1/6/1;
z-index: 9999;
margin-bottom: 20px;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 10px;
}
#controls > div {
z-index: 9999;
display: block;
margin: 10px;
}
aside{
grid-area:2/6/3/1;
width: 100%;
padding: 0 0 3% 0;
text-align: center;
}
nav{
z-index: 9999;
grid-area:2/3/3/3;
justify-content: center;
align-items: center;
}
main{
z-index: 9999;
grid-area:3/3/3/3;
justify-content: center;
align-items: center;
}
#piano-keyboard {
display: flex;
align-items: flex-start;
height: 200px;
}
.white-key, .black-key {
border: 1px solid black;
cursor: pointer;
user-select: none;
}
.white-key {
width: 40px;
height: 200px;
background: white;
}
.black-key {
width: 25px;
height: 120px;
background: black;
margin-left: -12.5px;
margin-right: -12.5px;
z-index: 1;
}
h1 {
font: normal 7em georgia;
letter-spacing: 0.2px;
font-weight: lighter;
text-align: center;
}
p {
font-family: helvetica;
text-align: center;
letter-spacing: 0.2px;
font-weight: lighter;
}
@media screen and (max-width: 500px) {
}