From 82541869dafd6f530eedb6e83375b0767abd0f76 Mon Sep 17 00:00:00 2001 From: ArthurFlag Date: Wed, 2 Jul 2025 15:20:24 +0200 Subject: [PATCH 1/6] increase h2 mt --- assets/css/global.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/global.css b/assets/css/global.css index 37d2c85d8769..8ff730389ba8 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -49,7 +49,7 @@ input[type="search"]::-ms-clear { margin-bottom: 0.4em !important; } > h2 { - @apply mt-5! mb-3!; + @apply mt-7! mb-3!; font-size: 160% !important; a { @apply hover:no-underline!; From e19043b1c7fc2c0ab8908bb5c09cc8a5ffd151db Mon Sep 17 00:00:00 2001 From: ArthurFlag Date: Wed, 2 Jul 2025 15:20:41 +0200 Subject: [PATCH 2/6] tabs: remove rounded border --- assets/css/components.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/components.css b/assets/css/components.css index 4e7a2234d3a0..0398544f06eb 100644 --- a/assets/css/components.css +++ b/assets/css/components.css @@ -110,6 +110,6 @@ } .tab-item { - @apply inline-block rounded-sm px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-900; + @apply inline-block rounded-t-sm px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-900; @apply dark:text-gray-200; } From 866c5e4e3340c4b60bd4888dee8a6186d30780b8 Mon Sep 17 00:00:00 2001 From: ArthurFlag Date: Mon, 7 Jul 2025 09:32:58 +0200 Subject: [PATCH 3/6] fix page action icons --- assets/css/utilities.css | 19 +++++++++---------- layouts/partials/github-links.html | 4 ++-- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/assets/css/utilities.css b/assets/css/utilities.css index ee01aaadc7ff..c87027c8e7f2 100644 --- a/assets/css/utilities.css +++ b/assets/css/utilities.css @@ -1,13 +1,3 @@ -@utility icon-svg { - svg { - font-size: 24px; - width: 1em; - height: 1em; - display: inline-block; - fill: currentColor; - } -} - @utility icon-xs { svg { font-size: 12px; @@ -91,6 +81,15 @@ fill: currentColor; } } +@utility icon-svg-stroke { + svg { + font-size: 24px; + width: 1em; + height: 1em; + display: inline-block; + stroke: currentColor; + } +} @utility icon-xs { svg { diff --git a/layouts/partials/github-links.html b/layouts/partials/github-links.html index 8e4694ca37f8..cea019c11548 100644 --- a/layouts/partials/github-links.html +++ b/layouts/partials/github-links.html @@ -7,7 +7,7 @@ {{ with .File }} {{ if not (in .Filename "/_vendor/") }}

- + {{ partial "utils/svg.html" "theme/icons/edit.svg" }} - + {{ partial "utils/svg.html" "theme/icons/issue.svg" }} Date: Mon, 7 Jul 2025 09:37:54 +0200 Subject: [PATCH 4/6] increase page options ml --- layouts/partials/md-dropdown.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/md-dropdown.html b/layouts/partials/md-dropdown.html index c410294695f7..86d954ce0e07 100644 --- a/layouts/partials/md-dropdown.html +++ b/layouts/partials/md-dropdown.html @@ -1,4 +1,4 @@ -

+
Date: Mon, 7 Jul 2025 09:46:37 +0200 Subject: [PATCH 5/6] breadcrumbs: smaller font --- assets/css/utilities.css | 4 ++++ layouts/partials/breadcrumbs.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/utilities.css b/assets/css/utilities.css index c87027c8e7f2..cc7f6b3ba1b9 100644 --- a/assets/css/utilities.css +++ b/assets/css/utilities.css @@ -256,3 +256,7 @@ @utility pagination-link { @apply flex items-center justify-center rounded-sm p-2; } + +@utility breadcrumbs { + font-size: 90%; +} diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 1b2a0ea2f053..fc893af263e2 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -2,7 +2,7 @@ id="breadcrumbs" {{- $breadcrumbTitles := slice }} data-pagefind-ignore - class="mb-4 flex min-w-0 items-center gap-2 text-gray-400 dark:text-gray-300" + class="breadcrumbs mb-4 flex min-w-0 items-center gap-2 text-gray-400 dark:text-gray-300" > {{ range .Ancestors.Reverse }} {{ $breadcrumbTitles = $breadcrumbTitles | append .LinkTitle }} From 4fcb5dcb19075c3e9948d41148a1ffd9d88d9afc Mon Sep 17 00:00:00 2001 From: ArthurFlag Date: Mon, 7 Jul 2025 09:48:16 +0200 Subject: [PATCH 6/6] increase content width --- layouts/partials/content-default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/content-default.html b/layouts/partials/content-default.html index 3492323720a2..24dbbbce5a5c 100644 --- a/layouts/partials/content-default.html +++ b/layouts/partials/content-default.html @@ -13,7 +13,7 @@

{{ .Title }}

{{ .Content }} -