From de12c077adfa32d9bb6aff112508c6b1a1968011 Mon Sep 17 00:00:00 2001 From: ken Date: Wed, 23 Sep 2026 17:40:36 +0800 Subject: [PATCH] up --- assets/stylesheets/template/base/_global.scss | 6 +-- .../template/modules/announcement.scss | 7 ++- .../template/modules/web_resource.scss | 6 ++- home/index.html.erb | 43 +++++++------------ 4 files changed, 29 insertions(+), 33 deletions(-) diff --git a/assets/stylesheets/template/base/_global.scss b/assets/stylesheets/template/base/_global.scss index 4e21f24..401ebd0 100644 --- a/assets/stylesheets/template/base/_global.scss +++ b/assets/stylesheets/template/base/_global.scss @@ -311,9 +311,9 @@ blockquote ol:last-child, blockquote p:last-child, blockquote ul:last-child { } iframe{ @media(max-width:1024px){ - width: 100%!important; - aspect-ratio: 16 / 9; - height: auto !important; + width: 100%; + // aspect-ratio: 16 / 9; + // height: auto !important; } } diff --git a/assets/stylesheets/template/modules/announcement.scss b/assets/stylesheets/template/modules/announcement.scss index f25a090..01a47e8 100644 --- a/assets/stylesheets/template/modules/announcement.scss +++ b/assets/stylesheets/template/modules/announcement.scss @@ -2306,6 +2306,10 @@ img.w-annc__img { } //widget 15 .widget-announcement-15 { + .w-annc__item_inner{ + -webkit-box-shadow: 0 1px 2px 0 #0000002e; + box-shadow: 0 1px 2px 0 #0000002e; + } .cycle-carousel-wrap { align-items: stretch; } @@ -2354,10 +2358,9 @@ img.w-annc__img { // } .w-annc__img-wrap { - margin: 0; overflow: hidden; - border: 2px solid #333; + aspect-ratio: 16 / 9; aspect-ratio: 16 / 9; // @media(min-width:480px)and(max-width:820px){ // height: 9.5em; diff --git a/assets/stylesheets/template/modules/web_resource.scss b/assets/stylesheets/template/modules/web_resource.scss index f62ad79..b849988 100644 --- a/assets/stylesheets/template/modules/web_resource.scss +++ b/assets/stylesheets/template/modules/web_resource.scss @@ -72,7 +72,11 @@ vertical-align: top; } .widget-link { - margin-bottom: 1em; + margin-bottom: 1em; + margin-top: 1em; + .widget-link__more{ + display: none; + } } .morebken{ font-size: 1.2em; diff --git a/home/index.html.erb b/home/index.html.erb index 2203c0b..10b18c0 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -17,11 +17,15 @@
/accesskey" title="Content">::: -
-
-
+
+
+
+
+
+
+
@@ -37,13 +41,6 @@
-
-
- -
- -
-
@@ -54,12 +51,9 @@
+
-
-
- -
-
+
@@ -79,7 +73,6 @@
-
@@ -97,22 +90,18 @@
-
-
- -
-
+
-
-
-
-
-
+
+
+
+
+
+
-