调整发布页版本间隔

This commit is contained in:
lutinglt
2025-09-07 18:07:57 +08:00
parent 468a97994a
commit cb49b12ff0

View File

@@ -41,101 +41,108 @@ export const tags = css`
// 发布页样式 // 发布页样式
export const releases = css` export const releases = css`
.page-content.repository.releases { .page-content.repository.releases {
#release-list .release-entry { > .ui.container > .divider {
// 左侧发布元信息 margin: 14px 0;
.meta { }
gap: 0.5rem; ul#release-list {
padding-top: 24px; gap: 32px;
padding-right: 40px; margin: 32px 0 16px 0;
text-align: left; .release-entry {
min-width: 0; // 左侧发布元信息
flex: 0.125; .meta {
a.muted { gap: 0.5rem;
color: ${themeVars.color.text.light.num1}; padding-top: 24px;
overflow: hidden; padding-right: 40px;
text-overflow: ellipsis; text-align: left;
white-space: nowrap; min-width: 0;
word-break: break-all; flex: 0.125;
svg { a.muted {
margin-right: 8px !important; color: ${themeVars.color.text.light.num1};
} overflow: hidden;
svg.tw-mr-1.svg.octicon-tag { text-overflow: ellipsis;
margin-top: 1px; white-space: nowrap;
} word-break: break-all;
} svg {
// 分支选择按钮 margin-right: 8px !important;
.ui.button.branch-dropdown-button { }
min-height: 20px; svg.tw-mr-1.svg.octicon-tag {
line-height: 20px; margin-top: 1px;
padding: 3px 12px;
font-size: 12px;
}
}
// 右侧发布详细信息
.segment.detail {
padding: 16px;
.svg {
color: ${themeVars.color.text.light.num1};
}
// 标题
.release-list-title {
font-size: 32px;
gap: 16px;
}
// 提交信息
p.text.grey {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin: 24px 0 0 0;
span {
word-break: break-word;
}
.time {
color: ${themeVars.color.text.self};
}
}
// 发布内容
.markup {
> *:first-child {
margin-top: 24px !important;
}
}
// 分割线
.divider {
position: relative;
left: -16px;
width: calc(100% + 32px);
border-top-width: 1.5px;
margin: 24px 0 16px 0;
}
// 下载列表
.download {
summary {
font-size: 18px;
font-weight: 600;
margin-top: 16px;
&::marker {
font-size: 14px;
} }
} }
.attachment-list { // 分支选择按钮
margin-top: 16px; .ui.button.branch-dropdown-button {
.item { min-height: 20px;
align-items: center; line-height: 20px;
line-height: 17px; padding: 3px 12px;
padding: 8px 16px; font-size: 12px;
.flex-text-inline { }
gap: 8px; }
// 右侧发布详细信息
.segment.detail {
padding: 16px;
.svg {
color: ${themeVars.color.text.light.num1};
}
// 标题
.release-list-title {
font-size: 32px;
gap: 16px;
}
// 提交信息
p.text.grey {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin: 24px 0 0 0;
span {
word-break: break-word;
}
.time {
color: ${themeVars.color.text.self};
}
}
// 发布内容
.markup {
> *:first-child {
margin-top: 24px !important;
}
}
// 分割线
.divider {
position: relative;
left: -16px;
width: calc(100% + 32px);
border-top-width: 1.5px;
margin: 24px 0 16px 0;
}
// 下载列表
.download {
summary {
font-size: 18px;
font-weight: 600;
margin-top: 16px;
&::marker {
font-size: 14px;
} }
// 只选中左侧文件名称 }
strong.flex-text-inline:hover { .attachment-list {
text-decoration: underline !important; margin-top: 16px;
} .item {
.attachment-right-info { align-items: center;
color: ${themeVars.color.text.light.num1}; line-height: 17px;
.svg { padding: 8px 16px;
height: 28px; .flex-text-inline {
gap: 8px;
}
// 只选中左侧文件名称
strong.flex-text-inline:hover {
text-decoration: underline !important;
}
.attachment-right-info {
color: ${themeVars.color.text.light.num1};
.svg {
height: 28px;
}
} }
} }
} }