From cf9517914300b6eb6cb36aa0b6403352fad0a85b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 27 May 2021 13:10:24 -0300 Subject: css updates for better mobile layout --- src/static/site.css | 22 ++++++++++++++++++++++ src/upd8.js | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/static/site.css b/src/static/site.css index e664c0ee..0f81d276 100644 --- a/src/static/site.css +++ b/src/static/site.css @@ -261,9 +261,11 @@ footer > :last-child { } #content { + box-sizing: border-box; padding: 20px; flex-grow: 1; flex-shrink: 3; + overflow-wrap: break-word; } .sidebar > h1, @@ -904,4 +906,24 @@ li > ul { .content-columns { columns: 1; } + + #content { + width: 100%; + } + + #cover-art-container { + float: none; + margin: 0 10px 10px 10px; + margin: 0; + width: 100%; + max-width: unset; + } + + #header { + display: block; + } + + #header > div { + margin-top: 0.5em; + } } diff --git a/src/upd8.js b/src/upd8.js index 1337d286..c5f97926 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -169,7 +169,7 @@ import { const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const CACHEBUST = 6; +const CACHEBUST = 7; const WIKI_INFO_FILE = 'wiki-info.txt'; const HOMEPAGE_INFO_FILE = 'homepage.txt'; -- cgit 1.3.0-6-gf8a5