ORIENT/themes/modern2/assets/new/styles/_article.scss

149 lines
2.1 KiB
SCSS
Raw Normal View History

2022-12-06 15:33:01 +00:00
.article-inner {
padding: 3rem 0 4rem;
@include grid(false, 67% auto);
gap: 4rem;
}
.article-content-top {
@include flex(column);
gap: 1.2rem;
}
.article-item {
@include imgStyle($objFit: cover);
2022-12-23 09:55:31 +00:00
@include flex;
align-items: center;
max-height: 55rem;
2022-12-19 17:21:39 +00:00
overflow: hidden;
2022-12-06 15:33:01 +00:00
}
.article-prev,
.article-next {
top: 45%;
}
.article-head {
@include flex(column);
gap: 1.2rem;
h2 {
font-size: 2.4rem;
font-weight: bold;
line-height: 3.3rem;
}
span {
font-weight: 600;
2022-12-14 15:55:13 +00:00
font-size: 1.7rem;
2022-12-06 15:33:01 +00:00
color: $base-green;
}
}
.article-content {
@include flex(column);
gap: 4rem;
}
.article-desc {
padding-top: 1.8rem;
@include flex(column);
gap: 2.4rem;
p,
h5 {
2022-12-14 15:55:13 +00:00
font-size: 1.7rem;
2022-12-06 15:33:01 +00:00
line-height: 2.5rem;
}
}
.article-links {
padding-top: 2.8rem;
}
.article-content-bottom {
@include flex(column);
gap: 3.2rem;
h3 {
font-size: 2.4rem;
}
}
.article-bottom-head {
h4,
span {
color: $base-black;
font-weight: 300;
}
}
.article-content-info {
color: $base-black !important;
font-weight: bold !important;
}
.article-items {
display: none;
}
// Media
2022-12-23 09:55:31 +00:00
2022-12-06 15:33:01 +00:00
@media screen and (max-width: 1080px) {
.article-aside {
display: none;
}
.article-inner {
display: block;
}
}
@media screen and (max-width: 800px) {
.article-inner {
padding: 2.2rem 0 5rem;
}
.article-head {
flex-direction: column-reverse;
h2 {
2022-12-14 15:55:13 +00:00
font-size: 1.9rem;
2022-12-06 15:33:01 +00:00
}
span {
2022-12-14 15:55:13 +00:00
font-size: 1.5rem;
2022-12-06 15:33:01 +00:00
color: $mild-gray;
}
}
.article-content-top {
gap: 2.5rem;
}
.article-content-bottom {
gap: 2.5rem;
h3 {
font-size: 2rem;
letter-spacing: 0.1em;
text-align: center;
}
}
}
@media screen and (max-width: 700px) {
2022-12-29 11:38:21 +00:00
// .article-swiper-wrapper-lower {
// display: none;
// }
2022-12-06 15:33:01 +00:00
.article-items {
@include flex(column);
gap: 2.5rem;
}
.article-content-info {
2022-12-14 15:55:13 +00:00
font-size: 1.7rem;
2022-12-06 15:33:01 +00:00
}
.article-bottom-head {
2022-12-14 15:55:13 +00:00
font-size: 1.5rem;
2022-12-06 15:33:01 +00:00
}
.sub-news-left-content-item-content {
gap: 0.5rem;
}
.article-bottom-item {
gap: 1.4rem;
}
}