@import "@tryghost/shared-theme-assets/assets/css/v1/screen.css"; @import "fonts.css"; :root { --font-sans: Wanted Sans, Century Gothic, Frutiger, Futura, Montserrat, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif; --color-primary-text: var(--color-darker-gray); --color-secondary-text-dark: rgba(0, 0, 0, 0.4); --color-secondary-text-light: rgba(255, 255, 255, 0.64); --color-secondary-text: var(--color-secondary-text-dark); --color-border: rgba(0, 0, 0, 0.08); --gap: clamp(24px, 1.7032rem + 1.9355vw, 48px); --head-nav-gap: 32px; --container-width: 1440px; --big-title-font-size: clamp(4rem, 2.86vw + 2.63rem, 7.2rem); --title-font-size: clamp(3.2rem, 2.7rem + 1.5625vw, 5.2rem); --content-font-size: clamp(1.7rem, 0.38vw + 1.4rem, 2rem); --header-spacing: clamp(4.8rem, 4rem + 2.5vw, 8rem); --background-color: #fff; } :root.has-light-text { --color-lighter-gray: rgba(0, 0, 0, 0.1); --color-darker-gray: #fff; --color-secondary-text: var(--color-secondary-text-light); --color-border: rgba(255, 255, 255, 0.2); } /* Dark theme support */ @media (prefers-color-scheme: dark) { :root { --color-primary-text: var(--color-lighter-gray); --background-color: #141414; --color-border: rgba(255, 255, 255, 0.08); --color-secondary-text: var(--color-secondary-text-light); } :root.has-light-text { --color-secondary-text: var(--color-secondary-text-dark); } a { color: var(--color-lighter-gray); } h1, h2, h3, h4, h5, h6 { color: var(--color-lighter-gray); } .gh-content figcaption a { color: var(--color-lighter-gray); } pre { background-color: var(--color-darker-gray); } :not(pre) > code { background-color: var(--color-darker-gray); } .gh-foot a:hover { color: var(--color-lighter-gray); } } body { background-color: var(--background-color); } .gh-main { padding-top: clamp(4.8rem, 4rem + 2.5vw, 8rem); } figcaption { font-size: 1.3rem; text-align: right; } .kg-width-full figcaption { padding: 0; } hr { background-color: var(--color-border); } .gh-content h2 { font-size: 2.25em; letter-spacing: -0.03em; } .gh-content h3 { font-size: 1.6em; } .gh-canvas { grid-template-columns: repeat(12, minmax(0, 1fr)); } .gh-canvas > * { grid-column: 4 / span 6; } .gh-canvas > .kg-width-wide { grid-column: 4 / span 9; } .gh-canvas > .kg-width-full, .gh-canvas > .kg-gallery-card.kg-width-wide { position: relative; z-index: 20; grid-column: 1 / span 12; transform: translate3d(0, 0, 0); } @media (max-width: 991px) { .gh-canvas > * { grid-column: 3 / span 8; } .gh-canvas > .kg-width-wide { grid-column: 3 / span 10; } } @media (max-width: 767px) { .gh-canvas > * { grid-column: 2 / span 10; } .gh-canvas > .kg-width-wide { grid-column: 1 / span 12; } } @media (max-width: 480px) { .gh-canvas > * { grid-column: 1 / span 12; } } /* Header /* ---------------------------------------------------------- */ .gh-head { font-size: 1.6rem; background-color: transparent; } .gh-head-logo { font-weight: 800; } .gh-head-logo img { max-height: 48px; } .gh-head-menu, .gh-head-link { font-weight: 700; } .is-head-stacked .gh-head-menu::before, .is-head-stacked .gh-head-menu::after { background-color: var(--color-border); } .gh-head-menu a { color: inherit; } @media (max-width: 991px) { .is-head-open:not(.is-head-brand):not(.is-head-dark):not(.is-head-transparent) :is(#gh-head, #gh-head .gh-head-actions) { background-color: var(--background-color); } } /* About section /* ---------------------------------------------------------- */ .gh-about { margin-bottom: 40px; } .gh-about-primary { font-size: clamp(3.2rem, 2.4452rem + 2.0968vw, 5.8rem); font-weight: 800; line-height: 1.2; } .gh-about-primary a { text-decoration: underline; } .gh-about-secondary { font-size: clamp(2.4rem, 0.54vw + 2.14rem, 3rem); font-weight: 500; letter-spacing: -0.008em; } .gh-about-primary + .gh-about-secondary { margin-top: 20px; font-size: clamp(2rem, 0.36vw + 1.83rem, 2.4rem); font-weight: 450; } .gh-about-secondary a { text-decoration: underline; } /* Post card /* ---------------------------------------------------------- */ .gh-card-link:hover { opacity: 1; } .gh-card-wrapper { display: flex; flex-direction: column; flex-grow: 1; justify-content: center; } .gh-card-title { font-weight: 800; word-break: break-word; } .gh-card-link:hover .gh-card-title { opacity: 0.8; } .gh-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 1.4rem; font-weight: 500; color: var(--color-secondary-text); } .gh-card-meta > * { display: flex; gap: 8px; align-items: center; } .gh-card-meta > * + *:not(script):not(.gh-card-access)::before { width: 2px; height: 2px; content: ""; background-color: currentColor; border-radius: 50%; } .gh-card-access { padding: 0 10px 0 8px; margin-left: 4px; background-color: var(--color-border); border-radius: 40px; } .has-parallax-feed .gh-card-access { color: var(--color-darker-gray); background-color: var(--color-white); } /* Dark theme support */ @media (prefers-color-scheme: dark) { .has-parallax-feed .gh-card-access { color: var(--color-lighter-gray); background-color: var(--color-black); } } .gh-card-access svg { margin-right: -5px; } /* Tag display /* ---------------------------------------------------------- */ .tag-list { display: flex; flex-flow: row wrap; justify-content: space-around; list-style: none; align-items: center; padding-left: 0; column-gap: 15px; } .tag-icon { float: left; width: 32px; height: 32px; margin-right: 10px; } .tag-text { overflow: auto; line-height: 32px; } .tag-date { font-size: 1.8rem; } .tag-desc { color: var(--color-secondary-text); font-weight: 600; display: inline; } /* Feed /* ---------------------------------------------------------- */ .feed-cta { display: flex; justify-content: right; padding-bottom: var(--gap); column-gap: 10px; align-items: center; } .gh-card.no-image { max-width: 1200px; } .gh-card-image { position: relative; flex: 1; } .gh-card-image::before { display: block; padding-bottom: 18.75%; content: ""; } .no-image .gh-card-image { display: none; } .gh-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; } .gh-card-title { font-size: var(--title-font-size); text-align: center; } .gh-card-excerpt { text-align: center; padding-top: 10px; } .kg-width-full .gh-card-title { font-size: clamp(3.2rem, 2.4rem + 2.5vw, 6.4rem); } .gh-feed { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: calc(var(--gap) * 2); } .kg-width-full { box-shadow: 0px 0px 30px 50px var(--background-color); background-color: var(--background-color); } .kg-gallery-card { box-shadow: 0px 0px 30px 50px var(--background-color); background-color: var(--background-color); } .kg-gallery-container { background-color: var(--background-color); } @media (max-width: 991px) { .gh-feed { display: grid; grid-template-columns: 1fr; row-gap: calc(var(--gap) * 2); } /* Hide oneko for mobile view */ #oneko { display: none; } } /* Article /* ---------------------------------------------------------- */ .gh-article-meta { top: 0; bottom: 0; z-index: 10; grid-row-start: 1; width: 100%; margin: 0 !important; } .gh-article-meta-inner { position: sticky; top: 48px; display: flex; flex-direction: column; } .gh-article-date { margin-top: 4px; font-size: 1.4rem; font-weight: 480; color: var(--color-secondary-text); } .gh-article-tag { width: fit-content; padding: 2px 12px; margin-top: 20px; font-size: 1.5rem; font-weight: 700; color: var(--tag-color, var(--color-darker-gray)) !important; text-decoration: none !important; letter-spacing: -0.01em; border: 2px solid var(--color-border); border-radius: 24px; } .gh-content .gh-article-header { grid-row-start: 1; grid-column: 4 / span 9; margin-top: 0; margin-bottom: clamp(4.8rem, 1.43vw + 4.11rem, 6.4rem); } .gh-article-title { grid-column: 1 / span 12; font-size: var(--big-title-font-size); font-weight: 800; line-height: 1; letter-spacing: -0.03em; } .page-template .no-image .gh-article-title { grid-column: 4 / span 6; } .gh-article-excerpt { grid-column: 1 / span 9; max-width: 840px; font-size: clamp(1.8rem, 0.54vw + 1.54rem, 2.4rem); font-weight: 500; line-height: 1.45; } .page-template .no-image .gh-article-excerpt { grid-column: 4 / span 6; } .gh-article-excerpt .emoji { color: initial; } .gh-article-image { grid-column: 1 / span 12; margin-top: clamp(4rem, 3rem + 3.125vw, 8rem); } .gh-content { --content-spacing-multiplier: 1.5; position: relative; margin-top: clamp(4rem, 3rem + 3.125vw, 8rem); line-height: 1.7; } :is(.post-template, .page-template) .no-image .gh-content { margin-top: clamp(4rem, 2.14vw + 2.97rem, 6.4rem); } .gh-content > [id] { font-weight: 800; } .gh-content > :is(p, ul, ol) { font-weight: 480; } .gh-article-footer { margin-top: clamp(6.4rem, 3rem + 10.625vw, 20rem); } @media (min-width: 992px) { .gh-article-meta { position: absolute; grid-column: 1 / span 3; } } @media (max-width: 991px) { :is(.gh-article-title, .gh-article-excerpt), .gh-content > .gh-article-header { grid-column: 1 / span 10; } .gh-article-meta { margin-bottom: 32px !important; } .no-image .gh-article-meta { grid-row-start: 2; } .gh-article-meta-inner { flex-direction: row; align-items: center; } .gh-article-meta .gh-author-image { width: 64px; height: 64px; margin-right: 12px; margin-bottom: 0; } .gh-article-meta-wrapper { flex-grow: 1; } .gh-article-tag { margin-top: 0; } } @media (max-width: 767px) { :is(.gh-article-title, .gh-article-excerpt), .gh-content > .gh-article-header { grid-column: 1 / span 12; } .gh-content { font-size: var(--content-font-size); } } /* Navigation /* ---------------------------------------------------------- */ .gh-navigation { grid-column: 1 / span 12; font-size: clamp(2rem, 1.7rem + 0.9375vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; } /* Footer /* ---------------------------------------------------------- */ .gh-foot { padding-top: clamp(8rem, 4.55vw + 6.18rem, 12rem); padding-bottom: clamp(8rem, 4.55vw + 6.18rem, 12rem); } .gh-foot-inner { display: flex; flex-direction: column; gap: 24px; align-items: center; } .gh-foot-menu { font-size: 1.6rem; font-weight: 700; } .gh-copyright { font-size: 1.4rem; } .social-media { display: flex; flex-flow: row nowrap; column-gap: 10px; } .social-icon { height: 32px; width: 32px; } /* Error page /* ---------------------------------------------------------- */* .error-message { text-align: center; } .error-code { font-size: var(--title-font-size); } .error-description { font-size: var(--big-title-font-size); }