140 lines
2.0 KiB
SCSS
140 lines
2.0 KiB
SCSS
.main-news-inner {
|
|
@include flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.main-inner-content {
|
|
@include stretch;
|
|
@include flex(column);
|
|
gap: 4.2rem;
|
|
}
|
|
|
|
.main-news-lead {
|
|
width: 100%;
|
|
max-width: 71%;
|
|
position: relative;
|
|
@include flex;
|
|
justify-content: flex-start;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.main-news-bg {
|
|
@include imgStyle($objFit: cover);
|
|
}
|
|
|
|
.main-news-overlay {
|
|
z-index: 1;
|
|
@include stretch;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(0, 0, 0, 0) 0%,
|
|
rgba(0, 0, 0, 0.7) 100%
|
|
);
|
|
}
|
|
|
|
.main-news-info {
|
|
padding: 0 2.7rem;
|
|
z-index: 2;
|
|
position: absolute;
|
|
bottom: 3.2rem;
|
|
left: 0rem;
|
|
width: 100%;
|
|
@include flex(column);
|
|
}
|
|
|
|
.main-news-info-title {
|
|
@include flex;
|
|
gap: 0.4rem;
|
|
|
|
span {
|
|
font-size: 1.2rem;
|
|
color: $base-white;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.2rem;
|
|
color: $base-red;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.2rem;
|
|
color: $base-white;
|
|
}
|
|
}
|
|
|
|
.main-news-info-content {
|
|
font-size: 1.6rem;
|
|
color: $base-white;
|
|
line-height: 2.179rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.main-news-container {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.main-news-min {
|
|
@include stretch;
|
|
max-width: 29%;
|
|
@include flex(column);
|
|
gap: 1.7rem;
|
|
}
|
|
|
|
.main-news-min-item {
|
|
position: relative;
|
|
}
|
|
|
|
.main-news-min-bg {
|
|
@include imgStyle($objFit: cover);
|
|
}
|
|
|
|
.main-news-min-info {
|
|
position: absolute;
|
|
padding: 0 1.2rem;
|
|
left: 0;
|
|
bottom: 0.7rem;
|
|
display: block;
|
|
font-size: 1rem;
|
|
line-height: 1.362rem;
|
|
color: $base-white;
|
|
z-index: 2;
|
|
font-weight: bold;
|
|
text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
// Media
|
|
@media screen and (max-width: 1070px) {
|
|
.main-news-container {
|
|
padding-right: 4rem;
|
|
}
|
|
.main-inner {
|
|
@include flex(column);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 950px) {
|
|
.main-news-min {
|
|
display: none;
|
|
}
|
|
.main-news-lead {
|
|
max-width: unset;
|
|
}
|
|
.main-news-container {
|
|
max-width: unset;
|
|
padding: 0;
|
|
}
|
|
.main-news-info-title {
|
|
font-size: 1.3rem;
|
|
}
|
|
.main-news-info-content {
|
|
font-size: 1.5rem;
|
|
}
|
|
.main-inner-content {
|
|
gap: 2.5rem;
|
|
}
|
|
}
|