From b2dd870dce45cd06ebd90cc1652b17ec1066a6ec Mon Sep 17 00:00:00 2001 From: ewy Date: Thu, 23 Apr 2026 02:25:08 +0200 Subject: orientation rules --- terminal.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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; -- cgit v1.3.1