Skip to content
Snippets Groups Projects
Commit fe976c5b authored by Michael Kessler's avatar Michael Kessler
Browse files

[TASK] Improve content styling for news slider

parent 92605150
No related branches found
No related tags found
1 merge request!30Feature latest news slider
This commit is part of merge request !30. Comments created here will be created in the context of that merge request.
$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;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment