theme.park新版gitea导航栏样式失效问题

修改 $GITEA_CUSTOM/templates/custom/body_outer_pre.tmpl 为以下内容

{{ if .IsSigned }}
  {{ if and (ne .SignedUser.Theme "gitea") (ne .SignedUser.Theme "arc-green") }}
    
    
  {{end}}
{{ else if and (ne DefaultTheme "gitea") (ne DefaultTheme "arc-green") }}
  
{{end}}

并且修改 $GITEA_CUSTOM/public/css/fix.css 为以下内容(创建文件)

#navbar.menu {
    background: var(--transparency-dark-25)!important;
}

.page-footer {
    background: var(--transparency-dark-25)!important;
    border-top: 1px solid var(--transparency-light-25)!important;
}

然后重启gitea, service gitea restart.

你可能感兴趣的:(git,gitea,theme,gitea,park,theme,新版)