From a3feac62dd80512d68bc13f1ab15ffd57fb972e1 Mon Sep 17 00:00:00 2001 From: vas3k Date: Fri, 10 Jan 2020 20:48:16 +0100 Subject: [PATCH] Smaller fonts and one column layout on mobile --- static/css/layout.css | 5 ++++- static/css/theme.css | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/static/css/layout.css b/static/css/layout.css index 5f32d0d..e127314 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -74,10 +74,13 @@ } } - @media only screen and (max-width : 570px) { + @media only screen and (max-width : 750px) { .block { grid-template-columns: 100%; } + } + + @media only screen and (max-width : 570px) { .block-header { grid-column-start: 1; diff --git a/static/css/theme.css b/static/css/theme.css index 9c06991..93d7203 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -45,6 +45,12 @@ body { background-color: var(--bg-color); } + @media only screen and (max-width : 800px) { + body { + font-size: 14px; + } + } + a { color: var(--link-color); transition: all linear .1s;