204 lines
11 KiB
CSS
204 lines
11 KiB
CSS
:root {
|
|
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
color: #cdd6f4;
|
|
background: #1e1e2e;
|
|
font-synthesis: none;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
background: radial-gradient(circle at 85% -10%, #302b50 0, transparent 38rem), #1e1e2e;
|
|
}
|
|
button, a, input, textarea, select { font: inherit; }
|
|
button, select { cursor: pointer; }
|
|
.shell { min-height: 100vh; max-width: 1080px; margin: auto; padding: 0 28px 72px; }
|
|
.header { height: 94px; display: flex; align-items: center; justify-content: space-between; }
|
|
.header-actions { display: flex; align-items: center; gap: 8px; }
|
|
.brand { position: relative; color: #cdd6f4; font-size: 1.15rem; font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
|
|
.brand:hover { color: #cba6f7; }
|
|
.brand-prompt { color: #a6e3a1; font-family: ui-monospace, SFMono-Regular, monospace; }
|
|
.brand-cursor { color: #f9e2af; font-family: ui-monospace, SFMono-Regular, monospace; animation: blink 1.2s steps(2, start) infinite; }
|
|
.brand small { display: block; margin: 5px 0 0 22px; color: #7f849c; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
|
|
@keyframes blink { 50% { opacity: 0; } }
|
|
.text-button { border: 1px solid #45475a; border-radius: 8px; background: #313244; color: #bac2de; cursor: pointer; padding: 8px 12px; }
|
|
.text-button:hover { border-color: #89b4fa; color: #cdd6f4; }
|
|
.theme-button { border: 1px solid #45475a; border-radius: 8px; background: #313244; color: #bac2de; padding: 8px 12px; }
|
|
.theme-button:hover { border-color: #cba6f7; color: #f5e0e8; }
|
|
.mode-badge { border: 1px solid #45475a; border-radius: 999px; padding: 6px 11px; color: #a6adc8; background: #242438; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
|
|
.mode-badge:hover { border-color: #cba6f7; color: #f5e0e8; }
|
|
.google-button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #585b70; border-radius: 8px; background: #313244; color: #cdd6f4; cursor: pointer; padding: 8px 12px; font-weight: 650; }
|
|
.google-button:hover { background: #45475a; border-color: #89b4fa; }
|
|
.google-button span { color: #89b4fa; font-weight: 800; }
|
|
.card { margin: 10vh auto 0; max-width: 500px; padding: 42px; background: #242438; border: 1px solid #45475a; border-radius: 16px; box-shadow: 0 18px 50px #11111b66; }
|
|
h1 { margin: 10px 0 12px; color: #f5e0e8; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.04em; }
|
|
p { line-height: 1.65; }
|
|
.muted { color: #a6adc8; }
|
|
.small { font-size: .875rem; }
|
|
.eyebrow { color: #cba6f7; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
|
|
.secondary-button { width: 100%; min-height: 48px; margin-top: 20px; border: 0; border-radius: 9px; background: #45475a; color: #cdd6f4; cursor: pointer; font-weight: 650; }
|
|
.error { padding: 10px 12px; border-radius: 8px; color: #f38ba8; background: #3b2634; font-size: .9rem; }
|
|
.profile { margin-top: 24px; padding: 14px; border-radius: 8px; background: #313244; color: #a6adc8; }
|
|
.content-page, .detail-page { padding-top: 5vh; }
|
|
.page-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
|
|
.page-heading h1 { color: #cdd6f4; }
|
|
.filters { display: grid; grid-template-columns: minmax(150px, .25fr) minmax(180px, .35fr) 1fr; gap: 14px; margin-bottom: 24px; padding: 16px; background: #242438; border: 1px solid #45475a; border-radius: 14px; }
|
|
.filters label { display: grid; gap: 7px; color: #bac2de; font-size: .85rem; font-weight: 650; }
|
|
.filters select, .badge-input { width: 100%; min-height: 43px; border: 1px solid #585b70; border-radius: 8px; padding: 6px 9px; background: #313244; color: #cdd6f4; font: inherit; font-weight: 400; }
|
|
.filters select:focus, .badge-input:focus-within { outline: 2px solid #89b4fa; outline-offset: 1px; }
|
|
.badge-input { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
|
|
.badge-input input { min-width: 180px; flex: 1; border: 0; outline: 0; padding: 5px; color: #cdd6f4; background: transparent; font: inherit; }
|
|
.badge-input input::placeholder { color: #7f849c; }
|
|
.filter-pill, .badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 4px 9px; color: #cba6f7; background: #3b3151; font-size: .78rem; font-weight: 650; }
|
|
.filter-pill button { border: 0; padding: 0 2px; color: #cba6f7; background: transparent; cursor: pointer; font-size: 1rem; line-height: 1; }
|
|
.badge-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
|
|
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
|
|
.content-card { padding: 28px; background: #242438; border: 1px solid #45475a; border-radius: 14px; box-shadow: 0 12px 34px #11111b33; }
|
|
.content-card:hover { border-color: #585b70; box-shadow: 0 15px 40px #11111b55; }
|
|
.content-card h2 { margin: 12px 0 8px; font-size: 1.35rem; letter-spacing: -.025em; }
|
|
.content-card h2 a { color: #f5e0e8; text-decoration: none; }
|
|
.content-card h2 a:hover, .read-link:hover { color: #89b4fa; }
|
|
.content-card p { color: #a6adc8; margin: 0 0 18px; }
|
|
.content-card .content-meta { margin-top: -8px; color: #7f849c; font-size: .82rem; }
|
|
.status { display: inline-block; color: #94e2d5; background: #193d3a; border-radius: 999px; padding: 4px 9px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
|
|
.read-link, .back-link { color: #89b4fa; font-weight: 650; text-decoration: none; }
|
|
.list-status { text-align: center; min-height: 54px; padding: 14px; }
|
|
.empty-state { max-width: none; text-align: center; margin-top: 0; }
|
|
.detail-page { max-width: 760px; margin: auto; }
|
|
.back-link { display: inline-block; margin-bottom: 32px; }
|
|
.detail-heading { position: relative; padding-bottom: 26px; border-bottom: 1px solid #45475a; }
|
|
.detail-heading h1 { margin-top: 14px; }
|
|
.detail-heading .muted { font-size: 1.1rem; }
|
|
.edit-button { position: absolute; top: 0; right: 0; }
|
|
.body-copy { white-space: pre-wrap; line-height: 1.8; padding-top: 28px; color: #bac2de; }
|
|
.editor { display: grid; gap: 18px; }
|
|
.editor label { display: grid; gap: 7px; color: #bac2de; font-size: .9rem; font-weight: 650; }
|
|
.editor input, .editor textarea, .editor select { width: 100%; border: 1px solid #585b70; border-radius: 8px; padding: 11px 12px; background: #313244; color: #cdd6f4; font: inherit; font-weight: 400; }
|
|
.editor input:focus, .editor textarea:focus, .editor select:focus { outline: 2px solid #89b4fa; outline-offset: 1px; }
|
|
.editor textarea { resize: vertical; }
|
|
.actions { display: flex; gap: 10px; margin-top: 4px; }
|
|
.primary-button, .secondary-button { border: 0; border-radius: 8px; min-height: 42px; padding: 0 17px; cursor: pointer; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
|
|
.primary-button { background: #cba6f7; color: #1e1e2e; }
|
|
.primary-button:hover { background: #d8b9ff; }
|
|
.primary-button:disabled { opacity: .6; cursor: wait; }
|
|
.actions .secondary-button { margin: 0; background: #45475a; color: #cdd6f4; }
|
|
.inline-button { margin-top: 22px; }
|
|
.protected-card { text-align: center; }
|
|
.terminal-backdrop {
|
|
position: fixed;
|
|
z-index: 20;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background: #000000b8;
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
.terminal-window {
|
|
width: min(100%, 620px);
|
|
overflow: hidden;
|
|
border: 1px solid #4d4d4d;
|
|
border-radius: 8px;
|
|
background: #000;
|
|
color: #fff;
|
|
box-shadow: 0 24px 90px #000;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
}
|
|
.terminal-titlebar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 9px 14px;
|
|
color: #fff;
|
|
background: #252525;
|
|
border-bottom: 1px solid #454545;
|
|
font-size: .82rem;
|
|
}
|
|
.terminal-close {
|
|
border: 0;
|
|
color: #fff;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
font-size: 1.35rem;
|
|
line-height: 1;
|
|
}
|
|
.terminal-close:hover { color: #ff6b6b; }
|
|
.terminal-body { display: grid; gap: 14px; padding: 24px; }
|
|
.terminal-body p { margin: 0; line-height: 1.5; }
|
|
.terminal-body label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #fff;
|
|
font: inherit;
|
|
white-space: nowrap;
|
|
}
|
|
.terminal-prompt { color: #fff; font-weight: 700; }
|
|
.terminal-body input {
|
|
min-width: 0;
|
|
flex: 1;
|
|
border: 0;
|
|
outline: 0;
|
|
padding: 0;
|
|
color: #fff;
|
|
background: #000;
|
|
font: inherit;
|
|
}
|
|
.terminal-body input::placeholder { color: #777; }
|
|
.terminal-submit {
|
|
justify-self: start;
|
|
border: 0;
|
|
padding: 0;
|
|
color: #fff;
|
|
background: transparent;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.terminal-submit:hover { color: #a6e3a1; }
|
|
.terminal-error { color: #ff6b6b; }
|
|
html[data-theme="light"] {
|
|
color: #4c4f69;
|
|
background: #eff1f5;
|
|
}
|
|
html[data-theme="light"] body { background: radial-gradient(circle at 85% -10%, #dce4f4 0, transparent 38rem), #eff1f5; }
|
|
html[data-theme="light"] .brand { color: #4c4f69; }
|
|
html[data-theme="light"] .brand:hover { color: #8839ef; }
|
|
html[data-theme="light"] .brand-prompt { color: #40a02b; }
|
|
html[data-theme="light"] .brand-cursor { color: #df8e1d; }
|
|
html[data-theme="light"] .brand small { color: #8c8fa1; }
|
|
html[data-theme="light"] .text-button,
|
|
html[data-theme="light"] .theme-button { border-color: #ccd0da; background: #e6e9ef; color: #5c5f77; }
|
|
html[data-theme="light"] .text-button:hover,
|
|
html[data-theme="light"] .theme-button:hover { border-color: #8839ef; color: #4c4f69; }
|
|
html[data-theme="light"] .mode-badge { border-color: #ccd0da; background: #e6e9ef; color: #6c6f85; }
|
|
html[data-theme="light"] .google-button { border-color: #ccd0da; background: #e6e9ef; color: #5c5f77; }
|
|
html[data-theme="light"] .google-button:hover { border-color: #1e66f5; background: #dce0e8; }
|
|
html[data-theme="light"] .card,
|
|
html[data-theme="light"] .filters,
|
|
html[data-theme="light"] .content-card { background: #ffffff; border-color: #ccd0da; box-shadow: 0 12px 34px #4c4f6914; }
|
|
html[data-theme="light"] h1,
|
|
html[data-theme="light"] .content-card h2 a { color: #4c4f69; }
|
|
html[data-theme="light"] .muted,
|
|
html[data-theme="light"] .content-card p { color: #6c6f85; }
|
|
html[data-theme="light"] .eyebrow { color: #8839ef; }
|
|
html[data-theme="light"] .filters select,
|
|
html[data-theme="light"] .badge-input,
|
|
html[data-theme="light"] .editor input,
|
|
html[data-theme="light"] .editor textarea,
|
|
html[data-theme="light"] .editor select { border-color: #ccd0da; background: #eff1f5; color: #4c4f69; }
|
|
html[data-theme="light"] .profile,
|
|
html[data-theme="light"] .secondary-button,
|
|
html[data-theme="light"] .actions .secondary-button { background: #e6e9ef; color: #5c5f77; }
|
|
html[data-theme="light"] .status { color: #179299; background: #d9f1ed; }
|
|
html[data-theme="light"] .filter-pill,
|
|
html[data-theme="light"] .badge { color: #8839ef; background: #f0e5ff; }
|
|
html[data-theme="light"] .body-copy,
|
|
html[data-theme="light"] .editor label,
|
|
html[data-theme="light"] .filters label { color: #5c5f77; }
|
|
html[data-theme="light"] .detail-heading { border-color: #ccd0da; }
|
|
html[data-theme="light"] .read-link,
|
|
html[data-theme="light"] .back-link { color: #1e66f5; }
|
|
html[data-theme="light"] .primary-button { background: #8839ef; color: #ffffff; }
|
|
html[data-theme="light"] .primary-button:hover { background: #7c2fe0; }
|
|
@media (max-width: 480px) { .shell { padding: 0 16px 56px; } .card { padding: 28px 22px; } .brand small { font-size: .58rem; } }
|
|
@media (max-width: 640px) { .content-page, .detail-page { padding-top: 3vh; } .edit-button { position: static; margin-top: 10px; } .filters { grid-template-columns: 1fr; } }
|