generated from muhtadeetaron/nextjs-template
653 lines
13 KiB
CSS
653 lines
13 KiB
CSS
article header {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.post-tag {
|
|
display: inline-block;
|
|
font-size: 22px;
|
|
font-family: var(--font2);
|
|
line-height: 100%;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.narrow-container .post-tag,
|
|
.vertical-post-header .post-tag {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.post-heading {
|
|
font-family: var(--font2);
|
|
font-weight: 400;
|
|
line-height: 100%;
|
|
margin-bottom: 29px;
|
|
}
|
|
|
|
.narrow-container .post-heading,
|
|
.vertical-post-header .post-heading {
|
|
font-size: 62px;
|
|
}
|
|
|
|
.excerpt-and-authors-wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
column-gap: 5vw;
|
|
}
|
|
|
|
.post-excerpt-wrapper {
|
|
max-width: 464px;
|
|
}
|
|
|
|
.full-width-post-excerpt-wrapper {
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
article p {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.post-main-image-wrapper {
|
|
margin-top: 38px;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.hero-content .section-padding-top {
|
|
margin-top: 26px;
|
|
}
|
|
|
|
.no-image-container .post-hero-text-content {
|
|
padding-bottom: 57px;
|
|
border-bottom: 1px solid var(--text-color);
|
|
}
|
|
|
|
.vertical-post-header {
|
|
margin-bottom: 19px;
|
|
}
|
|
|
|
.vertical-post-header .hero-content {
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: space-between;
|
|
gap: 42px;
|
|
margin-top: 26px;
|
|
}
|
|
|
|
.vertical-post-image-left .hero-content {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.vertical-post-header .post-hero-text-content {
|
|
width: 100%;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
padding-bottom: 57px;
|
|
border-top: 1px solid var(--text-color);
|
|
border-bottom: 1px solid var(--text-color);
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper {
|
|
display: flex;
|
|
margin-top: 0px;
|
|
min-height: 35vw;
|
|
max-width: 31.2vw;
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper figure {
|
|
overflow: unset;
|
|
}
|
|
|
|
.vertical-post-header .post-hero-text-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
}
|
|
|
|
.post-content-and-sidebar {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.post-content-outer-without-sidebar {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.post-content {
|
|
margin-top: 38px;
|
|
}
|
|
|
|
.post-sidebar {
|
|
max-width: calc(31.2vw + 42px);
|
|
width: 100%;
|
|
padding-right: 42px;
|
|
margin-top: 38px;
|
|
position: sticky;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.post-sidebar .extra-small-side-card-image-link {
|
|
height: 10vw;
|
|
}
|
|
|
|
.sidebar-left {
|
|
flex-direction: row-reverse;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.sidebar-left .post-sidebar {
|
|
padding-left: 42px;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.post-content-no-image {
|
|
margin-top: 57px;
|
|
}
|
|
|
|
article[data-post-header-type="Narrow"][data-use-sidebar="true"] .post-main-image-wrapper-header {
|
|
display: none;
|
|
}
|
|
|
|
.overflow-hidden {
|
|
overflow: hidden;
|
|
}
|
|
|
|
article[data-use-sidebar="true"] .kg-width-full {
|
|
max-width: 100% !important;
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
left: 0% !important;
|
|
right: 0% !important;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
border-radius: 0px !important;
|
|
border: none !important;
|
|
}
|
|
|
|
article[data-use-sidebar="true"] .kg-width-full .kg-signup-card-text {
|
|
padding: 4.4vmax;
|
|
}
|
|
|
|
article[data-use-sidebar="true"] .kg-width-full .kg-header-card-text {
|
|
padding:min(6.4vmax,120px) min(4vmax,80px);
|
|
}
|
|
|
|
article[data-use-sidebar="true"] .kg-layout-split .kg-signup-card-content,
|
|
article[data-use-sidebar="true"] .kg-layout-split .kg-header-card-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
article[data-use-sidebar="true"] .kg-layout-split .kg-signup-card-content .kg-signup-card-image,
|
|
article[data-use-sidebar="true"] .kg-layout-split .kg-header-card-content .kg-header-card-image {
|
|
height: auto;
|
|
}
|
|
|
|
.post-share {
|
|
margin-top: 12px;
|
|
width: fit-content;
|
|
}
|
|
|
|
.post-share-heading {
|
|
line-height: 160%;
|
|
font-weight: bold;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.post-share-icons {
|
|
margin-top: 16px;
|
|
gap: 32px;
|
|
padding: 12px 18px;
|
|
border: 1px solid var(--text-color);
|
|
position: relative;
|
|
display: flex !important;
|
|
}
|
|
|
|
.clipboard-alert {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -32px;
|
|
}
|
|
|
|
.comments-container {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.comments-container iframe[title="comments-frame"] {
|
|
max-width: none !important;
|
|
position: relative !important;
|
|
width: 100vw !important;
|
|
left: 50% !important;
|
|
right: 50% !important;
|
|
margin-left: -50vw !important;
|
|
margin-right: -50vw !important;
|
|
border-radius: 0px !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.post-upgrade-cta {
|
|
width: 100%;
|
|
padding: 5.8vw 8.6vw;
|
|
text-align: center;
|
|
border: 1px solid var(--text-color);
|
|
background-color: var(--background-color);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.post-upgrade-cta h2 {
|
|
line-height: 120%;
|
|
font-size: 62px;
|
|
max-width: 620px;
|
|
}
|
|
|
|
.post-upgrade-cta .button {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.post-upgrade-cta-paragraph {
|
|
margin-top: calc(1.5vw * var(--scale));
|
|
margin-bottom: calc(2.8vw * var(--scale));
|
|
max-width: 620px;
|
|
}
|
|
|
|
.post-upgrade-cta-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.under-button-wrapper {
|
|
margin-top: calc(0.7vw * var(--scale));
|
|
}
|
|
|
|
.under-button-wrapper small {
|
|
opacity: 1;
|
|
}
|
|
|
|
.under-button-wrapper span {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.fading-content {
|
|
position: relative;
|
|
}
|
|
|
|
.fading-content:after {
|
|
content: '';
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 35vh;
|
|
background: linear-gradient(transparent, var(--background-color) 93%);
|
|
}
|
|
|
|
.fading-content + .post-upgrade-cta {
|
|
filter: drop-shadow(0px 10px 30px var(--text-color-20));
|
|
}
|
|
|
|
article[data-post-header-type="Wide"][data-has-feature-image="true"] .post-excerpt-wrapper {
|
|
max-width: 600px;
|
|
}
|
|
|
|
/* Styles for large desktop */
|
|
@media (min-width: 1439px) {
|
|
.post-tag {
|
|
font-size: calc(1.53vw * var(--scale));
|
|
margin-bottom: calc(1.11vw * var(--scale));
|
|
}
|
|
|
|
.narrow-container .post-tag,
|
|
.vertical-post-header .post-tag {
|
|
font-size: calc(1.39vw * var(--scale));
|
|
}
|
|
|
|
.post-heading {
|
|
font-size: calc(5vw * var(--scale));
|
|
margin-bottom: calc(2.01vw * var(--scale));
|
|
}
|
|
|
|
.narrow-container .post-heading,
|
|
.vertical-post-header .post-heading {
|
|
font-size: calc(4.31vw * var(--scale));
|
|
}
|
|
|
|
.post-excerpt-wrapper {
|
|
max-width: calc(32.2vw * var(--scale));
|
|
}
|
|
|
|
article p {
|
|
font-size: calc(1.25vw * var(--scale));
|
|
}
|
|
|
|
.post-main-image-wrapper {
|
|
margin-top: calc(2.64vw * var(--scale));
|
|
}
|
|
|
|
.hero-content .section-padding-top {
|
|
margin-top: calc(1.81vw * var(--scale));
|
|
}
|
|
|
|
.no-image-container .post-hero-text-content {
|
|
padding-bottom: calc(3.96vw * var(--scale));
|
|
}
|
|
|
|
.vertical-post-header {
|
|
margin-bottom: calc(1.32vw * var(--scale));
|
|
}
|
|
|
|
.vertical-post-header .hero-content {
|
|
gap: 2.92vw;
|
|
margin-top: calc(1.81vw * var(--scale));
|
|
}
|
|
|
|
.vertical-post-header .post-hero-text-content {
|
|
width: 100%;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
padding-bottom: calc(3.96vw * var(--scale));
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.post-content {
|
|
margin-top: calc(2.64vw * var(--scale));
|
|
}
|
|
|
|
.post-sidebar {
|
|
max-width: 34.12vw;
|
|
padding-right: 2.92vw;
|
|
margin-top: calc(2.64vw * var(--scale));
|
|
margin-bottom: calc(1.74vw * var(--scale));
|
|
}
|
|
|
|
.sidebar-left .post-sidebar {
|
|
padding-left: 2.92vw;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.post-content-no-image {
|
|
margin-top: calc(3.96vw * var(--scale));
|
|
}
|
|
|
|
.post-share {
|
|
margin-top: calc(0.83vw * var(--scale));
|
|
}
|
|
|
|
.post-share-heading {
|
|
font-size: calc(1.25vw * var(--scale));
|
|
}
|
|
|
|
.post-share-icons {
|
|
margin-top: calc(1.11vw * var(--scale));
|
|
gap: calc(2.22vw * var(--scale));
|
|
padding: calc(0.83vw * var(--scale)) calc(1.25vw * var(--scale));;
|
|
}
|
|
|
|
.clipboard-alert {
|
|
bottom: calc(-2.22vw * var(--scale));
|
|
}
|
|
|
|
.post-upgrade-cta h2 {
|
|
font-size: calc(4.31vw * var(--scale));
|
|
max-width: calc(43vw * var(--scale));
|
|
}
|
|
|
|
.post-upgrade-cta-paragraph {
|
|
max-width: calc(43vw * var(--scale));
|
|
}
|
|
|
|
article[data-post-header-type="Wide"][data-has-feature-image="true"] .post-excerpt-wrapper {
|
|
max-width: calc(41.7vw * var(--scale));
|
|
}
|
|
}
|
|
|
|
/* Styles for tablet */
|
|
@media (max-width: 991px) {
|
|
.post-heading,
|
|
.narrow-container .post-heading,
|
|
.vertical-post-header .post-heading {
|
|
font-size: 48px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.post-heading {
|
|
line-height: 105%;
|
|
}
|
|
|
|
.post-tag,
|
|
.narrow-container .post-tag,
|
|
.vertical-post-header .post-tag {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.excerpt-and-authors-wrapper {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.hero-content .section-padding-top {
|
|
padding-top: 68px;
|
|
border-top: 1px solid var(--text-color);
|
|
}
|
|
|
|
.no-image-container .post-hero-text-content {
|
|
padding-bottom: 68px;
|
|
}
|
|
|
|
.vertical-post-header {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.vertical-post-header .hero-content {
|
|
display: block;
|
|
gap: 0px;
|
|
}
|
|
|
|
.vertical-post-header .post-hero-text-content {
|
|
min-width: unset;
|
|
width: 100%;
|
|
padding-bottom: 0px;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper {
|
|
display: flex;
|
|
margin-top: 26px;
|
|
min-height: 35vw;
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper figure {
|
|
overflow: unset;
|
|
}
|
|
|
|
.vertical-post-header .post-hero-text-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper {
|
|
margin-top: 38px;
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.post-content-no-image {
|
|
margin-top: 68px;
|
|
}
|
|
|
|
.sidebar-related-articles {
|
|
display: none !important;
|
|
}
|
|
|
|
.post-content-and-sidebar {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.post-sidebar {
|
|
position: static;
|
|
min-width: 100%;
|
|
width: 100%;
|
|
order: -1;
|
|
padding-left: 30px !important;
|
|
padding-right: 30px !important;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.toc-heading {
|
|
font-size: 24px;
|
|
}
|
|
|
|
article[data-post-header-type="Narrow"][data-use-sidebar="true"] .post-main-image-wrapper-header {
|
|
display: block;
|
|
}
|
|
|
|
article .post-main-image-wrapper-content {
|
|
display: none;
|
|
}
|
|
|
|
article[data-use-sidebar="true"] .kg-width-full {
|
|
max-width: none !important;
|
|
position: relative !important;
|
|
width: 100vw !important;
|
|
left: 50% !important;
|
|
right: 50% !important;
|
|
margin-left: -50vw !important;
|
|
margin-right: -50vw !important;
|
|
border-radius: 0px !important;
|
|
border: none !important;
|
|
}
|
|
|
|
article .post-content-and-sidebar {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.comments-container iframe[title="comments-frame"] {
|
|
max-width: 100% !important;
|
|
width: 100% !important;
|
|
left: 0% !important;
|
|
right: 0% !important;
|
|
margin-left: 0vw !important;
|
|
margin-right: 0vw !important;
|
|
}
|
|
|
|
.post-upgrade-cta {
|
|
padding: 72px 52px;
|
|
}
|
|
|
|
.post-upgrade-cta h2 {
|
|
font-size: 54px;
|
|
}
|
|
|
|
.post-upgrade-cta-paragraph {
|
|
margin-top: 22px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.under-button-wrapper {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
article[data-post-header-type="Wide"][data-has-feature-image="true"] .post-excerpt-wrapper {
|
|
max-width: 464px;
|
|
}
|
|
}
|
|
|
|
/* Styles for mobile */
|
|
@media (max-width: 479px) {
|
|
.post-tag,
|
|
.narrow-container .post-tag,
|
|
.vertical-post-header .post-tag {
|
|
font-size: 18px;
|
|
margin-bottom: 11px;
|
|
}
|
|
|
|
.post-heading,
|
|
.narrow-container .post-heading,
|
|
.vertical-post-header .post-heading {
|
|
line-height: 110%;
|
|
font-size: 36px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
article p {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.post-main-image-wrapper {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.hero-content .section-padding-top {
|
|
margin-top: 20px;
|
|
padding-top: 56px;
|
|
}
|
|
|
|
.no-image-container .post-hero-text-content {
|
|
padding-bottom: 56px;
|
|
}
|
|
|
|
.vertical-post-header .post-main-image-wrapper {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.vertical-post-header .hero-content {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.post-content {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.post-content-no-image {
|
|
margin-top: 56px;
|
|
}
|
|
|
|
.post-sidebar {
|
|
padding-left: 18px !important;
|
|
padding-right: 18px !important;
|
|
}
|
|
|
|
.post-share {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.post-share-heading {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.post-share-icons {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.clipboard-alert {
|
|
bottom: -30px;
|
|
}
|
|
|
|
.post-upgrade-cta {
|
|
padding: 64px 32px;
|
|
}
|
|
|
|
.post-upgrade-cta h2 {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.post-upgrade-cta-paragraph {
|
|
margin-top: 16px;
|
|
margin-bottom: 26px;
|
|
}
|
|
} |