From d4e68bf66b0b98bd35bf3eb1aab4fed6db317e75 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 1 Aug 2025 11:58:09 +0100 Subject: [PATCH] docs: add MEGA S4 as a gold sponsor This also tidies the menu cards. --- Makefile | 2 +- docs/layouts/chrome/menu.html | 40 ++++++++++++++++++++------------- docs/layouts/chrome/navbar.html | 1 + docs/static/css/custom.css | 12 ++++++++-- 4 files changed, 36 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index 2e55c5a0c..8ed067f66 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ fetch_binaries: rclone -P sync --exclude "/testbuilds/**" --delete-excluded $(BETA_UPLOAD) build/ serve: website - cd docs && hugo server --logLevel info -w --disableFastRender + cd docs && hugo server --logLevel info -w --disableFastRender --ignoreCache tag: retag doc bin/make_changelog.py $(LAST_TAG) $(VERSION) > docs/content/changelog.md.new diff --git a/docs/layouts/chrome/menu.html b/docs/layouts/chrome/menu.html index 239e7e19e..dfe852f42 100644 --- a/docs/layouts/chrome/menu.html +++ b/docs/layouts/chrome/menu.html @@ -1,17 +1,16 @@ {{ if and (gt .WordCount 200 ) (not (.Params.notoc)) }}
-
+
Contents
-
+
{{ .TableOfContents }} -

{{end}}
-
+
Platinum Sponsor
@@ -20,7 +19,7 @@
-
+
Gold Sponsor
@@ -29,7 +28,7 @@
-
+
Gold Sponsor
@@ -37,9 +36,18 @@
+
+
+ Gold Sponsor +
+
+
+
+
+ {{if .IsHome}}
-
+
Silver Sponsor
@@ -47,7 +55,7 @@
-
+
Silver Sponsor
@@ -57,31 +65,31 @@ {{end}}
-
+
Share and Enjoy
-
-
-
+
Links
- diff --git a/docs/layouts/chrome/navbar.html b/docs/layouts/chrome/navbar.html index 872a2e1e5..7d413f078 100644 --- a/docs/layouts/chrome/navbar.html +++ b/docs/layouts/chrome/navbar.html @@ -85,6 +85,7 @@ Linkbox Mail.ru Cloud Mega + Mega S4 Memory Microsoft Azure Blob Storage Microsoft Azure Files Storage diff --git a/docs/static/css/custom.css b/docs/static/css/custom.css index 50f07dc38..3de4a361c 100644 --- a/docs/static/css/custom.css +++ b/docs/static/css/custom.css @@ -63,11 +63,19 @@ h1, h2, h3, h4, h5, h6 { /* Fix spacing of info boxes */ .card { - margin-top: 0.75rem; + margin-top: 0.5rem; +} +/* less padding on titles */ +.card-header { + padding: 5px 15px; } /* less padding around info box items */ .card-body { - padding: 0.5rem; + padding: 0px; +} +/* more padding around info box items */ +.card-body-padded { + padding: 10px 10px 10px 10px; } /* make menus longer */