From d078a3b2914fbbc090da828010b72fbeb435a385 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Wed, 11 Sep 2024 17:59:21 +0200 Subject: [PATCH] site: update top navigation styles - use the full viewport width - goodbye sad gray, hello fun blue - nicer logo Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- assets/images/docker-docs-white.svg | 32 ++++------------------------- hugo_stats.json | 12 +++++------ layouts/partials/header.html | 4 ++-- layouts/partials/tooltip.html | 4 ++-- tailwind.config.js | 5 ----- 5 files changed, 13 insertions(+), 44 deletions(-) diff --git a/assets/images/docker-docs-white.svg b/assets/images/docker-docs-white.svg index d5ceab0ea8..1c26634084 100644 --- a/assets/images/docker-docs-white.svg +++ b/assets/images/docker-docs-white.svg @@ -1,29 +1,5 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + diff --git a/hugo_stats.json b/hugo_stats.json index e1f6337048..51e10ef77a 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -139,7 +139,6 @@ "absolute", "aspect-video", "bake-action", - "bg-accent-light", "bg-amber-light", "bg-amber-light-200", "bg-background-light", @@ -155,6 +154,7 @@ "bg-gray-light-200", "bg-gray-light-200/50", "bg-gray-light-400", + "bg-gray-light-700", "bg-green-light", "bg-green-light-400", "bg-pattern-blue", @@ -191,11 +191,9 @@ "box-content", "build-push-action", "chroma", - "cls-1", "col-start-2", "cursor-not-allowed", "cursor-pointer", - "dark:bg-accent-dark", "dark:bg-amber-dark", "dark:bg-amber-dark-200", "dark:bg-background-dark", @@ -227,8 +225,8 @@ "dark:decoration-blue-dark", "dark:fill-blue-dark", "dark:focus:ring-blue-dark", - "dark:from-accent-dark", "dark:from-background-dark", + "dark:from-blue-dark-200", "dark:from-blue-dark-400", "dark:hidden", "dark:hover:bg-blue-dark", @@ -274,9 +272,9 @@ "footnote-backref", "footnote-ref", "footnotes", - "from-accent-light", "from-background-light", "from-blue-light-400", + "from-blue-light-600", "gap-1", "gap-10", "gap-12", @@ -357,7 +355,6 @@ "macOS", "max-h-full", "max-w-56", - "max-w-[1400px]", "max-w-[840px]", "max-w-full", "max-w-none", @@ -494,8 +491,9 @@ "text-white", "text-xl", "text-xs", + "to-50%", "to-75%", - "to-blue-light-500", + "to-blue-light", "to-magenta-light-400", "to-transparent", "toc", diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b1a32b13bb..d6f7d487e2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@
-
+ class="sticky top-0 z-20 h-16 px-6 text-white bg-gradient-to-r from-blue-light-600 to-blue-light dark:from-blue-dark-200 to-50% dark:to-blue-dark-100"> +
{{ if not .IsHome }}
diff --git a/tailwind.config.js b/tailwind.config.js index 9d9bd88766..9a9a847271 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -68,11 +68,6 @@ module.exports = { black: "#000", transparent: 'transparent', - accent: { - light: "#677285", - dark: "#2D404E", - }, - background: { light: "#f9f9fa", dark: "#141b1f",