-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
101 lines (85 loc) · 1.51 KB
/
styles.css
File metadata and controls
101 lines (85 loc) · 1.51 KB
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
body {
background-color: #121212;
color: #fff;
font-family: 'Georgia', serif;
text-align: center;
padding: 2em;
}
.key {
display: inline-block;
margin: 1em;
padding: 1em 2em;
border: 2px solid #fff;
border-radius: 1em;
background-color: #333;
cursor: pointer;
transition: 0.2s;
}
.key:hover {
background-color: #444;
}
.poetry {
margin-top: 1em;
font-style: italic;
opacity: 0.8;
}
hr {
margin: 3em auto;
width: 60%;
border: none;
height: 1px;
background-color: #555;
}
#poetryBox {
margin: 2em auto;
padding: 1.2em 2em;
max-width: 500px;
background: #f9f6f2;
border-left: 5px solid #e74c3c;
border-radius: 8px;
font-style: italic;
font-size: 1.2em;
color: #333;
text-align: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
transition: background 0.3s;
}
#progressionBox .key {
color: #222;
background: #fff;
border-color: #333;
}
#progressionBox .key:hover {
background: #eee;
}
.piano-container {
display: inline-block;
padding: 8px;
background: #f0f0f0;
border: 1px solid #ccc;
border-radius: 8px;
}
.piano {
position: relative;
width: 840px;
height: 200px;
}
.white-key {
width: 60px;
height: 200px;
background: white;
border: 1px solid #000;
float: left;
box-sizing: border-box;
}
.black-key {
width: 40px;
height: 120px;
background: black;
position: absolute;
z-index: 2;
}
.active-key {
background: #ffe082 !important;
box-shadow: 0 0 10px #ffd54f;
}