init
This commit is contained in:
@@ -0,0 +1,237 @@
|
||||
.mpblog-post-view .page-wrapper .breadcrumbs {
|
||||
width: min(83.333333%, 1600px);
|
||||
margin: 20px auto 20px auto;
|
||||
}
|
||||
.mpblog-post-view .page-main {
|
||||
width: min(83.333333%, 1600px);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left .esun-news-detail-header {
|
||||
border-bottom: 1px solid #e2e2e2;
|
||||
box-sizing: border-box;
|
||||
margin: 0 0 34px;
|
||||
padding: 0 0 34px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left .esun-news-detail-header__category {
|
||||
background: #d9e9ff;
|
||||
border-radius: 16px;
|
||||
color: #15549a;
|
||||
display: inline-flex;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
padding: 9px 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__category:hover {
|
||||
background: #c9ddf8;
|
||||
color: #10467f;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left .esun-news-detail-header__title {
|
||||
color: #0b0b0b;
|
||||
font-size: clamp(38px, 3.25vw, 40px);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.025em;
|
||||
line-height: 1.2;
|
||||
margin: 30px 0 42px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left .esun-news-detail-header__meta {
|
||||
align-items: center;
|
||||
color: #888883;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
font-size: 18px;
|
||||
gap: 18px 30px;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__meta-item {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
gap: 10px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__meta-item
|
||||
svg {
|
||||
fill: none;
|
||||
height: 25px;
|
||||
stroke: currentColor;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
stroke-width: 1.8;
|
||||
width: 25px;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__social-share {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__social-share
|
||||
.mp_social_share_inline {
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mpblog-post-view .mp-blog-view #sharing {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header
|
||||
+ .mp-blog-view
|
||||
.post-list-content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-nav {
|
||||
border-top: 1px solid #e2e2e2;
|
||||
display: grid;
|
||||
gap: 28px;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
margin: 48px 0 24px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link {
|
||||
align-items: center;
|
||||
color: #2b2e33;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
grid-template-columns: 18px minmax(0, 1fr);
|
||||
min-height: 96px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link--next {
|
||||
grid-template-columns: minmax(0, 1fr) 18px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link.is-disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-text {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-text strong {
|
||||
color: #333;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0;
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-text span {
|
||||
color: #999;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 1.35;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-arrow::before {
|
||||
border-left: 3px solid #17a957;
|
||||
border-top: 3px solid #17a957;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 12px;
|
||||
transform: rotate(-45deg);
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-arrow--next::before {
|
||||
transform: rotate(135deg);
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link:hover,
|
||||
.mpblog-post-view .esun-news-bottom-link:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link:hover .esun-news-bottom-text strong,
|
||||
.mpblog-post-view .esun-news-bottom-link:hover .esun-news-bottom-text span,
|
||||
.mpblog-post-view .esun-news-bottom-link:focus .esun-news-bottom-text strong,
|
||||
.mpblog-post-view .esun-news-bottom-link:focus .esun-news-bottom-text span {
|
||||
color: #10a956;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.mpblog-post-view.page-layout-2columns-left .esun-news-detail-header {
|
||||
margin-bottom: 26px;
|
||||
padding-bottom: 26px;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__category {
|
||||
font-size: 15px;
|
||||
padding: 7px 16px;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__title {
|
||||
font-size: 32px;
|
||||
line-height: 1.25;
|
||||
margin: 24px 0 30px;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left .esun-news-detail-header__meta {
|
||||
font-size: 16px;
|
||||
gap: 14px 22px;
|
||||
}
|
||||
|
||||
.mpblog-post-view.page-layout-2columns-left
|
||||
.esun-news-detail-header__meta-item
|
||||
svg {
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-nav {
|
||||
gap: 0;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
margin-top: 36px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link {
|
||||
min-height: 84px;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link--next {
|
||||
border-top: 1px solid #ededed;
|
||||
}
|
||||
|
||||
.mpblog-post-view .esun-news-bottom-link.is-disabled {
|
||||
display: none;
|
||||
}
|
||||
.mpblog-post-view .page-wrapper .breadcrumbs{
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,403 @@
|
||||
.esun-news-list-page .page-main {
|
||||
width: min(83.333333%, 1600px);
|
||||
margin: 0 auto;
|
||||
}
|
||||
.esun-news-list-page .esun-news-list {
|
||||
--esun-news-blue: #17a957;
|
||||
--esun-news-pill: #d9e9ff;
|
||||
--esun-news-text: #111;
|
||||
--esun-news-muted: #626262;
|
||||
--esun-news-border: #e2e2e2;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .post-list-body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__item {
|
||||
border-bottom: 1px solid var(--esun-news-border);
|
||||
box-sizing: border-box;
|
||||
float: none;
|
||||
margin: 0;
|
||||
padding: 36px 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__card,
|
||||
.esun-news-list-page .esun-news-list__card:hover {
|
||||
align-items: stretch;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
display: grid;
|
||||
gap: clamp(24px, 3vw, 42px);
|
||||
grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__image-link {
|
||||
align-self: start;
|
||||
aspect-ratio: 4 / 3;
|
||||
background: #f5f5f5;
|
||||
border-radius: 8px;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__image {
|
||||
aspect-ratio: 4 / 3;
|
||||
display: block;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__card:hover .esun-news-list__image {
|
||||
transform: scale(1.025);
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
vertical-align: initial;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__meta {
|
||||
align-items: center;
|
||||
color: #8a8985;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
gap: 10px 14px;
|
||||
line-height: 1.4;
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__meta span,
|
||||
.esun-news-list-page .esun-news-list__meta a,
|
||||
.esun-news-list-page .esun-news-list__meta time {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__type {
|
||||
background: var(--esun-news-pill);
|
||||
border-radius: 16px;
|
||||
color: var(--esun-news-blue) !important;
|
||||
font-weight: 600;
|
||||
padding: 4px 16px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__category {
|
||||
color: #555 !important;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__category:hover {
|
||||
color: var(--esun-news-blue) !important;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__date,
|
||||
.esun-news-list-page .esun-news-list__views {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__date svg,
|
||||
.esun-news-list-page .esun-news-list__views svg {
|
||||
fill: none;
|
||||
height: 19px;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.8;
|
||||
width: 19px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__title {
|
||||
font-size: clamp(23px, 2vw, 32px);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__title a,
|
||||
.esun-news-list-page .esun-news-list__title a:visited {
|
||||
color: var(--esun-news-text) !important;
|
||||
text-decoration: none;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__title a:hover {
|
||||
color: var(--esun-news-blue) !important;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__description {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
color: var(--esun-news-muted);
|
||||
display: -webkit-box;
|
||||
font-size: 18px;
|
||||
line-height: 1.55;
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__footer {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
justify-content: space-between;
|
||||
margin-top: auto;
|
||||
padding-top: 22px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__footer-meta {
|
||||
align-items: center;
|
||||
color: #8a8985;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
gap: 10px 22px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__read-more,
|
||||
.esun-news-list-page .esun-news-list a.esun-news-list__read-more {
|
||||
align-items: center;
|
||||
align-self: flex-start;
|
||||
color: var(--esun-news-blue) !important;
|
||||
display: inline-flex;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
gap: 10px;
|
||||
flex-shrink: 0;
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__read-more span {
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__read-more:hover span {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pager {
|
||||
align-items: center;
|
||||
border-top: 1px solid var(--esun-news-border);
|
||||
display: grid;
|
||||
gap: 24px;
|
||||
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
||||
margin: 0;
|
||||
padding: 34px 0 10px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .toolbar-amount {
|
||||
color: var(--esun-news-muted);
|
||||
float: none;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages {
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages-items {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages-items .item {
|
||||
margin: 0;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages-items .page,
|
||||
.esun-news-list-page .esun-news-list .pages-items .action {
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
border: 1px solid #d8d8d8;
|
||||
border-radius: 6px;
|
||||
box-sizing: border-box;
|
||||
color: #555;
|
||||
display: inline-flex;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
height: 42px;
|
||||
justify-content: center;
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
min-width: 42px;
|
||||
padding: 0 12px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages-items a.page:hover,
|
||||
.esun-news-list-page .esun-news-list .pages-items .action:hover {
|
||||
border-color: var(--esun-news-blue);
|
||||
color: var(--esun-news-blue);
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages-items .current .page {
|
||||
background: var(--esun-news-blue);
|
||||
border-color: var(--esun-news-blue);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages-items .action::before {
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .limiter {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
float: none;
|
||||
gap: 10px;
|
||||
justify-self: end;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .limiter-label,
|
||||
.esun-news-list-page .esun-news-list .limiter-text {
|
||||
color: var(--esun-news-muted);
|
||||
font-size: 14px;
|
||||
line-height: 42px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .limiter-options {
|
||||
box-sizing: border-box;
|
||||
height: 42px;
|
||||
margin: 0;
|
||||
min-width: 76px;
|
||||
padding: 0 30px 0 12px;
|
||||
width: 76px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.esun-news-list-page .esun-news-list__card,
|
||||
.esun-news-list-page .esun-news-list__card:hover {
|
||||
grid-template-columns: minmax(210px, 36%) minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__description {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.esun-news-list-page .esun-news-list__item {
|
||||
padding: 28px 0;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__card,
|
||||
.esun-news-list-page .esun-news-list__card:hover {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__image-link {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__image {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__meta {
|
||||
font-size: 14px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__title {
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__read-more,
|
||||
.esun-news-list-page .esun-news-list a.esun-news-list__read-more {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__footer {
|
||||
gap: 12px;
|
||||
padding-top: 18px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__footer-meta {
|
||||
font-size: 14px;
|
||||
gap: 8px 12px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list__read-more,
|
||||
.esun-news-list-page .esun-news-list a.esun-news-list__read-more {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pager {
|
||||
gap: 20px 12px;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
padding-top: 28px;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .pages {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .toolbar-amount {
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
.esun-news-list-page .esun-news-list .limiter {
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
}
|
||||
.esun-news-list-page .top-container{
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.esun-news-list-page .esun-news-list__image,
|
||||
.esun-news-list-page .esun-news-list__read-more span {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-news-top-banner {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.esun-news-top-banner img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user