2023-07-17 00:36:13 +01:00
|
|
|
/* Table of contents
|
|
|
|
/* ------------------------------------------------------------
|
|
|
|
|
|
|
|
This is a development CSS file which is built to a minified
|
|
|
|
production stylesheet in assets/built/screen.css
|
|
|
|
|
|
|
|
1. Variables
|
|
|
|
2. Fonts
|
|
|
|
3. Resets
|
|
|
|
4. Globals
|
|
|
|
5. Layout
|
|
|
|
6. Navigation
|
|
|
|
6.1. Navigation styles
|
|
|
|
6.2. Navigation layouts
|
|
|
|
6.3. Dropdown menu
|
|
|
|
6.4. Mobile menu
|
|
|
|
7. Card
|
|
|
|
8. Header
|
|
|
|
8.1. Magazine layout
|
|
|
|
8.2. Highlight layout
|
|
|
|
8.3. Classic layout
|
2023-07-31 05:20:59 +01:00
|
|
|
9. CTA
|
|
|
|
10. Featured posts
|
|
|
|
11. Container
|
|
|
|
11.1. With sidebar
|
|
|
|
11.2. Without sidebar
|
|
|
|
12. Post list
|
|
|
|
12.1. List style
|
|
|
|
12.2. Grid style
|
|
|
|
12.3. No image list
|
|
|
|
13. Sidebar
|
|
|
|
14. Post/page
|
|
|
|
14.1. Article
|
|
|
|
14.2. Page template
|
|
|
|
14.3. Page without header
|
|
|
|
15. Content
|
|
|
|
16. Cards
|
|
|
|
17. Comments
|
|
|
|
18. Recent posts
|
|
|
|
19. Archive
|
|
|
|
20. Design settings
|
|
|
|
21. Footer
|
|
|
|
21.1. Footer styles
|
2023-08-14 02:10:22 +01:00
|
|
|
21.2. Footer bar
|
|
|
|
21.3. Footer signup
|
2023-08-15 02:59:19 +01:00
|
|
|
22. Lightbox
|
2023-07-17 00:36:13 +01:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* 1. Variables
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--color-white: #fff;
|
2023-07-31 04:52:19 +01:00
|
|
|
--color-lighter-gray: rgb(0 0 0 / 0.05);
|
2023-07-17 00:36:13 +01:00
|
|
|
--color-light-gray: #e6e6e6;
|
|
|
|
--color-mid-gray: #ccc;
|
|
|
|
--color-dark-gray: #444;
|
|
|
|
--color-darker-gray: #15171a;
|
|
|
|
--color-black: #000;
|
|
|
|
--color-primary-text: var(--color-darker-gray);
|
2023-08-16 13:33:51 +01:00
|
|
|
--color-secondary-text: rgb(0 0 0 / 0.5);
|
2023-07-31 04:52:19 +01:00
|
|
|
--color-border: rgb(0 0 0 / 0.08);
|
2023-08-16 13:33:51 +01:00
|
|
|
--color-dark-border: rgb(0 0 0 / 0.5);
|
2023-07-17 00:36:13 +01:00
|
|
|
--font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
|
|
--font-serif: "EB Garamond", Georgia, Times, serif;
|
2023-08-07 12:58:36 +01:00
|
|
|
--font-serif-alt: Georgia, Times, serif;
|
2023-09-18 10:50:05 +01:00
|
|
|
--font-mono: "JetBrains Mono", Menlo, Consolas, Monaco, "Liberation Mono", "Lucida Console", monospace;
|
2023-07-26 10:06:49 +01:00
|
|
|
--container-width: 1320px;
|
2023-07-17 00:36:13 +01:00
|
|
|
--container-gap: clamp(24px, 1.7032rem + 1.9355vw, 48px);
|
2023-08-16 13:33:51 +01:00
|
|
|
--grid-gap: 42px;
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
:root.has-light-text,
|
|
|
|
:is(.gh-navigation, .gh-footer).has-accent-color {
|
2023-09-01 14:49:41 +01:00
|
|
|
--color-lighter-gray: rgb(255 255 255 / 0.1);
|
2023-07-17 00:36:13 +01:00
|
|
|
--color-darker-gray: #fff;
|
2023-07-31 04:52:19 +01:00
|
|
|
--color-secondary-text: rgb(255 255 255 / 0.64);
|
|
|
|
--color-border: rgb(255 255 255 / 0.15);
|
2023-08-16 13:33:51 +01:00
|
|
|
--color-dark-border: rgb(255 255 255 / 0.5);
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 2. Fonts
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2023-07-13 05:22:21 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: "Inter";
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 100 900;
|
|
|
|
font-display: swap;
|
|
|
|
src: url(/assets/fonts/inter-roman.woff2) format("woff2");
|
|
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "EB Garamond";
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400 800;
|
|
|
|
font-display: swap;
|
|
|
|
src: url(/assets/fonts/eb-garamond-roman.woff2) format("woff2");
|
|
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "EB Garamond";
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 400 800;
|
|
|
|
font-display: swap;
|
|
|
|
src: url(/assets/fonts/eb-garamond-italic.woff2) format("woff2");
|
|
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2023-09-18 10:50:05 +01:00
|
|
|
font-family: "JetBrains Mono";
|
2023-07-13 05:22:21 +01:00
|
|
|
font-style: normal;
|
2023-09-18 10:50:05 +01:00
|
|
|
font-weight: 100 800;
|
|
|
|
font-display: swap;
|
|
|
|
src: url(/assets/fonts/jetbrains-mono-roman.woff2) format("woff2");
|
|
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "JetBrains Mono";
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 100 800;
|
2023-07-13 05:22:21 +01:00
|
|
|
font-display: swap;
|
2023-09-18 10:50:05 +01:00
|
|
|
src: url(/assets/fonts/jetbrains-mono-italic.woff2) format("woff2");
|
2023-07-13 05:22:21 +01:00
|
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 3. Resets
|
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-05 13:43:09 +01:00
|
|
|
|
|
|
|
*, *::before, *::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-size: 62.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
line-height: 1.6;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
|
|
|
img, picture, video, canvas, svg {
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
input, button, textarea, select {
|
|
|
|
font: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
p, h1, h2, h3, h4, h5, h6 {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2023-07-11 10:55:58 +01:00
|
|
|
line-height: 1.2;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 4. Globals
|
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-05 13:43:09 +01:00
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
font-size: 1.6rem;
|
2023-07-10 08:44:09 +01:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--color-primary-text);
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--color-darker-gray);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2023-07-05 14:26:03 +01:00
|
|
|
a:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2023-07-05 14:16:54 +01:00
|
|
|
.gh-button {
|
|
|
|
display: inline-flex;
|
|
|
|
gap: 0.4em;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-07-13 04:30:18 +01:00
|
|
|
padding: 0.8em 1.4em;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.5rem;
|
2023-07-12 11:50:08 +01:00
|
|
|
font-weight: 600;
|
2023-07-17 00:36:13 +01:00
|
|
|
letter-spacing: -0.004em;
|
2023-07-05 14:16:54 +01:00
|
|
|
line-height: 1;
|
|
|
|
color: var(--color-white);
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--ghost-accent-color);
|
|
|
|
border: 0;
|
|
|
|
border-radius: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-button:hover {
|
|
|
|
opacity: 0.95;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-icon-button {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
padding: 0;
|
|
|
|
color: var(--color-darker-gray);
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-icon-button:hover :is(svg, span) {
|
2023-07-05 14:26:03 +01:00
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2023-07-05 14:16:54 +01:00
|
|
|
.gh-icon-button svg {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-form {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2023-09-05 06:33:32 +01:00
|
|
|
max-width: 560px;
|
2023-08-14 02:10:22 +01:00
|
|
|
width: 100%;
|
2023-08-16 13:33:51 +01:00
|
|
|
height: 56px;
|
|
|
|
font-size: 1.7rem;
|
2023-08-14 02:10:22 +01:00
|
|
|
font-weight: 450;
|
|
|
|
letter-spacing: -0.008em;
|
|
|
|
border-radius: 40px;
|
|
|
|
background-color: var(--color-lighter-gray);
|
|
|
|
transition: background-color 0.2s ease;
|
|
|
|
}
|
|
|
|
|
2023-08-28 06:36:40 +01:00
|
|
|
.gh-form.success {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2023-08-28 06:27:33 +01:00
|
|
|
.gh-form.error {
|
|
|
|
box-shadow: 0 0 0 1px red;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-form:hover {
|
2023-08-28 06:27:33 +01:00
|
|
|
background-color: rgb(0 0 0 / 0.065);
|
2023-08-14 02:10:22 +01:00
|
|
|
}
|
|
|
|
|
2023-09-01 14:49:41 +01:00
|
|
|
.has-light-text .gh-form:hover,
|
2023-08-16 09:00:23 +01:00
|
|
|
.gh-footer.has-accent-color .gh-form:hover {
|
2023-09-01 14:49:41 +01:00
|
|
|
background-color: rgb(255 255 255 / 0.15);
|
2023-08-16 09:00:23 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-form-input {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
2023-08-28 06:27:33 +01:00
|
|
|
padding-inline: 26px;
|
2023-08-14 02:10:22 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-size: inherit;
|
|
|
|
letter-spacing: inherit;
|
2023-09-05 05:23:07 +01:00
|
|
|
line-height: 1.1;
|
2023-08-14 02:10:22 +01:00
|
|
|
border: 0;
|
|
|
|
background-color: transparent;
|
2023-08-22 11:07:20 +01:00
|
|
|
outline: none;
|
2023-08-28 06:36:40 +01:00
|
|
|
transition: 0.3s ease-in-out;
|
2023-08-14 02:10:22 +01:00
|
|
|
}
|
|
|
|
|
2023-09-08 12:53:15 +01:00
|
|
|
.gh-form-input::placeholder,
|
|
|
|
button.gh-form-input {
|
|
|
|
color: rgb(0 0 0 / 0.3);
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
:is(.has-serif-title, .has-mono-title) .gh-form-input {
|
2023-08-28 06:27:33 +01:00
|
|
|
padding-inline: 20px;
|
|
|
|
}
|
|
|
|
|
2023-08-28 06:36:40 +01:00
|
|
|
.gh-form.gh-form.success .gh-form-input {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2023-09-01 14:49:41 +01:00
|
|
|
.has-light-text .gh-form-input,
|
2023-08-28 06:27:33 +01:00
|
|
|
.gh-footer.has-accent-color .gh-form-input {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2023-09-01 14:49:41 +01:00
|
|
|
.has-light-text .gh-form-input::placeholder,
|
2023-09-05 05:45:36 +01:00
|
|
|
.has-light-text button.gh-form-input,
|
2023-08-16 09:00:23 +01:00
|
|
|
.gh-footer.has-accent-color .gh-form-input::placeholder {
|
|
|
|
color: rgb(255 255 255 / 0.55);
|
|
|
|
}
|
|
|
|
|
2023-09-05 05:45:36 +01:00
|
|
|
.gh-header.is-classic.has-image .gh-form-input {
|
|
|
|
color: #15171a;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic.has-image .gh-form-input::placeholder,
|
|
|
|
.gh-header.is-classic.has-image button.gh-form-input,
|
|
|
|
.gh-header.is-classic.has-image .gh-form > svg {
|
|
|
|
color: rgb(0 0 0 / 0.5);
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
button.gh-form-input {
|
|
|
|
padding-inline-start: 56px;
|
|
|
|
text-align: left;
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
:is(.has-serif-title,.has-mono-title) button.gh-form-input {
|
2023-09-05 05:23:07 +01:00
|
|
|
padding-inline-start: 50px;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-form .gh-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 6px;
|
|
|
|
padding-inline: 32px;
|
2023-08-16 13:33:51 +01:00
|
|
|
height: 44px;
|
2023-08-14 02:10:22 +01:00
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2023-08-28 06:27:33 +01:00
|
|
|
.gh-form > svg {
|
2023-08-14 02:10:22 +01:00
|
|
|
position: relative;
|
|
|
|
left: 22px;
|
2023-09-05 05:45:36 +01:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2023-08-14 02:10:22 +01:00
|
|
|
color: var(--color-secondary-text);
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
:is(.has-serif-title,.has-mono-title) .gh-form > svg {
|
2023-09-05 05:23:07 +01:00
|
|
|
left: 16px;
|
|
|
|
}
|
|
|
|
|
2023-08-28 06:27:33 +01:00
|
|
|
.gh-form .gh-button svg {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-form:is(.loading, .success) .gh-button span {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-form.loading .gh-button svg:first-of-type {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-form.success .gh-button svg:last-of-type {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-09-05 06:33:32 +01:00
|
|
|
@media (max-width: 576px) {
|
|
|
|
.gh-form {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-form .gh-button {
|
|
|
|
padding-inline: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-form .gh-button span span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-form .gh-button span svg {
|
|
|
|
display: inline;
|
|
|
|
position: static;
|
|
|
|
margin-top: 2px;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 5. Layout
|
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-05 13:43:09 +01:00
|
|
|
|
|
|
|
.gh-viewport {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-outer {
|
|
|
|
padding: 0 max(4vmin, 20px);
|
|
|
|
}
|
|
|
|
|
2023-08-16 07:48:18 +01:00
|
|
|
.gh-outer .gh-outer {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-05 13:43:09 +01:00
|
|
|
.gh-inner {
|
|
|
|
margin: 0 auto;
|
2023-07-13 07:56:13 +01:00
|
|
|
max-width: var(--container-width);
|
2023-07-05 13:43:09 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-07-13 09:45:44 +01:00
|
|
|
.gh-main {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2023-07-13 07:56:13 +01:00
|
|
|
.gh-canvas,
|
|
|
|
.kg-width-full.kg-content-wide {
|
2023-07-31 10:26:56 +01:00
|
|
|
--main: min(var(--content-width, 720px), 100% - var(--container-gap) * 2);
|
|
|
|
--wide: minmax(0, calc((var(--container-width, 1200px) - var(--content-width, 720px)) / 2));
|
2023-07-13 07:56:13 +01:00
|
|
|
--full: minmax(var(--container-gap), 1fr);
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns:
|
|
|
|
[full-start] var(--full)
|
|
|
|
[wide-start] var(--wide)
|
|
|
|
[main-start] var(--main) [main-end]
|
|
|
|
var(--wide) [wide-end]
|
|
|
|
var(--full) [full-end];
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas > * {
|
|
|
|
grid-column: main;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-width-wide,
|
|
|
|
.kg-content-wide > div {
|
|
|
|
grid-column: wide;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-width-full {
|
|
|
|
grid-column: full;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 6. Navigation
|
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-05 13:43:09 +01:00
|
|
|
|
|
|
|
.gh-navigation {
|
|
|
|
height: 100px;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.5rem;
|
2023-07-17 00:36:13 +01:00
|
|
|
font-weight: 550;
|
2023-08-14 11:16:21 +01:00
|
|
|
background-color: var(--background-color);
|
2023-07-10 08:44:09 +01:00
|
|
|
color: var(--color-darker-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation :is(.gh-navigation-logo, a:not(.gh-button), .gh-icon-button) {
|
|
|
|
color: inherit;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-inner {
|
|
|
|
display: grid;
|
|
|
|
grid-auto-flow: row dense;
|
|
|
|
column-gap: 24px;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-brand {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-logo {
|
|
|
|
position: relative;
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: calc(2.4rem * var(--factor, 1));
|
2023-08-14 02:10:22 +01:00
|
|
|
font-weight: 725;
|
2023-07-05 13:43:09 +01:00
|
|
|
letter-spacing: -0.015em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-logo img {
|
|
|
|
max-height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-menu {
|
|
|
|
display: flex;
|
|
|
|
gap: 24px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation .nav {
|
|
|
|
display: inline-flex;
|
2023-07-26 10:06:49 +01:00
|
|
|
gap: 28px;
|
2023-07-05 13:43:09 +01:00
|
|
|
align-items: center;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation .gh-more-toggle {
|
|
|
|
position: relative;
|
|
|
|
margin: 0 -6px;
|
|
|
|
font-size: inherit;
|
|
|
|
text-transform: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation .gh-more-toggle svg {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-actions {
|
|
|
|
display: flex;
|
|
|
|
gap: 24px;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-members {
|
|
|
|
display: flex;
|
|
|
|
gap: 20px;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-members .gh-button {
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-search {
|
2023-07-13 07:56:13 +01:00
|
|
|
margin-right: -2px;
|
|
|
|
margin-left: -2px;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
2023-08-22 11:07:20 +01:00
|
|
|
.gh-navigation-logo {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2023-07-05 13:43:09 +01:00
|
|
|
.gh-navigation-members {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
gap: 16px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation-actions .gh-search {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.gh-navigation-brand .gh-search {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation:not(.is-dropdown-loaded) .gh-navigation-menu .nav > li {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 6.1. Navigation styles */
|
2023-07-10 08:44:09 +01:00
|
|
|
|
|
|
|
.gh-navigation.has-accent-color {
|
|
|
|
background-color: var(--ghost-accent-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation.has-accent-color .gh-button {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #15171a;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 6.2. Navigation layouts */
|
2023-07-05 13:43:09 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
======================================================================
|
|
|
|
LOGO Home About Collection Author Portal Login Subscribe
|
|
|
|
======================================================================
|
|
|
|
*/
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-left-logo .gh-navigation-inner {
|
2023-07-05 13:43:09 +01:00
|
|
|
grid-template-columns: auto 1fr auto;
|
|
|
|
}
|
|
|
|
|
2023-08-22 11:07:20 +01:00
|
|
|
@media (min-width: 768px) {
|
2023-08-14 11:16:21 +01:00
|
|
|
.gh-navigation.is-left-logo .gh-navigation-logo:not(:has(img)) {
|
|
|
|
top: -2px;
|
|
|
|
}
|
2023-08-22 11:07:20 +01:00
|
|
|
}
|
2023-08-14 11:16:21 +01:00
|
|
|
|
2023-08-22 11:07:20 +01:00
|
|
|
@media (min-width: 992px) {
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-left-logo .gh-navigation-menu {
|
2023-07-26 10:06:49 +01:00
|
|
|
margin-right: 100px;
|
2023-07-05 13:43:09 +01:00
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
======================================================================
|
|
|
|
Home About Collection LOGO Login Subscribe
|
|
|
|
======================================================================
|
|
|
|
*/
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-middle-logo .gh-navigation-inner {
|
2023-07-05 13:43:09 +01:00
|
|
|
grid-template-columns: 1fr auto 1fr;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-middle-logo .gh-navigation-brand {
|
2023-07-05 13:43:09 +01:00
|
|
|
grid-column-start: 2;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-middle-logo .gh-navigation-actions {
|
2023-07-05 13:43:09 +01:00
|
|
|
gap: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 992px) {
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-middle-logo .gh-navigation-menu {
|
2023-07-05 13:43:09 +01:00
|
|
|
margin-right: 64px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
======================================================================
|
|
|
|
Search LOGO Login Subscribe
|
|
|
|
Home About Collection Author Portal
|
|
|
|
======================================================================
|
|
|
|
*/
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked {
|
2023-07-05 13:43:09 +01:00
|
|
|
position: relative;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-inner {
|
2023-07-05 13:43:09 +01:00
|
|
|
grid-template-columns: 1fr auto 1fr;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-brand {
|
2023-07-05 13:43:09 +01:00
|
|
|
display: flex;
|
2023-08-14 02:10:22 +01:00
|
|
|
align-items: center;
|
2023-07-05 13:43:09 +01:00
|
|
|
grid-row-start: 1;
|
|
|
|
grid-column-start: 2;
|
|
|
|
min-height: 80px;
|
|
|
|
}
|
|
|
|
|
2023-08-24 13:26:18 +01:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.gh-navigation.is-stacked .gh-navigation-brand {
|
|
|
|
min-height: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-05 13:43:09 +01:00
|
|
|
@media (min-width: 992px) {
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-inner {
|
2023-07-05 13:43:09 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-brand {
|
2023-07-05 13:43:09 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-menu {
|
2023-07-05 13:43:09 +01:00
|
|
|
grid-row-start: 2;
|
|
|
|
grid-column: 1 / 4;
|
|
|
|
justify-content: center;
|
2023-08-14 02:10:22 +01:00
|
|
|
height: 60px;
|
2023-07-05 13:43:09 +01:00
|
|
|
margin: 0 48px;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-menu::before,
|
|
|
|
.gh-navigation.is-stacked .gh-navigation-menu::after {
|
2023-07-05 13:43:09 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 80px;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
content: "";
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-menu::after {
|
2023-08-14 02:10:22 +01:00
|
|
|
top: 140px;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-stacked .gh-navigation-actions {
|
2023-07-05 13:43:09 +01:00
|
|
|
grid-row-start: 1;
|
|
|
|
grid-column: 1 / 4;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2023-07-13 04:30:18 +01:00
|
|
|
|
|
|
|
.gh-navigation.is-stacked .gh-navigation-actions .gh-search {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
width: auto;
|
|
|
|
}
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 6.3. Dropdown menu */
|
2023-07-05 13:43:09 +01:00
|
|
|
|
|
|
|
.gh-dropdown {
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
right: -16px;
|
|
|
|
z-index: 90;
|
|
|
|
width: 200px;
|
|
|
|
padding: 12px 0;
|
|
|
|
margin-top: 24px;
|
|
|
|
text-align: left;
|
|
|
|
visibility: hidden;
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 5px;
|
2023-07-31 04:52:19 +01:00
|
|
|
box-shadow: 0 0 0 1px rgb(0 0 0 / 0.04), 0 7px 20px -5px rgb(0 0 0 / 0.15);
|
2023-07-05 13:43:09 +01:00
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.3s, transform 0.2s;
|
|
|
|
transform: translate3d(0, 6px, 0);
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-middle-logo .gh-dropdown {
|
2023-07-05 13:43:09 +01:00
|
|
|
right: auto;
|
|
|
|
left: -24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-dropdown-mega .gh-dropdown {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-auto-flow: column;
|
|
|
|
column-gap: 40px;
|
|
|
|
width: auto;
|
|
|
|
padding: 20px 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-dropdown-open .gh-dropdown {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-dropdown li a {
|
|
|
|
display: block;
|
2023-08-22 11:07:20 +01:00
|
|
|
padding: 7px 20px;
|
|
|
|
line-height: 1.5;
|
|
|
|
white-space: normal;
|
2023-07-05 13:43:09 +01:00
|
|
|
color: #15171a !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-dropdown-mega .gh-dropdown li a {
|
|
|
|
padding: 8px 0;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 6.4. Mobile menu */
|
2023-07-05 13:43:09 +01:00
|
|
|
|
|
|
|
.gh-burger {
|
2023-07-05 14:16:54 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-07-05 13:43:09 +01:00
|
|
|
position: relative;
|
|
|
|
display: none;
|
2023-07-05 14:16:54 +01:00
|
|
|
margin-right: -7px;
|
2023-09-12 15:11:39 +01:00
|
|
|
margin-left: 4px;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-05 14:16:54 +01:00
|
|
|
.gh-burger svg {
|
2023-07-05 13:43:09 +01:00
|
|
|
width: 24px;
|
2023-07-05 14:16:54 +01:00
|
|
|
height: 24px;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-05 14:16:54 +01:00
|
|
|
.gh-burger svg:last-child {
|
|
|
|
display: none;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open .gh-burger svg:first-child {
|
2023-07-05 14:16:54 +01:00
|
|
|
display: none;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open .gh-burger svg:last-child {
|
2023-07-05 14:16:54 +01:00
|
|
|
display: block;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.gh-burger {
|
2023-07-05 14:16:54 +01:00
|
|
|
display: flex;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation {
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .gh-navigation-inner {
|
|
|
|
grid-template-rows: auto 1fr auto;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
gap: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .gh-navigation-brand {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto auto;
|
|
|
|
grid-column-start: 1;
|
|
|
|
align-items: center;
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .gh-navigation-logo {
|
|
|
|
font-size: 2.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .gh-navigation-menu,
|
|
|
|
#gh-navigation .gh-navigation-actions {
|
|
|
|
position: fixed;
|
|
|
|
justify-content: center;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .gh-navigation-menu {
|
|
|
|
transition: none;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .nav {
|
|
|
|
gap: 20px;
|
|
|
|
align-items: center;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .nav a {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.75rem;
|
2023-07-05 13:43:09 +01:00
|
|
|
font-weight: 600;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .nav li {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-4px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .gh-navigation-actions {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation :is(.gh-button, a[data-portal="signin"]) {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(8px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation .gh-button {
|
|
|
|
width: 100%;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.75rem;
|
2023-07-05 13:43:09 +01:00
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation a[data-portal="signin"] {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.75rem;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#gh-main {
|
|
|
|
transition: opacity 0.4s;
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-navigation {
|
2023-07-05 13:43:09 +01:00
|
|
|
position: fixed;
|
|
|
|
inset: 0;
|
|
|
|
z-index: 3999999;
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: scroll;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-navigation .gh-navigation-menu,
|
|
|
|
.is-open#gh-navigation .gh-navigation-actions {
|
2023-07-05 13:43:09 +01:00
|
|
|
position: static;
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-navigation .nav {
|
2023-07-05 13:43:09 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-navigation .nav li {
|
2023-07-05 13:43:09 +01:00
|
|
|
opacity: 1;
|
|
|
|
transition: transform 0.2s, opacity 0.2s;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-navigation .gh-navigation-actions {
|
2023-07-05 13:43:09 +01:00
|
|
|
position: sticky;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 12px;
|
|
|
|
align-items: center;
|
2023-08-16 13:33:51 +01:00
|
|
|
padding: var(--container-gap) 0;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-navigation :is(.gh-button, a[data-portal="signin"]) {
|
2023-07-05 13:43:09 +01:00
|
|
|
opacity: 1;
|
|
|
|
transition: transform 0.4s, opacity 0.4s;
|
|
|
|
transition-delay: 0.2s;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-navigation a[data-portal="signin"] {
|
2023-07-05 13:43:09 +01:00
|
|
|
transition-delay: 0.4s;
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
.is-open#gh-main {
|
2023-07-05 13:43:09 +01:00
|
|
|
opacity: 0;
|
|
|
|
}
|
2023-07-10 04:14:43 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 7. Card
|
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-10 04:14:43 +01:00
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-card {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-link {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-07-26 10:06:49 +01:00
|
|
|
gap: 20px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 04:58:34 +01:00
|
|
|
.gh-card-link:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2023-07-10 04:14:43 +01:00
|
|
|
.gh-card-image {
|
|
|
|
position: relative;
|
2023-07-10 06:31:23 +01:00
|
|
|
flex-shrink: 0;
|
2023-07-10 04:14:43 +01:00
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-image img {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
.gh-card-wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-card-tag {
|
|
|
|
display: none;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-title {
|
2023-08-14 02:10:22 +01:00
|
|
|
font-size: calc(1.9rem * var(--factor, 1));
|
|
|
|
font-weight: 725;
|
2023-07-26 10:06:49 +01:00
|
|
|
letter-spacing: -0.014em;
|
2023-08-16 13:33:51 +01:00
|
|
|
line-height: 1.3;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-card-link:hover .gh-card-title {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-card-excerpt {
|
2023-07-12 11:50:08 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
overflow-y: hidden;
|
2023-08-14 02:10:22 +01:00
|
|
|
margin-top: 8px;
|
2023-07-11 10:55:58 +01:00
|
|
|
max-width: 720px;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.45rem;
|
2023-07-26 10:06:49 +01:00
|
|
|
line-height: 1.4;
|
2023-07-17 00:36:13 +01:00
|
|
|
-webkit-line-clamp: 2;
|
2023-07-12 11:50:08 +01:00
|
|
|
-webkit-box-orient: vertical;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 07:03:07 +01:00
|
|
|
.gh-card-meta {
|
|
|
|
display: flex;
|
|
|
|
gap: 4px;
|
|
|
|
flex-wrap: wrap;
|
2023-09-18 10:50:05 +01:00
|
|
|
padding-bottom: 1px;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: 500;
|
2023-07-17 00:36:13 +01:00
|
|
|
line-height: 1.05;
|
2023-07-26 10:06:49 +01:00
|
|
|
letter-spacing: -0.004em;
|
2023-07-11 10:55:58 +01:00
|
|
|
color: var(--color-secondary-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-meta:not(:empty) {
|
2023-07-26 10:06:49 +01:00
|
|
|
margin-top: 12px;
|
2023-07-10 07:03:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-author + .gh-card-date::before {
|
|
|
|
content: "—";
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 8. Header
|
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-10 04:14:43 +01:00
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
.gh-header {
|
|
|
|
position: relative;
|
2023-07-26 09:03:19 +01:00
|
|
|
margin-top: 40px;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header-inner {
|
|
|
|
position: relative;
|
2023-08-10 14:26:14 +01:00
|
|
|
overflow: hidden;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 8.1. Magazine layout */
|
2023-07-10 04:14:43 +01:00
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner {
|
|
|
|
display: grid;
|
2023-07-10 06:31:23 +01:00
|
|
|
grid-template-columns: repeat(16, 1fr);
|
2023-07-10 05:17:54 +01:00
|
|
|
gap: var(--grid-gap);
|
2023-07-10 04:14:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-07-10 05:17:54 +01:00
|
|
|
gap: var(--grid-gap);
|
2023-07-10 04:14:43 +01:00
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-left {
|
2023-07-10 06:31:23 +01:00
|
|
|
grid-column: 1 / span 4;
|
2023-07-10 04:14:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card {
|
2023-07-11 10:55:58 +01:00
|
|
|
position: relative;
|
2023-07-10 06:31:23 +01:00
|
|
|
grid-column: 5 / span 8;
|
2023-07-10 04:14:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-right {
|
2023-07-10 06:31:23 +01:00
|
|
|
grid-column: 13 / -1;
|
2023-07-10 04:14:43 +01:00
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-link {
|
2023-07-26 10:06:49 +01:00
|
|
|
gap: 28px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-image {
|
|
|
|
aspect-ratio: 1.618033;
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-tag {
|
|
|
|
display: block;
|
2023-07-26 10:06:49 +01:00
|
|
|
margin-bottom: 12px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-title {
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: clamp(2.8rem, 1.36vw + 2.25rem, 4rem);
|
2023-08-16 13:33:51 +01:00
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1.1;
|
2023-07-11 10:55:58 +01:00
|
|
|
letter-spacing: -0.022em;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-excerpt {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: clamp(12px, 0.45vw + 10.18px, 16px);
|
2023-07-26 10:06:49 +01:00
|
|
|
font-size: 1.8rem;
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: -0.02em;
|
|
|
|
max-width: 90%;
|
2023-07-12 11:50:08 +01:00
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-meta:not(:empty) {
|
2023-07-17 00:36:13 +01:00
|
|
|
margin-top: 14px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine :is(.gh-header-left, .gh-header-right) .gh-card:last-child .gh-card-image {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-07-10 04:14:43 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > div .gh-card-excerpt {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card::before,
|
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card::after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card::after {
|
|
|
|
right: calc(var(--grid-gap) / -2);
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > div .gh-card + .gh-card::before {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--grid-gap) / -2);
|
|
|
|
left: 0;
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
@media (max-width: 1199px) {
|
|
|
|
.gh-header.is-magazine .gh-header-inner {
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
}
|
2023-08-16 13:33:51 +01:00
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card {
|
|
|
|
grid-column: 1 / span 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-left {
|
|
|
|
grid-column: 9 / -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > div.gh-header-right {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
grid-row: 2;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-right .gh-card {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-right .gh-card:last-child .gh-card-image {
|
|
|
|
display: block;
|
|
|
|
}
|
2023-08-24 13:26:18 +01:00
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-right {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-right::before {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--grid-gap) / -2);
|
|
|
|
left: 0;
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-right .gh-card::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-right .gh-card::after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
2023-08-14 02:10:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 991px) {
|
|
|
|
.gh-header.is-magazine .gh-header-left .gh-card:nth-child(2) .gh-card-image {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.gh-header.is-magazine .gh-header-inner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: var(--grid-gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > div.gh-header-right {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-card-image {
|
|
|
|
display: block !important;
|
|
|
|
}
|
2023-08-24 13:26:18 +01:00
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-card::before {
|
|
|
|
display: block !important;
|
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--grid-gap) / -2);
|
|
|
|
left: 0;
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
2023-08-14 02:10:22 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 8.2. Highlight layout */
|
2023-07-10 04:14:43 +01:00
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-header-inner {
|
|
|
|
display: grid;
|
2023-07-26 09:03:19 +01:00
|
|
|
grid-template-columns: repeat(16, 1fr);
|
2023-07-10 05:17:54 +01:00
|
|
|
gap: var(--grid-gap);
|
2023-07-10 04:14:43 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 10:26:56 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left {
|
|
|
|
position: relative;
|
2023-08-09 15:23:20 +01:00
|
|
|
grid-column: span 8;
|
2023-07-31 10:26:56 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left .gh-card {
|
2023-07-26 09:03:19 +01:00
|
|
|
grid-column: span 8;
|
2023-07-10 04:14:43 +01:00
|
|
|
grid-row: span 3;
|
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-link {
|
2023-07-26 10:06:49 +01:00
|
|
|
gap: 28px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-image {
|
|
|
|
aspect-ratio: 3 / 2;
|
2023-07-31 10:26:56 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-tag {
|
2023-07-11 10:55:58 +01:00
|
|
|
display: block;
|
2023-07-26 10:06:49 +01:00
|
|
|
margin-bottom: 12px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-title {
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: clamp(2.8rem, 1.36vw + 2.25rem, 4rem);
|
2023-08-16 13:33:51 +01:00
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1.1;
|
2023-07-31 10:26:56 +01:00
|
|
|
letter-spacing: -0.022em;
|
2023-07-13 04:30:18 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-excerpt {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: clamp(12px, 0.45vw + 10.18px, 16px);
|
2023-07-26 10:06:49 +01:00
|
|
|
font-size: 1.8rem;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-meta:not(:empty) {
|
2023-07-11 10:55:58 +01:00
|
|
|
margin-top: 14px;
|
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-middle {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: var(--grid-gap);
|
|
|
|
grid-column: 9 / span 4;
|
2023-07-26 09:03:19 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-middle .gh-card:last-child .gh-card-image {
|
2023-07-31 10:26:56 +01:00
|
|
|
display: none;
|
2023-07-26 09:03:19 +01:00
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-excerpt {
|
2023-07-26 09:03:19 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-header-right {
|
|
|
|
grid-column: 13 / -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-featured {
|
|
|
|
margin-top: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-featured-feed {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-08-16 13:33:51 +01:00
|
|
|
.gh-header.is-highlight .gh-featured-feed .gh-card-title {
|
|
|
|
font-size: clamp(1.4rem, 0.23vw + 1.31rem, 1.6rem);
|
|
|
|
}
|
|
|
|
|
2023-08-09 15:23:20 +01:00
|
|
|
.gh-header.is-highlight .gh-header-left::after,
|
|
|
|
.gh-header.is-highlight .gh-header-middle::after {
|
2023-07-11 10:55:58 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-08-10 14:26:14 +01:00
|
|
|
.gh-header.is-highlight .gh-card::before {
|
2023-07-11 10:55:58 +01:00
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--grid-gap) / -2);
|
|
|
|
left: 0;
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-header.is-highlight .gh-featured .gh-card:first-child::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-08-14 11:16:21 +01:00
|
|
|
@media (max-width: 1199px) {
|
2023-08-10 14:26:14 +01:00
|
|
|
.gh-header.is-highlight .gh-header-inner {
|
|
|
|
grid-template-columns: repeat(9, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-header-left {
|
|
|
|
grid-column: span 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-header-middle {
|
|
|
|
grid-column: 7 / -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-header-right {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-featured-feed {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-featured-feed .gh-card:before {
|
|
|
|
width: calc(100% + var(--grid-gap));
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-featured-feed .gh-card::after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-14 11:16:21 +01:00
|
|
|
@media (max-width: 991px) {
|
2023-08-10 14:26:14 +01:00
|
|
|
.gh-header.is-highlight .gh-header-middle .gh-card:nth-child(2) .gh-card-image {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-14 11:16:21 +01:00
|
|
|
@media (max-width: 767px) {
|
2023-08-10 14:26:14 +01:00
|
|
|
.gh-header.is-highlight .gh-header-inner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-featured-feed {
|
|
|
|
display: flex;
|
2023-08-14 11:16:21 +01:00
|
|
|
/* gap: var(--grid-gap); */
|
2023-08-10 14:26:14 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 11:16:21 +01:00
|
|
|
.gh-header.is-highlight .gh-card-image {
|
|
|
|
display: block !important;
|
2023-08-10 14:26:14 +01:00
|
|
|
}
|
2023-08-15 02:59:19 +01:00
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-excerpt {
|
|
|
|
display: -webkit-box;
|
|
|
|
}
|
2023-08-10 14:26:14 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* 8.3. Classic layout */
|
2023-07-10 08:09:26 +01:00
|
|
|
|
|
|
|
.gh-header.is-classic {
|
|
|
|
display: flex;
|
2023-08-07 12:58:36 +01:00
|
|
|
margin-top: 0;
|
|
|
|
padding-block: 160px;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic .gh-header-inner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2023-07-11 10:55:58 +01:00
|
|
|
gap: 48px;
|
2023-07-10 08:09:26 +01:00
|
|
|
margin: auto;
|
2023-08-18 11:17:05 +01:00
|
|
|
max-width: 1020px;
|
2023-07-11 10:55:58 +01:00
|
|
|
text-align: center;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-classic .gh-header-title {
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: calc(clamp(3rem, 1.82vw + 2.27rem, 4.6rem) * var(--factor, 1));
|
2023-07-11 10:55:58 +01:00
|
|
|
line-height: 1.1;
|
2023-08-14 02:10:22 +01:00
|
|
|
letter-spacing: -0.028em;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 10:56:50 +01:00
|
|
|
.gh-header.is-classic.has-image {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic.has-image::before {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
content: "";
|
|
|
|
opacity: 0.3;
|
|
|
|
background-color: var(--color-black);
|
|
|
|
transition: opacity 1.5s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic.has-image .gh-header-inner {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic.has-image .gh-header-image {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
z-index: -1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-header.is-classic.has-image .gh-form {
|
2023-07-31 10:56:50 +01:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 9. CTA
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.gh-cta {
|
2023-09-12 15:03:52 +01:00
|
|
|
display: none;
|
2023-08-24 13:26:18 +01:00
|
|
|
margin-top: max(4vw, 40px);
|
2023-07-31 05:20:59 +01:00
|
|
|
}
|
|
|
|
|
2023-09-15 09:43:18 +01:00
|
|
|
.gh-header:is(.is-highlight, .is-magazine) + .gh-cta {
|
2023-09-12 15:03:52 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
.gh-cta-inner {
|
2023-08-14 02:10:22 +01:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2023-07-31 05:20:59 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-08-22 12:13:05 +01:00
|
|
|
align-items: center;
|
2023-08-28 06:27:33 +01:00
|
|
|
gap: 36px;
|
2023-09-08 12:53:15 +01:00
|
|
|
padding: clamp(48px, 3.64vw + 33.45px, 80px) clamp(40px, 2.73vw + 29.09px, 64px);
|
2023-08-22 12:13:05 +01:00
|
|
|
text-align: center;
|
2023-08-14 02:10:22 +01:00
|
|
|
background-color: var(--color-lighter-gray);
|
2023-08-08 16:42:11 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-cta-content {
|
2023-08-28 06:27:33 +01:00
|
|
|
max-width: 640px;
|
2023-07-31 05:20:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-cta-title {
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: clamp(2.8rem,1.36vw + 2.25rem,4rem);
|
2023-08-16 13:33:51 +01:00
|
|
|
font-weight: 700;
|
2023-07-31 05:20:59 +01:00
|
|
|
line-height: 1.1;
|
2023-08-14 02:10:22 +01:00
|
|
|
letter-spacing: -0.021em;
|
2023-07-31 05:20:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-cta-description {
|
2023-08-28 06:27:33 +01:00
|
|
|
margin-top: 12px;
|
2023-07-31 05:20:59 +01:00
|
|
|
font-size: 1.8rem;
|
2023-08-14 02:10:22 +01:00
|
|
|
line-height: 1.4;
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: -0.015em;
|
2023-07-31 05:20:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 10. Featured posts
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-10 06:31:23 +01:00
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
.gh-featured {
|
2023-07-31 05:58:56 +01:00
|
|
|
margin-top: 100px;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 10:56:50 +01:00
|
|
|
.gh-navigation + .gh-featured {
|
|
|
|
margin-top: 64px;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-header.is-classic:not(.has-image) + .gh-featured {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-featured-inner {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-featured-title {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
font-size: 1.2rem;
|
2023-08-24 13:26:18 +01:00
|
|
|
font-weight: 550;
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: 0.025em;
|
2023-07-12 11:50:08 +01:00
|
|
|
text-transform: uppercase;
|
2023-08-24 13:26:18 +01:00
|
|
|
border-bottom: 1px solid var(--color-border);
|
2023-07-12 11:50:08 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
.gh-featured-feed {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
gap: var(--grid-gap);
|
|
|
|
}
|
|
|
|
|
2023-08-09 16:15:35 +01:00
|
|
|
.gh-featured-feed .gh-card {
|
|
|
|
container-type: inline-size;
|
|
|
|
container-name: featured-card;
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
.gh-featured-feed .gh-card-link {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
2023-07-10 07:03:07 +01:00
|
|
|
align-items: flex-start;
|
2023-07-10 06:31:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-featured-feed .gh-card-image {
|
2023-07-26 10:06:49 +01:00
|
|
|
width: 72px;
|
2023-07-10 06:31:23 +01:00
|
|
|
aspect-ratio: 1;
|
|
|
|
}
|
|
|
|
|
2023-08-09 16:15:35 +01:00
|
|
|
@container featured-card (width < 240px) {
|
|
|
|
.gh-featured-feed .gh-card-image {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
@container featured-card (240px <= width <= 270px) {
|
|
|
|
.gh-featured-feed .gh-card-image {
|
|
|
|
width: 64px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-featured-feed .gh-card-wrapper {
|
|
|
|
container-type: inline-size;
|
|
|
|
container-name: featured-card-wrapper;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-featured-feed .gh-card-title {
|
2023-08-14 02:10:22 +01:00
|
|
|
font-size: 1.6rem;
|
|
|
|
font-weight: 650;
|
2023-07-12 11:50:08 +01:00
|
|
|
letter-spacing: -0.011em;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
@container featured-card-wrapper (width < 170px) {
|
|
|
|
.gh-featured-feed .gh-card-title {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
.gh-featured-feed .gh-card-excerpt {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-07-26 10:06:49 +01:00
|
|
|
.gh-featured-feed .gh-card-meta:not(:empty) {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2023-08-10 14:26:14 +01:00
|
|
|
.gh-featured-feed .gh-card::before {
|
2023-07-12 11:50:08 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-08-14 11:16:21 +01:00
|
|
|
@media (max-width: 1199px) {
|
|
|
|
.gh-viewport > .gh-featured .gh-featured-feed {
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-viewport > .gh-featured .gh-featured-feed .gh-card:nth-child(4) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.gh-viewport > .gh-featured .gh-featured-feed {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 11. Container
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-10 04:58:34 +01:00
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
.gh-container {
|
2023-07-13 09:45:44 +01:00
|
|
|
flex-grow: 1;
|
2023-07-10 08:09:26 +01:00
|
|
|
margin-top: 64px;
|
|
|
|
}
|
|
|
|
|
2023-07-10 05:17:54 +01:00
|
|
|
.gh-container-inner {
|
2023-07-10 04:58:34 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(16, 1fr);
|
2023-07-12 11:50:08 +01:00
|
|
|
column-gap: var(--grid-gap);
|
2023-07-10 05:17:54 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 05:58:56 +01:00
|
|
|
:is(.gh-featured, .gh-cta) + .gh-container {
|
2023-08-24 13:26:18 +01:00
|
|
|
margin-top: max(4vw, 40px);
|
2023-07-31 05:58:56 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-header.is-classic:not(.has-image) + .gh-container {
|
2023-08-07 12:58:36 +01:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-09-04 12:44:58 +01:00
|
|
|
.gh-navigation + .gh-container .gh-container-title,
|
|
|
|
:is(.paged, .tag-template, .author-template) .gh-container:not(.has-sidebar) .gh-container-title {
|
2023-08-22 11:07:20 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-07-31 10:26:56 +01:00
|
|
|
.gh-more {
|
|
|
|
display: none;
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
margin-top: 48px;
|
2023-09-01 04:34:30 +01:00
|
|
|
font-size: calc(1.9rem * var(--factor, 1));
|
2023-08-14 02:10:22 +01:00
|
|
|
font-weight: 725;
|
2023-09-01 04:34:30 +01:00
|
|
|
letter-spacing: -0.014em;
|
2023-07-31 10:26:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.has-sidebar .gh-more {
|
|
|
|
grid-column: span 12;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home-template .gh-more {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-08-28 05:18:34 +01:00
|
|
|
.gh-more a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-more svg {
|
2023-09-01 04:34:30 +01:00
|
|
|
margin-top: -1px;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .gh-more svg {
|
|
|
|
margin-top: 0;
|
2023-08-28 05:18:34 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 11.1. With sidebar */
|
2023-07-10 05:17:54 +01:00
|
|
|
|
|
|
|
.gh-container.has-sidebar .gh-main {
|
|
|
|
grid-column: 1 / span 12;
|
2023-07-12 11:50:08 +01:00
|
|
|
position: relative;
|
2023-07-10 05:17:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.has-sidebar .gh-sidebar {
|
|
|
|
grid-column: 13 / -1;
|
2023-07-10 04:58:34 +01:00
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-container.has-sidebar .gh-main::after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 11.2. Without sidebar */
|
2023-07-10 05:17:54 +01:00
|
|
|
|
2023-09-12 15:57:09 +01:00
|
|
|
.gh-container:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
|
2023-09-11 08:16:34 +01:00
|
|
|
grid-column: 3 / span 12;
|
2023-07-10 04:58:34 +01:00
|
|
|
}
|
|
|
|
|
2023-09-11 13:16:12 +01:00
|
|
|
.gh-container.is-list.no-image:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
|
|
|
|
grid-column: 4 / span 10;
|
|
|
|
}
|
|
|
|
|
2023-09-12 15:57:09 +01:00
|
|
|
.gh-header:is(.is-highlight, .is-magazine) ~ .gh-container.is-grid:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
|
2023-09-04 12:44:58 +01:00
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
@media (max-width: 1199px) {
|
|
|
|
.gh-container-inner {
|
2023-08-22 10:41:08 +01:00
|
|
|
display: block;
|
2023-08-22 11:17:15 +01:00
|
|
|
overflow: hidden;
|
2023-08-14 02:10:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.has-sidebar .gh-sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 12. Post list
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-10 04:58:34 +01:00
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-container-title {
|
|
|
|
grid-column: 1 / -1;
|
2023-07-26 10:06:49 +01:00
|
|
|
margin-bottom: calc(var(--grid-gap) / 2);
|
2023-07-12 11:50:08 +01:00
|
|
|
padding-bottom: 12px;
|
|
|
|
font-size: 1.2rem;
|
2023-08-24 13:26:18 +01:00
|
|
|
font-weight: 550;
|
|
|
|
letter-spacing: 0.025em;
|
2023-07-12 11:50:08 +01:00
|
|
|
text-transform: uppercase;
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.gh-container:not(:has(.gh-card)) .gh-container-title {
|
2023-08-07 12:58:36 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-07-10 05:17:54 +01:00
|
|
|
.gh-container .gh-feed {
|
|
|
|
gap: var(--grid-gap);
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
.gh-container .gh-card-meta:not(:empty) {
|
2023-07-26 10:06:49 +01:00
|
|
|
margin-top: 16px;
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 12.1. List style */
|
2023-07-10 04:58:34 +01:00
|
|
|
|
2023-07-10 05:17:54 +01:00
|
|
|
.gh-container.is-list .gh-feed {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-08-14 02:10:22 +01:00
|
|
|
container-type: inline-size;
|
|
|
|
container-name: list-feed;
|
2023-07-10 05:17:54 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 04:58:34 +01:00
|
|
|
.gh-container.is-list .gh-card-link {
|
2023-07-12 11:50:08 +01:00
|
|
|
flex-direction: row;
|
2023-07-13 04:30:18 +01:00
|
|
|
align-items: center;
|
2023-07-10 07:03:07 +01:00
|
|
|
gap: 24px;
|
2023-07-10 04:58:34 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-container.is-list .no-image .gh-card-link {
|
|
|
|
padding-block: 20px;
|
|
|
|
}
|
|
|
|
|
2023-07-10 04:58:34 +01:00
|
|
|
.gh-container.is-list .gh-card-image {
|
|
|
|
flex-shrink: 0;
|
2023-07-17 00:36:13 +01:00
|
|
|
width: 220px;
|
2023-07-13 04:30:18 +01:00
|
|
|
aspect-ratio: 1.618033;
|
2023-07-10 04:58:34 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
@container list-feed (width < 600px) {
|
|
|
|
.gh-container.is-list .gh-card-image {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-11 13:16:12 +01:00
|
|
|
.gh-container.is-list .gh-card:not(.no-image) .gh-card-wrapper {
|
2023-07-12 11:50:08 +01:00
|
|
|
max-width: 600px;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-container.is-list .gh-card-title {
|
|
|
|
--factor: 1.05;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.is-list .no-image .gh-card-title {
|
|
|
|
--factor: 1.2;
|
|
|
|
}
|
|
|
|
|
2023-07-26 10:06:49 +01:00
|
|
|
.gh-container.is-list .gh-card-excerpt {
|
2023-07-27 15:22:59 +01:00
|
|
|
margin-top: 6px;
|
2023-07-26 10:06:49 +01:00
|
|
|
}
|
|
|
|
|
2023-07-27 15:22:59 +01:00
|
|
|
.gh-container.is-list .gh-card + .gh-card::before {
|
2023-07-12 11:50:08 +01:00
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--grid-gap) / -2);
|
|
|
|
left: 0;
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
.home-template .gh-container.is-list .gh-card:first-child:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-08-15 02:59:19 +01:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.gh-container.is-list .gh-card-link {
|
|
|
|
flex-direction: column;
|
2023-08-22 10:41:08 +01:00
|
|
|
align-items: flex-start;
|
2023-08-15 02:59:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.is-list .gh-card-image {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 12.2. Grid style */
|
2023-07-10 04:58:34 +01:00
|
|
|
|
|
|
|
.gh-container.is-grid .gh-feed {
|
|
|
|
display: grid;
|
2023-09-12 15:57:09 +01:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
|
2023-07-27 07:59:33 +01:00
|
|
|
row-gap: calc(var(--grid-gap) * 1.5);
|
2023-07-12 11:50:08 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.is-grid .gh-card::before {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--grid-gap) / -2);
|
|
|
|
right: calc(var(--grid-gap) / -2);
|
|
|
|
left: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.is-grid .gh-card::after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
2023-07-10 07:03:07 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 11:16:21 +01:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.gh-container.is-grid .gh-feed {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
.gh-container.is-grid .gh-feed {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 12.3. No image list */
|
2023-07-10 07:03:07 +01:00
|
|
|
|
|
|
|
.gh-container.is-list.no-image .gh-card-image {
|
|
|
|
display: none;
|
2023-07-10 07:12:45 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 13. Sidebar
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-10 08:09:26 +01:00
|
|
|
|
|
|
|
.gh-about {
|
2023-08-22 11:17:15 +01:00
|
|
|
position: sticky;
|
|
|
|
top: calc(var(--grid-gap) / 2);
|
2023-07-10 08:09:26 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-08-14 02:10:22 +01:00
|
|
|
justify-content: center;
|
2023-07-10 08:09:26 +01:00
|
|
|
align-items: center;
|
|
|
|
padding: 48px 24px;
|
2023-08-14 02:10:22 +01:00
|
|
|
min-height: 400px;
|
2023-07-12 11:50:08 +01:00
|
|
|
text-align: center;
|
2023-07-10 08:09:26 +01:00
|
|
|
background-color: var(--color-lighter-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-about-icon {
|
2023-07-12 11:50:08 +01:00
|
|
|
margin-bottom: 24px;
|
2023-08-16 13:33:51 +01:00
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
2023-07-19 05:21:48 +01:00
|
|
|
border-radius: 50%;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-about-title {
|
2023-08-07 12:58:36 +01:00
|
|
|
font-size: calc(2.4rem * var(--factor, 1));
|
2023-08-16 13:33:51 +01:00
|
|
|
font-weight: 700;
|
2023-07-12 11:50:08 +01:00
|
|
|
letter-spacing: -0.019em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-about-description {
|
|
|
|
margin-top: 12px;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.45rem;
|
2023-07-12 11:50:08 +01:00
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-about .gh-button {
|
2023-08-14 02:10:22 +01:00
|
|
|
margin-top: 32px;
|
2023-07-12 11:50:08 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 14. Post/page
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 14.1. Article */
|
2023-07-19 05:21:48 +01:00
|
|
|
|
2023-07-13 07:56:13 +01:00
|
|
|
.gh-article {
|
|
|
|
--container-width: 1120px;
|
|
|
|
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-header {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin: clamp(40px, 3.64vw + 25.45px, 72px) 0 40px;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-tag {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: var(--ghost-accent-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-title {
|
2023-08-15 02:59:19 +01:00
|
|
|
font-size: calc(clamp(3.4rem, 1.36vw + 2.85rem, 4.6rem) * var(--factor, 1));
|
2023-08-16 13:33:51 +01:00
|
|
|
line-height: 1.1;
|
2023-07-13 07:56:13 +01:00
|
|
|
letter-spacing: -0.022em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-excerpt {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: clamp(12px, 0.45vw + 10.18px, 16px);
|
2023-07-17 00:36:13 +01:00
|
|
|
max-width: 720px;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: clamp(1.5rem, 0.45vw + 1.32rem, 1.9rem);
|
|
|
|
line-height: 1.4;
|
2023-07-31 10:26:56 +01:00
|
|
|
letter-spacing: -0.018em;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
2023-07-19 05:21:48 +01:00
|
|
|
.gh-article-meta {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-author-image {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-author-image a {
|
|
|
|
position: relative;
|
|
|
|
margin: 0 -8px;
|
|
|
|
width: 56px;
|
|
|
|
height: 56px;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: var(--color-light-gray);
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 3px solid var(--background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-author-image a:first-child {
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-author-image a:nth-child(2) {
|
|
|
|
z-index: 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-author-image a:nth-child(3) {
|
|
|
|
z-index: 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-author-image :is(img, svg) {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-meta-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-author-name {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.6rem;
|
2023-07-19 05:21:48 +01:00
|
|
|
font-weight: 650;
|
|
|
|
letter-spacing: -0.013em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-meta-content {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.35rem;
|
2023-07-19 05:21:48 +01:00
|
|
|
font-weight: 500;
|
|
|
|
line-height: 1.2;
|
|
|
|
letter-spacing: -0.006em;
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
}
|
|
|
|
|
2023-07-13 07:56:13 +01:00
|
|
|
.gh-article-image {
|
|
|
|
grid-column: wide;
|
2023-07-19 06:12:02 +01:00
|
|
|
margin-top: 40px;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-article-image img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 14.2. Page template */
|
2023-07-19 06:12:02 +01:00
|
|
|
|
|
|
|
.page-template .gh-article-header {
|
2023-07-31 10:26:56 +01:00
|
|
|
margin-block: 72px 32px;
|
2023-07-19 06:12:02 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 14.3. Page without header */
|
2023-07-19 05:21:48 +01:00
|
|
|
|
|
|
|
.page-template .gh-content:only-child > *:first-child:not(.kg-width-full) {
|
2023-09-15 09:43:18 +01:00
|
|
|
margin-top: 64px;
|
2023-07-19 05:21:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-template .gh-content > *:last-child:not(.kg-width-full) {
|
2023-09-15 09:43:18 +01:00
|
|
|
margin-bottom: 6vw;
|
2023-07-19 05:21:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-template .gh-footer {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 15. Content
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
/* Content refers to styling all page and post content that is
|
|
|
|
created within the Ghost editor. The main content handles
|
|
|
|
headings, text, images and lists. We deal with cards lower down. */
|
|
|
|
|
|
|
|
.gh-content {
|
2023-09-01 04:34:30 +01:00
|
|
|
font-size: var(--content-font-size, 1.7rem);
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: -0.01em;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Default vertical spacing */
|
|
|
|
.gh-content > * + * {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: calc(28px * var(--content-spacing-factor, 1));
|
2023-07-13 07:56:13 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-09-15 11:21:54 +01:00
|
|
|
/* Remove space between full-width cards */
|
|
|
|
.gh-content > .kg-width-full + .kg-width-full:not(.kg-width-full.kg-card-hascaption + .kg-width-full) {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Add back a top margin to all headings,
|
|
|
|
unless a heading is the very first element in the post content */
|
2023-07-13 07:56:13 +01:00
|
|
|
.gh-content > [id]:not(:first-child) {
|
2023-08-16 13:33:51 +01:00
|
|
|
margin-top: calc(56px * var(--content-spacing-factor, 1));
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
2023-09-26 18:30:24 +01:00
|
|
|
/* Add a small margin between a heading and paragraph after it */
|
|
|
|
.gh-content > [id] + p {
|
2023-08-16 13:33:51 +01:00
|
|
|
margin-top: calc(12px * var(--content-spacing-factor, 1));
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* A larger margin before/after dividers, blockquotes and embeds */
|
2023-07-13 07:56:13 +01:00
|
|
|
.gh-content > :is(hr, blockquote, iframe) {
|
|
|
|
position: relative;
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: calc(48px * var(--content-spacing-factor, 1)) !important;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content > :is(hr, blockquote, iframe) + * {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: calc(48px * var(--content-spacing-factor, 1)) !important;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Now the content typography styles */
|
|
|
|
.gh-content h2 {
|
2023-08-22 12:11:01 +01:00
|
|
|
font-size: calc(1.6em * var(--factor, 1));
|
2023-07-17 00:36:13 +01:00
|
|
|
letter-spacing: -0.02em;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content h3 {
|
2023-08-22 12:11:01 +01:00
|
|
|
font-size: calc(1.3em * var(--factor, 1));
|
2023-07-17 00:36:13 +01:00
|
|
|
letter-spacing: -0.017em;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content a {
|
|
|
|
color: var(--ghost-accent-color);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content .kg-callout-card .kg-callout-text,
|
|
|
|
.gh-content .kg-toggle-card .kg-toggle-content > :is(ul, ol, p) {
|
|
|
|
font-size: 0.95em;
|
|
|
|
}
|
|
|
|
|
2023-08-22 12:11:01 +01:00
|
|
|
.has-serif-body .gh-content > blockquote,
|
|
|
|
.has-serif-body .gh-content > ol,
|
|
|
|
.has-serif-body .gh-content > ul,
|
|
|
|
.has-serif-body .gh-content > dl,
|
|
|
|
.has-serif-body .gh-content > p,
|
|
|
|
.has-serif-body .gh-content .kg-callout-text,
|
|
|
|
.has-serif-body .gh-content .kg-toggle-content > ol,
|
|
|
|
.has-serif-body .gh-content .kg-toggle-content > ul,
|
|
|
|
.has-serif-body .gh-content .kg-toggle-content > p {
|
2023-09-01 04:34:30 +01:00
|
|
|
font-family: var(--font-serif-alt);
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content :is(ul, ol) {
|
2023-07-17 00:36:13 +01:00
|
|
|
padding-left: 28px;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content :is(li + li, li :is(ul, ol)) {
|
2023-07-17 00:36:13 +01:00
|
|
|
margin-top: 8px;
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content ol ol li {
|
|
|
|
list-style-type: lower-alpha;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content ol ol ol li {
|
|
|
|
list-style-type: lower-roman;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content hr {
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
2023-07-17 00:36:13 +01:00
|
|
|
background-color: var(--color-border);
|
2023-07-13 07:56:13 +01:00
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content table:not(.gist table) {
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow-x: auto;
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
font-size: 1.6rem;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: top;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2023-07-31 04:52:19 +01:00
|
|
|
background: radial-gradient(ellipse at left, rgb(0 0 0 / 0.2) 0%, rgb(0 0 0 / 0) 75%) 0 center, radial-gradient(ellipse at right, rgb(0 0 0 / 0.2) 0%, rgb(0 0 0 / 0) 75%) 100% center;
|
2023-07-13 07:56:13 +01:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-attachment: scroll, scroll;
|
|
|
|
background-size: 10px 100%, 10px 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content table:not(.gist table) td:first-child {
|
2023-07-31 04:52:19 +01:00
|
|
|
background-image: linear-gradient(to right, rgb(255 255 255 / 1) 50%, rgb(255 255 255 / 0) 100%);
|
2023-07-13 07:56:13 +01:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 20px 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content table:not(.gist table) td:last-child {
|
2023-07-31 04:52:19 +01:00
|
|
|
background-image: linear-gradient(to left, rgb(255 255 255 / 1) 50%, rgb(255 255 255 / 0) 100%);
|
2023-07-13 07:56:13 +01:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 100% 0;
|
|
|
|
background-size: 20px 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content table:not(.gist table) th {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 700;
|
|
|
|
color: var(--color-darkgrey);
|
|
|
|
text-align: left;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 0.2px;
|
|
|
|
background-color: var(--color-white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content table:not(.gist table) th,
|
|
|
|
.gh-content table:not(.gist table) td {
|
|
|
|
padding: 6px 12px;
|
|
|
|
border: 1px solid var(--color-light-gray);
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 16. Cards
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Add extra margin before/after any cards, except for when immediately preceeded by a heading */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.gh-content :not(.kg-card):not(table):not([id]) + :is(.kg-card, table) {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: calc(48px * var(--content-spacing-factor, 1));
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content :is(.kg-card, table) + :not(.kg-card):not(table):not([id]) {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: calc(48px * var(--content-spacing-factor, 1));
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content :not(.kg-card):not([id]) + .kg-card.kg-width-full {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: calc(68px * var(--content-spacing-factor, 1));
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content .kg-card.kg-width-full + :not(.kg-card):not([id]) {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: calc(68px * var(--content-spacing-factor, 1));
|
2023-07-13 07:56:13 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Image */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-image {
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Embed */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-embed-card {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Gallery */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-image[width][height],
|
|
|
|
.kg-gallery-image {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-image-card a:hover,
|
|
|
|
.kg-gallery-image a:hover {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Toggle */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-card.kg-toggle-card .kg-toggle-heading-text {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .kg-toggle-card .kg-toggle-heading-text {
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title .kg-toggle-card .kg-toggle-heading-text {
|
|
|
|
font-family: var(--font-mono);
|
2023-08-07 12:58:36 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Callout */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-callout-card.kg-card {
|
|
|
|
border-radius: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-callout-card-accent a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Blockquote */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
blockquote:not([class]) {
|
|
|
|
padding-left: 2rem;
|
|
|
|
border-left: 4px solid var(--ghost-accent-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.kg-blockquote-alt {
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Button */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-card.kg-button-card .kg-btn {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Header */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.has-serif-title .kg-card.kg-header-card h2.kg-header-card-header {
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title .kg-card.kg-header-card h2.kg-header-card-header {
|
|
|
|
font-family: var(--font-mono);
|
2023-08-07 12:58:36 +01:00
|
|
|
}
|
|
|
|
|
2023-07-13 07:56:13 +01:00
|
|
|
.has-serif-body .kg-header-card h3.kg-header-card-subheader {
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Bookmark */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-bookmark-card .kg-bookmark-container {
|
|
|
|
border-radius: 0.25em !important;
|
|
|
|
}
|
|
|
|
|
2023-08-07 12:58:36 +01:00
|
|
|
.kg-bookmark-card .kg-bookmark-container:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2023-07-13 07:56:13 +01:00
|
|
|
.kg-bookmark-card .kg-bookmark-content {
|
|
|
|
padding: 1.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-bookmark-card .kg-bookmark-title {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-bookmark-card .kg-bookmark-description {
|
|
|
|
max-height: none;
|
|
|
|
margin-top: 0.3em;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-bookmark-card .kg-bookmark-metadata {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-bookmark-card .kg-bookmark-thumbnail img {
|
|
|
|
border-radius: 0 0.2em 0.2em 0;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Product */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-product-card.kg-card .kg-product-card-image {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-product-card.kg-card a.kg-product-card-button {
|
|
|
|
height: 2.8em;
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
|
2023-08-07 12:58:36 +01:00
|
|
|
.has-serif-title .kg-product-card.kg-card .kg-product-card-title {
|
2023-07-13 07:56:13 +01:00
|
|
|
font-family: var(--font-serif);
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title .kg-product-card.kg-card .kg-product-card-title {
|
|
|
|
font-family: var(--font-mono);
|
2023-08-07 12:58:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body .kg-product-card-description :is(p, ul, ol) {
|
|
|
|
font-family: var(--font-serif-alt);
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* File */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.kg-file-card.kg-card .kg-file-card-container {
|
|
|
|
padding: 0.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-file-card.kg-card .kg-file-card-contents {
|
|
|
|
margin: 4px 8px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-file-card.kg-card .kg-file-card-metadata {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-file-card.kg-card .kg-file-card-filesize::before {
|
|
|
|
margin-right: 6px;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
/* Caption */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
figcaption {
|
|
|
|
margin-top: 12px;
|
2023-08-07 12:58:36 +01:00
|
|
|
font-size: 1.4rem;
|
2023-07-13 07:56:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-card.kg-width-full figcaption {
|
|
|
|
padding: 0 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption a {
|
|
|
|
color: var(--ghost-accent-color);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 17. Comments
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-13 07:56:13 +01:00
|
|
|
|
|
|
|
.gh-comments {
|
|
|
|
margin-top: 48px;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 18. Recent posts
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-13 09:45:44 +01:00
|
|
|
|
|
|
|
.post-template .gh-container {
|
2023-08-14 02:10:22 +01:00
|
|
|
margin-top: 120px;
|
2023-07-13 09:45:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-template .gh-container-inner {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.post-template .gh-container.is-grid .gh-feed {
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
2023-07-13 09:45:44 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 11:16:21 +01:00
|
|
|
.post-template .gh-container .gh-container-title {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 19. Archive
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.gh-archive {
|
2023-07-27 15:22:59 +01:00
|
|
|
display: grid;
|
2023-08-22 12:04:16 +01:00
|
|
|
grid-template-columns: repeat(16, 1fr);
|
2023-07-27 15:22:59 +01:00
|
|
|
gap: var(--grid-gap);
|
|
|
|
margin-block: 80px 24px;
|
2023-08-22 12:04:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-archive.has-image {
|
|
|
|
margin-top: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-archive-inner {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
gap: var(--grid-gap);
|
|
|
|
grid-column: 1 / -1;
|
2023-08-15 02:59:19 +01:00
|
|
|
padding-bottom: clamp(40px, 2.73vw + 29.09px, 64px);
|
2023-07-27 15:22:59 +01:00
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-08-22 12:04:16 +01:00
|
|
|
.gh-archive.has-image .gh-archive-inner {
|
2023-08-15 02:59:19 +01:00
|
|
|
align-items: center;
|
2023-08-22 12:04:16 +01:00
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-archive:not(.has-sidebar):not(.has-image) .gh-archive-inner {
|
|
|
|
grid-column: 3 / span 12;
|
2023-07-27 15:22:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-archive .gh-article-image {
|
|
|
|
grid-column: auto;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(.tag-template, .author-template) .gh-container {
|
|
|
|
margin-top: 0;
|
2023-07-19 06:12:02 +01:00
|
|
|
}
|
|
|
|
|
2023-08-22 12:04:16 +01:00
|
|
|
.author-template .gh-archive-inner {
|
2023-07-17 00:36:13 +01:00
|
|
|
display: flex;
|
2023-07-27 15:22:59 +01:00
|
|
|
flex-direction: row-reverse;
|
|
|
|
justify-content: flex-end;
|
2023-07-17 00:36:13 +01:00
|
|
|
gap: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author-template .gh-article-image {
|
|
|
|
margin-top: 0;
|
2023-08-15 02:59:19 +01:00
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
2023-07-17 00:36:13 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2023-07-27 15:22:59 +01:00
|
|
|
.author-template .gh-article-title {
|
|
|
|
font-size: 3.6rem;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
.gh-author-meta {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
margin-top: 14px;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: 550;
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-author-meta a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-author-social {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
align-items: center;
|
2023-07-27 15:22:59 +01:00
|
|
|
padding-left: 3px;
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-author-social svg {
|
2023-07-27 15:22:59 +01:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2023-08-22 12:04:16 +01:00
|
|
|
@media (max-width: 1199px) {
|
2023-08-14 11:16:21 +01:00
|
|
|
.gh-archive {
|
2023-08-22 12:04:16 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.gh-archive-inner {
|
2023-08-14 11:16:21 +01:00
|
|
|
display: flex;
|
2023-08-15 02:59:19 +01:00
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: flex-start;
|
2023-08-14 11:16:21 +01:00
|
|
|
}
|
|
|
|
|
2023-08-22 12:04:16 +01:00
|
|
|
.author-template .gh-archive-inner {
|
2023-08-14 11:16:21 +01:00
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 20. Design settings
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2023-08-07 12:58:36 +01:00
|
|
|
.has-serif-title {
|
|
|
|
--factor: 1.15;
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title {
|
2023-08-07 12:58:36 +01:00
|
|
|
--factor: 1.1;
|
|
|
|
}
|
|
|
|
|
2023-08-22 12:11:01 +01:00
|
|
|
.has-sans-title :is(.is-title, .gh-content :is(h2, h3)) {
|
2023-07-17 00:36:13 +01:00
|
|
|
font-family: var(--font-sans);
|
|
|
|
}
|
|
|
|
|
2023-08-22 12:11:01 +01:00
|
|
|
.has-serif-title :is(.is-title, .gh-content :is(h2, h3)) {
|
2023-07-17 00:36:13 +01:00
|
|
|
font-family: var(--font-serif);
|
2023-08-16 13:33:51 +01:00
|
|
|
font-weight: 550;
|
2023-07-13 09:45:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title :is(.is-title, .gh-content :is(h2, h3)) {
|
|
|
|
font-family: var(--font-mono);
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-sans-body .is-body {
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body .is-body {
|
2023-08-07 12:58:36 +01:00
|
|
|
font-family: var(--font-serif-alt);
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .gh-header.is-classic .gh-header-title {
|
|
|
|
font-weight: 550;
|
|
|
|
letter-spacing: -0.015em;
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title .gh-header.is-classic .gh-header-title {
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: -0.01em;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.has-serif-title .gh-form {
|
2023-08-07 12:58:36 +01:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
.has-serif-title .gh-card-title {
|
2023-08-16 13:33:51 +01:00
|
|
|
line-height: 1.15;
|
2023-07-17 00:36:13 +01:00
|
|
|
letter-spacing: -0.006em;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: calc(2.0rem*var(--factor, 1))
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .gh-featured-feed .gh-card-title {
|
|
|
|
font-size: calc(1.6rem*var(--factor, 1))
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title .gh-featured-feed .gh-card-title {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: calc(1.5rem*var(--factor, 1));
|
|
|
|
letter-spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .gh-header.is-highlight .gh-featured-feed .gh-card-title {
|
|
|
|
font-size: clamp(1.6rem, 0.23vw + 1.51rem, 1.8rem);
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title .gh-card-title {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: calc(1.8rem*var(--factor, 1));
|
2023-09-21 11:48:11 +01:00
|
|
|
line-height: 1.2;
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .gh-about-title {
|
|
|
|
letter-spacing: -0.009em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .gh-footer-signup-header {
|
|
|
|
letter-spacing: -0.019em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title .gh-article-title {
|
|
|
|
letter-spacing: -0.019em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body {
|
2023-09-01 04:34:30 +01:00
|
|
|
--content-font-size: 1.9rem;
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body .gh-card-excerpt {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.65rem;
|
2023-07-17 00:36:13 +01:00
|
|
|
line-height: 1.4;
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: 0.0005em;
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body .gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-excerpt,
|
|
|
|
.has-serif-body .gh-header.is-highlight .gh-card:first-child .gh-card-excerpt {
|
|
|
|
font-size: 1.8rem;
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: -0.001em;
|
|
|
|
}
|
|
|
|
|
2023-08-18 11:25:29 +01:00
|
|
|
.has-serif-title .gh-header.is-magazine .gh-header-inner>.gh-card .gh-card-title,
|
|
|
|
.has-serif-title .gh-header.is-highlight .gh-header-left .gh-card-title {
|
2023-08-16 13:33:51 +01:00
|
|
|
font-weight: 550;
|
|
|
|
font-size: clamp(3.2rem,1.82vw + 2.47rem,4.9rem)
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body .gh-about-description {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body .gh-article-excerpt {
|
|
|
|
letter-spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body .gh-footer-signup-subhead {
|
|
|
|
letter-spacing: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.has-serif-title :is(.gh-button, .gh-form) {
|
2023-08-07 12:58:36 +01:00
|
|
|
border-radius: 0;
|
2023-07-26 09:03:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title :is(.gh-button) {
|
|
|
|
border-radius: 0;
|
2023-08-16 13:33:51 +01:00
|
|
|
}
|
|
|
|
|
2023-09-18 10:50:05 +01:00
|
|
|
.has-mono-title :is(.gh-form) {
|
|
|
|
border-radius: 0;
|
2023-07-26 09:03:19 +01:00
|
|
|
}
|
|
|
|
|
2023-08-16 13:33:51 +01:00
|
|
|
.has-serif-title .gh-cta-title {
|
|
|
|
font-size: 4.8rem;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 21. Footer
|
2023-07-17 00:36:13 +01:00
|
|
|
/* ---------------------------------------------------------- */
|
2023-07-10 07:12:45 +01:00
|
|
|
|
|
|
|
.gh-footer {
|
2023-09-18 10:50:05 +01:00
|
|
|
margin-top: 12vw;
|
2023-08-16 13:33:51 +01:00
|
|
|
font-size: 1.5rem;
|
2023-07-10 08:44:09 +01:00
|
|
|
color: var(--color-darker-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer a:not(.gh-button) {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2023-07-31 05:20:59 +01:00
|
|
|
/* 21.1 Footer styles */
|
2023-07-10 08:44:09 +01:00
|
|
|
|
|
|
|
.gh-footer.has-accent-color {
|
|
|
|
background-color: var(--ghost-accent-color);
|
2023-07-17 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer.has-accent-color .gh-footer-bar {
|
|
|
|
border-top: 0;
|
2023-07-10 08:44:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer.has-accent-color .gh-button {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #15171a;
|
2023-07-10 07:12:45 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
/* 21.2. Footer bar */
|
2023-07-10 07:27:31 +01:00
|
|
|
|
|
|
|
.gh-footer-bar {
|
2023-07-10 07:12:45 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto 1fr;
|
2023-07-12 13:59:51 +01:00
|
|
|
align-items: center;
|
2023-08-14 02:10:22 +01:00
|
|
|
column-gap: 32px;
|
|
|
|
margin-bottom: 100px;
|
2023-07-26 10:06:49 +01:00
|
|
|
padding-block: 28px;
|
2023-07-17 00:36:13 +01:00
|
|
|
font-weight: 550;
|
2023-07-10 07:27:31 +01:00
|
|
|
border-block: 1px solid var(--color-border);
|
2023-07-10 07:12:45 +01:00
|
|
|
}
|
|
|
|
|
2023-07-12 13:59:51 +01:00
|
|
|
.gh-footer-logo {
|
|
|
|
position: relative;
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: calc(2.4rem * var(--factor, 1));
|
2023-08-14 02:10:22 +01:00
|
|
|
font-weight: 725;
|
2023-07-12 13:59:51 +01:00
|
|
|
letter-spacing: -0.015em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2023-08-07 12:58:36 +01:00
|
|
|
.gh-footer-logo img {
|
|
|
|
max-height: 40px;
|
|
|
|
}
|
|
|
|
|
2023-07-10 07:12:45 +01:00
|
|
|
.gh-footer-menu .nav {
|
|
|
|
display: flex;
|
2023-08-14 02:10:22 +01:00
|
|
|
justify-content: center;
|
|
|
|
gap: 8px 28px;
|
|
|
|
flex-wrap: wrap;
|
2023-07-12 13:59:51 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2023-07-10 07:12:45 +01:00
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer-copyright {
|
|
|
|
text-align: right;
|
2023-08-14 02:10:22 +01:00
|
|
|
white-space: nowrap;
|
2023-07-10 07:27:31 +01:00
|
|
|
}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
.gh-footer-copyright a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
/* 21.3. Footer signup */
|
2023-07-10 07:27:31 +01:00
|
|
|
|
|
|
|
.gh-footer-signup {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2023-08-15 02:59:19 +01:00
|
|
|
padding-bottom: 160px;
|
2023-08-14 02:10:22 +01:00
|
|
|
text-align: center;
|
2023-07-12 14:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer-signup-header {
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: calc(clamp(2.8rem,1.36vw + 2.25rem,4rem) * var(--factor, 1));
|
2023-08-16 13:33:51 +01:00
|
|
|
font-weight: 700;
|
2023-07-13 04:30:18 +01:00
|
|
|
letter-spacing: -0.03em;
|
2023-07-12 14:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer-signup-subhead {
|
2023-08-15 02:59:19 +01:00
|
|
|
margin-top: 12px;
|
|
|
|
max-width: 640px;
|
2023-08-18 11:17:05 +01:00
|
|
|
font-size: 1.8rem;
|
2023-07-17 00:36:13 +01:00
|
|
|
font-weight: 450;
|
2023-08-15 02:59:19 +01:00
|
|
|
line-height: 1.4;
|
2023-08-16 13:33:51 +01:00
|
|
|
letter-spacing: -0.014em;
|
|
|
|
opacity: 0.75;
|
2023-07-12 14:06:32 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 02:10:22 +01:00
|
|
|
.gh-footer-signup .gh-form {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 991px) {
|
|
|
|
.gh-footer-bar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 20px;
|
|
|
|
}
|
2023-08-15 02:59:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 22. Lightbox
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.pswp {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 3999999;
|
|
|
|
display: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
-ms-touch-action: none;
|
|
|
|
touch-action: none;
|
|
|
|
outline: none;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp img {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--animate_opacity {
|
|
|
|
opacity: 0.001;
|
|
|
|
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
|
|
|
will-change: opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--open {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--zoom-allowed .pswp__img {
|
|
|
|
cursor: zoom-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--zoomed-in .pswp__img {
|
|
|
|
cursor: grab;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--dragging .pswp__img {
|
|
|
|
cursor: grabbing;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__bg {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(0, 0, 0, 0.85);
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
|
|
|
transform: translateZ(0);
|
|
|
|
backface-visibility: hidden;
|
|
|
|
will-change: opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__scroll-wrap {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__container,
|
|
|
|
.pswp__zoom-wrap {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
touch-action: none;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__container,
|
|
|
|
.pswp__img {
|
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__zoom-wrap {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
|
|
|
transform-origin: left top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--animated-in .pswp__bg,
|
|
|
|
.pswp--animated-in .pswp__zoom-wrap {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__item {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__img {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__img--placeholder {
|
|
|
|
backface-visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__img--placeholder--blank {
|
|
|
|
background: var(--color-black);
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--ie .pswp__img {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__error-msg {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: -8px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__error-msg a {
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
overflow: visible;
|
|
|
|
appearance: none;
|
|
|
|
cursor: pointer;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button:focus,
|
|
|
|
.pswp__button:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button:active {
|
|
|
|
outline: none;
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button::-moz-focus-inner {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__ui--over-close .pswp__button--close {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button,
|
|
|
|
.pswp__button--arrow--left::before,
|
|
|
|
.pswp__button--arrow--right::before {
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
background: url("../images/default-skin.png") 0 0 no-repeat;
|
|
|
|
background-size: 264px 88px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
|
|
|
|
.pswp--svg .pswp__button,
|
|
|
|
.pswp--svg .pswp__button--arrow--left::before,
|
|
|
|
.pswp--svg .pswp__button--arrow--right::before {
|
|
|
|
background-image: url("../images/default-skin.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--svg .pswp__button--arrow--left,
|
|
|
|
.pswp--svg .pswp__button--arrow--right {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--close {
|
|
|
|
background-position: 0 -44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--share {
|
|
|
|
background-position: -44px -44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--fs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--supports-fs .pswp__button--fs {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--fs .pswp__button--fs {
|
|
|
|
background-position: -44px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--zoom {
|
|
|
|
display: none;
|
|
|
|
background-position: -88px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--zoom-allowed .pswp__button--zoom {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--zoomed-in .pswp__button--zoom {
|
|
|
|
background-position: -132px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--touch .pswp__button--arrow--left,
|
|
|
|
.pswp--touch .pswp__button--arrow--right {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--arrow--left,
|
|
|
|
.pswp__button--arrow--right {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
width: 70px;
|
|
|
|
height: 100px;
|
|
|
|
margin-top: -50px;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--arrow--left {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--arrow--right {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--arrow--left::before,
|
|
|
|
.pswp__button--arrow--right::before {
|
|
|
|
position: absolute;
|
|
|
|
top: 35px;
|
|
|
|
width: 32px;
|
|
|
|
height: 30px;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--arrow--left::before {
|
|
|
|
left: 6px;
|
|
|
|
background-position: -138px -44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__button--arrow--right::before {
|
|
|
|
right: 6px;
|
|
|
|
background-position: -94px -44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__counter {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 44px;
|
|
|
|
padding: 0 15px;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 44px;
|
|
|
|
color: var(--color-white);
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__caption {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
min-height: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__caption__center {
|
|
|
|
max-width: 420px;
|
|
|
|
padding: 25px 15px 30px;
|
|
|
|
margin: 0 auto;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: var(--color-white);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__caption__center .post-caption-title {
|
|
|
|
margin-bottom: 7px;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 500;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__caption__center .post-caption-meta-item + .post-caption-meta-item::before {
|
|
|
|
padding: 0 4px;
|
|
|
|
content: "\02022";
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__caption--empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__caption--fake {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__preloader {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
margin-left: -22px;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.25s ease-out;
|
|
|
|
direction: ltr;
|
|
|
|
will-change: opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__preloader__icn {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__preloader--active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__preloader--active .pswp__preloader__icn {
|
|
|
|
background: url("../images/preloader.gif") 0 0 no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--css_animation .pswp__preloader--active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
|
|
|
|
animation: clockwise 500ms linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
|
|
|
|
animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--css_animation .pswp__preloader__icn {
|
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
left: 15px;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
margin: 0;
|
|
|
|
background: none;
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--css_animation .pswp__preloader__cut {
|
|
|
|
position: relative;
|
|
|
|
width: 7px;
|
|
|
|
height: 14px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--css_animation .pswp__preloader__donut {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
margin: 0;
|
|
|
|
background: none;
|
|
|
|
border: 2px solid var(--color-white);
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
|
|
.pswp__preloader {
|
|
|
|
position: relative;
|
|
|
|
top: auto;
|
|
|
|
left: auto;
|
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes clockwise {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes donut-rotate {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
transform: rotate(-140deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotate(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__ui {
|
|
|
|
z-index: 1550;
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-font-smoothing: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__top-bar {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__caption,
|
|
|
|
.pswp__top-bar,
|
|
|
|
.pswp--has_mouse .pswp__button--arrow--left,
|
|
|
|
.pswp--has_mouse .pswp__button--arrow--right {
|
|
|
|
backface-visibility: hidden;
|
|
|
|
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
|
|
|
will-change: opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--has_mouse .pswp__button--arrow--left,
|
|
|
|
.pswp--has_mouse .pswp__button--arrow--right {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__ui--idle .pswp__top-bar {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__ui--idle .pswp__button--arrow--left,
|
|
|
|
.pswp__ui--idle .pswp__button--arrow--right {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__ui--hidden .pswp__top-bar,
|
|
|
|
.pswp__ui--hidden .pswp__caption,
|
|
|
|
.pswp__ui--hidden .pswp__button--arrow--left,
|
|
|
|
.pswp__ui--hidden .pswp__button--arrow--right {
|
|
|
|
opacity: 0.001;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__ui--one-slide .pswp__button--arrow--left,
|
|
|
|
.pswp__ui--one-slide .pswp__button--arrow--right,
|
|
|
|
.pswp__ui--one-slide .pswp__counter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp__element--disabled {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pswp--minimal--dark .pswp__top-bar {
|
|
|
|
background: none;
|
|
|
|
}
|