From 1859a63cdc167b4f305e0b2f28c8bb930a3a5396 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 21 Oct 2021 10:00:29 +0800 Subject: [PATCH] update change --- .../stylesheets/template/layout/header.scss | 9 +++- assets/stylesheets/template/template.scss | 41 ++++++++++++++++++- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 93647c8..9c792f5 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -22,7 +22,7 @@ text-align: right; } .header-nav { - padding: 1em 0; + padding: 0 1em; color: $theme-color-main; font-family: $main-font; @@ -47,6 +47,12 @@ .navbar-header { padding: 0 0 1.25em; + @media (min-width: 320px) { + .navbar-brand img { + height: 63px!important; + width: auto!important; + } + } .navbar-brand { height: unset; margin: 0.5em 0; @@ -56,6 +62,7 @@ color: $theme-color-main; font-size: 1.4em; font-family: $main-font; + @media (min-width: $screen-sm) { height: unset; diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index 8e71f5f..f7c506a 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -128,7 +128,7 @@ ul.tab_nav { li { padding: 0.5em 1em; - background: $theme-color-green; + background: #3292d9; margin: 0.2em; cursor: pointer; transition: all 0.5s; @@ -137,7 +137,7 @@ ul.tab_nav { -o-transition: all 0.5s; &.active { - background: #19524b; + background: #193c52; color: #fff; } } @@ -190,4 +190,41 @@ ul.tab_nav { } div#layout-navigation { margin: auto -15px; +} + +.widget-announcement-10 li h4 { + margin: -5px 0 0 5px!important; + padding: 0; + width: 75%; +} +.widget-announcement-10 li span.w-annc__postdate-wrap { + margin: -3px 0 0 5px; + padding: 0; + float: right; + width: 20%; +} +.widget-announcement-10 li { + clear: both; +} +.widget-announcement-10 li:before { + float: left; + width: 0; + height: 0; + border-style: solid; + border-width: 5px 0 5px 5px; + border-color: transparent transparent transparent #4ea7bd; +} +.widget-link h3 span, +.widget-announcement-10 h3 span { + background: #6ec5db; + border-radius: 10px; + color: #fff; + display: block; + padding: 3px 5px; +} +.widget-link li { + padding: 3px 5px; +} +.widget-link li:nth-child(2n) { + background: #eefbff; } \ No newline at end of file