mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-04 02:52:55 +08:00
- Updated the demo API to support locale-based content rendering. - Refactored the main layout to accommodate language-specific metadata and routing. - Introduced new components for blog and documentation pages, ensuring proper language handling. - Added styles for improved UI consistency across different sections. - Removed deprecated layout files and streamlined the structure for better maintainability.
41 lines
916 B
CSS
41 lines
916 B
CSS
@import 'tailwindcss';
|
|
@import 'fumadocs-ui/css/neutral.css';
|
|
@import 'fumadocs-ui/css/preset.css';
|
|
|
|
:root {
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
html {
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
html > body[data-scroll-locked] {
|
|
margin-right: 0 !important;
|
|
--removed-body-scroll-bar-size: 0px !important;
|
|
}
|
|
|
|
/* 文档页目录:隐藏默认折线,改用单条直线导轨 */
|
|
#nd-toc a[href^='#'] > svg,
|
|
#nd-toc div.absolute:has(> svg) {
|
|
display: none;
|
|
}
|
|
|
|
#nd-toc a[href^='#'] {
|
|
border-inline-start: 1px solid var(--color-fd-border);
|
|
}
|
|
|
|
#nd-toc a[href^='#'][data-active='true'] {
|
|
border-inline-start-color: var(--color-fd-primary);
|
|
}
|
|
|
|
/* 首页导航:通铺整行、无背景无分隔线 */
|
|
.home-fullbleed-nav {
|
|
--fd-layout-width: 100%;
|
|
}
|
|
|
|
.home-fullbleed-nav #nd-nav > * {
|
|
border-bottom-color: transparent;
|
|
backdrop-filter: none;
|
|
}
|