- index.css 加一张 --oj-* 尺寸表和 .oj-page 外壳,二十几个前台页面改成引用它: 正文 14→15、页标题 20→24、题目/提交列表行高 40→48、比赛/公告 56、筛选控件 28→34 - 阅读型页面限宽 1200 居中;题目/提交列表 1600、比赛详情 1400、排名 1280、班级 PK 1440 - 1280 宽的筛选条放大后放不下,题目/提交列表在 1366 以下退回 13px 的字 - 班级 PK 五个班起格子里不写「一次 x%」(只剩「一次 8…」);赛跑图线尾的数字不再被截掉 - 手机上比赛列表的「没参加」挪到比赛名下面;题单里「以前做对过 · 旧代码先藏着」缩成「做对过」 - 题目详情页(编辑器)和后台不在这一轮 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
45d79ed366
commit
1e441411a5
43 files changed
+1016
-752
No files matched your search
@@ -115,17 +115,17 @@ function percent(tag: Tag) {
|
||||
|
||||
.switch {
|
||||
flex: none;
|
||||
padding: 14px 14px 8px;
|
||||
padding: 16px 14px 10px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.switch button {
|
||||
height: 28px;
|
||||
height: 32px;
|
||||
border: 1px solid v-bind("theme.borderColor");
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
font-size: var(--oj-fs-sec);
|
||||
color: v-bind("theme.textColor2");
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
@@ -161,12 +161,12 @@ function percent(tag: Tag) {
|
||||
flex: none;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: 6px 10px 7px;
|
||||
padding: 9px 10px 9px;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
font-size: var(--oj-fs-body);
|
||||
text-align: left;
|
||||
color: v-bind("theme.textColor2");
|
||||
display: flex;
|
||||
@@ -176,7 +176,7 @@ function percent(tag: Tag) {
|
||||
}
|
||||
|
||||
.item.flat {
|
||||
padding: 7px 10px;
|
||||
padding: 10px 10px;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
@@ -217,7 +217,7 @@ function percent(tag: Tag) {
|
||||
|
||||
.count {
|
||||
flex: none;
|
||||
font-size: 12px;
|
||||
font-size: var(--oj-fs-meta);
|
||||
color: v-bind("theme.textColor3");
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
@@ -232,7 +232,7 @@ function percent(tag: Tag) {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
font-size: 12px;
|
||||
font-size: var(--oj-fs-meta);
|
||||
font-weight: 600;
|
||||
color: v-bind("tone('success').color");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user