diff --git a/index.html b/index.html index aab10f1..4a4857b 100755 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ -
+
@@ -20,12 +20,11 @@ -
- - + + diff --git a/script.js b/script.js index 5b31950..1ba2eeb 100755 --- a/script.js +++ b/script.js @@ -91,11 +91,6 @@ whiteButton.addEventListener('click', () => { ctx.strokeStyle = 'white'; } ); -// Change color to Coral -coralButton.addEventListener('click', () => { - ctx.strokeStyle = '#FF7F50'; -}); - // Change color to red redButton.addEventListener('click', () => { ctx.strokeStyle = '#ff0c2c'; diff --git a/style.css b/style.css index 7bfa5ca..1c1c8c1 100755 --- a/style.css +++ b/style.css @@ -1,23 +1,113 @@ body { height: 100vh; width: 100vw; - background-color: wheat; - + background-color: hsla(0,0%,0%,0.8); + margin: 25px; } canvas { + background: rgb(79, 79, 90); +border: solid gray .7px; +border-radius: 5px; +} - background: white; -border: solid black 1px; +canvas:hover, canvas:focus { + cursor: pointer; } + + /* Color Palette Container */ -.colors { - background-color: white; +.colors-container { +display: inline-block; + background-color: rgb(79, 79, 90); + border: solid gray .7px; + border-radius: 5px; + + margin: 25px; +} + +/* Color Swatches Look Like This */ +.colors-container button { + width: 65px; border: solid black 1px; - padding: 20px; - display: inline-block; + border-radius: 5px; + padding: 10px; margin: 5px; } -/* button#download */ \ No newline at end of file +.colors-container button:hover { + border: white 1px solid; +} + + + +button:hover { + cursor: pointer; +} + +#white { + background-color: white; + color: white; +} + +#black { + background-color: black; + color: black; +} + +#red { + background-color: #ff0c2c; + color: #ff0c2c; +} + +#orange { + background-color: #F58e16; + color: #F58e16; +} + +#yellow { + background-color: #ffff00; + color: #ffff00; +} + +#green { + background-color: #00ff00; + color: #00ff00; +} + +#blue { + background-color: #0c43ff; + color: #0c43ff; +} + +#purple { + background-color: #8000ff; + color: #8000ff; +} + +#pink { + background-color: #ff00ff; + color: #ff00ff; +} + + + +/* Download & Erase Buttons */ +button#download, +button#erase { + background-color: lightgray; + border: solid gray 1px; + border-radius: 5px; + margin: 25px; +} + +button#download:hover, +button#erase:hover { + background-color: white; + border: solid white .7px; +} + +html { + overflow: hidden; +} \ No newline at end of file