mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-25 20:30:30 +00:00
调整顶部导航栏高度
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
### 🌈 Style
|
||||
|
||||
- 调整顶部导航栏高度
|
||||
|
||||
##### 更符合 GitHub 风格
|
||||
|
||||
- 同步页脚样式
|
||||
|
||||
@@ -3,6 +3,13 @@ import { css, customThemeVars, otherThemeVars, themeVars } from "src/types/vars"
|
||||
|
||||
export const navbarRight = css`
|
||||
#navbar {
|
||||
min-height: 64px;
|
||||
.navbar-left {
|
||||
#navbar-logo img {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
}
|
||||
}
|
||||
// 进入用户页面后, 避免注册, 登录和首页等意外覆盖
|
||||
.navbar-right:has(.user-menu) {
|
||||
gap: 8px;
|
||||
|
||||
@@ -7,14 +7,7 @@ export const repoHeader = css`
|
||||
.ui.compact.button {
|
||||
padding: 3px 12px;
|
||||
}
|
||||
// 仓库图标
|
||||
img.ui.avatar {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
margin-block-start: 0.5rem;
|
||||
margin-block-end: 0.5rem;
|
||||
}
|
||||
|
||||
// 仓库名称
|
||||
.flex-item {
|
||||
.flex-item-title {
|
||||
// 间隔线颜色
|
||||
|
||||
Reference in New Issue
Block a user