diff --git a/.github/release.md b/.github/release.md index 879df7c..bd0cdab 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1,2 +1 @@ -添加默认过渡动画 -弹窗添加动画, 优化 Action 的日志动画 \ No newline at end of file +仓库代码页面顶部统计栏颜色(提交/分支/标签)类似 Github \ No newline at end of file diff --git a/src/repo.scss b/src/repo.scss index 6a03094..0d2e0ff 100644 --- a/src/repo.scss +++ b/src/repo.scss @@ -1,14 +1,4 @@ // Made by Luting ^-^ - -/* 用户仓库列表字体颜色 */ -/* .repo-list-link { - color: var(--color-blue) !important; -} */ - -/* 头部 */ -/* #navbar { - border-bottom: 0; -} */ .page-content > :first-child.secondary-nav { border-top: 0; background-color: var(--color-nav-bg) !important; @@ -102,6 +92,22 @@ // 仓库文件&提交列表 .page-content.repository { + // 顶部提交, 标签, 分支 + .repository-summary .segment.sub-menu { + &.ui.segment { + background-color: var(--color-box-header); + } + + .item { + color: #9198a1; + + b { + color: #f0f6fc; + margin: 0 2px; + } + } + } + // clone 按钮居中调整 .repo-button-row .repo-button-row-right .ui.primary.button span { display: flex; @@ -185,4 +191,4 @@ // 编程语言仅语言文字颜色 .language-stats-details .item .tw-font-semibold { color: #f0f6fc; -} \ No newline at end of file +}