diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index eb6ef14..ecebdcb 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -522,7 +522,7 @@ //背景widget設定 if ( location.href.search('editmode=on') != -1 ) { $('.background').css('z-index','0'); - $('.layout-footer').css('position','relative') + } else { $('.background').css('z-index','-1'); diff --git a/assets/stylesheets/template/RWD.scss b/assets/stylesheets/template/RWD.scss index 0c564e0..d65805d 100644 --- a/assets/stylesheets/template/RWD.scss +++ b/assets/stylesheets/template/RWD.scss @@ -23,4 +23,41 @@ position: absolute!important; } } + .linkwraper{ + flex-wrap: wrap; + } +} + +@media(min-width: 1600px){ + .linkwraper{ + flex-wrap: wrap; + margin-bottom: 6em; + } +} +@media(max-width: 1600px){ + .linkwraper{ + ul{ + padding-left: 20px; + } + } +} + .linkwraper{ + display:flex; + width: 100%; + } +@media only screen and (min-width: 768px) and (max-width: 1600px){ + .linkone{ + width:50%; + } + .linktwo{ + width:50%; + } + } +@media(max-width:$screen-xs){ + .linkone{ + width:100%; + } + .linktwo{ + width:100%; + } } diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index c4e77b0..1c784f3 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -10,6 +10,12 @@ margin-left: 430px; } } +.layout-content-inner{ + padding: 0; +} +.layout-content-box2{ + padding: 0; +} .layout-content { min-height: 37.5em; diff --git a/assets/stylesheets/template/layout/footer.scss b/assets/stylesheets/template/layout/footer.scss index f163f0a..67ff432 100644 --- a/assets/stylesheets/template/layout/footer.scss +++ b/assets/stylesheets/template/layout/footer.scss @@ -26,10 +26,10 @@ @media(min-width:1025px){ position: fixed; bottom: 0; - left: 2em; + left: 2.5em; .layout-footer-inner{ - width: 350px!important; - padding: 0 3em!important; + width: 360px!important; + padding: 0 1.2em!important; } } @media only screen and (min-width: 768px) and (max-width: 1024px) { @@ -61,3 +61,6 @@ width: 100%!important; } } +.footerbox{ + padding: 0; +} diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index d4afc8b..f7255a8 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -32,15 +32,13 @@ } .header-banner { overflow: hidden; } .header-nav { - padding: 1em 0; + padding: 0.5em 1em; color: $theme-color-main; font-family: $main-font; text-transform:uppercase; & > * { display: inline-block; - margin-top: 0; - margin-bottom: 0; font-size: 0.8em; color: $theme-color-main; } @@ -48,20 +46,17 @@ a { color: $theme-color-main; text-decoration: none; - padding: 15px; } - @media (min-width: $screen-sm) { + @media (min-width: 1025px) { text-align: inherit; - top: 131px; + top: 120px; position: fixed!important; + width: 400px!important; } - @media (min-width: 1100px) and (min-width: 1100px){ - width: 430px!important; - } - @media (min-width: 1100px) and (min-width: 1350px){ - width: 380px!important; - } + @media (min-width: 1601px){ + top: 130px!important; + } } .navbar-header { @@ -183,7 +178,9 @@ } } .header-nav{ - padding:0 3em!important; + @media (min-width: 1025px){ + padding:0 3em!important; + } } .nav-menu{ display:flex!important; diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index c376388..713e588 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -32,10 +32,8 @@ // container setting .response-container { position: relative; - padding: 0; @media (min-width: $screen-xs) { width: 100%; - padding: 0; } @media (min-width: $screen-sm) { diff --git a/home/footer.html.erb b/home/footer.html.erb index 3b2397b..51b71e0 100644 --- a/home/footer.html.erb +++ b/home/footer.html.erb @@ -1,7 +1,8 @@ \ No newline at end of file + diff --git a/modules/announcement/_annc_widget18.html.erb b/modules/announcement/_annc_widget18.html.erb index 00cf9e7..07139ed 100644 --- a/modules/announcement/_annc_widget18.html.erb +++ b/modules/announcement/_annc_widget18.html.erb @@ -1,74 +1,74 @@ -
- + + diff --git a/modules/ruling_weather/_ruling_weather_widget1.html.erb b/modules/ruling_weather/_ruling_weather_widget1.html.erb index c63e878..c532056 100644 --- a/modules/ruling_weather/_ruling_weather_widget1.html.erb +++ b/modules/ruling_weather/_ruling_weather_widget1.html.erb @@ -1,52 +1,52 @@ -