From 5cb8cf60e4ae177fdb2cd1d1ff97fc76e464b5d7 Mon Sep 17 00:00:00 2001 From: Leap of Azzam Date: Mon, 14 Mar 2022 23:03:04 +0700 Subject: [PATCH] make website looks good on mobile --- src/main.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.zig b/src/main.zig index afd88a6..2305960 100644 --- a/src/main.zig +++ b/src/main.zig @@ -565,6 +565,11 @@ const Website = struct { \\ font-family: sans; \\ } \\ + \\ @media screen and (max-width: 600px) { + \\ body { + \\ padding: 2em; + \\ } + \\ } // Align top-level headings \\ h1 { \\ text-align: center;