diff --git a/Resources/Public/Sass/_layout-content.scss b/Resources/Public/Sass/_layout-content.scss index 56fe139aaf7bd5c32dba1287618a39714f9cc9e2..55fecbc3afeb2860c0ea79a6c1191907b81a121c 100644 --- a/Resources/Public/Sass/_layout-content.scss +++ b/Resources/Public/Sass/_layout-content.scss @@ -1,3 +1,5 @@ +$sg-news-headline-underline-width: 35px; + .sg-slide-layout--content { .sg-slide-track, .sg-slide-container { @@ -31,7 +33,9 @@ .sg-slide-dots { display: block; + position: relative; bottom: -10px; + width: auto !important; // stylelint-disable-line } &[data-current-columns="3"] { @@ -40,6 +44,10 @@ display: none; } } + + .sg-slide:not(:nth-child(3n+1)) { + border-left: 1px solid $sg-news-border-color; + } } &[data-current-columns="2"] { @@ -48,12 +56,10 @@ display: none; } } - } - - .sg-slide-news-content { - margin-bottom: 16px; - padding: 0 35px + .sg-slide:not(:nth-child(2n+1)) { + border-left: 1px solid $sg-news-border-color; + } } a { @@ -62,4 +68,27 @@ text-decoration: none; } } + + .sg-slide-news-content { + margin-bottom: 16px; + padding: 0 50px + } + + .tx-sgnews-teaser-description { + text-align: justify; + } + + .tx-sgnews-teaser-title { + margin-bottom: 10px !important; //stylelint-disable-line + + &::after { + display: block; + content: ''; + width: $sg-news-headline-underline-width; + height: #{$sg-news-headline-underline-width / 6}; + background: $sg-news-foreground-color; + } + } + + }