From ab2750a0ba7e5d7c71b286d97626579e7764b342 Mon Sep 17 00:00:00 2001 From: ken Date: Mon, 21 Sep 2026 17:01:57 +0800 Subject: [PATCH] up --- .../stylesheets/template/base/_accesskey.scss | 2 +- .../stylesheets/template/layout/content.scss | 12 +++---- .../stylesheets/template/layout/header.scss | 36 ++++++++++++------- assets/stylesheets/template/modules/menu.scss | 4 ++- assets/stylesheets/template/template.scss | 5 +++ home/index.html.erb | 4 +-- 6 files changed, 40 insertions(+), 23 deletions(-) diff --git a/assets/stylesheets/template/base/_accesskey.scss b/assets/stylesheets/template/base/_accesskey.scss index 7caaf12..3215c26 100644 --- a/assets/stylesheets/template/base/_accesskey.scss +++ b/assets/stylesheets/template/base/_accesskey.scss @@ -2,7 +2,7 @@ a[accesskey] { position: absolute!important; - margin-left: 0; + margin-left: -0.5em!important; z-index: 1000!important; color:#333; } diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index 398e062..5c422a0 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -95,22 +95,22 @@ position: relative; width: 100%; // background-image: linear-gradient(280deg, #e6e6e6 56%, #fff 0); - padding-top: 2em; - padding-bottom: 2em; + padding-top: 1em; + padding-bottom: 1em; } .contentwrap2{ overflow: hidden; position: relative; width: 100%; - padding-top: 2em; - padding-bottom: 2em; + padding-top: 1em; + padding-bottom: 1em; } .contentwrap3{ overflow: hidden; position: relative; width: 100%; - padding-top: 2em; - padding-bottom: 2em; + padding-top: 1em; + padding-bottom: 1em; } .iconwrap{ padding: 4em 0 0; diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 947fec3..5e436f7 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -8,9 +8,10 @@ sup { line-height: 0; font-size: 0.6em; } -sup { - line-height: 0; - font-size: 0.6em; +.dropdowns{ + @media(min-width:769px){ + padding: 0!important; + } } .outdropdowns{ width: 100%; @@ -51,7 +52,7 @@ sup { list-style: none; } a[accesskey]{ - position: relative; + position: absolute!important; } .container { @@ -101,20 +102,26 @@ sup { // display: flex; // align-items: center; white-space: normal; + font-size: 0.8em; + line-height: 1.5; + color: $theme-color-second; + sup{ + color: #6a6a6a; + clear: both; + } + & > * { + clear: both; + } } .navbar-header { z-index: 10; position: relative; padding: 0; margin: 0; - display: flex; - justify-content: space-between; - align-items: anchor-center; - // @media (max-width: $screen-sm) { - // width: 100%; - // display: flex; - // flex-flow: row-reverse; - // } + @media (min-width: $screen-sm) { + border-right: 1px solid #cccccc87; + padding-bottom: 1em; + } .navbar-brand { line-height: 2.125em; color: $theme-color-main; @@ -151,7 +158,7 @@ sup { h1{ margin: 0; } - width: 70%; + width: 100%; padding: 0; margin: 0; white-space: normal; @@ -163,6 +170,9 @@ sup { height: auto; padding-right: 0.5em; width: 100%!important; + @media(min-width: 769px){ + margin-bottom: 0.5em; + } // @media(min-width: 1024px){ // height: 50px; // } diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index 1112027..a5b5100 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -26,13 +26,14 @@ @media(min-width: 769px){ float: right!important; width: 80%!important; - border-left: 1px solid #cccccc87; + padding-left: 1em; } } .homebanner{ @media(min-width: 769px){ float: right!important; width: 80%!important; + padding-left: 1em; .ba-banner-widget-0 img{ transform: none!important; } @@ -145,6 +146,7 @@ #layout-navigation{ @media(min-width: 769px){ width: 100%; + border-right: 1px solid #cccccc87; } } .navbar-collapse.in { diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index ff0183f..0440574 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -118,6 +118,11 @@ input:hover { transform: translateX(-0.75em); } } +.membercontainer{ + @media (min-width: 769px){ + padding: 0; + } +} // container setting .response-container { position: relative; diff --git a/home/index.html.erb b/home/index.html.erb index e9d6cc2..2203c0b 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -12,15 +12,15 @@
-
+