summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-23 02:25:08 +0200
committerewy <ewy0@protonmail.com>2026-04-23 02:25:08 +0200
commitb2dd870dce45cd06ebd90cc1652b17ec1066a6ec (patch)
tree70dc640ec8455c20d2fe818b8188ace1c4ce3d11
parent1bc5229bfd04c295ae0ac53b8558e5ba6d24f938 (diff)
orientation rules
-rw-r--r--terminal.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/terminal.css b/terminal.css
index 59d9c19..13464ac 100644
--- a/terminal.css
+++ b/terminal.css
@@ -17,12 +17,24 @@ html {
color: var(--foreground);
}
+
+@media(orientation: portrait) {
+ body {
+ padding: 32px;
+ }
+}
+
+@media(orientation: landscape) {
+ body {
+ max-width: 40em;
+ }
+}
+
body {
display: flex;
flex-direction: column;
gap: 32px;
padding-top: 32px;
- max-width: 40em;
margin: auto;
font-family: monospace;
font-size: 1.2em;