diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index 232c38d..ea94235 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -463,6 +463,8 @@ body{ } .w-event_news__list{ padding: 0; + display: flex; + flex-wrap: wrap; li{ width: 100%; float: left; diff --git a/assets/stylesheets/template/modules/ad_banner.scss b/assets/stylesheets/template/modules/ad_banner.scss index 6c1ce85..fdaa400 100644 --- a/assets/stylesheets/template/modules/ad_banner.scss +++ b/assets/stylesheets/template/modules/ad_banner.scss @@ -293,7 +293,7 @@ ul.button-mid{ } // Widget 6 .ba-banner-widget-6 { - height: 100%; + height: 100% !important; .w-ba-banner__wrap{ height: 100%; } diff --git a/assets/stylesheets/template/modules/announcement.scss b/assets/stylesheets/template/modules/announcement.scss index 2cabb8d..e119bae 100644 --- a/assets/stylesheets/template/modules/announcement.scss +++ b/assets/stylesheets/template/modules/announcement.scss @@ -216,22 +216,18 @@ } } .w-annc__img-wrap { - height: 25em; - margin: 0.5em; - @media(max-width:$screen-xs){ - height:20em; - } - @media(min-width:1920px){ - height: 30em; - } img{ width: auto!important; + position: relative !important; + width: 100% !important; height: 100%!important; margin: 0 !important; max-width: fit-content; } } - .w + .w-annc__item{ + margin-bottom: 0em; + } .w-annc__title { font-family: $main-font; @@ -239,10 +235,18 @@ font-size: 1.2rem; } .w-annc__list{ - @media(min-width:$screen-xs){ + @media(min-width: $screen-sm){ display: grid; - grid-template: auto auto/repeat(12, 1fr); - grid-gap: 0 10px; + grid-template-areas: + "g1 g2 g3" + "g1 g4 g5"; + grid-gap: 2% 1%; + grid-template-columns: 35% 31.5% 31.5%; + } + @media(max-width: $screen-sm-max){ + .w-annc__item{ + margin-bottom: 1em; + } } li{ &:hover{ @@ -259,43 +263,35 @@ flex: 0 0 50%; } &:nth-child(1){ - grid-area: 1 / 1 / 3 / 5; + grid-area: g1; -ms-grid-row: 1; -ms-grid-column: 1; -ms-grid-row-span: 3; -ms-grid-column-span: 7; - .w-annc__img-wrap{ - height: 53em; - } - @media(max-width:$screen-xs){ - .w-annc__img-wrap{ - height: 40em; - } - } } &:nth-child(2){ - grid-area: 1 / 5 / 2 / 9; + grid-area: g2; -ms-grid-row: 1; -ms-grid-column: 9; -ms-grid-row-span: 1; -ms-grid-column-span: 7; } &:nth-child(3){ - grid-area: 1 / 9 / 2 / 13; + grid-area: g3; -ms-grid-row: 1; -ms-grid-column: 17; -ms-grid-row-span: 1; -ms-grid-column-span: 7; } &:nth-child(4){ - grid-area: 2 / 5 / 3 / 9; + grid-area: g4; -ms-grid-row: 3; -ms-grid-column: 9; -ms-grid-row-span: 1; -ms-grid-column-span: 7; } &:nth-child(5){ - grid-area: 2 / 9 / 3 / 13; + grid-area: g5; -ms-grid-row: 3; -ms-grid-column: 17; -ms-grid-row-span: 1; @@ -310,7 +306,6 @@ .card{ position: absolute; z-index: 2; - margin:0 0.5em; padding: 20px 25px; bottom: 0; left: 0; diff --git a/modules/archive/_archive_widget3.html.erb b/modules/archive/_archive_widget3.html.erb index 1978557..45ffc79 100644 --- a/modules/archive/_archive_widget3.html.erb +++ b/modules/archive/_archive_widget3.html.erb @@ -9,7 +9,7 @@ {{archive-title}}
+ + {{status}} + + + {{archive-title}} + + + + {{file-name}}{{file-type}} + + +
+