docs-site: prettier global bar

This commit is contained in:
Glen Huang
2025-10-13 22:53:38 +08:00
parent d61a042b76
commit 7d3972b993
2 changed files with 5 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
Pagefind,
PagefindSearchFragment,
} from "vite-plugin-pagefind/types";
import "./index.css";
import "./global.css";
const { data, children } = $props();
const docs = $derived(data.docs);
@@ -104,8 +104,9 @@
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid;
padding: 0 var(--pagePadding);
color: var(--fgInvertedColor);
background: var(--bgInvertedColor);
}
.search {
& > ul {

View File

@@ -3,6 +3,8 @@
:root {
--pagePadding: 15px;
--globalBarHeight: 60px;
--fgInvertedColor: #fff;
--bgInvertedColor: #203637;
}
html {