diff --git a/css/artsey-tutor.css b/css/artsey-tutor.css index a5fad61..ee5bbf8 100644 --- a/css/artsey-tutor.css +++ b/css/artsey-tutor.css @@ -16,6 +16,7 @@ padding: 20px; margin-top: 40px; margin-bottom: 40px; + background-color: antiquewhite; } .flex-items { @@ -30,7 +31,6 @@ align-self: auto; order: 0; width: 500px; - border: 2px black solid; font-size: 44px; text-align: center; margin: 0 auto 20px; @@ -43,7 +43,6 @@ flex-basis: auto; align-self: auto; order: 0; - border: 2px black solid; margin: 0 auto; width: 500px; } @@ -57,6 +56,7 @@ grid-row-gap: 12px; padding: 12px; margin: 0 auto; + background-color: slategray; } .keyboard-key { @@ -64,6 +64,7 @@ height: 100px; border: 2px solid black; margin: 2px; + background-color: white; } #keyboard-key:nth-child(1) { @@ -96,4 +97,35 @@ #keyboard-key:nth-child(8) { grid-area: 2 / 4 / 3 / 5; +} + +#letterbox { + min-height: 100px; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + align-items: normal; + align-content: normal; +} + +.letterbox-letter, .letterbox-letter-hl { + width: 20px; + height: 36px; + font-size: 24px; + font-weight: bold; + color: black; + border-bottom: solid black 2px; + margin: 4px; + display: block; + flex-grow: 0; + flex-shrink: 1; + flex-basis: auto; + align-self: auto; + order: 0; +} + +.letterbox-letter-hl { + border: solid black 2px; + background-color: yellow; } \ No newline at end of file diff --git a/index.html b/index.html index 6c16887..7624099 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@