88 lines
1.3 KiB
SCSS
88 lines
1.3 KiB
SCSS
// .frame-type-news_newsliststicky {
|
|
// .header {
|
|
// display:flex;
|
|
// margin-bottom: 2.5rem;
|
|
//
|
|
// .title {
|
|
// flex: 1;
|
|
// align-content: center;
|
|
//
|
|
// h2 {
|
|
// margin: 0;
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
|
|
.news-list-view {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 1rem;
|
|
grid-auto-rows: auto;
|
|
|
|
.news-list-item {
|
|
grid-column: span 6;
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (max-width: $breakpoint-md) {
|
|
.news-list-item {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
|
|
@media (min-width: $breakpoint-xl) {
|
|
.news-list-item {
|
|
grid-column: span 2;
|
|
|
|
&:first-of-type {
|
|
grid-column: 1 / span 4;
|
|
grid-row: span 2;
|
|
}
|
|
&:nth-of-type(2) {
|
|
grid-column: 5 / span 2;
|
|
grid-row: 1;
|
|
}
|
|
&:nth-of-type(3) {
|
|
grid-column: 5 / span 2;
|
|
grid-row: 2;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.f3-widget-paginator {
|
|
grid-column: span 6;
|
|
}
|
|
}
|
|
|
|
.news-list-item {
|
|
.readmore {
|
|
font-weight: 700;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
a {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.body {
|
|
position: relative;
|
|
padding: .5rem;
|
|
}
|
|
|
|
time {
|
|
padding-left: .6rem;
|
|
color: var(--bs-gray-900);
|
|
}
|
|
|
|
.readmore {
|
|
color: var(--bs-primary);
|
|
}
|
|
}
|
|
}
|