From 5cdaaecc93e05f57a6989b6558c0ac251c1956f1 Mon Sep 17 00:00:00 2001 From: liushuang Date: Sun, 12 Oct 2025 15:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config/css/styles.css | 70 +++++++++++++++++++++++++++++++++--------- _coverpage.md | 26 +++++++++++++++- _media/svg/right.svg | 2 +- 3 files changed, 82 insertions(+), 16 deletions(-) diff --git a/_config/css/styles.css b/_config/css/styles.css index 2a99f5b..7e1c264 100644 --- a/_config/css/styles.css +++ b/_config/css/styles.css @@ -73,7 +73,7 @@ section.cover ul { display: grid; text-align: left; grid-column-gap: 16px; - grid-row-gap: 20px; + grid-row-gap: 12px; /* grid-template-columns: repeat(2, 50%); */ list-style: none; max-width: unset; @@ -117,25 +117,23 @@ section.cover.show ~ .sidebar-toggle { .cover-main .buttons a { font-weight: 700; position: relative; - display: inline-block; + display: inline-flex; + align-items: center; + justify-content: center; padding: 12px 25px; font-size: 14px; text-align: center; line-height: 18px; - color: #221f1f; + color: var(--theme-color); background: #fff; outline: none; border: none; - background-color: #fff; - -webkit-appearance: none; - -moz-appearance: none; cursor: pointer; margin: 0 1rem; - color: var(--theme-color); overflow: hidden; - transition: color 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); + transition: all 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); vertical-align: baseline; - /* text-transform: uppercase; */ + text-decoration: none; } .cover-main .buttons a:before, @@ -159,7 +157,7 @@ section.cover.show ~ .sidebar-toggle { } .cover-main .buttons a:hover { - color: white; + color: white !important; box-shadow: 0 5px 16px rgba(229, 9, 20, 0.3); border-radius: 5px; } @@ -168,11 +166,29 @@ section.cover.show ~ .sidebar-toggle { transform: translateX(0); } -.cover-main .buttons a span { +.cover-main .buttons a:hover img { + filter: brightness(0) invert(1) !important; + transform: translateX(3px); +} + +.cover-main .buttons a span, +.cover-main .buttons a img { position: relative; z-index: 1; } +.cover-main .buttons a img { + width: 20px; + height: 20px; + margin-left: 8px; + filter: invert(15%) sepia(91%) saturate(6467%) hue-rotate(355deg) brightness(86%) contrast(121%); + transition: filter 0.25s ease; +} + +.cover-main .buttons a:hover img { + filter: brightness(0) invert(1) !important; +} + .cover-main .buttons a.disabled { cursor: not-allowed; } @@ -189,7 +205,12 @@ background-color: #ccc; border-color: #ccc; } - +.cover-main .buttons a img { + width: 16px; + height: 16px; + margin-left: 8px; + vertical-align: text-bottom; +} /****** Sidebar ******/ @@ -378,6 +399,7 @@ body .sidebar-toggle span:nth-child(3) { } /****** FOOTER *******/ +/* 功能对比卡片样式 */ .features-comparison { width: 100%; background-color: #f8f9fa; @@ -385,6 +407,26 @@ body .sidebar-toggle span:nth-child(3) { margin: 40px 0; } +.comparison-card { + position: relative !important; + min-height: 680px !important; +} + +.card-footer { + position: absolute !important; + bottom: 30px; + left: 0; + right: 0; + text-align: center; + padding-top: 20px; + margin: 0 30px; + border-top: 1px solid #eee; +} + +.feature-list { + padding-bottom: 80px !important; +} + .comparison-container { max-width: 1200px; margin: 0 auto; @@ -393,7 +435,7 @@ body .sidebar-toggle span:nth-child(3) { .comparison-title { text-align: center; - margin-bottom: 40px; + /* margin-bottom: 40px; */ font-size: 28px; color: #333; } @@ -402,7 +444,7 @@ body .sidebar-toggle span:nth-child(3) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; - margin-bottom: 40px; + margin: 40px 0; } .comparison-card { diff --git a/_coverpage.md b/_coverpage.md index 71a952d..0d17000 100644 --- a/_coverpage.md +++ b/_coverpage.md @@ -6,7 +6,7 @@
- + 文档 @@ -99,6 +99,7 @@

星空抽奖功能

+
星空抽奖各个版本的功能对比介绍
@@ -122,6 +123,14 @@
  • 离线运行模式
  • 数据本地存储
  • --> +
    @@ -142,6 +151,14 @@
  • 可投屏,全屏显示
  • 无次数机器限制
  • +
    @@ -166,6 +183,13 @@
  • 免费功能更新
  • 7*24售后服务
  • +
    diff --git a/_media/svg/right.svg b/_media/svg/right.svg index cbea72a..1b27c4d 100644 --- a/_media/svg/right.svg +++ b/_media/svg/right.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file