From ea2205a0a42b9ebf0adf8c12c8befc5b0b204c57 Mon Sep 17 00:00:00 2001 From: ken Date: Wed, 23 Sep 2026 17:56:20 +0800 Subject: [PATCH] up --- assets/stylesheets/template/layout/header.scss | 3 +++ assets/stylesheets/template/modules/menu.scss | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 191eace..0b450fa 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -101,6 +101,9 @@ sup { } } .navbar-header h1.default_site_h1, .navbar-header h2.default_site_h1{ + @media(max-width:768px){ + font-size: 0.8em; + } display: flex; align-items: center; } diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index d0985be..4f09f1a 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -78,18 +78,20 @@ //固定選單 .navFixed { + @media (max-width: 768px) { + .site-logo { + display: none; + -webkit-transition: all .3s ease; + -moz-transition: all .3s ease; + -ms-transition: all .3s ease; + -o-transition: all .3s ease; + transition: all .3s ease; + } + } @media (max-width: 768px) { .navbar-header{ position: relative; } - .site-logo { - height: 35px !important; - -webkit-transition: all .3s ease; - -moz-transition: all .3s ease; - -ms-transition: all .3s ease; - -o-transition: all .3s ease; - transition: all .3s ease; - } } .header-nav{ display: none!important;