diff options
Diffstat (limited to 'static/css/gb.css')
-rw-r--r-- | static/css/gb.css | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/static/css/gb.css b/static/css/gb.css index 54682d0..8152469 100644 --- a/static/css/gb.css +++ b/static/css/gb.css @@ -1,33 +1,26 @@ -body{ +main { text-align: center; - background-color: #e0dbcd; } -div.gameboy{ - padding: 10px; - border-radius: 10px; +div.gameboy { display: inline-block; background-color: #a89f94; + border-radius: 10px; + padding: 1em; + width: clamp(30ch, 100%, 45ch); } -img.screen{ +div.gameboy img.screen { border: 10px solid #2b2b26; border-radius: 10px; - width: 320px; - height: 288px; + width: 100%; } -table{ +div.gameboy table.controls { margin-left: auto; margin-right: auto; } -table.controls{ - max-width: 320px; - height: auto; -} - -.controls input, img{ - height: 35px; - width: auto; +div.gameboy table.controls input{ + width: 100%; } |