2023-07-05 13:43:09 +01:00
|
|
|
/* 1. Variables */
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--color-white: #fff;
|
|
|
|
--color-lighter-gray: #f6f6f6;
|
|
|
|
--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);
|
|
|
|
--color-secondary-text: rgba(0, 0, 0, 0.4);
|
|
|
|
--color-border: rgba(0, 0, 0, 0.08);
|
2023-07-10 09:13:01 +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;
|
|
|
|
--font-slab: Roboto Slab;
|
2023-07-05 13:43:09 +01:00
|
|
|
--font-mono: Menlo, Courier, monospace;
|
2023-07-10 05:17:54 +01:00
|
|
|
--container-gap: clamp(24px, 1.7032rem + 1.9355vw, 48px);
|
|
|
|
--grid-gap: 40px;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
:root.has-light-text {
|
|
|
|
--color-lighter-gray: rgba(0, 0, 0, 0.1);
|
|
|
|
--color-darker-gray: #fff;
|
|
|
|
--color-secondary-text: rgba(255, 255, 255, 0.64);
|
|
|
|
--color-border: rgba(255, 255, 255, 0.2);
|
|
|
|
}
|
|
|
|
|
2023-07-05 13:43:09 +01:00
|
|
|
/* 2. Resets */
|
|
|
|
|
|
|
|
*, *::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
|
|
|
}
|
|
|
|
|
|
|
|
/* 3. Globals */
|
|
|
|
|
|
|
|
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-07-05 14:16:54 +01:00
|
|
|
font-size: 1.6rem;
|
2023-07-12 11:50:08 +01:00
|
|
|
font-weight: 600;
|
2023-07-05 14:16:54 +01:00
|
|
|
line-height: 1;
|
|
|
|
color: var(--color-white);
|
|
|
|
letter-spacing: inherit;
|
|
|
|
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-07-05 13:43:09 +01:00
|
|
|
/* 4. Layout */
|
|
|
|
|
|
|
|
.gh-viewport {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-outer {
|
|
|
|
padding: 0 max(4vmin, 20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-inner {
|
|
|
|
margin: 0 auto;
|
2023-07-10 04:58:34 +01:00
|
|
|
max-width: 1280px;
|
2023-07-05 13:43:09 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-07-10 09:13:01 +01:00
|
|
|
/* Typography */
|
|
|
|
|
|
|
|
.has-sans-title [data-title] {
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-title [data-title] {
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-slab-title [data-title] {
|
|
|
|
font-family: var(--font-slab);
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-sans-body [data-body] {
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-serif-body [data-body] {
|
|
|
|
font-family: Georgia;
|
|
|
|
}
|
|
|
|
|
2023-07-05 13:43:09 +01:00
|
|
|
/* 5. Navigation */
|
|
|
|
|
|
|
|
.gh-navigation {
|
|
|
|
height: 100px;
|
2023-07-12 13:59:51 +01:00
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: 500;
|
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;
|
|
|
|
font-size: 2.6rem;
|
|
|
|
font-weight: 700;
|
|
|
|
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;
|
|
|
|
gap: 24px;
|
|
|
|
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 {
|
|
|
|
margin-right: -6px;
|
|
|
|
margin-left: -6px;
|
|
|
|
}
|
|
|
|
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-search span {
|
|
|
|
display: none;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.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-10 08:44:09 +01:00
|
|
|
/* 5.1. Accent color */
|
|
|
|
|
|
|
|
.gh-navigation.has-accent-color {
|
|
|
|
background-color: var(--ghost-accent-color);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation.has-accent-color .gh-button {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #15171a;
|
|
|
|
}
|
|
|
|
|
2023-07-05 13:43:09 +01:00
|
|
|
/* 5.1. Navigation variants */
|
|
|
|
|
|
|
|
/*
|
|
|
|
======================================================================
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 992px) {
|
2023-07-13 04:30:18 +01:00
|
|
|
.gh-navigation.is-left-logo .gh-navigation-menu {
|
2023-07-05 13:43:09 +01:00
|
|
|
margin-right: 64px;
|
|
|
|
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;
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-column-start: 2;
|
|
|
|
min-height: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@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;
|
|
|
|
height: 56px;
|
|
|
|
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-07-05 13:43:09 +01:00
|
|
|
top: 136px;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-navigation.is-stacked .gh-navigation-actions .gh-search span {
|
|
|
|
display: inline;
|
|
|
|
}
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 5.2. Dropdown menu */
|
|
|
|
|
|
|
|
.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;
|
|
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 7px 20px -5px rgba(0, 0, 0, 0.15);
|
|
|
|
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;
|
|
|
|
padding: 6px 20px;
|
|
|
|
color: #15171a !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-dropdown-mega .gh-dropdown li a {
|
|
|
|
padding: 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 5.3. Burger icon */
|
|
|
|
|
|
|
|
.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-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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 5.4. Mobile menu */
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
#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 {
|
|
|
|
font-size: 2.6rem;
|
|
|
|
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%;
|
|
|
|
font-size: 1.8rem;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gh-navigation a[data-portal="signin"] {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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-07-10 05:17:54 +01:00
|
|
|
padding: var(--container-gap) 0 calc(var(--container-gap) + 8px);
|
2023-07-05 13:43:09 +01:00
|
|
|
background-color: var(--color-white);
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
/* Card */
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-card {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-link {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-07-12 11:50:08 +01:00
|
|
|
gap: 16px;
|
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 {
|
|
|
|
font-size: 2rem;
|
|
|
|
letter-spacing: -0.017em;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
margin-top: 8px;
|
2023-07-11 10:55:58 +01:00
|
|
|
max-width: 720px;
|
2023-07-12 11:50:08 +01:00
|
|
|
font-size: 1.5rem;
|
2023-07-11 10:55:58 +01:00
|
|
|
line-height: 1.45;
|
2023-07-12 11:50:08 +01:00
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
-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-07-11 10:55:58 +01:00
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: 500;
|
2023-07-13 04:30:18 +01:00
|
|
|
line-height: 1.5;
|
2023-07-11 10:55:58 +01:00
|
|
|
letter-spacing: -0.0025em;
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-meta:not(:empty) {
|
2023-07-13 04:30:18 +01:00
|
|
|
margin-top: 9px;
|
2023-07-10 07:03:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-card-author + .gh-card-date::before {
|
|
|
|
content: "—";
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2023-07-10 04:14:43 +01:00
|
|
|
/* 6. Header */
|
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
.gh-header {
|
|
|
|
position: relative;
|
2023-07-13 04:30:18 +01:00
|
|
|
margin-top: 20px;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header-image {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header-inner {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2023-07-10 04:14:43 +01:00
|
|
|
/* 6.1. Magazine layout */
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
gap: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-tag {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-title {
|
|
|
|
font-size: clamp(2rem, 2.73vw + 0.91rem, 4.4rem);
|
|
|
|
line-height: 1.05;
|
|
|
|
letter-spacing: -0.022em;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-excerpt {
|
|
|
|
margin-top: 10px;
|
|
|
|
font-size: 1.7rem;
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-meta:not(:empty) {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-07-10 04:14:43 +01:00
|
|
|
/* 6.2. Highlight layout */
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-header-inner {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 3fr 1fr;
|
2023-07-10 05:17:54 +01:00
|
|
|
gap: var(--grid-gap);
|
2023-07-10 04:14:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-card:first-child {
|
|
|
|
grid-row: span 3;
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-highlight .gh-card:first-child .gh-card-link {
|
2023-07-13 04:30:18 +01:00
|
|
|
gap: 24px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-card:first-child .gh-card-tag {
|
|
|
|
display: block;
|
2023-07-13 04:30:18 +01:00
|
|
|
margin-bottom: 10px;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-card:first-child .gh-card-title {
|
2023-07-13 04:30:18 +01:00
|
|
|
max-width: 840px;
|
|
|
|
font-size: clamp(3.2rem, 3.18vw + 1.93rem, 6rem);
|
|
|
|
line-height: 0.95;
|
|
|
|
letter-spacing: -0.03em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-card:first-child .gh-card-excerpt {
|
|
|
|
margin-top: 10px;
|
|
|
|
font-size: 1.7rem;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-card:first-child .gh-card-meta:not(:empty) {
|
|
|
|
margin-top: 14px;
|
|
|
|
}
|
|
|
|
|
2023-07-10 04:14:43 +01:00
|
|
|
.gh-header.is-highlight .gh-card:not(:first-child) .gh-card-excerpt {
|
|
|
|
display: none;
|
2023-07-10 04:58:34 +01:00
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-highlight .gh-card:first-child::after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-highlight .gh-card:not(:first-child) + .gh-card::before {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--grid-gap) / -2);
|
|
|
|
left: 0;
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
/* 6.3. Classic layout */
|
|
|
|
|
|
|
|
.gh-header.is-classic {
|
|
|
|
display: flex;
|
2023-07-12 11:50:08 +01:00
|
|
|
min-height: calc(100vh - 100px - 240px);
|
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-07-11 10:55:58 +01:00
|
|
|
max-width: 960px;
|
|
|
|
text-align: center;
|
2023-07-10 08:09:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic.has-image .gh-header-inner {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:55:58 +01:00
|
|
|
.gh-header.is-classic .gh-header-title {
|
2023-07-12 11:50:08 +01:00
|
|
|
font-size: clamp(3.2rem, 3.18vw + 1.93rem, 6rem);
|
2023-07-11 10:55:58 +01:00
|
|
|
line-height: 1.1;
|
|
|
|
letter-spacing: -0.022em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic .gh-header-form {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
2023-07-13 04:30:18 +01:00
|
|
|
overflow: hidden;
|
2023-07-11 10:55:58 +01:00
|
|
|
max-width: 640px;
|
|
|
|
width: 100%;
|
|
|
|
height: 64px;
|
|
|
|
font-size: 1.8rem;
|
2023-07-13 04:30:18 +01:00
|
|
|
letter-spacing: -0.01em;
|
2023-07-11 10:55:58 +01:00
|
|
|
border-radius: 40px;
|
|
|
|
background-color: var(--color-lighter-gray);
|
2023-07-13 04:30:18 +01:00
|
|
|
transition: background-color 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic .gh-header-form:hover {
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic .gh-header-input {
|
2023-07-13 04:30:18 +01:00
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
padding-inline: 28px;
|
2023-07-11 10:55:58 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-size: inherit;
|
|
|
|
letter-spacing: inherit;
|
|
|
|
border: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic button.gh-header-input {
|
2023-07-13 04:30:18 +01:00
|
|
|
padding-inline-start: 56px;
|
2023-07-11 10:55:58 +01:00
|
|
|
text-align: left;
|
|
|
|
color: var(--color-secondary-text);
|
2023-07-13 04:30:18 +01:00
|
|
|
cursor: pointer;
|
2023-07-11 10:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic .gh-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 6px;
|
|
|
|
padding-inline: 40px;
|
|
|
|
height: 52px;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-header.is-classic svg {
|
|
|
|
position: relative;
|
2023-07-13 04:30:18 +01:00
|
|
|
left: 22px;
|
2023-07-11 10:55:58 +01:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
color: var(--color-secondary-text);
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
/* 7. Featured posts */
|
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
.gh-featured {
|
|
|
|
margin-top: 64px;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-featured-title {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
.gh-featured-feed {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
gap: var(--grid-gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
width: 80px;
|
|
|
|
aspect-ratio: 1;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-featured-feed .gh-card-title {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
letter-spacing: -0.011em;
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
.gh-featured-feed .gh-card-excerpt {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-featured-feed .gh-card-meta:not(:empty) {
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0;
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-featured-feed .gh-card-date::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-featured-feed .gh-card + .gh-card::before {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc(var(--grid-gap) / -2);
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
/* 8. Container */
|
2023-07-10 04:58:34 +01:00
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
.gh-container {
|
|
|
|
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-10 06:31:23 +01:00
|
|
|
/* 8.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-10 06:31:23 +01:00
|
|
|
/* 8.2. Without sidebar */
|
2023-07-10 05:17:54 +01:00
|
|
|
|
|
|
|
.gh-container:not(.has-sidebar) .gh-main {
|
2023-07-10 04:58:34 +01:00
|
|
|
grid-column: 3 / span 12;
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
/* 9. Post list */
|
2023-07-10 04:58:34 +01:00
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-container-title {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
2023-07-10 05:17:54 +01:00
|
|
|
.gh-container .gh-feed {
|
|
|
|
gap: var(--grid-gap);
|
|
|
|
}
|
|
|
|
|
2023-07-10 06:31:23 +01:00
|
|
|
/* 9.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-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
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.is-list .gh-card-image {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 240px;
|
2023-07-13 04:30:18 +01:00
|
|
|
aspect-ratio: 1.618033;
|
2023-07-10 04:58:34 +01:00
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-container.is-list .gh-card-wrapper {
|
|
|
|
max-width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-container.is-list .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-07-10 06:31:23 +01:00
|
|
|
/* 9.2. Grid style */
|
2023-07-10 04:58:34 +01:00
|
|
|
|
|
|
|
.gh-container.is-grid .gh-feed {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
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
|
|
|
}
|
|
|
|
|
|
|
|
/* 9.3. No image */
|
|
|
|
|
|
|
|
.gh-container.is-list.no-image .gh-card-image {
|
|
|
|
display: none;
|
2023-07-10 07:12:45 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
/* 10. Sidebar */
|
|
|
|
|
|
|
|
.gh-about {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
padding: 48px 24px;
|
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-07-10 08:09:26 +01:00
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
|
2023-07-12 11:50:08 +01:00
|
|
|
.gh-about-title {
|
|
|
|
font-size: 2.4rem;
|
|
|
|
letter-spacing: -0.019em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-about-description {
|
|
|
|
margin-top: 12px;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-about .gh-button {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
2023-07-10 08:09:26 +01:00
|
|
|
/* 11. Footer */
|
2023-07-10 07:12:45 +01:00
|
|
|
|
|
|
|
.gh-footer {
|
2023-07-10 07:27:31 +01:00
|
|
|
margin-top: 80px;
|
2023-07-12 13:59: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 11.1 Accent color */
|
|
|
|
|
|
|
|
.gh-footer.has-accent-color {
|
|
|
|
background-color: var(--ghost-accent-color);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer.has-accent-color .gh-button {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #15171a;
|
2023-07-10 07:12:45 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
/* 11.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-07-13 04:30:18 +01:00
|
|
|
padding-block: 24px;
|
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-bar a {
|
2023-07-13 04:30:18 +01:00
|
|
|
font-weight: 500;
|
2023-07-12 13:59:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer-logo {
|
|
|
|
position: relative;
|
|
|
|
font-size: 2.6rem;
|
|
|
|
font-weight: 700;
|
|
|
|
letter-spacing: -0.015em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2023-07-10 07:12:45 +01:00
|
|
|
.gh-footer-menu .nav {
|
|
|
|
display: flex;
|
2023-07-13 04:30:18 +01:00
|
|
|
gap: 28px;
|
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-07-10 07:27:31 +01:00
|
|
|
}
|
|
|
|
|
2023-07-10 08:44:09 +01:00
|
|
|
/* 11.3. Footer signup */
|
2023-07-10 07:27:31 +01:00
|
|
|
|
|
|
|
.gh-footer-signup {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
padding-block: 100px;
|
2023-07-12 14:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer-signup-header {
|
2023-07-13 04:30:18 +01:00
|
|
|
font-size: clamp(3.2rem, 2.5vw + 2.2rem, 5.4rem);
|
|
|
|
letter-spacing: -0.03em;
|
2023-07-12 14:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer-signup-subhead {
|
2023-07-13 04:30:18 +01:00
|
|
|
margin-top: 4px;
|
|
|
|
font-size: clamp(1.6rem, 0.68vw + 1.33rem, 2.2rem);
|
|
|
|
letter-spacing: -0.018em;
|
|
|
|
opacity: 0.6;
|
2023-07-12 14:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-footer-signup .gh-button {
|
|
|
|
margin-top: 24px;
|
|
|
|
padding: 16px 40px;
|
|
|
|
font-size: 1.9rem;
|
2023-07-05 13:43:09 +01:00
|
|
|
}
|