diff --git a/index.css b/index.css index a8b26b8..1af85c7 100644 --- a/index.css +++ b/index.css @@ -1,17 +1,19 @@ .whiteKey { color: white; + background-color: white; border: solid 1px; border-color: grey; - height: 67pt; -/* - max-height: 60pt; - max-width: 20pt; - */ position: relative; - left: 7.5pt; - width: 20pt; display: inline-block; + height: 67pt; + width: 20pt; +} + +.blackKeyOuter { + position: relative; + left: -7.5pt; + z-index: 1; } .blackKey { @@ -19,12 +21,19 @@ background-color: black; position: absolute; - z-index: 1; + display: inline-block; height: 40pt; width: 15pt; - /* - max-height: 40pt; - max-width: 15pt; - */ - display: inline-block; +} + +.playing { + background-color: lime; +} + +.held { + background-color: gold; +} + +#keyboard { + white-space: nowrap; } diff --git a/index.html b/index.html index 1ecd53c..c57a983 100644 --- a/index.html +++ b/index.html @@ -11,8 +11,65 @@