3331 lines
65 KiB
CSS
3331 lines
65 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #f7f5ef;
|
|
--surface: #fffdf8;
|
|
--text: #20242a;
|
|
--muted: #686f78;
|
|
--line: #ded8cc;
|
|
--accent: #0f766e;
|
|
--accent-strong: #14532d;
|
|
--shadow: 0 14px 45px rgba(58, 51, 38, 0.1);
|
|
--page-gutter: clamp(20px, 4vw, 64px);
|
|
--wide-width: 1440px;
|
|
--content-width: 1280px;
|
|
--article-width: 1080px;
|
|
--narrow-width: 1000px;
|
|
}
|
|
|
|
:root[data-theme='dark'] {
|
|
color-scheme: dark;
|
|
--bg: #0f171a;
|
|
--surface: #162225;
|
|
--text: #e9f0ee;
|
|
--muted: #a7b4b1;
|
|
--line: rgba(174, 205, 197, 0.18);
|
|
--accent: #72ded2;
|
|
--accent-strong: #9af0d6;
|
|
--shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-family:
|
|
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
"Microsoft YaHei", sans-serif;
|
|
line-height: 1.75;
|
|
background:
|
|
linear-gradient(rgba(247, 245, 239, 0.86), rgba(247, 245, 239, 0.95)),
|
|
url('/images/background.png') center top / cover fixed;
|
|
transition:
|
|
color 0.22s ease,
|
|
background-color 0.22s ease;
|
|
}
|
|
|
|
:root[data-theme='dark'] body {
|
|
background:
|
|
linear-gradient(rgba(8, 13, 16, 0.86), rgba(10, 17, 20, 0.94)),
|
|
url('/images/background.png') center top / cover fixed;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.site-header {
|
|
position: sticky;
|
|
top: 12px;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nav {
|
|
position: relative;
|
|
width: min(var(--wide-width), calc(100% - (var(--page-gutter) * 2)));
|
|
min-height: 58px;
|
|
margin: 0 auto;
|
|
padding: 0 18px;
|
|
display: grid;
|
|
grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
|
|
align-items: center;
|
|
gap: 24px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.56);
|
|
border-radius: 999px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.2)),
|
|
rgba(255, 255, 255, 0.28);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.82),
|
|
inset 0 -18px 38px rgba(255, 255, 255, 0.16),
|
|
0 18px 54px rgba(44, 55, 63, 0.18);
|
|
backdrop-filter: blur(22px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(22px) saturate(180%);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.nav::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 30%),
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 38%, rgba(255, 255, 255, 0.22));
|
|
opacity: 0.74;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nav::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 7px;
|
|
right: 16px;
|
|
left: 16px;
|
|
height: 1px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.78);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.brand {
|
|
position: relative;
|
|
z-index: 1;
|
|
font-size: 1.05rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: contents;
|
|
}
|
|
|
|
.nav-menu-toggle {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: none;
|
|
width: 40px;
|
|
height: 40px;
|
|
place-items: center;
|
|
border: 1px solid transparent;
|
|
border-radius: 999px;
|
|
color: var(--muted);
|
|
font: inherit;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
box-shadow 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.nav-menu-close {
|
|
display: none;
|
|
}
|
|
|
|
.nav-links {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--muted);
|
|
font-size: 0.94rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.nav-links a,
|
|
.nav-random,
|
|
.nav-search,
|
|
.theme-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
border: 1px solid transparent;
|
|
border-radius: 999px;
|
|
padding: 7px 12px;
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
box-shadow 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.nav-search,
|
|
.nav-random,
|
|
.theme-toggle {
|
|
color: inherit;
|
|
font: inherit;
|
|
line-height: inherit;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-icon {
|
|
display: inline-grid;
|
|
width: 16px;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
place-items: center;
|
|
font-size: 0.95em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.theme-toggle {
|
|
justify-content: center;
|
|
width: 38px;
|
|
min-height: 38px;
|
|
padding: 0;
|
|
}
|
|
|
|
:root:not([data-theme='dark']) .theme-toggle-sun,
|
|
:root[data-theme='dark'] .theme-toggle-moon {
|
|
display: none;
|
|
}
|
|
|
|
.nav-links a:hover,
|
|
.nav-random:hover,
|
|
.nav-search:hover,
|
|
.theme-toggle:hover,
|
|
.site-footer a:hover,
|
|
.section-heading a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.nav-links a:hover,
|
|
.nav-random:hover,
|
|
.nav-search:hover,
|
|
.theme-toggle:hover,
|
|
.nav-menu-toggle:hover {
|
|
border-color: rgba(255, 255, 255, 0.62);
|
|
background: rgba(255, 255, 255, 0.38);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.72),
|
|
0 8px 18px rgba(15, 118, 110, 0.1);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
:root[data-theme='dark'] .nav {
|
|
border-color: rgba(174, 205, 197, 0.2);
|
|
background:
|
|
linear-gradient(135deg, rgba(29, 47, 51, 0.78), rgba(14, 23, 27, 0.54)),
|
|
rgba(12, 19, 22, 0.62);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
|
inset 0 -18px 38px rgba(0, 0, 0, 0.18),
|
|
0 18px 54px rgba(0, 0, 0, 0.34);
|
|
}
|
|
|
|
:root[data-theme='dark'] .nav::before {
|
|
background:
|
|
radial-gradient(circle at 18% 0%, rgba(114, 222, 210, 0.18), transparent 32%),
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(114, 222, 210, 0.1));
|
|
}
|
|
|
|
:root[data-theme='dark'] .nav::after {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
:root[data-theme='dark'] .nav-links a:hover,
|
|
:root[data-theme='dark'] .nav-random:hover,
|
|
:root[data-theme='dark'] .nav-search:hover,
|
|
:root[data-theme='dark'] .theme-toggle:hover,
|
|
:root[data-theme='dark'] .nav-menu-toggle:hover {
|
|
border-color: rgba(114, 222, 210, 0.26);
|
|
background: rgba(114, 222, 210, 0.12);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
|
0 8px 18px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.hero {
|
|
width: min(var(--wide-width), calc(100% - (var(--page-gutter) * 2)));
|
|
min-height: 360px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
align-items: center;
|
|
}
|
|
|
|
.compact-hero {
|
|
min-height: 260px;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0;
|
|
font-size: clamp(3rem, 8vw, 6.5rem);
|
|
line-height: 0.95;
|
|
}
|
|
|
|
.hero p {
|
|
max-width: 620px;
|
|
margin: 18px 0 0;
|
|
color: var(--muted);
|
|
font-size: 1.12rem;
|
|
}
|
|
|
|
.home-hero {
|
|
grid-template-columns: minmax(320px, 0.74fr) minmax(360px, 1fr);
|
|
gap: clamp(28px, 6vw, 84px);
|
|
}
|
|
|
|
.hero-copy {
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-talk {
|
|
align-self: center;
|
|
width: 100%;
|
|
max-width: 820px;
|
|
min-height: 190px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.52);
|
|
border-radius: 8px;
|
|
padding: 18px 18px 16px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(241, 250, 244, 0.16)),
|
|
rgba(255, 255, 255, 0.18);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.58),
|
|
0 18px 46px rgba(44, 55, 63, 0.12);
|
|
backdrop-filter: blur(10px) saturate(135%);
|
|
-webkit-backdrop-filter: blur(10px) saturate(135%);
|
|
}
|
|
|
|
.hero-talk-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
color: var(--accent-strong);
|
|
font-size: 0.86rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero-talk-head a {
|
|
display: grid;
|
|
width: 34px;
|
|
height: 34px;
|
|
place-items: center;
|
|
border: 1px solid rgba(15, 118, 110, 0.16);
|
|
border-radius: 999px;
|
|
color: var(--accent);
|
|
background: rgba(236, 253, 245, 0.54);
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.hero-talk-head a:hover {
|
|
color: #fff;
|
|
background: #3eb8be;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.hero-talk .talk-list {
|
|
display: grid;
|
|
height: 120px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.hero-talk .talk-list:empty::before {
|
|
content: "说说加载中...";
|
|
display: grid;
|
|
min-height: 58px;
|
|
align-items: center;
|
|
color: var(--muted);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.hero-talk .item {
|
|
display: flex;
|
|
min-height: 40px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border-top: 1px dashed rgba(104, 111, 120, 0.22);
|
|
padding: 9px 2px;
|
|
color: #40505a;
|
|
font-size: 0.96rem;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.hero-talk .item:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.hero-talk .item::before {
|
|
content: "";
|
|
width: 7px;
|
|
height: 7px;
|
|
flex: 0 0 auto;
|
|
border-radius: 999px;
|
|
background: #3eb8be;
|
|
box-shadow: 0 0 0 4px rgba(62, 184, 190, 0.14);
|
|
}
|
|
|
|
.hero-talk .item i {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 16px !important;
|
|
color: var(--accent-strong) !important;
|
|
font-size: 0.95rem !important;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.content-wrap {
|
|
width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2)));
|
|
margin: 0 auto 72px;
|
|
}
|
|
|
|
.content-wrap.narrow {
|
|
width: min(var(--narrow-width), calc(100% - (var(--page-gutter) * 2)));
|
|
}
|
|
|
|
.page-header-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin: 40px 0 26px;
|
|
border: 1px solid rgba(255, 255, 255, 0.58);
|
|
border-radius: 8px;
|
|
padding: clamp(26px, 5vw, 44px);
|
|
background:
|
|
radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.78), transparent 36%),
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(238, 250, 243, 0.36)),
|
|
rgba(255, 253, 248, 0.72);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.82),
|
|
0 18px 48px rgba(58, 51, 38, 0.12);
|
|
backdrop-filter: blur(18px) saturate(165%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(165%);
|
|
}
|
|
|
|
.page-header-card::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 18px;
|
|
left: 18px;
|
|
height: 1px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.76);
|
|
}
|
|
|
|
.page-header-eyebrow {
|
|
margin: 0 0 8px;
|
|
color: var(--accent);
|
|
font-size: 0.86rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.page-header-card h1,
|
|
.content-wrap .page-header-card h1 {
|
|
margin: 0;
|
|
color: #20242a;
|
|
font-size: clamp(2rem, 5vw, 3.6rem);
|
|
line-height: 1.08;
|
|
}
|
|
|
|
.page-header-subtitle {
|
|
max-width: 620px;
|
|
margin: 12px 0 0;
|
|
color: var(--muted);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.page-with-card {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.page-article {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.post-layout {
|
|
width: min(var(--wide-width), calc(100% - (var(--page-gutter) * 2)));
|
|
margin: 40px auto 84px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 320px;
|
|
align-items: start;
|
|
gap: 28px;
|
|
}
|
|
|
|
.post-layout .article {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.home-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 320px;
|
|
align-items: start;
|
|
gap: 24px;
|
|
}
|
|
|
|
.home-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.section-heading h2,
|
|
.content-wrap h1 {
|
|
margin: 0;
|
|
font-size: 1.8rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.section-heading a {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.post-list {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.post-card {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 22px;
|
|
background: rgba(255, 253, 248, 0.88);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.post-card h2 {
|
|
margin: 6px 0 8px;
|
|
font-size: 1.35rem;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.post-card p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.home-sidebar {
|
|
align-self: stretch;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 20px;
|
|
}
|
|
|
|
.sticky-sidebar {
|
|
position: sticky;
|
|
top: 84px;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 20px;
|
|
}
|
|
|
|
.sidebar-card {
|
|
overflow: hidden;
|
|
border: 1px solid rgba(222, 216, 204, 0.72);
|
|
border-radius: 8px;
|
|
padding: 18px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(242, 251, 237, 0.78)),
|
|
rgba(255, 253, 248, 0.76);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.sidebar-card h2 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0 0 14px;
|
|
color: #4d5258;
|
|
font-size: 1.08rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.sidebar-card h2 em {
|
|
margin-left: auto;
|
|
min-width: 28px;
|
|
border-radius: 999px;
|
|
padding: 2px 8px;
|
|
color: #6d9cc2;
|
|
font-size: 0.78rem;
|
|
font-style: normal;
|
|
text-align: center;
|
|
background: rgba(102, 200, 245, 0.18);
|
|
}
|
|
|
|
.profile-card {
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-avatar {
|
|
width: 112px;
|
|
height: 112px;
|
|
margin: 0 auto 14px;
|
|
border-radius: 999px;
|
|
object-fit: cover;
|
|
box-shadow: 0 12px 30px rgba(15, 118, 110, 0.18);
|
|
}
|
|
|
|
.profile-name {
|
|
margin-bottom: 16px;
|
|
font-family: Georgia, "Times New Roman", serif;
|
|
color: #585b5e;
|
|
font-size: 1.9rem;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.profile-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.profile-stats a {
|
|
display: grid;
|
|
gap: 3px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.profile-stats strong {
|
|
color: #2f4358;
|
|
font-size: 1.22rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-stats a:first-child strong,
|
|
.notice-card strong,
|
|
.schedule-left span,
|
|
.calendar-summary span {
|
|
color: #66c8f5;
|
|
}
|
|
|
|
.follow-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
min-height: 44px;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
background: #3eb8be;
|
|
transition:
|
|
transform 0.2s ease,
|
|
background-color 0.2s ease;
|
|
}
|
|
|
|
.follow-button:hover {
|
|
color: #fff;
|
|
transform: translateY(-1px);
|
|
background: #279fa5;
|
|
}
|
|
|
|
.github-mark {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.profile-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 18px;
|
|
margin-top: 16px;
|
|
color: #3f5368;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.notice-card p {
|
|
margin: 0.65em 0;
|
|
color: #596068;
|
|
line-height: 1.9;
|
|
}
|
|
|
|
.site-info-card h2 i {
|
|
width: 18px;
|
|
color: #3eb8be;
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.site-info-list {
|
|
display: grid;
|
|
margin: 0;
|
|
}
|
|
|
|
.site-info-list div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
border-top: 1px dashed rgba(104, 111, 120, 0.2);
|
|
padding: 9px 0;
|
|
}
|
|
|
|
.site-info-list div:first-child {
|
|
border-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.site-info-list div:last-child {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.site-info-list dt,
|
|
.site-info-list dd {
|
|
margin: 0;
|
|
}
|
|
|
|
.site-info-list dt {
|
|
color: #68717a;
|
|
font-size: 0.92rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.site-info-list dd {
|
|
min-width: 0;
|
|
color: #1aa8f6;
|
|
font-size: 0.98rem;
|
|
font-weight: 800;
|
|
line-height: 1.3;
|
|
text-align: right;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
#welcome-info,
|
|
#welcome-ip-location-info {
|
|
margin: 0.65em 0;
|
|
overflow-wrap: anywhere;
|
|
color: #596068;
|
|
line-height: 1.9;
|
|
--kouseki-welcome-color: #66c8f5;
|
|
--kouseki-ip-color: #66c8f5;
|
|
--kouseki-gl-size: 16px;
|
|
}
|
|
|
|
#welcome-info b span.ip-mask,
|
|
#welcome-ip-location-info b span.ip-mask {
|
|
display: inline-block;
|
|
filter: blur(6px);
|
|
transition: filter 0.3s ease;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
#welcome-info b span.ip-mask:hover,
|
|
#welcome-info b span.ip-mask:active,
|
|
#welcome-ip-location-info b span.ip-mask:hover,
|
|
#welcome-ip-location-info b span.ip-mask:active {
|
|
filter: blur(0);
|
|
}
|
|
|
|
.calendar-widget,
|
|
.schedule-widget {
|
|
display: grid;
|
|
grid-template-columns: 0.9fr 1.1fr;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.calendar-summary,
|
|
.schedule-left {
|
|
display: grid;
|
|
gap: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.calendar-summary strong,
|
|
.schedule-left strong {
|
|
color: #4b5560;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.calendar-summary span,
|
|
.schedule-left span {
|
|
font-size: 2.25rem;
|
|
line-height: 1.1;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.calendar-summary small,
|
|
.schedule-left small {
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.calendar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 4px 7px;
|
|
color: #8aa6be;
|
|
text-align: center;
|
|
}
|
|
|
|
.calendar-grid span {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 22px;
|
|
padding: 0;
|
|
border: 1px solid transparent;
|
|
border-radius: 999px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.calendar-grid b {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.calendar-grid .muted {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.calendar-grid .today {
|
|
color: #fff;
|
|
background: #66c8f5;
|
|
border-color: #66c8f5;
|
|
}
|
|
|
|
.schedule-bars {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.schedule-row {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(52px, 1fr) 74px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.schedule-row progress {
|
|
width: 100%;
|
|
height: 10px;
|
|
overflow: hidden;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: rgba(102, 200, 245, 0.16);
|
|
}
|
|
|
|
.schedule-row progress::-webkit-progress-bar {
|
|
border-radius: 999px;
|
|
background: rgba(102, 200, 245, 0.16);
|
|
}
|
|
|
|
.schedule-row progress::-webkit-progress-value {
|
|
border-radius: 999px;
|
|
background: linear-gradient(90deg, #5ec7f4, #42d4c4);
|
|
}
|
|
|
|
.schedule-row progress::-moz-progress-bar {
|
|
border-radius: 999px;
|
|
background: linear-gradient(90deg, #5ec7f4, #42d4c4);
|
|
}
|
|
|
|
.schedule-row em {
|
|
min-width: 0;
|
|
font-style: normal;
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sidebar-posts {
|
|
display: grid;
|
|
}
|
|
|
|
.sidebar-post {
|
|
display: grid;
|
|
grid-template-columns: 70px minmax(0, 1fr);
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px 0;
|
|
border-top: 1px dashed rgba(104, 111, 120, 0.28);
|
|
}
|
|
|
|
.sidebar-post:first-child {
|
|
border-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.sidebar-post img,
|
|
.post-thumb-fallback {
|
|
width: 70px;
|
|
aspect-ratio: 1;
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
background: linear-gradient(135deg, rgba(62, 184, 190, 0.32), rgba(102, 200, 245, 0.34));
|
|
}
|
|
|
|
.sidebar-post strong {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
color: #4d5258;
|
|
font-size: 0.94rem;
|
|
font-weight: 500;
|
|
line-height: 1.45;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.sidebar-post time {
|
|
display: block;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.article-sidebar {
|
|
align-self: stretch;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 20px;
|
|
}
|
|
|
|
.article-sticky-sidebar {
|
|
position: sticky;
|
|
top: 90px;
|
|
display: grid;
|
|
max-height: calc(100vh - 110px);
|
|
align-content: start;
|
|
gap: 20px;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.article-author-card {
|
|
text-align: center;
|
|
background:
|
|
radial-gradient(circle at 50% 0%, rgba(102, 200, 245, 0.32), transparent 42%),
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(214, 238, 255, 0.3)),
|
|
rgba(255, 253, 248, 0.62);
|
|
}
|
|
|
|
.article-author-card .profile-avatar {
|
|
width: 88px;
|
|
height: 88px;
|
|
}
|
|
|
|
.article-author-card .profile-name {
|
|
margin-bottom: 8px;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
font-size: 1.45rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.article-author-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-size: 0.86rem;
|
|
}
|
|
|
|
.article-author-meta a {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.toc-list,
|
|
.article-tag-list,
|
|
.same-category-list {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.toc-list {
|
|
position: relative;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.toc-list::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 5px;
|
|
border-radius: 999px;
|
|
background-image: radial-gradient(circle, rgba(102, 200, 245, 0.72) 2px, transparent 2px);
|
|
background-size: 14px 5px;
|
|
}
|
|
|
|
.toc-list a,
|
|
.article-tag-list a,
|
|
.same-category-list a {
|
|
border-radius: 8px;
|
|
padding: 9px 11px;
|
|
color: #50637a;
|
|
line-height: 1.45;
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.toc-list a:hover,
|
|
.article-tag-list a:hover,
|
|
.same-category-list a:hover {
|
|
color: #1f618d;
|
|
background: rgba(102, 200, 245, 0.16);
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.toc-tree {
|
|
gap: 8px;
|
|
}
|
|
|
|
.toc-group {
|
|
position: relative;
|
|
}
|
|
|
|
.toc-link {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 9px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.toc-link-main {
|
|
color: #3e5664 !important;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.toc-marker {
|
|
flex: 0 0 auto;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-top: 0.52em;
|
|
border-radius: 999px;
|
|
background: rgba(102, 200, 245, 0.52);
|
|
box-shadow: 0 0 0 4px rgba(102, 200, 245, 0.12);
|
|
}
|
|
|
|
.toc-children {
|
|
position: relative;
|
|
display: grid;
|
|
gap: 4px;
|
|
max-height: 0;
|
|
margin-left: 14px;
|
|
overflow: hidden;
|
|
border-left: 1px solid rgba(102, 200, 245, 0.24);
|
|
padding-left: 10px;
|
|
opacity: 0;
|
|
transition:
|
|
max-height 0.28s ease,
|
|
opacity 0.22s ease,
|
|
margin-top 0.22s ease;
|
|
}
|
|
|
|
.toc-group.is-open .toc-children {
|
|
max-height: 520px;
|
|
margin-top: 4px;
|
|
opacity: 1;
|
|
}
|
|
|
|
.toc-link-child {
|
|
color: #657384 !important;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toc-link.is-active {
|
|
color: #0f766e !important;
|
|
background: rgba(102, 200, 245, 0.16);
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.toc-group.is-open .toc-link-main .toc-marker,
|
|
.toc-link.is-active .toc-marker {
|
|
background: #3eb8be;
|
|
box-shadow: 0 0 0 4px rgba(62, 184, 190, 0.16);
|
|
}
|
|
|
|
.article-tag-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.article-tag-list a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 34px;
|
|
border: 1px solid rgba(15, 118, 110, 0.18);
|
|
padding: 6px 11px;
|
|
color: var(--accent);
|
|
font-size: 0.88rem;
|
|
font-weight: 700;
|
|
background: rgba(236, 253, 245, 0.66);
|
|
}
|
|
|
|
.toc-depth-2 {
|
|
padding-left: 22px !important;
|
|
}
|
|
|
|
.toc-depth-3 {
|
|
padding-left: 24px !important;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.same-category-list a {
|
|
display: grid;
|
|
gap: 3px;
|
|
border-top: 1px dashed rgba(104, 111, 120, 0.22);
|
|
}
|
|
|
|
.same-category-list a:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.same-category-list strong {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
font-size: 0.94rem;
|
|
font-weight: 600;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.sidebar-empty {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
time {
|
|
color: var(--muted);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.meta-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.meta-list a {
|
|
border: 1px solid rgba(15, 118, 110, 0.28);
|
|
border-radius: 999px;
|
|
padding: 2px 10px;
|
|
color: var(--accent);
|
|
font-size: 0.86rem;
|
|
background: rgba(236, 253, 245, 0.7);
|
|
}
|
|
|
|
.article {
|
|
--article-padding: clamp(24px, 5vw, 48px);
|
|
width: min(var(--article-width), calc(100% - (var(--page-gutter) * 2)));
|
|
margin: 64px auto 84px;
|
|
border: 1px solid rgba(255, 255, 255, 0.58);
|
|
border-radius: 8px;
|
|
padding: var(--article-padding);
|
|
background:
|
|
radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(226, 248, 241, 0.35)),
|
|
rgba(255, 253, 248, 0.68);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.82),
|
|
0 24px 64px rgba(44, 55, 63, 0.16);
|
|
backdrop-filter: blur(18px) saturate(165%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(165%);
|
|
}
|
|
|
|
.article-header {
|
|
position: relative;
|
|
margin-bottom: 28px;
|
|
padding-bottom: 22px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.article-header-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.article-header h1 {
|
|
margin: 8px 0 0;
|
|
font-size: clamp(2rem, 6vw, 3.3rem);
|
|
line-height: 1.14;
|
|
}
|
|
|
|
.article-header-cover {
|
|
display: grid;
|
|
align-items: end;
|
|
min-height: clamp(320px, 40vw, 460px);
|
|
margin: calc(var(--article-padding) * -1) calc(var(--article-padding) * -1) 34px;
|
|
overflow: hidden;
|
|
border: 0;
|
|
border-radius: 8px 8px 0 0;
|
|
padding: clamp(86px, 13vw, 150px) var(--article-padding) clamp(28px, 6vw, 52px);
|
|
color: #fff;
|
|
background: #5d7f78;
|
|
}
|
|
|
|
.article-header-cover::before,
|
|
.article-header-cover::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.article-header-cover::before {
|
|
z-index: 1;
|
|
background:
|
|
linear-gradient(180deg, rgba(23, 55, 48, 0.42), rgba(23, 55, 48, 0.18) 38%, rgba(12, 31, 28, 0.68)),
|
|
linear-gradient(90deg, rgba(13, 55, 49, 0.52), rgba(19, 90, 79, 0.14) 54%, rgba(13, 55, 49, 0.36));
|
|
}
|
|
|
|
.article-header-cover::after {
|
|
z-index: 2;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.2),
|
|
inset 0 -90px 110px rgba(10, 28, 26, 0.34);
|
|
}
|
|
|
|
.article-header-cover-img {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
filter: saturate(0.9) contrast(0.94);
|
|
}
|
|
|
|
.article-header-cover .article-header-content {
|
|
z-index: 3;
|
|
max-width: 900px;
|
|
text-shadow: 0 3px 14px rgba(0, 0, 0, 0.48);
|
|
}
|
|
|
|
.article-header-cover time {
|
|
display: none;
|
|
}
|
|
|
|
.article-header-cover h1 {
|
|
max-width: 920px;
|
|
margin: 0;
|
|
color: #fff;
|
|
font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
|
|
font-size: clamp(2.4rem, 6vw, 4.2rem);
|
|
font-weight: 700;
|
|
line-height: 1.12;
|
|
}
|
|
|
|
.article-hero-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 9px 12px;
|
|
align-items: center;
|
|
margin-top: 18px;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 0.98rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.article-hero-meta span,
|
|
.article-hero-meta a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.article-hero-meta span:not(:first-child)::before,
|
|
.article-hero-meta a::before {
|
|
content: "|";
|
|
margin-right: 12px;
|
|
color: rgba(255, 255, 255, 0.62);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.article-hero-meta a:hover {
|
|
color: #d8fff5;
|
|
}
|
|
|
|
.article-summary-card {
|
|
position: relative;
|
|
margin: 0 0 30px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(133, 162, 153, 0.34);
|
|
border-radius: 8px;
|
|
padding: 34px 20px 16px;
|
|
background:
|
|
radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.8), transparent 32%),
|
|
linear-gradient(135deg, rgba(250, 252, 247, 0.88), rgba(228, 240, 234, 0.78)),
|
|
rgba(245, 250, 246, 0.78);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.9),
|
|
0 14px 34px rgba(58, 51, 38, 0.1);
|
|
backdrop-filter: blur(18px) saturate(145%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(145%);
|
|
}
|
|
|
|
.article-summary-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 25px;
|
|
border-bottom: 1px solid rgba(133, 162, 153, 0.18);
|
|
background: rgba(255, 255, 255, 0.28);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.article-summary-dots {
|
|
position: absolute;
|
|
top: 14px;
|
|
left: 16px;
|
|
z-index: 1;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.article-summary-dots span {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.article-summary-dots span:nth-child(1) {
|
|
background: #ff6b63;
|
|
}
|
|
|
|
.article-summary-dots span:nth-child(2) {
|
|
background: #ffc247;
|
|
}
|
|
|
|
.article-summary-dots span:nth-child(3) {
|
|
background: #4ecb71;
|
|
}
|
|
|
|
.article-summary-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin: 0;
|
|
color: #59615f;
|
|
font-family: "LXGW WenKai", "霞鹜文楷", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
|
|
font-size: 1rem;
|
|
line-height: 1.9;
|
|
}
|
|
|
|
.article-summary-caret {
|
|
display: inline-block;
|
|
width: 2px;
|
|
height: 1.1em;
|
|
margin-left: 3px;
|
|
vertical-align: -0.16em;
|
|
background: var(--accent);
|
|
animation: summary-caret-blink 0.9s steps(1) infinite;
|
|
}
|
|
|
|
.article-summary-footer {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-top: 24px;
|
|
color: rgba(85, 95, 94, 0.56);
|
|
font-family: "JetBrains Mono", Consolas, "Microsoft YaHei", monospace;
|
|
font-size: 0.95rem;
|
|
font-weight: 900;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.article-summary-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.article-summary-brand span {
|
|
color: rgba(15, 118, 110, 0.56);
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.article-summary-model {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@keyframes summary-caret-blink {
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.prose :where(h2, h3, h4) {
|
|
scroll-margin-top: 110px;
|
|
margin-top: 2em;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.prose :where(p, ul, ol, blockquote, pre) {
|
|
margin: 1.1em 0;
|
|
}
|
|
|
|
.prose a {
|
|
color: var(--accent);
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
}
|
|
|
|
.prose .hexo-link-card {
|
|
display: grid;
|
|
grid-template-columns: 46px minmax(0, 1fr);
|
|
gap: 14px;
|
|
align-items: center;
|
|
margin: 1.2em 0;
|
|
border: 1px solid rgba(15, 118, 110, 0.2);
|
|
border-radius: 8px;
|
|
padding: 14px 16px;
|
|
color: #27313a;
|
|
text-decoration: none;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(236, 253, 245, 0.62)),
|
|
rgba(255, 253, 248, 0.88);
|
|
box-shadow: 0 12px 28px rgba(44, 55, 63, 0.1);
|
|
transition:
|
|
border-color 0.2s ease,
|
|
box-shadow 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.prose .hexo-link-card:hover {
|
|
color: #27313a;
|
|
border-color: rgba(15, 118, 110, 0.38);
|
|
box-shadow: 0 16px 34px rgba(15, 118, 110, 0.14);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.hexo-link-card__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
font-size: 1.05rem;
|
|
font-weight: 800;
|
|
background: #3eb8be;
|
|
}
|
|
|
|
.hexo-link-card__body {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 2px;
|
|
}
|
|
|
|
.hexo-link-card__body strong,
|
|
.hexo-link-card__body span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hexo-link-card__body strong {
|
|
font-size: 1rem;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.hexo-link-card__body span {
|
|
color: var(--muted);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.prose img {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin: 1.4em auto;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.prose .fancybox {
|
|
display: block;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
margin: 1.4em auto;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.prose .fancybox img {
|
|
margin: 0 auto;
|
|
box-shadow: 0 12px 32px rgba(44, 55, 63, 0.12);
|
|
transition:
|
|
box-shadow 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.prose .fancybox:hover img {
|
|
box-shadow: 0 16px 38px rgba(15, 118, 110, 0.16);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.prose pre {
|
|
margin: 0;
|
|
overflow-x: auto;
|
|
padding: 18px;
|
|
overscroll-behavior-inline: contain;
|
|
scrollbar-color: rgba(102, 200, 245, 0.58) rgba(255, 255, 255, 0.08);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.prose code {
|
|
font-family: "JetBrains Mono", Consolas, monospace;
|
|
}
|
|
|
|
.prose .code-block {
|
|
position: relative;
|
|
margin: 1.25em 0;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(15, 118, 110, 0.16);
|
|
border-radius: 8px;
|
|
background: rgba(22, 31, 36, 0.96);
|
|
box-shadow: 0 14px 32px rgba(44, 55, 63, 0.12);
|
|
}
|
|
|
|
.prose .code-block pre::-webkit-scrollbar,
|
|
.table-scroll::-webkit-scrollbar {
|
|
height: 10px;
|
|
}
|
|
|
|
.prose .code-block pre::-webkit-scrollbar-track,
|
|
.table-scroll::-webkit-scrollbar-track {
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.prose .code-block pre::-webkit-scrollbar-thumb,
|
|
.table-scroll::-webkit-scrollbar-thumb {
|
|
border: 2px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 999px;
|
|
background:
|
|
linear-gradient(90deg, rgba(102, 200, 245, 0.72), rgba(62, 184, 190, 0.76)),
|
|
rgba(62, 184, 190, 0.72);
|
|
}
|
|
|
|
.prose .code-block pre::-webkit-scrollbar-thumb:hover,
|
|
.table-scroll::-webkit-scrollbar-thumb:hover {
|
|
background:
|
|
linear-gradient(90deg, rgba(102, 200, 245, 0.9), rgba(62, 184, 190, 0.94)),
|
|
rgba(62, 184, 190, 0.9);
|
|
}
|
|
|
|
.prose .code-block pre {
|
|
max-height: none;
|
|
padding: 44px 18px 18px;
|
|
background: transparent;
|
|
white-space: normal !important;
|
|
word-wrap: normal !important;
|
|
transition: max-height 0.24s ease;
|
|
}
|
|
|
|
.prose .code-block pre code {
|
|
display: block;
|
|
min-width: max-content;
|
|
}
|
|
|
|
.prose .code-block.is-collapsible:not(.is-expanded) pre {
|
|
max-height: 15.5em;
|
|
}
|
|
|
|
.prose .code-block.is-collapsible:not(.is-expanded)::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 58px;
|
|
background: linear-gradient(rgba(22, 31, 36, 0), rgba(22, 31, 36, 0.98));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.prose .code-block code {
|
|
color: #e8edf2;
|
|
line-height: 1.42;
|
|
}
|
|
|
|
.code-block-header {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
min-height: 42px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 8px 10px 8px 16px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.code-block-language {
|
|
overflow: hidden;
|
|
color: rgba(232, 237, 242, 0.72);
|
|
font-family: "JetBrains Mono", Consolas, monospace;
|
|
font-size: 0.8rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0;
|
|
text-overflow: ellipsis;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.code-block-toolbar {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
gap: 8px;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.prose .code-block.has-line-numbers code > .line {
|
|
position: relative;
|
|
display: block;
|
|
min-height: 1.42em;
|
|
padding-left: calc(var(--line-number-width, 3ch) + 16px);
|
|
white-space: pre;
|
|
}
|
|
|
|
.prose .code-block.has-line-numbers code > .line::before {
|
|
content: attr(data-line);
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: var(--line-number-width, 3ch);
|
|
color: rgba(232, 237, 242, 0.34);
|
|
font-variant-numeric: tabular-nums;
|
|
text-align: right;
|
|
user-select: none;
|
|
}
|
|
|
|
.code-block-copy,
|
|
.code-block-toggle {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 30px;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
border-radius: 8px;
|
|
padding: 5px 9px;
|
|
color: rgba(255, 255, 255, 0.86);
|
|
font: 700 0.78rem/1 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
cursor: pointer;
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
transition:
|
|
color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.code-block-copy:hover,
|
|
.code-block-toggle:hover {
|
|
color: #fff;
|
|
border-color: rgba(255, 255, 255, 0.34);
|
|
background: rgba(62, 184, 190, 0.72);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.code-block-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.code-block.is-collapsible .code-block-toggle {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.table-scroll {
|
|
max-width: 100%;
|
|
margin: 1.35em 0;
|
|
overflow-x: auto;
|
|
border: 1px solid rgba(15, 118, 110, 0.14);
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 253, 245, 0.42)),
|
|
rgba(255, 253, 248, 0.78);
|
|
box-shadow: 0 14px 34px rgba(44, 55, 63, 0.1);
|
|
overscroll-behavior-inline: contain;
|
|
scrollbar-color: rgba(62, 184, 190, 0.58) rgba(15, 118, 110, 0.08);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.prose table {
|
|
width: 100%;
|
|
min-width: 620px;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
color: #33433f;
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.prose th,
|
|
.prose td {
|
|
border-right: 1px solid rgba(15, 118, 110, 0.1);
|
|
border-bottom: 1px solid rgba(15, 118, 110, 0.1);
|
|
padding: 12px 14px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.prose th:last-child,
|
|
.prose td:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.prose tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.prose thead th {
|
|
color: #2f4a43;
|
|
font-weight: 800;
|
|
text-align: left;
|
|
background:
|
|
linear-gradient(135deg, rgba(236, 253, 245, 0.88), rgba(220, 246, 240, 0.72)),
|
|
rgba(255, 255, 255, 0.66);
|
|
}
|
|
|
|
.prose tbody tr:nth-child(even) td {
|
|
background: rgba(236, 253, 245, 0.36);
|
|
}
|
|
|
|
.prose tbody tr:hover td {
|
|
background: rgba(102, 200, 245, 0.13);
|
|
}
|
|
|
|
.fancybox__container {
|
|
--fancybox-bg: rgba(32, 36, 42, 0.72);
|
|
--fancybox-accent-color: #3eb8be;
|
|
backdrop-filter: blur(18px) saturate(145%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(145%);
|
|
}
|
|
|
|
.prose mjx-container {
|
|
color: #223833;
|
|
}
|
|
|
|
.prose mjx-container[display="true"] {
|
|
max-width: 100%;
|
|
margin: 1.35em 0;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
padding: 10px 0;
|
|
scrollbar-color: rgba(62, 184, 190, 0.58) rgba(15, 118, 110, 0.08);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.prose mjx-container[display="true"]::-webkit-scrollbar {
|
|
height: 8px;
|
|
}
|
|
|
|
.prose mjx-container[display="true"]::-webkit-scrollbar-track {
|
|
border-radius: 999px;
|
|
background: rgba(15, 118, 110, 0.08);
|
|
}
|
|
|
|
.prose mjx-container[display="true"]::-webkit-scrollbar-thumb {
|
|
border-radius: 999px;
|
|
background:
|
|
linear-gradient(90deg, rgba(102, 200, 245, 0.72), rgba(62, 184, 190, 0.76)),
|
|
rgba(62, 184, 190, 0.72);
|
|
}
|
|
|
|
.post-copyright-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin-top: 42px;
|
|
border: 1px solid rgba(255, 255, 255, 0.64);
|
|
border-radius: 8px;
|
|
padding: 24px 28px 20px;
|
|
color: #33433f;
|
|
background:
|
|
radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.82), transparent 32%),
|
|
linear-gradient(135deg, rgba(255, 253, 248, 0.76), rgba(236, 253, 245, 0.58)),
|
|
rgba(255, 253, 248, 0.72);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.88),
|
|
0 16px 42px rgba(58, 51, 38, 0.12);
|
|
backdrop-filter: blur(18px) saturate(165%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(165%);
|
|
}
|
|
|
|
.post-copyright-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 44%, rgba(255, 255, 255, 0.22));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.post-copyright-card::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 16px;
|
|
left: 16px;
|
|
height: 1px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.82);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.post-copyright-main,
|
|
.post-copyright-footer {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.post-copyright-mark {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 22px;
|
|
z-index: 1;
|
|
display: grid;
|
|
place-items: center;
|
|
width: clamp(74px, 12vw, 118px);
|
|
aspect-ratio: 1;
|
|
border: 1px solid rgba(15, 118, 110, 0.12);
|
|
border-radius: 999px;
|
|
color: rgba(15, 118, 110, 0.16);
|
|
font-family: Georgia, "Times New Roman", serif;
|
|
font-size: clamp(1.85rem, 5vw, 3.4rem);
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
background:
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(236, 253, 245, 0.2)),
|
|
rgba(255, 255, 255, 0.16);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.72),
|
|
0 12px 30px rgba(15, 118, 110, 0.06);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.post-copyright-mark span {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.post-copyright-card h2 {
|
|
margin: 0;
|
|
color: #27313a;
|
|
font-size: clamp(1.08rem, 2.2vw, 1.35rem);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.post-copyright-link {
|
|
display: inline-block;
|
|
margin-top: 12px;
|
|
color: var(--muted);
|
|
font-size: 0.94rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.post-copyright-link:hover,
|
|
.post-copyright-meta a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.post-copyright-meta {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.25fr 2fr;
|
|
gap: 18px 28px;
|
|
margin: 20px 0 0;
|
|
border-top: 1px solid rgba(15, 118, 110, 0.18);
|
|
border-bottom: 1px solid rgba(15, 118, 110, 0.12);
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.post-copyright-meta div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.post-copyright-meta dt {
|
|
margin-bottom: 5px;
|
|
color: #58645f;
|
|
font-size: 0.8rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.post-copyright-meta dd {
|
|
margin: 0;
|
|
color: #2f4a43;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.post-copyright-meta time {
|
|
color: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.post-copyright-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.post-copyright-tags,
|
|
.post-copyright-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.post-copyright-tags a,
|
|
.post-copyright-action,
|
|
.post-copyright-icon {
|
|
min-height: 38px;
|
|
border: 1px solid rgba(15, 118, 110, 0.2);
|
|
border-radius: 999px;
|
|
color: var(--accent);
|
|
background: rgba(236, 253, 245, 0.72);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.post-copyright-tags a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 7px 13px;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.post-copyright-action {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 7px 15px;
|
|
font: inherit;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.post-copyright-action.is-primary {
|
|
color: #fff;
|
|
border-color: rgba(15, 118, 110, 0.3);
|
|
background: #3eb8be;
|
|
}
|
|
|
|
.post-copyright-action svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 2.4;
|
|
}
|
|
|
|
.post-copyright-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 38px;
|
|
font-size: 0.94rem;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
}
|
|
|
|
.post-copyright-tags a:hover,
|
|
.post-copyright-action:hover,
|
|
.post-copyright-icon:hover {
|
|
color: #fff;
|
|
background: #3eb8be;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.twikoo-comments {
|
|
margin-top: 34px;
|
|
border: 1px solid rgba(255, 255, 255, 0.64);
|
|
border-radius: 8px;
|
|
padding: clamp(20px, 4vw, 30px);
|
|
background:
|
|
radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.8), transparent 32%),
|
|
linear-gradient(135deg, rgba(255, 253, 248, 0.8), rgba(236, 253, 245, 0.55)),
|
|
rgba(255, 253, 248, 0.76);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.86),
|
|
0 16px 42px rgba(58, 51, 38, 0.12);
|
|
backdrop-filter: blur(18px) saturate(165%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(165%);
|
|
}
|
|
|
|
.twikoo-comments-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.twikoo-comments-icon {
|
|
display: grid;
|
|
flex: 0 0 auto;
|
|
place-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
background: #3eb8be;
|
|
box-shadow: 0 12px 28px rgba(15, 118, 110, 0.16);
|
|
}
|
|
|
|
.twikoo-comments-icon svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 2.2;
|
|
}
|
|
|
|
.twikoo-comments h2 {
|
|
margin: 0;
|
|
color: #27313a;
|
|
font-size: 1.28rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.twikoo-comments p {
|
|
margin: 4px 0 0;
|
|
color: var(--muted);
|
|
font-size: 0.92rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.twikoo-wrap {
|
|
min-height: 160px;
|
|
}
|
|
|
|
.twikoo-comments :where(.tk-comments-container, .tk-submit) {
|
|
color: var(--text);
|
|
}
|
|
|
|
.archive-list {
|
|
margin-top: 24px;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.archive-list a {
|
|
display: grid;
|
|
grid-template-columns: 116px 1fr;
|
|
gap: 16px;
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.pagination-pages {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.pagination-link,
|
|
.pagination-number {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 40px;
|
|
min-height: 40px;
|
|
border: 1px solid rgba(222, 216, 204, 0.78);
|
|
border-radius: 8px;
|
|
padding: 8px 12px;
|
|
color: #50637a;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
background: rgba(255, 253, 248, 0.82);
|
|
box-shadow: 0 10px 28px rgba(58, 51, 38, 0.08);
|
|
transition:
|
|
color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.pagination-link {
|
|
min-width: 76px;
|
|
}
|
|
|
|
.pagination-link:hover,
|
|
.pagination-number:hover,
|
|
.pagination-number.is-current {
|
|
color: #fff;
|
|
border-color: rgba(15, 118, 110, 0.34);
|
|
background: #3eb8be;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.pagination-link.is-disabled {
|
|
color: rgba(104, 111, 120, 0.5);
|
|
background: rgba(255, 253, 248, 0.46);
|
|
box-shadow: none;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.term-grid {
|
|
margin-top: 24px;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.term-grid a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 14px 16px;
|
|
background: rgba(255, 253, 248, 0.9);
|
|
}
|
|
|
|
.shuoshuo-page {
|
|
margin-top: 40px;
|
|
}
|
|
|
|
#talk {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: 220px;
|
|
}
|
|
|
|
#talk:empty::before {
|
|
content: "说说加载中...";
|
|
display: grid;
|
|
min-height: 180px;
|
|
place-items: center;
|
|
border: 1px solid rgba(255, 255, 255, 0.58);
|
|
border-radius: 8px;
|
|
color: var(--muted);
|
|
background:
|
|
radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(226, 248, 241, 0.35)),
|
|
rgba(255, 253, 248, 0.68);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px) saturate(165%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(165%);
|
|
}
|
|
|
|
#talk .talk_item {
|
|
position: absolute;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: calc(33.333% - 8px);
|
|
margin: 0 12px 12px 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.58);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(226, 248, 241, 0.35)),
|
|
rgba(255, 253, 248, 0.78);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px) saturate(165%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(165%);
|
|
transition:
|
|
box-shadow 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
#talk .talk_item:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 54px rgba(44, 55, 63, 0.18);
|
|
}
|
|
|
|
#talk .talk_meta,
|
|
#talk .talk_bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#talk .talk_meta {
|
|
width: 100%;
|
|
border-bottom: 1px dashed rgba(104, 111, 120, 0.34);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
#talk .talk_meta .avatar {
|
|
width: 56px;
|
|
height: 56px;
|
|
margin: 0 !important;
|
|
border-radius: 8px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
#talk .talk_meta .info {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
margin-left: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
#talk .talk_meta .info .talk_nick {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
color: #3eb8be;
|
|
font-size: 1.08rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
#talk .talk_meta .info svg.is-badge.icon {
|
|
width: 15px;
|
|
height: 15px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
#talk .talk_meta .info span.talk_date {
|
|
color: var(--muted);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
#talk .talk_item .talk_content {
|
|
margin-top: 12px;
|
|
overflow-wrap: anywhere;
|
|
color: #33433f;
|
|
}
|
|
|
|
#talk .talk_item .talk_content a {
|
|
color: #d75f54;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#talk .talk_item .talk_content a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
#talk .talk_item .talk_content .zone_imgbox {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
--talk-image-size: calc(25% - 8px);
|
|
}
|
|
|
|
#talk .talk_item .talk_content .zone_imgbox a {
|
|
position: relative;
|
|
display: block;
|
|
width: var(--talk-image-size);
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
aspect-ratio: 1;
|
|
}
|
|
|
|
#talk .talk_item .talk_content .zone_imgbox a:first-child {
|
|
width: 100%;
|
|
aspect-ratio: 1.8;
|
|
}
|
|
|
|
#talk .talk_item .talk_content .zone_imgbox img {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0 !important;
|
|
object-fit: cover;
|
|
}
|
|
|
|
#talk .talk_item .talk_bottom {
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 15px;
|
|
border-top: 1px dashed rgba(104, 111, 120, 0.34);
|
|
padding-top: 10px;
|
|
}
|
|
|
|
#talk .talk_item .talk_bottom span.talk_tag,
|
|
#talk .talk_item .talk_bottom span.location_tag {
|
|
display: inline-flex;
|
|
max-width: 100%;
|
|
min-height: 30px;
|
|
align-items: center;
|
|
border: 1px solid rgba(15, 118, 110, 0.16);
|
|
border-radius: 999px;
|
|
padding: 3px 11px;
|
|
color: var(--accent);
|
|
font-size: 0.86rem;
|
|
background: rgba(236, 253, 245, 0.7);
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
#talk .talk_item .talk_bottom span.talk_tag:hover,
|
|
#talk .talk_item .talk_bottom span.location_tag:hover,
|
|
#talk .talk_item .talk_bottom .icon:hover {
|
|
color: #fff;
|
|
background: #3eb8be;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
#talk .talk_item .talk_bottom .icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 999px;
|
|
color: var(--accent);
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
#talk .talk_item .talk_content .shuoshuo-external-link {
|
|
width: 100%;
|
|
height: 80px;
|
|
margin-top: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(15, 118, 110, 0.14);
|
|
border-radius: 8px;
|
|
color: var(--text);
|
|
background: rgba(236, 253, 245, 0.64);
|
|
transition:
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.shuoshuo-external-link:hover {
|
|
background: #3eb8be;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.shuoshuo-external-link .external-link {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.shuoshuo-external-link .external-link:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.shuoshuo-external-link .external-link-left {
|
|
width: 60px;
|
|
height: 60px;
|
|
margin: 10px;
|
|
flex: 0 0 auto;
|
|
border-radius: 8px;
|
|
background-position: center;
|
|
background-size: cover;
|
|
}
|
|
|
|
.shuoshuo-external-link .external-link-right {
|
|
display: flex;
|
|
min-width: 0;
|
|
width: calc(100% - 80px);
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 10px;
|
|
}
|
|
|
|
.shuoshuo-external-link .external-link-right .external-link-title {
|
|
overflow: hidden;
|
|
font-size: 1rem;
|
|
font-weight: 800;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.talk_content iframe {
|
|
min-height: 150px;
|
|
}
|
|
|
|
meting-js {
|
|
display: block;
|
|
min-height: 100px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.limit {
|
|
width: 100%;
|
|
margin-top: 30px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
|
|
:root[data-theme='dark'] #talk:empty::before,
|
|
:root[data-theme='dark'] #talk .talk_item {
|
|
border-color: rgba(174, 205, 197, 0.18);
|
|
background:
|
|
radial-gradient(circle at 14% 0%, rgba(114, 222, 210, 0.1), transparent 34%),
|
|
linear-gradient(145deg, rgba(28, 43, 47, 0.82), rgba(12, 22, 25, 0.72)),
|
|
rgba(17, 28, 31, 0.74);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
:root[data-theme='dark'] #talk .talk_item .talk_content {
|
|
color: #dce9e6;
|
|
}
|
|
|
|
:root[data-theme='dark'] #talk .talk_item .talk_bottom span.talk_tag,
|
|
:root[data-theme='dark'] #talk .talk_item .talk_bottom span.location_tag,
|
|
:root[data-theme='dark'] #talk .talk_item .talk_content .shuoshuo-external-link {
|
|
border-color: rgba(114, 222, 210, 0.2);
|
|
background: rgba(114, 222, 210, 0.1);
|
|
}
|
|
|
|
:root[data-theme='dark'] #talk .talk_meta,
|
|
:root[data-theme='dark'] #talk .talk_item .talk_bottom {
|
|
border-color: rgba(174, 205, 197, 0.2);
|
|
}
|
|
|
|
:root[data-theme='dark'] .hero-talk {
|
|
border-color: rgba(174, 205, 197, 0.18);
|
|
background:
|
|
linear-gradient(135deg, rgba(28, 43, 47, 0.58), rgba(12, 22, 25, 0.38)),
|
|
rgba(17, 28, 31, 0.34);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.1),
|
|
0 18px 46px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
:root[data-theme='dark'] .hero-talk .item {
|
|
border-top-color: rgba(174, 205, 197, 0.16);
|
|
color: #dce9e6;
|
|
}
|
|
|
|
:root[data-theme='dark'] .hero-talk-head a {
|
|
border-color: rgba(114, 222, 210, 0.2);
|
|
background: rgba(114, 222, 210, 0.1);
|
|
}
|
|
|
|
.external-redirect {
|
|
width: min(760px, calc(100% - (var(--page-gutter) * 2)));
|
|
min-height: calc(100vh - 240px);
|
|
margin: 42px auto 80px;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.external-redirect-panel {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.58);
|
|
border-radius: 8px;
|
|
padding: clamp(26px, 6vw, 48px);
|
|
background:
|
|
radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.74), transparent 36%),
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(226, 248, 241, 0.42)),
|
|
rgba(255, 253, 248, 0.78);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.82),
|
|
0 24px 64px rgba(44, 55, 63, 0.16);
|
|
backdrop-filter: blur(18px) saturate(165%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(165%);
|
|
}
|
|
|
|
.external-redirect-eyebrow {
|
|
margin: 0 0 10px;
|
|
color: var(--accent);
|
|
font-size: 0.88rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.external-redirect h1 {
|
|
margin: 0;
|
|
color: #20242a;
|
|
font-size: clamp(2rem, 6vw, 3.8rem);
|
|
line-height: 1.08;
|
|
}
|
|
|
|
.external-redirect-copy {
|
|
max-width: 620px;
|
|
margin: 16px 0 0;
|
|
color: var(--muted);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.external-redirect-target {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 24px;
|
|
border: 1px solid rgba(15, 118, 110, 0.16);
|
|
border-radius: 8px;
|
|
padding: 14px 16px;
|
|
background: rgba(236, 253, 245, 0.64);
|
|
}
|
|
|
|
.external-redirect-target span {
|
|
color: var(--accent);
|
|
font-size: 0.84rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.external-redirect-target code {
|
|
overflow-wrap: anywhere;
|
|
color: #33433f;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.external-redirect-countdown {
|
|
position: relative;
|
|
width: 112px;
|
|
height: 112px;
|
|
margin: 26px auto 0;
|
|
}
|
|
|
|
.external-redirect-countdown svg {
|
|
width: 112px;
|
|
height: 112px;
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.external-redirect-countdown circle {
|
|
fill: none;
|
|
stroke: rgba(15, 118, 110, 0.14);
|
|
stroke-width: 10;
|
|
}
|
|
|
|
.external-redirect-countdown circle:last-child {
|
|
stroke: #3eb8be;
|
|
stroke-linecap: round;
|
|
transition: stroke-dashoffset 0.9s linear;
|
|
}
|
|
|
|
.external-redirect-countdown strong {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #2f4358;
|
|
font-size: 2rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.external-redirect-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.external-redirect-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 44px;
|
|
border: 1px solid rgba(15, 118, 110, 0.2);
|
|
border-radius: 8px;
|
|
padding: 9px 16px;
|
|
color: var(--accent);
|
|
font-weight: 800;
|
|
background: rgba(236, 253, 245, 0.68);
|
|
transition:
|
|
color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.external-redirect-button:hover,
|
|
.external-redirect-button.is-primary {
|
|
color: #fff;
|
|
background: #3eb8be;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.native-page {
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.native-page-article {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.native-feature-grid,
|
|
.friend-link-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.native-feature-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
margin: 28px 0;
|
|
}
|
|
|
|
.native-feature-grid section,
|
|
.friend-link-card {
|
|
border: 1px solid rgba(15, 118, 110, 0.14);
|
|
border-radius: 8px;
|
|
background: rgba(236, 253, 245, 0.58);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
|
|
}
|
|
|
|
.native-feature-grid section {
|
|
padding: 18px;
|
|
}
|
|
|
|
.native-feature-grid i {
|
|
display: grid;
|
|
width: 42px;
|
|
height: 42px;
|
|
margin-bottom: 12px;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
background: #3eb8be;
|
|
}
|
|
|
|
.native-feature-grid h2 {
|
|
margin: 0 0 8px;
|
|
font-size: 1.12rem;
|
|
}
|
|
|
|
.native-feature-grid p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.native-table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.friend-link-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
margin: 0 0 24px;
|
|
}
|
|
|
|
.friend-link-card {
|
|
display: grid;
|
|
grid-template-columns: 58px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px;
|
|
transition:
|
|
border-color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.friend-link-card:hover {
|
|
border-color: rgba(15, 118, 110, 0.28);
|
|
background: rgba(236, 253, 245, 0.78);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.friend-link-card img {
|
|
width: 58px;
|
|
height: 58px;
|
|
border-radius: 8px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.friend-link-card span {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 2px;
|
|
}
|
|
|
|
.friend-link-card strong {
|
|
color: #33433f;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.friend-link-card em {
|
|
overflow: hidden;
|
|
color: var(--muted);
|
|
font-size: 0.9rem;
|
|
font-style: normal;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.friend-link-card i {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.link-apply-card {
|
|
width: 100%;
|
|
margin-top: 0;
|
|
}
|
|
|
|
:root[data-theme='dark'] .external-redirect-panel {
|
|
border-color: rgba(174, 205, 197, 0.18);
|
|
background:
|
|
radial-gradient(circle at 14% 0%, rgba(114, 222, 210, 0.1), transparent 34%),
|
|
linear-gradient(145deg, rgba(28, 43, 47, 0.82), rgba(12, 22, 25, 0.72)),
|
|
rgba(17, 28, 31, 0.74);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
:root[data-theme='dark'] .external-redirect h1,
|
|
:root[data-theme='dark'] .external-redirect-countdown strong {
|
|
color: #edf7f5;
|
|
}
|
|
|
|
:root[data-theme='dark'] .external-redirect-target,
|
|
:root[data-theme='dark'] .external-redirect-button {
|
|
border-color: rgba(114, 222, 210, 0.22);
|
|
background: rgba(114, 222, 210, 0.1);
|
|
}
|
|
|
|
:root[data-theme='dark'] .external-redirect-target code {
|
|
color: #dce9e6;
|
|
}
|
|
|
|
:root[data-theme='dark'] .native-feature-grid section,
|
|
:root[data-theme='dark'] .friend-link-card {
|
|
border-color: rgba(114, 222, 210, 0.2);
|
|
background: rgba(114, 222, 210, 0.1);
|
|
}
|
|
|
|
:root[data-theme='dark'] .friend-link-card strong {
|
|
color: #edf7f5;
|
|
}
|
|
|
|
.site-footer {
|
|
position: relative;
|
|
margin-top: 64px;
|
|
color: rgba(83, 91, 96, 0.72);
|
|
background:
|
|
linear-gradient(180deg, rgba(242, 248, 236, 0.56), rgba(246, 250, 239, 0.72)),
|
|
rgba(246, 250, 239, 0.72);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
|
|
backdrop-filter: blur(18px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(150%);
|
|
}
|
|
|
|
.footer-inner {
|
|
width: min(1180px, calc(100% - (var(--page-gutter) * 2)));
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
|
|
gap: 34px 64px;
|
|
padding: 42px 0 38px;
|
|
}
|
|
|
|
.footer-top {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.footer-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: fit-content;
|
|
color: #3f4143;
|
|
font-size: 1.22rem;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
}
|
|
|
|
.footer-brand img {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 999px;
|
|
object-fit: cover;
|
|
box-shadow: 0 8px 22px rgba(15, 118, 110, 0.18);
|
|
}
|
|
|
|
.footer-slogan,
|
|
.footer-contact p,
|
|
.footer-bottom p {
|
|
margin: 0;
|
|
}
|
|
|
|
.footer-slogan {
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.footer-contact {
|
|
display: grid;
|
|
justify-items: center;
|
|
align-content: start;
|
|
gap: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-contact p {
|
|
color: rgba(83, 91, 96, 0.64);
|
|
font-size: 0.94rem;
|
|
}
|
|
|
|
.footer-socials {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.footer-socials a {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 1px solid rgba(178, 194, 170, 0.48);
|
|
border-radius: 10px;
|
|
color: rgba(76, 84, 88, 0.78);
|
|
background:
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(218, 231, 203, 0.42)),
|
|
rgba(236, 244, 226, 0.72);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.7),
|
|
0 10px 24px rgba(91, 107, 74, 0.1);
|
|
transition:
|
|
color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
background-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.footer-socials a:hover {
|
|
color: var(--accent);
|
|
border-color: rgba(15, 118, 110, 0.28);
|
|
background-color: rgba(255, 255, 255, 0.84);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.footer-socials i {
|
|
width: 18px;
|
|
height: 18px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
font-size: 1.08rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.footer-contact-links,
|
|
.footer-meta p:last-child {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.footer-contact-links {
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.footer-contact-links span,
|
|
.footer-meta span {
|
|
color: rgba(83, 91, 96, 0.35);
|
|
}
|
|
|
|
.footer-bottom {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
border-top: 1px solid rgba(182, 197, 174, 0.34);
|
|
padding-top: 22px;
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.footer-bottom > div {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.footer-meta {
|
|
justify-items: end;
|
|
text-align: right;
|
|
}
|
|
|
|
:root[data-theme='dark'] :where(
|
|
.page-header-card,
|
|
.post-card,
|
|
.sidebar-card,
|
|
.article,
|
|
.article-summary-card,
|
|
.post-copyright-card,
|
|
.twikoo-comments,
|
|
.table-scroll,
|
|
.term-grid a,
|
|
.pagination-link,
|
|
.pagination-number
|
|
) {
|
|
border-color: rgba(174, 205, 197, 0.18);
|
|
background:
|
|
radial-gradient(circle at 14% 0%, rgba(114, 222, 210, 0.1), transparent 34%),
|
|
linear-gradient(145deg, rgba(28, 43, 47, 0.82), rgba(12, 22, 25, 0.72)),
|
|
rgba(17, 28, 31, 0.74);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
:root[data-theme='dark'] :where(
|
|
.page-header-card::after,
|
|
.post-copyright-card::after
|
|
) {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
:root[data-theme='dark'] :where(
|
|
.page-header-card h1,
|
|
.content-wrap .page-header-card h1,
|
|
.sidebar-card h2,
|
|
.profile-name,
|
|
.calendar-summary strong,
|
|
.schedule-left strong,
|
|
.sidebar-post strong,
|
|
.toc-link-main,
|
|
.post-copyright-card h2,
|
|
.post-copyright-meta dd,
|
|
.twikoo-comments h2,
|
|
.footer-brand
|
|
) {
|
|
color: #edf7f5;
|
|
}
|
|
|
|
:root[data-theme='dark'] :where(
|
|
.notice-card p,
|
|
#welcome-info,
|
|
#welcome-ip-location-info,
|
|
.site-info-list dt,
|
|
.toc-link-child,
|
|
.same-category-list a,
|
|
.profile-links,
|
|
.footer-contact p
|
|
) {
|
|
color: var(--muted);
|
|
}
|
|
|
|
:root[data-theme='dark'] .site-info-list div {
|
|
border-top-color: rgba(174, 205, 197, 0.16);
|
|
}
|
|
|
|
:root[data-theme='dark'] :where(
|
|
.meta-list a,
|
|
.article-tag-list a,
|
|
.post-copyright-tags a,
|
|
.post-copyright-action,
|
|
.post-copyright-icon
|
|
) {
|
|
border-color: rgba(114, 222, 210, 0.22);
|
|
color: var(--accent);
|
|
background: rgba(114, 222, 210, 0.1);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
:root[data-theme='dark'] :where(
|
|
.follow-button,
|
|
.calendar-grid .today,
|
|
.post-copyright-action.is-primary,
|
|
.post-copyright-tags a:hover,
|
|
.post-copyright-action:hover,
|
|
.post-copyright-icon:hover,
|
|
.pagination-link:hover,
|
|
.pagination-number:hover,
|
|
.pagination-number.is-current
|
|
) {
|
|
color: #081315;
|
|
background: var(--accent);
|
|
}
|
|
|
|
:root[data-theme='dark'] .article-header {
|
|
border-bottom-color: var(--line);
|
|
}
|
|
|
|
:root[data-theme='dark'] .article-header-cover {
|
|
background: #0d1f21;
|
|
}
|
|
|
|
:root[data-theme='dark'] .article-header-cover::before {
|
|
background:
|
|
linear-gradient(180deg, rgba(5, 12, 14, 0.54), rgba(7, 19, 21, 0.22) 38%, rgba(3, 10, 11, 0.82)),
|
|
linear-gradient(90deg, rgba(5, 18, 20, 0.62), rgba(12, 60, 57, 0.16) 54%, rgba(5, 18, 20, 0.44));
|
|
}
|
|
|
|
:root[data-theme='dark'] .prose .code-block {
|
|
border-color: rgba(114, 222, 210, 0.2);
|
|
background: rgba(5, 10, 12, 0.96);
|
|
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
|
|
}
|
|
|
|
:root[data-theme='dark'] .prose table {
|
|
color: #dce9e6;
|
|
}
|
|
|
|
:root[data-theme='dark'] .prose thead th {
|
|
color: #effaf7;
|
|
background:
|
|
linear-gradient(135deg, rgba(40, 70, 70, 0.86), rgba(22, 41, 44, 0.76)),
|
|
rgba(13, 24, 27, 0.8);
|
|
}
|
|
|
|
:root[data-theme='dark'] .prose tbody tr:nth-child(even) td {
|
|
background: rgba(114, 222, 210, 0.07);
|
|
}
|
|
|
|
:root[data-theme='dark'] .prose tbody tr:hover td {
|
|
background: rgba(114, 222, 210, 0.12);
|
|
}
|
|
|
|
:root[data-theme='dark'] .prose :where(th, td) {
|
|
border-color: rgba(114, 222, 210, 0.12);
|
|
}
|
|
|
|
:root[data-theme='dark'] .site-footer {
|
|
color: rgba(197, 214, 211, 0.74);
|
|
background:
|
|
linear-gradient(180deg, rgba(12, 20, 23, 0.68), rgba(8, 14, 17, 0.88)),
|
|
rgba(8, 14, 17, 0.84);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
:root[data-theme='dark'] .footer-socials a {
|
|
border-color: rgba(174, 205, 197, 0.18);
|
|
color: rgba(218, 234, 231, 0.82);
|
|
background:
|
|
linear-gradient(145deg, rgba(34, 51, 55, 0.78), rgba(14, 24, 27, 0.72)),
|
|
rgba(18, 29, 32, 0.72);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
|
0 10px 24px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
:root[data-theme='dark'] .footer-bottom {
|
|
border-top-color: rgba(174, 205, 197, 0.16);
|
|
}
|
|
|
|
@media (min-width: 960px) {
|
|
.post-list {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.post-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.home-hero {
|
|
grid-template-columns: 1fr;
|
|
gap: 22px;
|
|
padding: 44px 0 28px;
|
|
}
|
|
|
|
.hero-talk {
|
|
max-width: none;
|
|
}
|
|
|
|
.article-sidebar {
|
|
align-self: auto;
|
|
position: static;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.article-sticky-sidebar {
|
|
position: static;
|
|
grid-column: 1 / -1;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.toc-card {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.home-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
#talk .talk_item {
|
|
width: calc(50% - 6px);
|
|
}
|
|
|
|
.home-sidebar {
|
|
align-self: auto;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.sticky-sidebar,
|
|
.article-sticky-sidebar {
|
|
position: static;
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
:root {
|
|
--page-gutter: 16px;
|
|
}
|
|
|
|
.nav {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 40px;
|
|
min-height: auto;
|
|
padding: 10px 12px;
|
|
align-items: center;
|
|
gap: 0 10px;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.nav-menu-toggle {
|
|
display: grid;
|
|
justify-self: end;
|
|
}
|
|
|
|
.nav.is-open .nav-menu-open,
|
|
.nav-menu-close {
|
|
display: none;
|
|
}
|
|
|
|
.nav.is-open .nav-menu-close {
|
|
display: inline-block;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: none;
|
|
grid-column: 1 / -1;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.46);
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.nav.is-open .nav-menu {
|
|
display: grid;
|
|
}
|
|
|
|
.nav-links {
|
|
width: 100%;
|
|
gap: 6px;
|
|
overflow: visible;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.nav-menu .nav-links {
|
|
display: grid;
|
|
}
|
|
|
|
.nav-center {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.nav-actions {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.nav-links a,
|
|
.nav-random,
|
|
.nav-search,
|
|
.theme-toggle {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.theme-toggle {
|
|
min-height: 38px;
|
|
}
|
|
|
|
.hero {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.home-hero {
|
|
min-height: auto;
|
|
padding-top: 34px;
|
|
}
|
|
|
|
.hero-talk {
|
|
min-height: 164px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.hero-talk .talk-list {
|
|
height: 102px;
|
|
}
|
|
|
|
.hero-talk .item {
|
|
min-height: 34px;
|
|
padding: 7px 0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.home-sidebar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.native-feature-grid,
|
|
.friend-link-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
#talk .talk_item {
|
|
width: 100%;
|
|
margin-right: 0;
|
|
}
|
|
|
|
#talk .talk_item .talk_content .zone_imgbox {
|
|
--talk-image-size: calc(50% - 5px);
|
|
}
|
|
|
|
.calendar-widget,
|
|
.schedule-widget {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.article-sidebar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.article-sticky-sidebar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.archive-list a {
|
|
grid-template-columns: 1fr;
|
|
gap: 2px;
|
|
}
|
|
|
|
.article {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.article-header-cover {
|
|
min-height: 300px;
|
|
padding-top: 92px;
|
|
}
|
|
|
|
.article-header-cover h1 {
|
|
font-size: clamp(2rem, 11vw, 3rem);
|
|
}
|
|
|
|
.article-hero-meta {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.article-summary-card {
|
|
padding: 34px 16px 16px;
|
|
}
|
|
|
|
.article-summary-footer {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.prose .code-block,
|
|
.table-scroll {
|
|
margin-right: calc(var(--article-padding) * -0.5);
|
|
margin-left: calc(var(--article-padding) * -0.5);
|
|
}
|
|
|
|
.prose .code-block pre {
|
|
padding-right: 16px;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.prose table {
|
|
min-width: 560px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.post-copyright-card {
|
|
padding: 22px 18px 18px;
|
|
}
|
|
|
|
.post-copyright-meta {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.post-copyright-footer {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.footer-inner {
|
|
grid-template-columns: 1fr;
|
|
gap: 28px;
|
|
padding: 36px 0 34px;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-top {
|
|
justify-items: center;
|
|
}
|
|
|
|
.footer-bottom {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-meta {
|
|
justify-items: center;
|
|
text-align: center;
|
|
}
|
|
}
|