From 7e49db5ddefe8c515b5f3931a5c701efaac33d91 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 16 Dec 2022 17:45:03 -0600 Subject: change structure for new pyssg version --- live/static/css/gb.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 live/static/css/gb.css (limited to 'live/static/css/gb.css') diff --git a/live/static/css/gb.css b/live/static/css/gb.css new file mode 100644 index 0000000..8152469 --- /dev/null +++ b/live/static/css/gb.css @@ -0,0 +1,26 @@ +main { + text-align: center; +} + +div.gameboy { + display: inline-block; + background-color: #a89f94; + border-radius: 10px; + padding: 1em; + width: clamp(30ch, 100%, 45ch); +} + +div.gameboy img.screen { + border: 10px solid #2b2b26; + border-radius: 10px; + width: 100%; +} + +div.gameboy table.controls { + margin-left: auto; + margin-right: auto; +} + +div.gameboy table.controls input{ + width: 100%; +} -- cgit v1.2.3-54-g00ecf