From fb6069de6da793b112fa8729a6512c4cdc95e9a4 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 9 Jan 2022 17:49:37 +0000 Subject: [PATCH] Doc: Add Twitter link in header and fixed donate links --- Assets/WebsiteAssets/css/site.css | 36 ++++++++++++++++++- .../templates/partials/footer.mustache | 11 +----- .../templates/partials/navbar.mustache | 7 ++-- .../templates/partials/socialFeeds.mustache | 10 ++++++ packages/tools/website/build.ts | 16 ++++++--- 5 files changed, 63 insertions(+), 17 deletions(-) create mode 100644 Assets/WebsiteAssets/templates/partials/socialFeeds.mustache diff --git a/Assets/WebsiteAssets/css/site.css b/Assets/WebsiteAssets/css/site.css index 1295166350..65f299dce8 100644 --- a/Assets/WebsiteAssets/css/site.css +++ b/Assets/WebsiteAssets/css/site.css @@ -728,6 +728,23 @@ footer .bottom-links-row p { } } +/***************************************************************** + MEDIUM VIEW + - Make menu bar elements smaller and closer to each others + so that everything fit. +*****************************************************************/ + +@media (max-width: 990px) { + #nav-section > .container { + max-width: 960px; + } + + #nav-section .button-link { + padding: 4px 12px; + font-size: 15px; + } +} + /***************************************************************** NARROW VIEW - Top right menu is displayed @@ -740,6 +757,23 @@ footer .bottom-links-row p { padding-bottom: 130px; } + #menu-mobile .social-links { + display: flex; + justify-content: center; + margin-top: 20px; + } + + #menu-mobile .social-links a { + margin-left: 15px; + font-size: 20px; + } + + #menu-mobile .social-links .social-link-mastodon, + #menu-mobile .social-links .social-link-reddit, + #menu-mobile .social-links .social-link-patreon { + display: none; + } + .front-page h1 { font-size: 2.5em; } @@ -857,7 +891,7 @@ footer .bottom-links-row p { } #menu-mobile .button-link { - padding: 10px 15px; + padding: 4px 12px; font-size: 16px; margin-left: 0px; } diff --git a/Assets/WebsiteAssets/templates/partials/footer.mustache b/Assets/WebsiteAssets/templates/partials/footer.mustache index ef64830c09..d883c711e5 100644 --- a/Assets/WebsiteAssets/templates/partials/footer.mustache +++ b/Assets/WebsiteAssets/templates/partials/footer.mustache @@ -1,15 +1,6 @@