From 9f05c40fa4bab07586f17c749f62e534e3b7d418 Mon Sep 17 00:00:00 2001 From: askiiart Date: Mon, 28 Aug 2023 09:30:40 -0500 Subject: [PATCH] Increase font size a bit on mobile --- style.css | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index 28712eb..d5d8cd3 100755 --- a/style.css +++ b/style.css @@ -23,12 +23,6 @@ h3 { line-height: 1.2 } -@media print { - body { - max-width: none - } -} - code { background: #202020 } @@ -40,4 +34,31 @@ pre { wrap { word-wrap: break-word +} + +@media (max-device-width: 1200px) { + h1 { + line-height: 1.2; + font-size: 40px; + } + + h2 { + line-height: 1.2; + font-size: 30px; + } + + body { + font-size: 20px; + } + + pre, + code { + font-size: 16px; + } +} + +@media print { + body { + max-width: none + } } \ No newline at end of file