summaryrefslogtreecommitdiff
path: root/live/static/css/gb.css
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-16 17:45:03 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-16 17:45:03 -0600
commit7e49db5ddefe8c515b5f3931a5c701efaac33d91 (patch)
treed7d1efda44837a466fe079266efda90021812399 /live/static/css/gb.css
parent3112a76dac594fe715b59e53c399b0dec5b53193 (diff)
change structure for new pyssg version
Diffstat (limited to 'live/static/css/gb.css')
-rw-r--r--live/static/css/gb.css26
1 files changed, 26 insertions, 0 deletions
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%;
+}