From a1f8fa3ac25bdba60fc3a4e8819bb354a76a4e23 Mon Sep 17 00:00:00 2001 From: julientaq <julien@coko.foundation> Date: Mon, 10 Jan 2022 15:12:37 +0100 Subject: [PATCH] fix mobile menu --- static/css/theme-coko/main.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/static/css/theme-coko/main.css b/static/css/theme-coko/main.css index 93677ca..f0e6301 100644 --- a/static/css/theme-coko/main.css +++ b/static/css/theme-coko/main.css @@ -577,6 +577,14 @@ footer section.infos a:hover { margin-bottom: 2em; } } +@media screen and (max-width: 1100px) { + .topbar { + flex-direction: column; + } + .topbar nav ul li { + width: 100%; + } +} @media screen and (max-width: 768px) { .topbar { flex-direction: column; @@ -644,3 +652,11 @@ footer section.infos a:hover { .footertagline { margin-top: 4em; } +@media screen and (max-width: 700px) { + .article-single article { + display: block; + } + .article-single article p { + padding: 1em 0; + } +} -- GitLab