From ac0dbc5b1c9b48079e3a450794030b3e0bc6096a Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 2 Mar 2024 03:09:10 +0800 Subject: refactor(site): rewrite with vuejs (#93) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update package version * Refactor site (#87) * 补全changelog文件 * 补全changelog文件 * 补全changelog文件 * 完成基本的markdown渲染 * 提交新的css (#88) * 补全changelog文件 * 补全changelog文件 * 补全changelog文件 * 完成基本的markdown渲染 * 添加新的css * Refactor site (#92) * 补全changelog文件 * 补全changelog文件 * 补全changelog文件 * 完成基本的markdown渲染 * 添加新的css * 修复倒计时居中 * 初步完成右侧窗口切换 * 优化进度条 * 导入element-plus * 导入element-plus * 导入element-plus * 加入选中提示和禁用提示 * 修改背景颜色 --------- Co-authored-by: 白咕咕 <67865300+baimianxiao@users.noreply.github.com> --- site/src/assets/main.css | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) (limited to 'site/src/assets/main.css') diff --git a/site/src/assets/main.css b/site/src/assets/main.css index e8667cd..996e651 100644 --- a/site/src/assets/main.css +++ b/site/src/assets/main.css @@ -11,13 +11,17 @@ a, .green { text-decoration: none; - color: hsla(160, 100%, 37%, 1); + /*高亮色*/ + /*color: hsla(160, 100%, 37%, 1);*/ + color: #00BDEF; transition: 0.4s; } @media (hover: hover) { a:hover { - background-color: hsla(160, 100%, 37%, 0.2); + /*background-color: hsla(160, 100%, 37%, 0.2);*/ + color: #00F8F3; + text-decoration: underline; } } @@ -33,3 +37,36 @@ a, padding: 0 2rem; } } + +.item i { + background: linear-gradient(to right, #00F8F3, #00BDEF); +} +.item{ + transition: 0.4s; +} +.item:hover{ + background-color:rgba(255,255,255,0.05); +} +.details h3, +.item i{ + color:#ffffff; +} + +/*滚动条优化*/ +::-webkit-scrollbar-track { + background: rgba(0, 0, 0, 0.1); + border-radius: 0; +} + +::-webkit-scrollbar { + -webkit-appearance: none; + width: 6px; + height: 6px; +} + +::-webkit-scrollbar-thumb { + cursor: pointer; + border-radius: 5px; + background: rgba(0, 0, 0, 0.15); + transition: color 0.2s ease; +} -- cgit v1.2.3-70-g09d2