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