diff --git a/static/style.css b/static/style.css index f894d95..5f076c6 100644 --- a/static/style.css +++ b/static/style.css @@ -51,10 +51,6 @@ a.black-link:hover { font-family: 'Fira Mono', 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', monospace; } -.main.container { - margin-top: 5.5em; -} - .padding { padding-left: 1em; padding-right: 1em; @@ -272,3 +268,35 @@ code { animation: spinner-icon-rotate 3s linear infinite; display: block; } + +::-webkit-scrollbar { + -webkit-appearance: none; + width: 10px; + height: 10px; +} + +::-webkit-scrollbar-track { + background: rgba(0, 0, 0, 0.1); + border-radius: 0px; +} + +::-webkit-scrollbar-thumb { + cursor: pointer; + border-radius: 5px; + background: rgba(0, 0, 0, 0.25); + -webkit-transition: color 0.2s ease; + transition: color 0.2s ease; +} + +::-webkit-scrollbar-thumb:window-inactive { + background: rgba(0, 0, 0, 0.15); +} + +::-webkit-scrollbar-thumb:hover { + background: rgba(128, 135, 139, 0.8); +} + +.ui.top.attached.block.header i.icon { + font-size: 1em; + vertical-align: initial; +} diff --git a/views/admin_config.ejs b/views/admin_config.ejs index 826538c..2c30f6b 100644 --- a/views/admin_config.ejs +++ b/views/admin_config.ejs @@ -48,7 +48,7 @@ for (let item in items) { } %>
- +
<% include admin_footer %> diff --git a/views/admin_info.ejs b/views/admin_info.ejs index 3dc90d5..9e0204c 100644 --- a/views/admin_info.ejs +++ b/views/admin_info.ejs @@ -17,6 +17,8 @@ } .statistic .label { + padding-top: 15px; + font-size: 1.4em !important; font-weight: normal !important; } diff --git a/views/admin_links.ejs b/views/admin_links.ejs index 55f4bae..4fb8e51 100644 --- a/views/admin_links.ejs +++ b/views/admin_links.ejs @@ -54,7 +54,7 @@ this.adminPage = 'links'; -
添加
+
添加
diff --git a/views/admin_other.ejs b/views/admin_other.ejs index e422dd0..6ee8705 100644 --- a/views/admin_other.ejs +++ b/views/admin_other.ejs @@ -1,8 +1,8 @@ <% this.adminPage = 'other'; %> <% include admin_header %> -

-

-

+

+

+

<% include admin_footer %> diff --git a/views/admin_privilege.ejs b/views/admin_privilege.ejs index e67f27c..6f47910 100644 --- a/views/admin_privilege.ejs +++ b/views/admin_privilege.ejs @@ -37,7 +37,7 @@ let privileges = {
- +
diff --git a/views/admin_rating.ejs b/views/admin_rating.ejs index cca111d..06273f9 100644 --- a/views/admin_rating.ejs +++ b/views/admin_rating.ejs @@ -14,7 +14,7 @@
- + 注意:如果删除一个比赛的积分,则该比赛之上的所有比赛也将被删除,积分将还原至该比赛之前的状态! diff --git a/views/admin_raw.ejs b/views/admin_raw.ejs index 4ae461a..24b92e3 100644 --- a/views/admin_raw.ejs +++ b/views/admin_raw.ejs @@ -28,7 +28,7 @@ editor.getSession().on("change", function () {
- +
<% include admin_footer %> diff --git a/views/admin_rejudge.ejs b/views/admin_rejudge.ejs index 10acd21..f300906 100644 --- a/views/admin_rejudge.ejs +++ b/views/admin_rejudge.ejs @@ -71,15 +71,15 @@
- + <% if (form.type === 'rejudge') { %> - + <% } else if (count !== null) { %> - <% if (count === 0) { %>没有符合条件的记录<% } else { %>重测 <%= count %> 条记录<% } %> + <% if (count === 0) { %>没有符合条件的记录<% } else { %>重测 <%= count %> 条记录<% } %> - +
+
+ diff --git a/views/header.ejs b/views/header.ejs index edaa5ae..5b609dd 100644 --- a/views/header.ejs +++ b/views/header.ejs @@ -1,17 +1,17 @@ <% include util %> - + <%= title %> - <%= syzoj.config.title %> - + - + @@ -30,8 +30,8 @@ <% } %> - - +
diff --git a/views/index.ejs b/views/index.ejs index 0a7ca8a..e31aa09 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -3,7 +3,7 @@
-

公告

+

公告

@@ -22,7 +22,7 @@
-

排名

+

排名

@@ -76,7 +76,7 @@
-

一言(ヒトコト)

+

一言(ヒトコト)

<% include footer %> diff --git a/views/problem_tag_edit.ejs b/views/problem_tag_edit.ejs index 2b3ae19..326f760 100644 --- a/views/problem_tag_edit.ejs +++ b/views/problem_tag_edit.ejs @@ -60,7 +60,11 @@
- +
+ +
+<% if (active === 'submission') { %> + +<% } %> diff --git a/views/user_edit.ejs b/views/user_edit.ejs index 1023076..0bb59e1 100644 --- a/views/user_edit.ejs +++ b/views/user_edit.ejs @@ -70,9 +70,9 @@ -
- - 返回个人资料 +
+ + 返回