111 lines
2.1 KiB
CSS
111 lines
2.1 KiB
CSS
/* ===== 插件生态 ===== */
|
|
#plugins {
|
|
padding: 120px 0;
|
|
background: var(--bg-secondary);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.plugins-content {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.pkg-format { text-align: center; margin-bottom: 48px; }
|
|
|
|
.pkg-card {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: clamp(20px, 4vw, 36px);
|
|
font-weight: 700;
|
|
padding: 32px;
|
|
background: var(--bg-glass);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
display: inline-block;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.pkg-symbol { color: var(--text-muted); }
|
|
.pkg-highlight { color: var(--cyan); }
|
|
.pkg-version { color: var(--blue); }
|
|
|
|
.pkg-explain {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.explain-symbol {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--cyan-light);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.explain-text {
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.install-demo {
|
|
background: rgba(10, 15, 30, 0.9);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.demo-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 14px 20px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.demo-dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.demo-dot-red { background: #ef4444; }
|
|
.demo-dot-yellow { background: #eab308; }
|
|
.demo-dot-green { background: #22c55e; }
|
|
|
|
.demo-title {
|
|
margin-left: 12px;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.demo-body {
|
|
padding: 20px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cmd-line {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.prompt { color: var(--cyan); font-weight: 600; }
|
|
.cmd-text { color: #e5e7eb; }
|
|
|
|
.cmd-output {
|
|
color: #9ca3af;
|
|
font-size: 13px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.cmd-output.success { color: #34d399; }
|
|
.cmd-output.indent { padding-left: 24px; }
|
|
|
|
@media (max-width: 640px) {
|
|
.pkg-explain { grid-template-columns: 1fr; }
|
|
}
|