From 771ca5ef49020f418bc5d102a903aea4da507c06 Mon Sep 17 00:00:00 2001 From: bohung Date: Thu, 6 May 2021 09:20:14 +0800 Subject: [PATCH] Updated. --- assets/stylesheets/template/modules/menu.scss | 19 +++++++++++++++++++ assets/stylesheets/template/template.scss | 15 +-------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index b39f937..f98d917 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -1,7 +1,23 @@ @charset "utf-8"; @import "../initial"; +.modules-menu{ + position: relative; + #move{ + position: absolute; + height: 100%; + background: $theme-color-second; + left: 0; + z-index: 0; + opacity: 0; + transition:.3s; + display: none; + @media (min-width: 992px) { + display: block; + } + } +} .modules-menu { font-family: $sub-font; max-height: none; @@ -311,6 +327,7 @@ } } } +@media all and (min-width:768px) { #main-nav { float: none!important; @@ -323,4 +340,6 @@ #layout-navigation { clear: both; display: flex; +} + } \ No newline at end of file diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index 207a317..74c56c8 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -25,20 +25,7 @@ section.layout-slide.no-print.single-child-datapp { max-height: 500px; background: #072747 !important } -.w-ba-banner.ba-banner-widget-1 { - margin-top: -400px; -} .main-content h3 { border-bottom: 2px solid #1d84c3; margin-bottom: 1.5em; -} -// .layout-header { -// -// background-color: #634ea9; -// -// } - -// .layout-footer { -// -// background-color: #634ea9; -// } +} \ No newline at end of file