From 1f705c122dfe7b9ec0cd956c5188b907e6e8e4b8 Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 28 Jan 2019 15:50:21 +0100 Subject: Mobile-friendly UI sizing in CSS. --- html/common.css | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'html/common.css') diff --git a/html/common.css b/html/common.css index 14931fa..7162338 100644 --- a/html/common.css +++ b/html/common.css @@ -6,11 +6,22 @@ html { font-family: sans-serif; } body { - padding:0; - margin:10px 30px 10px 20px; + padding: 0; + font-size: 12px; + margin: 1em; color:#000; } +.mobile body { + font-size: 6mm; + width: auto; + max-width: auto; +} + +.mobile button { + font-size: 1.5em +} + div.libre { position: relative; } -- cgit v1.2.3