diff options
| author | 2024-03-02 03:09:10 +0800 | |
|---|---|---|
| committer | 2024-03-02 03:09:10 +0800 | |
| commit | ac0dbc5b1c9b48079e3a450794030b3e0bc6096a (patch) | |
| tree | 13524a98173b4f7b0b19821e9d8f216134f9e061 /site/src/assets/main.css | |
| parent | 679ca51b78cda9044dc8d8eb3fa246fd76cb227e (diff) | |
| download | HydroRoll-ac0dbc5b1c9b48079e3a450794030b3e0bc6096a.tar.gz HydroRoll-ac0dbc5b1c9b48079e3a450794030b3e0bc6096a.zip | |
refactor(site): rewrite with vuejs (#93)
* 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>
Diffstat (limited to 'site/src/assets/main.css')
| -rw-r--r-- | site/src/assets/main.css | 41 |
1 files changed, 39 insertions, 2 deletions
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; +} |
