From 5ef5f3b72c10aaf7a82d47bb79b63a2c30527567 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 9 Jul 2026 10:11:31 +0800 Subject: [PATCH] update --- assets/stylesheets/template/modules/announcement.scss | 11 +++++------ assets/stylesheets/template/widget/sitemenu.scss | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/assets/stylesheets/template/modules/announcement.scss b/assets/stylesheets/template/modules/announcement.scss index b47577c..2205dce 100644 --- a/assets/stylesheets/template/modules/announcement.scss +++ b/assets/stylesheets/template/modules/announcement.scss @@ -2583,18 +2583,17 @@ .i-annc__entry-title { margin-bottom: 0; margin-top: 0; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - text-overflow: ellipsis; - // clear: both; } .i-annc__title { font-family: $main-font; color: $theme-color-main; text-decoration: none; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; @extend .i-title; &:hover { color: $theme-color-second; diff --git a/assets/stylesheets/template/widget/sitemenu.scss b/assets/stylesheets/template/widget/sitemenu.scss index 78c1acb..8d32186 100644 --- a/assets/stylesheets/template/widget/sitemenu.scss +++ b/assets/stylesheets/template/widget/sitemenu.scss @@ -2,7 +2,7 @@ @import "../initial"; .sitemenu{ - z-index: 1; + z-index: 10; position: relative; } .sitemenu-title{ @@ -77,7 +77,6 @@ } .sitemenu-link.level-2 { - color: $theme-white; font-size: 1rem; padding: 0.25em 0.625rem;