From 09f98a63da99a5e60e3c524cae9e19f1c044cbba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Thu, 4 Apr 2019 16:57:11 +0200 Subject: [PATCH] A bit of small-screen optimisations --- xmpp.v2.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/xmpp.v2.css b/xmpp.v2.css index 93696e22..f5daaf26 100644 --- a/xmpp.v2.css +++ b/xmpp.v2.css @@ -709,3 +709,22 @@ width: calc((100vw - 60em) / 2 - 2em); } } + +@media screen and ( max-width: 60em ) { + body { + padding: 0.5em; + } + + h1 { + font-size: 1.5em; + } + + dl#docmeta > dd { + margin-left: 0; + padding-left: 0; + } + + nav#toc > h2 { + font-size: 1.25em; + } +}