mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-04-13 23:11:37 +08:00
navbar style
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#### More aligned with GitHub style
|
#### More aligned with GitHub style
|
||||||
|
|
||||||
|
- Fine-tune the style of the navigation bar.
|
||||||
|
|
||||||
##### Template File
|
##### Template File
|
||||||
|
|
||||||
### 🐞 Fix
|
### 🐞 Fix
|
||||||
|
|||||||
@@ -202,7 +202,7 @@ export function github2ThemeColor(githubColor: GithubColor): ThemeColor {
|
|||||||
bg: githubColor.bgColor.emphasis,
|
bg: githubColor.bgColor.emphasis,
|
||||||
},
|
},
|
||||||
nav: {
|
nav: {
|
||||||
bg: githubColor.bgColor.muted,
|
bg: githubColor.bgColor.inset,
|
||||||
hoverBg: githubColor.control.transparent.bgColor.hover,
|
hoverBg: githubColor.control.transparent.bgColor.hover,
|
||||||
text: themeVars.color.text.self,
|
text: themeVars.color.text.self,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import { css, customThemeVars, otherThemeVars, themeVars } from "src/types/vars"
|
|||||||
|
|
||||||
export const navbarRight = css`
|
export const navbarRight = css`
|
||||||
#navbar {
|
#navbar {
|
||||||
border-bottom: 0;
|
|
||||||
padding: 8px 16px; // 上下内边距 + .navbar-left & .navbar-right 的 min-height = 64px
|
padding: 8px 16px; // 上下内边距 + .navbar-left & .navbar-right 的 min-height = 64px
|
||||||
min-height: 64px;
|
min-height: 64px;
|
||||||
.navbar-left,
|
.navbar-left,
|
||||||
|
|||||||
Reference in New Issue
Block a user