1947 lines
35 KiB
CSS
1947 lines
35 KiB
CSS
@import url("../fonts/pretendard.css");
|
|
|
|
:root {
|
|
--bg: #fcfbf9;
|
|
--surface: #ffffff;
|
|
--surface-muted: #f7f4ef;
|
|
--surface-strong: #131313;
|
|
--text: #1b1918;
|
|
--text-soft: #6e6661;
|
|
--text-dim: #9a9087;
|
|
--border: #ece4d9;
|
|
--border-strong: #dfd4c8;
|
|
--accent: #f0632f;
|
|
--accent-strong: #d84d1d;
|
|
--shadow: 0 8px 24px rgba(20, 16, 12, 0.035);
|
|
--radius: 18px;
|
|
--radius-sm: 14px;
|
|
--sidebar-left: 287px;
|
|
--sidebar-right: 287px;
|
|
--content-column: 720px;
|
|
--content-measure: 680px;
|
|
--content-header: 720px;
|
|
--topbar-height: 62px;
|
|
--shell-width: calc(var(--sidebar-left) + var(--content-column) + var(--sidebar-right));
|
|
--font-sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
|
|
}
|
|
|
|
body.theme-dark {
|
|
--bg: #111111;
|
|
--surface: #131313;
|
|
--surface-muted: #1a1a1a;
|
|
--surface-strong: #f4f1ed;
|
|
--text: #f3efe9;
|
|
--text-soft: #ada59c;
|
|
--text-dim: #847b73;
|
|
--border: #272727;
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--gh-font-body, var(--font-sans));
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
.gh-content h1,
|
|
.gh-content h2,
|
|
.gh-content h3,
|
|
.gh-content h4,
|
|
.gh-content h5,
|
|
.gh-content h6 {
|
|
font-family: var(--gh-font-heading, var(--font-sans));
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
menu {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.site-shell {
|
|
display: grid;
|
|
grid-template-columns: var(--sidebar-left) minmax(0, 1fr) var(--sidebar-right);
|
|
min-height: calc(100vh - var(--topbar-height));
|
|
width: min(100%, var(--shell-width));
|
|
margin: 0 auto;
|
|
align-items: start;
|
|
transition: grid-template-columns 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.site-shell-wrap {
|
|
border-top: 1px solid var(--border);
|
|
background: var(--bg);
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.sidebar.sidebar--left,
|
|
.sidebar.sidebar--right {
|
|
position: sticky;
|
|
top: var(--topbar-height);
|
|
align-self: start;
|
|
height: calc(100vh - var(--topbar-height)) !important;
|
|
max-height: calc(100vh - var(--topbar-height));
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.sidebar,
|
|
.site-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar {
|
|
border-right: 1px solid var(--border);
|
|
background: var(--bg);
|
|
}
|
|
|
|
.sidebar--left {
|
|
overflow: hidden;
|
|
transition: opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.24s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.sidebar--right {
|
|
border-right: 0;
|
|
border-left: 1px solid var(--border);
|
|
}
|
|
|
|
.sidebar__inner {
|
|
position: sticky;
|
|
top: var(--topbar-height);
|
|
height: calc(100vh - var(--topbar-height));
|
|
padding: 0 16px 18px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.sidebar--left .sidebar__inner {
|
|
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
body.left-sidebar-collapsed .site-shell {
|
|
width: calc(var(--content-column) + var(--sidebar-right));
|
|
grid-template-columns: 0 minmax(0, var(--content-column)) var(--sidebar-right);
|
|
}
|
|
|
|
body.left-sidebar-collapsed .sidebar--left {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
border-right-color: transparent;
|
|
}
|
|
|
|
body.left-sidebar-collapsed .sidebar--left .sidebar__inner {
|
|
opacity: 0;
|
|
transform: translateX(-14px);
|
|
}
|
|
|
|
.sidebar__inner--right {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.brand__mark {
|
|
width: 15px;
|
|
height: 15px;
|
|
border: 2px solid currentColor;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.brand__logo {
|
|
max-height: 32px;
|
|
}
|
|
|
|
.brand--topbar {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.menu-groups {
|
|
display: block;
|
|
}
|
|
|
|
.menu-groups__list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.menu-group {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.menu-group--nav {
|
|
gap: 0;
|
|
}
|
|
|
|
.menu-group__trigger,
|
|
.menu-group__link {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 6px 0;
|
|
border: 0;
|
|
border-radius: 18px;
|
|
background: none;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
|
|
}
|
|
|
|
.menu-group__trigger {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.menu-group__link {
|
|
flex: 1 1 auto;
|
|
gap: 8px;
|
|
}
|
|
|
|
.menu-group__link:hover,
|
|
.menu-group__link--toggle:hover,
|
|
.menu-group__toggle:hover {
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.menu-group__link:hover,
|
|
.menu-group__link--toggle:hover {
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
.menu-group__toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.menu-group__panel {
|
|
will-change: height, opacity;
|
|
}
|
|
|
|
.menu-group__content > * {
|
|
padding: 3px 0 0;
|
|
}
|
|
|
|
.menu-group .nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
margin-left: 14px;
|
|
margin-top: 3px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.menu-group .nav li + li,
|
|
.link-list li + li {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.menu-group .nav a,
|
|
.link-list a {
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.menu-group .nav a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 10px 6px 0;
|
|
border-radius: 18px;
|
|
transition: background-color 0.22s ease, color 0.22s ease, padding 0.22s ease;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.menu-group .nav a::before {
|
|
content: "";
|
|
width: 4px;
|
|
height: 16px;
|
|
border-radius: 3px;
|
|
background: color-mix(in srgb, var(--border) 88%, #ffffff 12%);
|
|
flex: 0 0 auto;
|
|
transition: width 0.22s ease, height 0.22s ease, border-radius 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
|
|
}
|
|
|
|
.menu-group .nav a:hover,
|
|
.menu-sub-link:hover {
|
|
background: var(--surface-muted);
|
|
color: var(--text);
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
.menu-group .nav li:not(.nav-current) > a:hover::before {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: #cfc7be;
|
|
transform: translateX(1px);
|
|
}
|
|
|
|
.menu-group .nav .nav-current > a,
|
|
.menu-group .nav a.nav-current {
|
|
color: var(--text);
|
|
}
|
|
|
|
.menu-group .nav .nav-current > a::before,
|
|
.menu-group .nav a.nav-current::before {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.menu-group .nav .nav-current > a:hover::before,
|
|
.menu-group .nav a.nav-current:hover::before {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
transform: translateX(1px);
|
|
}
|
|
|
|
.link-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.menu-sub-link {
|
|
display: block;
|
|
padding: 6px 0 6px 16px;
|
|
border-radius: 18px;
|
|
transition: background-color 0.22s ease, color 0.22s ease, padding 0.22s ease;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.menu-link__marker {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
background: color-mix(in srgb, var(--border) 88%, #ffffff 12%);
|
|
transform-origin: center;
|
|
transition: width 0.22s ease, height 0.22s ease, border-radius 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
|
|
}
|
|
|
|
.menu-link__label {
|
|
font-size: 14px;
|
|
font-weight: 550;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.menu-group__trigger:hover .menu-link__label,
|
|
.menu-group__trigger[aria-expanded="true"] .menu-link__label,
|
|
.menu-group__link:hover .menu-link__label {
|
|
color: var(--text);
|
|
}
|
|
|
|
.menu-group__trigger:hover .menu-link__marker,
|
|
.menu-group__trigger[aria-expanded="true"] .menu-link__marker,
|
|
.menu-group__link:hover .menu-link__marker {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: #cfc7be;
|
|
transform: translateX(1px);
|
|
}
|
|
|
|
.menu-group__chevron {
|
|
color: var(--text-dim);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
transition: color 0.22s ease;
|
|
}
|
|
|
|
.menu-group__chevron-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.menu-group.is-open .menu-group__chevron {
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.menu-group__content--nav {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.sidebar-card {
|
|
padding: 18px 0 0;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.sidebar-card--tight {
|
|
padding-top: 14px;
|
|
}
|
|
|
|
.sidebar-card__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.sidebar-card__header h2 {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.sidebar-card__action {
|
|
color: var(--text-dim);
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sidebar-card--categories {
|
|
padding-top: 0;
|
|
border-top: 0;
|
|
}
|
|
|
|
.sidebar-card--categories .sidebar-card__trigger {
|
|
width: 100%;
|
|
padding-left: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
color: inherit;
|
|
}
|
|
|
|
.sidebar-card--categories .sidebar-card__chevron {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.sidebar-card--categories .sidebar-card__chevron-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.sidebar-card--categories .sidebar-card__content--categories {
|
|
padding: 0;
|
|
}
|
|
|
|
.category-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px 18px;
|
|
}
|
|
|
|
.category-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 8px 12px 8px 0;
|
|
border-radius: 14px;
|
|
transition: background-color 0.22s ease, color 0.2s ease, transform 0.2s ease;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.category-chip:hover {
|
|
background: var(--surface-muted);
|
|
transform: translateX(1px);
|
|
}
|
|
|
|
.author-list__item:hover,
|
|
.recommended-list a:hover {
|
|
background: transparent;
|
|
}
|
|
|
|
.category-chip__dot {
|
|
position: relative;
|
|
width: 14px;
|
|
height: 19px;
|
|
flex: 0 0 14px;
|
|
}
|
|
|
|
.category-chip__label {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-size: 12px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.category-chip__count {
|
|
flex: 0 0 auto;
|
|
min-width: 14px;
|
|
text-align: right;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.category-chip__dot::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
width: 5px;
|
|
height: 19px;
|
|
border-radius: 999px;
|
|
background: var(--tag-accent, linear-gradient(135deg, #5d66ff, #29b6f6));
|
|
transform: translateY(-50%);
|
|
transition: width 0.22s ease, height 0.22s ease, border-radius 0.22s ease, left 0.22s ease;
|
|
}
|
|
|
|
.category-chip:hover .category-chip__dot::before {
|
|
left: 2px;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.sidebar-card--categories .category-chip {
|
|
font-size: 12.8px;
|
|
font-weight: 500;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.sidebar-card--categories .category-chip:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.sidebar-card--categories .category-chip__dot {
|
|
position: static;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.sidebar-card--categories .category-chip__dot::before {
|
|
content: none;
|
|
}
|
|
|
|
.sidebar-card--categories .category-chip__label {
|
|
font-size: inherit;
|
|
}
|
|
|
|
.sidebar-card--categories .category-chip__count {
|
|
min-width: auto;
|
|
}
|
|
|
|
.author-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.author-list__item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 7px 8px;
|
|
border-radius: 12px;
|
|
transition: background-color 0.22s ease;
|
|
}
|
|
|
|
.author-list__item strong,
|
|
.author-list__item small {
|
|
display: block;
|
|
}
|
|
|
|
.author-list__body {
|
|
min-width: 0;
|
|
}
|
|
|
|
.author-list__item strong {
|
|
line-height: 1.3;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.author-list__item small {
|
|
color: var(--text-soft);
|
|
line-height: 1.25;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.sidebar-footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px 14px;
|
|
align-items: center;
|
|
margin-top: auto;
|
|
padding-top: 16px;
|
|
color: var(--text-soft);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
height: var(--topbar-height);
|
|
width: 100%;
|
|
background: color-mix(in srgb, var(--bg) 94%, transparent);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.topbar__inner {
|
|
display: grid;
|
|
grid-template-columns: var(--sidebar-left) minmax(0, var(--content-column)) var(--sidebar-right);
|
|
gap: 0;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: min(100%, var(--shell-width));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.topbar__brand,
|
|
.topbar__search,
|
|
.topbar__actions {
|
|
min-width: 0;
|
|
}
|
|
|
|
.topbar__brand {
|
|
padding: 0 16px;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.topbar__sidebar-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
padding: 0;
|
|
}
|
|
|
|
.topbar__sidebar-toggle:hover {
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.topbar__sidebar-toggle-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: block;
|
|
}
|
|
|
|
.topbar__sidebar-toggle-icon--close {
|
|
display: none;
|
|
}
|
|
|
|
body.left-sidebar-collapsed .topbar__sidebar-toggle-icon--open {
|
|
display: block;
|
|
}
|
|
|
|
body.left-sidebar-collapsed .topbar__sidebar-toggle-icon--close {
|
|
display: none;
|
|
}
|
|
|
|
body:not(.left-sidebar-collapsed) .topbar__sidebar-toggle-icon--open {
|
|
display: none;
|
|
}
|
|
|
|
body:not(.left-sidebar-collapsed) .topbar__sidebar-toggle-icon--close {
|
|
display: block;
|
|
}
|
|
|
|
.topbar__search {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 0 18px;
|
|
height: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.search-trigger,
|
|
.search-modal__input {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: min(100%, 320px);
|
|
padding: 10px 14px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.search-trigger {
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.search-trigger__icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.search-shortcut {
|
|
margin-left: auto;
|
|
padding: 1px 7px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.topbar__actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 0 16px;
|
|
height: 100%;
|
|
}
|
|
|
|
.button,
|
|
.gh-subscribe-form button {
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 10px 16px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: var(--surface-strong);
|
|
color: var(--bg);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.button--accent {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
}
|
|
|
|
.button--accent:hover {
|
|
background: var(--accent-strong);
|
|
}
|
|
|
|
.button--light {
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.button--subscribe {
|
|
padding-inline: 14px;
|
|
}
|
|
|
|
[data-featured-track]::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.icon-button {
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
background: var(--surface);
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.icon-button--profile span {
|
|
position: relative;
|
|
display: block;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.icon-button--profile span::before,
|
|
.icon-button--profile span::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border: 1.75px solid currentColor;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.icon-button--profile span::before {
|
|
top: 1px;
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
.icon-button--profile span::after {
|
|
bottom: 0;
|
|
width: 12px;
|
|
height: 8px;
|
|
}
|
|
|
|
.icon-button--search-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.icon-button--plain {
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.hero {
|
|
padding: 28px 0 18px;
|
|
text-align: center;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.home-hero__inner {
|
|
max-width: 720px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.home-hero__content {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 14px;
|
|
padding: 20px 18px 10px;
|
|
}
|
|
|
|
.hero__title {
|
|
max-width: 760px;
|
|
margin: 0;
|
|
font-size: clamp(1.85rem, 2.4vw, 2.55rem);
|
|
line-height: 1.12;
|
|
letter-spacing: -0.035em;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.hero__title em {
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero__description,
|
|
.section-description {
|
|
max-width: 520px;
|
|
margin: 0;
|
|
color: var(--text-soft);
|
|
font-size: 15px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.subscribe-form,
|
|
.gh-subscribe-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.gh-subscribe-form {
|
|
width: 100%;
|
|
}
|
|
|
|
.gh-subscribe-form .gh-subscribe-input,
|
|
.subscribe-form input {
|
|
min-width: 0;
|
|
flex: 1 1 180px;
|
|
padding: 12px 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
background: var(--surface);
|
|
color: inherit;
|
|
}
|
|
|
|
.subscribe-form--hero {
|
|
justify-content: center;
|
|
width: min(100%, 420px);
|
|
}
|
|
|
|
.subscribe-form--hero .gh-subscribe-form {
|
|
justify-content: center;
|
|
}
|
|
|
|
.subscribe-form--hero .gh-subscribe-input {
|
|
min-height: 44px;
|
|
border-radius: 12px;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.subscribe-form--hero button {
|
|
min-height: 44px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.stack-section {
|
|
padding: 18px 0 0;
|
|
}
|
|
|
|
.section-header {
|
|
padding-bottom: 18px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.section-header--author {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.section-title {
|
|
margin: 0 0 8px;
|
|
font-size: clamp(1.7rem, 2vw, 2.15rem);
|
|
line-height: 1.12;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.author-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.tab-row-wrap {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.tab-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tab-row__button {
|
|
padding: 9px 14px;
|
|
border: 0;
|
|
border-radius: 14px;
|
|
background: transparent;
|
|
color: var(--text-soft);
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: background-color 0.22s ease, color 0.22s ease;
|
|
}
|
|
|
|
.tab-row__button:hover {
|
|
background: var(--surface-muted);
|
|
color: var(--text);
|
|
}
|
|
|
|
.tab-row__button.is-active {
|
|
color: var(--text);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.view-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background: var(--surface);
|
|
color: var(--text-soft);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.view-toggle__grid {
|
|
position: relative;
|
|
display: block;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.view-toggle__grid::before,
|
|
.view-toggle__grid::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
width: 14px;
|
|
height: 2px;
|
|
background: currentColor;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.view-toggle__grid::before {
|
|
top: 3px;
|
|
box-shadow: 0 6px 0 currentColor;
|
|
}
|
|
|
|
.view-toggle__grid::after {
|
|
top: 0;
|
|
left: 0;
|
|
width: 2px;
|
|
height: 14px;
|
|
box-shadow: 6px 0 0 currentColor;
|
|
}
|
|
|
|
.view-toggle__chevron {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.tab-panel {
|
|
display: none;
|
|
}
|
|
|
|
.tab-panel.is-active {
|
|
display: block;
|
|
}
|
|
|
|
.post-list {
|
|
display: grid;
|
|
}
|
|
|
|
.post-card {
|
|
position: relative;
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 18px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
align-items: stretch;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.post-card__media {
|
|
flex: 1 1 34%;
|
|
min-width: 84px;
|
|
max-width: 168px;
|
|
}
|
|
|
|
.post-card__figure {
|
|
display: block;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.post-card__media img,
|
|
.post-card__media-fallback {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: cover;
|
|
background: var(--surface-muted);
|
|
border-radius: inherit;
|
|
transition: opacity 0.22s ease;
|
|
}
|
|
|
|
.post-card__media:hover img {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.post-card__media-fallback {
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 8px;
|
|
color: var(--text-soft);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.post-card__content {
|
|
position: relative;
|
|
flex: 1 1 0%;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.post-card__content h2 {
|
|
margin: 0 0 6px;
|
|
font-size: 15px;
|
|
line-height: 1.32;
|
|
letter-spacing: -0.015em;
|
|
max-width: calc(100% - 28px);
|
|
}
|
|
|
|
.post-card__content h2 a {
|
|
display: inline-flex;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
}
|
|
|
|
.post-card__content h2 a:hover {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.post-card__featured-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: 2px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.post-card__content p {
|
|
margin: 0 0 8px;
|
|
color: var(--text-soft);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.post-card__meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
color: var(--text-soft);
|
|
font-size: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.meta-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 6px;
|
|
background: color-mix(in srgb, var(--tag-accent, var(--surface-muted)) 12%, var(--surface));
|
|
color: var(--text);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.meta-pill:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.meta-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.meta-item:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.meta-divider {
|
|
color: var(--border-strong);
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.meta-item__icon {
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.meta-item__icon--image {
|
|
width: 14px;
|
|
height: 14px;
|
|
flex: 0 0 auto;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.meta-item--access {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.post-card__share {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
opacity: 0.72;
|
|
transition: opacity 0.22s ease;
|
|
}
|
|
|
|
.post-card__share:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.post-card__share-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.category-overview {
|
|
display: grid;
|
|
}
|
|
|
|
.category-overview__row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
|
|
gap: 24px;
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
position: relative;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.category-overview__row::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 20px;
|
|
bottom: 20px;
|
|
width: 3px;
|
|
border-radius: 999px;
|
|
background: var(--tag-accent, var(--accent));
|
|
}
|
|
|
|
.category-overview__row h2 {
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.category-overview__row p {
|
|
margin: 0 0 14px;
|
|
color: var(--text-soft);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.category-overview__row ol {
|
|
margin: 0;
|
|
padding-left: 0;
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.category-overview__link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--text-soft);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.category-overview__posts a {
|
|
display: block;
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.category-overview__posts a::before {
|
|
content: attr(data-number);
|
|
color: var(--text);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.category-overview__posts a:hover,
|
|
.category-overview__link:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.site-icon,
|
|
.site-icon--fallback {
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 16px;
|
|
object-fit: cover;
|
|
background: var(--surface-strong);
|
|
color: var(--bg);
|
|
display: grid;
|
|
place-items: center;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.site-intro {
|
|
display: grid;
|
|
grid-template-columns: 54px minmax(0, 1fr);
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding-top: 18px;
|
|
padding-bottom: 18px;
|
|
}
|
|
|
|
.about-block h2,
|
|
.author-feature h3 {
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.about-block p,
|
|
.author-feature p,
|
|
.copyright {
|
|
margin: 0;
|
|
color: var(--text-soft);
|
|
line-height: 1.48;
|
|
}
|
|
|
|
.social-row {
|
|
display: flex;
|
|
gap: 14px;
|
|
}
|
|
|
|
.social-row a {
|
|
color: var(--text-soft);
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.social-row a:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.recommended-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.recommended-list a {
|
|
display: block;
|
|
padding: 5px 0;
|
|
border-radius: 10px;
|
|
line-height: 1.45;
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.recommended-list li {
|
|
position: relative;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.recommended-list li::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 11px;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 999px;
|
|
background: var(--surface-strong);
|
|
}
|
|
|
|
.author-feature {
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 18px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.author-feature--top {
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.author-feature__body {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.author-feature__body h3 {
|
|
font-size: 14px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.author-feature__body p {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.author-feature__action {
|
|
color: var(--text-dim);
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.avatar,
|
|
.avatar--fallback {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 999px;
|
|
object-fit: cover;
|
|
background: linear-gradient(135deg, #ff8a65, #ffb74d);
|
|
color: #fff;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.avatar--large {
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
.post-article {
|
|
max-width: var(--content-header);
|
|
margin: 0 auto 3rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.post-header {
|
|
display: grid;
|
|
gap: 14px;
|
|
padding-top: 8px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.post-header__inner,
|
|
.post-body {
|
|
max-width: var(--content-measure);
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.post-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
color: var(--accent);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.post-title {
|
|
margin: 0;
|
|
font-size: clamp(2rem, 3vw, 2.8rem);
|
|
line-height: 1.05;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.post-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
color: var(--text-soft);
|
|
font-size: 13px;
|
|
align-items: center;
|
|
}
|
|
|
|
.post-feature-image img {
|
|
width: 100%;
|
|
border-radius: 14px;
|
|
aspect-ratio: 16 / 9;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.post-body {
|
|
padding-top: 22px;
|
|
}
|
|
|
|
.kg-content {
|
|
font-size: 1.02rem;
|
|
line-height: 1.88;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kg-content a {
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.12em;
|
|
}
|
|
|
|
.kg-content p,
|
|
.kg-content ul,
|
|
.kg-content ol {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.kg-content > * + * {
|
|
margin-top: 1.2em;
|
|
}
|
|
|
|
.kg-content .kg-width-wide {
|
|
position: relative;
|
|
width: min(100vw - 48px, 680px);
|
|
max-width: none;
|
|
margin-left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.kg-content .kg-width-full {
|
|
position: relative;
|
|
width: 100vw;
|
|
max-width: none;
|
|
margin-left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.kg-content .kg-width-full img,
|
|
.kg-content .kg-width-wide img {
|
|
width: 100%;
|
|
}
|
|
|
|
.page-template .kg-content > .kg-width-full:first-child,
|
|
.page-template .kg-content > .kg-width-wide:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.page-template .kg-content > .kg-width-full:last-child,
|
|
.page-template .kg-content > .kg-width-wide:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.kg-content .kg-width-full + .kg-width-full:not(.kg-card-hascaption),
|
|
.kg-content .kg-width-wide + .kg-width-wide:not(.kg-card-hascaption),
|
|
.kg-content .kg-width-full + .kg-width-wide:not(.kg-card-hascaption),
|
|
.kg-content .kg-width-wide + .kg-width-full:not(.kg-card-hascaption) {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.kg-content blockquote {
|
|
margin: 1.4em 0;
|
|
padding: 1em 1.1em;
|
|
border-left: 4px solid var(--accent);
|
|
background: color-mix(in srgb, var(--accent) 10%, var(--surface));
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.membership-cta,
|
|
.comments-empty {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 12px;
|
|
padding: 36px 24px;
|
|
margin-top: 28px;
|
|
background: var(--surface-strong);
|
|
color: var(--bg);
|
|
border-radius: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.comments-empty {
|
|
background: var(--surface-muted);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.author-inline-card,
|
|
.discussion-panel,
|
|
.post-navigation {
|
|
max-width: var(--content-measure);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.author-inline-card {
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: center;
|
|
padding-top: 18px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.discussion-panel {
|
|
margin-top: 24px;
|
|
padding-top: 18px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.discussion-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.discussion-header h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.post-navigation {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding: 24px 0;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.post-navigation__link {
|
|
display: block;
|
|
flex: 1 1 0;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.post-navigation__link small {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
color: var(--text-soft);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.post-navigation__link--next {
|
|
text-align: right;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.pagination__link {
|
|
padding: 10px 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.pagination__status {
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.pagination--load-more {
|
|
justify-content: center;
|
|
padding-top: 28px;
|
|
}
|
|
|
|
.pagination__load-more {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 96px;
|
|
min-height: 34px;
|
|
padding: 8px 16px;
|
|
border: 1px solid #2f2f2f;
|
|
border-radius: 8px;
|
|
background: linear-gradient(180deg, #4a4a4a 0%, #242424 100%);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.pagination__load-more:hover {
|
|
transform: translateY(-1px);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.pagination__load-more:disabled {
|
|
opacity: 0.7;
|
|
cursor: wait;
|
|
}
|
|
|
|
.search-modal[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.search-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
}
|
|
|
|
.search-modal__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(10, 10, 10, 0.42);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.search-modal__panel {
|
|
position: relative;
|
|
width: min(100%, 720px);
|
|
margin: 56px auto;
|
|
padding: 0 18px;
|
|
}
|
|
|
|
.search-modal__input input {
|
|
flex: 1;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
.search-modal__body {
|
|
margin-top: 14px;
|
|
padding: 18px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 18px;
|
|
box-shadow: var(--shadow);
|
|
max-height: 70vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
.search-modal__hint,
|
|
.search-empty {
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.search-result {
|
|
display: block;
|
|
padding: 10px 4px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.search-result:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.topbar {
|
|
grid-template-columns: 1fr;
|
|
padding: 0 14px;
|
|
border-left: 0;
|
|
border-right: 0;
|
|
}
|
|
|
|
.topbar__brand,
|
|
.topbar__actions,
|
|
.topbar__search {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.topbar__brand {
|
|
grid-row: 1;
|
|
}
|
|
|
|
.topbar__search {
|
|
display: none;
|
|
}
|
|
|
|
.topbar__actions {
|
|
position: absolute;
|
|
right: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
gap: 8px;
|
|
}
|
|
|
|
.topbar__actions .button--accent {
|
|
padding-inline: 12px;
|
|
}
|
|
|
|
.icon-button--search-mobile {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.site-shell {
|
|
width: min(100%, calc(var(--content-column) + var(--sidebar-right)));
|
|
grid-template-columns: minmax(0, 1fr) var(--sidebar-right);
|
|
border-left: 0;
|
|
border-right: 0;
|
|
}
|
|
|
|
.sidebar--left {
|
|
position: fixed;
|
|
top: var(--topbar-height);
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 40;
|
|
width: var(--sidebar-left);
|
|
border-right: 1px solid var(--border);
|
|
transform: translateX(-100%);
|
|
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
|
|
box-shadow: 0 20px 40px rgba(20, 16, 12, 0.08);
|
|
}
|
|
|
|
body.left-sidebar-open .sidebar--left {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.left-sidebar-backdrop {
|
|
position: fixed;
|
|
inset: var(--topbar-height) 0 0;
|
|
z-index: 35;
|
|
background: rgba(17, 17, 17, 0.22);
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.content-area {
|
|
padding-inline: 14px;
|
|
}
|
|
|
|
.hero {
|
|
padding-inline: 0;
|
|
}
|
|
|
|
.post-article {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.post-header__inner,
|
|
.post-body {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.post-header {
|
|
gap: 12px;
|
|
padding-top: 2px;
|
|
padding-bottom: 18px;
|
|
}
|
|
|
|
.post-body {
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.category-overview__row {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.tab-row-wrap {
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.site-shell {
|
|
width: 100%;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar--right {
|
|
display: block;
|
|
border-left: 0;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.sidebar__inner--right {
|
|
position: static;
|
|
height: auto;
|
|
padding-top: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.topbar {
|
|
padding-inline: 16px;
|
|
height: 60px;
|
|
}
|
|
|
|
.button--accent {
|
|
padding-inline: 12px;
|
|
min-height: 38px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.topbar__actions .icon-button--profile {
|
|
width: 34px;
|
|
height: 34px;
|
|
}
|
|
|
|
.search-shortcut {
|
|
display: none;
|
|
}
|
|
|
|
.search-trigger {
|
|
width: min(100%, 100%);
|
|
}
|
|
|
|
.post-card {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.post-card__media img,
|
|
.post-card__media-fallback {
|
|
width: 100%;
|
|
height: 180px;
|
|
aspect-ratio: auto;
|
|
}
|
|
|
|
.post-card__media {
|
|
max-width: none;
|
|
}
|
|
|
|
.post-navigation {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.post-navigation__link--next {
|
|
text-align: left;
|
|
}
|
|
|
|
.hero__title {
|
|
font-size: 1.95rem;
|
|
}
|
|
|
|
.post-title {
|
|
font-size: 1.95rem;
|
|
line-height: 1.08;
|
|
}
|
|
|
|
.post-feature-image img {
|
|
border-radius: 12px;
|
|
aspect-ratio: 4 / 3;
|
|
}
|
|
|
|
.tab-row-wrap {
|
|
gap: 10px;
|
|
}
|
|
|
|
.tab-row {
|
|
width: 100%;
|
|
}
|
|
|
|
.view-toggle {
|
|
padding: 8px;
|
|
}
|
|
|
|
.post-meta {
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.meta-divider {
|
|
font-size: 11px;
|
|
}
|
|
}
|