| 1 | body { |
| 2 | font-family: sans-serif; |
| 3 | text-align: center; |
| 4 | margin: 0; |
| 5 | padding: 1rem; |
| 6 | background: #202124; |
| 7 | color: #eee |
| 8 | } |
| 9 | |
| 10 | h1 { |
| 11 | margin-top: 0; |
| 12 | padding-top: 1rem |
| 13 | } |
| 14 | |
| 15 | canvas { |
| 16 | border: 1px solid #555; |
| 17 | background: #111; |
| 18 | cursor: crosshair |
| 19 | } |
| 20 | |
| 21 | .toolbar { |
| 22 | margin-top: .8rem; |
| 23 | display: flex; |
| 24 | justify-content: center; |
| 25 | align-items: center; |
| 26 | gap: 1rem; |
| 27 | } |
| 28 | |
| 29 | button, |
| 30 | input[type=range] { |
| 31 | margin: 0 .5rem |
| 32 | } |
| 33 | |
| 34 | /* Color wheel styles */ |
| 35 | .color-picker-wrapper { |
| 36 | position: relative; |
| 37 | display: inline-block; |
| 38 | } |
| 39 | |
| 40 | #colorWheel { |
| 41 | width: 150px; |
| 42 | height: 150px; |
| 43 | border-radius: 50%; |
| 44 | cursor: crosshair; |
| 45 | border: 2px solid #444; |
| 46 | } |
| 47 | |
| 48 | .color-preview { |
| 49 | width: 30px; |
| 50 | height: 30px; |
| 51 | border-radius: 50%; |
| 52 | border: 2px solid #666; |
| 53 | display: inline-block; |
| 54 | vertical-align: middle; |
| 55 | margin-left: 10px; |
| 56 | } |