856 lines
18 KiB
CSS
856 lines
18 KiB
CSS
html,
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
|
|
Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
:root {
|
|
--accent: #0078d4;
|
|
--accent-rgb: 0, 120, 212;
|
|
--accent-2: #106ebe;
|
|
--accent-3: #005a9e;
|
|
--accent-secondary-rgb: 106, 90, 205;
|
|
|
|
--page-gradient: linear-gradient(
|
|
135deg,
|
|
#e3f2fd 0%,
|
|
#f0f4ff 25%,
|
|
#f5f7fa 50%,
|
|
#e8f0f8 75%,
|
|
#dde8f5 100%
|
|
);
|
|
--page-texture:
|
|
radial-gradient(
|
|
circle at 20% 50%,
|
|
rgba(var(--accent-rgb), 0.03) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
circle at 80% 80%,
|
|
rgba(var(--accent-secondary-rgb), 0.03) 0%,
|
|
transparent 50%
|
|
);
|
|
--title-gradient: linear-gradient(
|
|
135deg,
|
|
var(--accent) 0%,
|
|
var(--accent-2) 30%,
|
|
var(--accent-3) 60%,
|
|
var(--accent) 100%
|
|
);
|
|
|
|
--control-bg: rgba(255, 255, 255, 0.7);
|
|
--control-border: rgba(255, 255, 255, 0.8);
|
|
--control-inset: rgba(255, 255, 255, 0.9);
|
|
--control-fg: #323130;
|
|
}
|
|
|
|
html[data-design-theme="aurora"] {
|
|
--accent: #7c4dff;
|
|
--accent-rgb: 124, 77, 255;
|
|
--accent-2: #5e35b1;
|
|
--accent-3: #4527a0;
|
|
--accent-secondary-rgb: 0, 188, 212;
|
|
--page-gradient: linear-gradient(
|
|
135deg,
|
|
#f3e5f5 0%,
|
|
#ede7f6 25%,
|
|
#e8eaf6 50%,
|
|
#e0f7fa 75%,
|
|
#e3f2fd 100%
|
|
);
|
|
}
|
|
|
|
html[data-design-theme="forest"] {
|
|
--accent: #2e7d32;
|
|
--accent-rgb: 46, 125, 50;
|
|
--accent-2: #1b5e20;
|
|
--accent-3: #0d3d14;
|
|
--accent-secondary-rgb: 0, 150, 136;
|
|
--page-gradient: linear-gradient(
|
|
135deg,
|
|
#e8f5e9 0%,
|
|
#e3f2fd 25%,
|
|
#f1f8e9 50%,
|
|
#e0f2f1 75%,
|
|
#e8f5e9 100%
|
|
);
|
|
}
|
|
|
|
html[data-design-theme="sunset"] {
|
|
--accent: #ff6d00;
|
|
--accent-rgb: 255, 109, 0;
|
|
--accent-2: #f44336;
|
|
--accent-3: #8e24aa;
|
|
--accent-secondary-rgb: 255, 64, 129;
|
|
--page-gradient: linear-gradient(
|
|
135deg,
|
|
#fff3e0 0%,
|
|
#ffe0b2 25%,
|
|
#fce4ec 50%,
|
|
#ede7f6 75%,
|
|
#e3f2fd 100%
|
|
);
|
|
}
|
|
|
|
html[data-design-theme="terminal"] {
|
|
color-scheme: dark;
|
|
|
|
--accent: #33ff00;
|
|
--accent-rgb: 51, 255, 0;
|
|
--accent-2: #33ff00;
|
|
--accent-3: #33ff00;
|
|
--accent-secondary-rgb: 255, 176, 0;
|
|
|
|
--page-gradient: #0a0a0a;
|
|
--page-texture:
|
|
repeating-linear-gradient(
|
|
to bottom,
|
|
rgba(var(--accent-rgb), 0.035) 0px,
|
|
rgba(var(--accent-rgb), 0.035) 1px,
|
|
transparent 2px,
|
|
transparent 4px
|
|
),
|
|
radial-gradient(
|
|
circle at 50% 50%,
|
|
rgba(var(--accent-rgb), 0.05) 0%,
|
|
transparent 60%
|
|
);
|
|
--title-gradient: none;
|
|
|
|
--control-bg: rgba(10, 10, 10, 0.85);
|
|
--control-border: rgba(var(--accent-rgb), 0.35);
|
|
--control-inset: transparent;
|
|
--control-fg: var(--accent);
|
|
}
|
|
|
|
/* Fluent 2 柔和渐变背景 */
|
|
body {
|
|
background: var(--page-gradient);
|
|
background-attachment: fixed;
|
|
position: relative;
|
|
}
|
|
|
|
/* 添加微妙的纹理层 */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-image: var(--page-texture);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container {
|
|
padding: 0 2rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* 主题控制区 */
|
|
.theme-controls {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.design-theme {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.design-theme-button {
|
|
height: 44px;
|
|
min-width: 118px;
|
|
border: 1px solid var(--control-border);
|
|
border-radius: 12px;
|
|
background: var(--control-bg);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.08),
|
|
0 1px 2px rgba(0, 0, 0, 0.04),
|
|
inset 0 1px 0 var(--control-inset);
|
|
padding: 0 34px 0 14px;
|
|
font: inherit;
|
|
color: var(--control-fg);
|
|
cursor: pointer;
|
|
text-align: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.design-theme-button::after {
|
|
content: "▾";
|
|
position: absolute;
|
|
right: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
opacity: 0.7;
|
|
color: var(--control-fg);
|
|
}
|
|
|
|
.design-theme-button:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.3);
|
|
}
|
|
|
|
.design-theme-button:focus-visible {
|
|
outline: 2px solid rgba(var(--accent-rgb), 0.35);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.design-theme-list {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
min-width: 160px;
|
|
max-height: 240px;
|
|
overflow: auto;
|
|
padding: 6px;
|
|
margin: 0;
|
|
list-style: none;
|
|
border: 1px solid var(--control-border);
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.82);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
box-shadow:
|
|
0 12px 30px rgba(0, 0, 0, 0.12),
|
|
0 6px 12px rgba(0, 0, 0, 0.08),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
|
z-index: 1001;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .design-theme-list {
|
|
background: rgba(20, 20, 20, 0.8);
|
|
box-shadow:
|
|
0 12px 30px rgba(0, 0, 0, 0.55),
|
|
0 6px 12px rgba(0, 0, 0, 0.35),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.design-theme-list [role="option"] {
|
|
padding: 10px 10px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
color: var(--control-fg);
|
|
user-select: none;
|
|
text-align: center;
|
|
transition:
|
|
background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
|
|
color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.design-theme-list [role="option"]:hover {
|
|
background: rgba(var(--accent-rgb), 0.12);
|
|
color: var(--control-fg);
|
|
}
|
|
|
|
.design-theme-list [role="option"][aria-selected="true"] {
|
|
background: rgba(var(--accent-rgb), 0.18);
|
|
color: var(--control-fg);
|
|
}
|
|
|
|
.design-theme-list [role="option"]:focus-visible {
|
|
outline: 2px solid rgba(var(--accent-rgb), 0.35);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* 主题切换按钮 */
|
|
.theme-toggle {
|
|
width: 44px;
|
|
height: 44px;
|
|
border: none;
|
|
border-radius: 12px;
|
|
background: var(--control-bg);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
border: 1px solid var(--control-border);
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.08),
|
|
0 1px 2px rgba(0, 0, 0, 0.04),
|
|
inset 0 1px 0 var(--control-inset);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
padding: 0;
|
|
}
|
|
|
|
.theme-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: block;
|
|
transition:
|
|
opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
|
transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.theme-icon-sun {
|
|
display: none;
|
|
}
|
|
|
|
.theme-icon-moon {
|
|
display: block;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .theme-icon-sun {
|
|
display: block;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .theme-icon-moon {
|
|
display: none;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow:
|
|
0 8px 24px rgba(var(--accent-rgb), 0.15),
|
|
0 4px 8px rgba(0, 0, 0, 0.1),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
border-color: rgba(var(--accent-rgb), 0.3);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.theme-toggle:active {
|
|
transform: translateY(0);
|
|
transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .theme-toggle {
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.3),
|
|
0 1px 2px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"])
|
|
.design-theme-button {
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.3),
|
|
0 1px 2px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 var(--control-inset);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"])
|
|
.theme-toggle:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.4);
|
|
box-shadow:
|
|
0 8px 24px rgba(var(--accent-rgb), 0.25),
|
|
0 4px 8px rgba(0, 0, 0, 0.3),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.main {
|
|
padding: 3rem 0;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.title {
|
|
line-height: 1.3;
|
|
font-size: 2.5rem;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
margin-bottom: 0.5rem;
|
|
color: #1a1a1a;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
/* Fluent 2 风格的标题渐变 - 使用 Fluent 蓝系 */
|
|
.title {
|
|
background: var(--title-gradient);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
color: transparent;
|
|
}
|
|
|
|
.title,
|
|
.description {
|
|
text-align: center;
|
|
}
|
|
|
|
.description {
|
|
margin: 4rem 0;
|
|
line-height: 1.5;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.grid {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
max-width: 800px;
|
|
}
|
|
|
|
/* Fluent 2 亚克力玻璃卡片 */
|
|
.card {
|
|
width: 100%;
|
|
margin: 1rem;
|
|
padding: 1.5rem;
|
|
text-align: left;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
max-width: 300px;
|
|
|
|
/* 亚克力玻璃效果 */
|
|
background: rgba(255, 255, 255, 0.7);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
|
|
/* Fluent 2 圆角系统 - 等距圆角 */
|
|
border-radius: 12px;
|
|
|
|
/* 高光描边效果 */
|
|
border: 1px solid rgba(255, 255, 255, 0.8);
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.08),
|
|
0 1px 2px rgba(0, 0, 0, 0.04),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
|
|
|
/* Fluent 交互动效 - 轻量空间变化 */
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
transform: translateY(0);
|
|
position: relative;
|
|
}
|
|
|
|
.card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-radius: 12px;
|
|
padding: 1px;
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(var(--accent-rgb), 0.1) 0%,
|
|
rgba(255, 255, 255, 0.3) 50%,
|
|
rgba(var(--accent-rgb), 0.1) 100%
|
|
);
|
|
-webkit-mask:
|
|
linear-gradient(#fff 0 0) content-box,
|
|
linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
opacity: 0;
|
|
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.card.pin {
|
|
background: rgba(247, 247, 247, 0.75);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
}
|
|
|
|
/* Fluent 2 Hover 效果 - 轻量上浮 */
|
|
.card:hover,
|
|
.card:focus {
|
|
color: var(--accent);
|
|
transform: translateY(-2px);
|
|
box-shadow:
|
|
0 8px 24px rgba(var(--accent-rgb), 0.15),
|
|
0 4px 8px rgba(0, 0, 0, 0.1),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
border-color: rgba(var(--accent-rgb), 0.3);
|
|
}
|
|
|
|
.card:hover::before,
|
|
.card:focus::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card:active {
|
|
transform: translateY(0);
|
|
transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.card h2 {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
letter-spacing: -0.01em;
|
|
transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.card:hover h2,
|
|
.card:focus h2 {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.card .title-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.card .title-icon img {
|
|
width: 32px;
|
|
height: 32px;
|
|
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
|
|
}
|
|
|
|
.card:hover .title-icon img,
|
|
.card:focus .title-icon img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.card p {
|
|
margin: 0;
|
|
font-size: 0.9375rem;
|
|
line-height: 1.6;
|
|
color: #605e5c;
|
|
transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.card:hover p,
|
|
.card:focus p {
|
|
color: #323130;
|
|
}
|
|
|
|
.card .single {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
word-break: break-all;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.beian {
|
|
margin-bottom: 24px;
|
|
margin-top: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.beian img {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin: 0 4px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.beian a {
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
color: #605e5c;
|
|
transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.beian a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
@keyframes terminal-cursor-blink {
|
|
0%,
|
|
49% {
|
|
opacity: 1;
|
|
}
|
|
50%,
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
html[data-design-theme="terminal"] body {
|
|
font-family:
|
|
ui-monospace, "JetBrains Mono", "Fira Code", "VT323", Menlo, Consolas,
|
|
"Liberation Mono", monospace;
|
|
letter-spacing: 0.01em;
|
|
color: var(--accent);
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .theme-controls {
|
|
gap: 12px;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .design-theme-button,
|
|
html[data-design-theme="terminal"] .theme-toggle {
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.55);
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .theme-toggle {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .design-theme-button:hover,
|
|
html[data-design-theme="terminal"] .theme-toggle:hover {
|
|
background: var(--accent);
|
|
color: #0a0a0a;
|
|
border-color: var(--accent);
|
|
transform: none;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .design-theme-button::after {
|
|
color: currentColor;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .design-theme-list {
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
background: rgba(10, 10, 10, 0.92);
|
|
border: 1px solid rgba(var(--accent-rgb), 0.55);
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .design-theme-list [role="option"] {
|
|
border-radius: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .design-theme-list [role="option"]:hover,
|
|
html[data-design-theme="terminal"]
|
|
.design-theme-list
|
|
[role="option"][aria-selected="true"] {
|
|
background: var(--accent);
|
|
color: #0a0a0a;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .title {
|
|
background: none;
|
|
-webkit-text-fill-color: currentColor;
|
|
color: var(--accent);
|
|
text-shadow: 0 0 5px rgba(var(--accent-rgb), 0.5);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
position: relative;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .title::after {
|
|
content: "█";
|
|
margin-left: 8px;
|
|
animation: terminal-cursor-blink 1s step-end infinite;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .card {
|
|
border-radius: 0;
|
|
background: transparent;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.35);
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
transform: none;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .card::before {
|
|
display: none;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .card h2,
|
|
html[data-design-theme="terminal"] .card p,
|
|
html[data-design-theme="terminal"] .beian a {
|
|
color: var(--accent);
|
|
text-shadow: 0 0 5px rgba(var(--accent-rgb), 0.25);
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .card:hover,
|
|
html[data-design-theme="terminal"] .card:focus {
|
|
background: rgba(var(--accent-rgb), 0.06);
|
|
border-color: var(--accent);
|
|
box-shadow: none;
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .card:hover h2,
|
|
html[data-design-theme="terminal"] .card:focus h2 {
|
|
color: var(--accent);
|
|
}
|
|
|
|
html[data-design-theme="terminal"] .beian a:hover {
|
|
background: var(--accent);
|
|
color: #0a0a0a;
|
|
text-shadow: none;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.grid {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.theme-controls {
|
|
top: 12px;
|
|
right: 12px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.design-theme-button {
|
|
min-width: 108px;
|
|
}
|
|
}
|
|
|
|
/* Fluent 2 深色模式 */
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) {
|
|
color-scheme: dark;
|
|
--accent: #60cdff;
|
|
--accent-rgb: 96, 205, 255;
|
|
--accent-2: #4fc3f7;
|
|
--accent-3: #29b6f6;
|
|
|
|
--page-gradient: linear-gradient(
|
|
135deg,
|
|
#1a1a1a 0%,
|
|
#1f1f1f 25%,
|
|
#1a1a1a 50%,
|
|
#1d1d1d 75%,
|
|
#1a1a1a 100%
|
|
);
|
|
--page-texture:
|
|
radial-gradient(
|
|
circle at 20% 50%,
|
|
rgba(var(--accent-rgb), 0.08) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
circle at 80% 80%,
|
|
rgba(var(--accent-secondary-rgb), 0.08) 0%,
|
|
transparent 50%
|
|
);
|
|
|
|
--control-bg: rgba(30, 30, 30, 0.7);
|
|
--control-border: rgba(255, 255, 255, 0.1);
|
|
--control-inset: rgba(255, 255, 255, 0.05);
|
|
--control-fg: #ffffff;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) body {
|
|
color: #ffffff;
|
|
}
|
|
|
|
html[data-theme="dark"][data-design-theme="aurora"] {
|
|
--accent: #b388ff;
|
|
--accent-rgb: 179, 136, 255;
|
|
--accent-2: #9575cd;
|
|
--accent-3: #7e57c2;
|
|
--accent-secondary-rgb: 77, 208, 225;
|
|
}
|
|
|
|
html[data-theme="dark"][data-design-theme="forest"] {
|
|
--accent: #66bb6a;
|
|
--accent-rgb: 102, 187, 106;
|
|
--accent-2: #43a047;
|
|
--accent-3: #2e7d32;
|
|
--accent-secondary-rgb: 38, 166, 154;
|
|
}
|
|
|
|
html[data-theme="dark"][data-design-theme="sunset"] {
|
|
--accent: #ffb74d;
|
|
--accent-rgb: 255, 183, 77;
|
|
--accent-2: #ff8a65;
|
|
--accent-3: #ce93d8;
|
|
--accent-secondary-rgb: 244, 143, 177;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card {
|
|
background: rgba(30, 30, 30, 0.7);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.3),
|
|
0 1px 2px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card::before {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(var(--accent-rgb), 0.2) 0%,
|
|
rgba(255, 255, 255, 0.1) 50%,
|
|
rgba(var(--accent-rgb), 0.2) 100%
|
|
);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card h2 {
|
|
color: #ffffff;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card:hover h2,
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card:focus h2 {
|
|
color: var(--accent);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card:hover,
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card:focus {
|
|
border-color: rgba(var(--accent-rgb), 0.4);
|
|
box-shadow:
|
|
0 8px 24px rgba(var(--accent-rgb), 0.25),
|
|
0 4px 8px rgba(0, 0, 0, 0.3),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card p {
|
|
color: #c8c6c4;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card:hover p,
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .card:focus p {
|
|
color: #e1dfdd;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .pin.card {
|
|
background: rgba(40, 40, 40, 0.75);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .beian a {
|
|
color: #c8c6c4;
|
|
}
|
|
|
|
html[data-theme="dark"]:not([data-design-theme="terminal"]) .beian a:hover {
|
|
color: var(--accent);
|
|
}
|