Files
2026-06-21 20:42:58 +00:00

141 lines
4.7 KiB
CSS

:root {
--bg-color: #eef3f8;
--bg-secondary: #f8fafc;
--surface: #ffffff;
--surface-elevated: #f1f5f9;
--surface-hover: #e0f2fe;
--primary: #0f68ad;
--primary-dark: #0b4f84;
--primary-light: #0284c7;
--accent: #0891b2;
--text-primary: #0f172a;
--text-secondary: #334155;
--text-muted: #64748b;
--border: #d7e1ec;
--border-hover: #7dd3fc;
--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
--shadow-md: 0 10px 25px rgba(15, 23, 42, 0.10);
--shadow-lg: 0 20px 35px rgba(15, 23, 42, 0.14);
--radius: 8px;
--radius-lg: 14px;
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-mono: 'SFMono-Regular', Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
font-family: var(--font-sans);
font-size: 1rem;
line-height: 1.6;
color: var(--text-primary);
background: linear-gradient(180deg, #f8fafc 0%, var(--bg-color) 42rem, #e8eef5 100%);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
::selection { background: #bae6fd; color: var(--text-primary); }
nav {
position: sticky;
top: 0;
z-index: 1000;
background: rgba(255, 255, 255, 0.88);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-bottom: 1px solid var(--border);
padding: 0 1rem;
display: flex;
align-items: center;
box-shadow: var(--shadow-sm);
}
nav::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
opacity: 0.25;
}
.nav-menu { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.nav-menu a {
display: inline-flex;
align-items: center;
padding: 0.55rem 0.8rem;
border-radius: var(--radius);
color: var(--text-secondary);
text-decoration: none;
}
.nav-menu > a:first-child {
font-weight: 800;
color: var(--primary);
padding: 1rem 1.25rem;
margin: 0.35rem 0.25rem 0.35rem 0;
}
.nav-menu a:hover { background: var(--surface-hover); color: var(--primary-dark); }
#content {
min-height: calc(100vh - 8rem);
padding: 2rem 1rem;
max-width: 1200px;
margin: 0 auto;
}
h1, h2, h3, h4, h5, h6 { font-weight: 750; line-height: 1.2; margin-bottom: 1rem; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 4vw, 3rem); position: relative; padding-bottom: 0.75rem; margin-bottom: 1.25rem; }
h1::after { content: ''; position: absolute; bottom: 0; left: 0; width: 64px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; }
h2 { font-size: 1.6rem; }
p { color: var(--text-secondary); }
code, pre { font-family: var(--font-mono); }
code { background: var(--surface-elevated); border: 1px solid var(--border); border-radius: 0.35rem; padding: 0.05rem 0.3rem; }
#content > div:not(.ws-app), .block, .card, .dashboard-panel {
background: rgba(255, 255, 255, 0.94);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 1.75rem;
margin-bottom: 1.5rem;
box-shadow: var(--shadow-sm);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#content > div:not(.ws-app):hover, .block:hover, .card:hover, .dashboard-panel:hover { box-shadow: var(--shadow-md); border-color: var(--border-hover); }
form { max-width: 760px; }
label { font-weight: 650; color: var(--text-secondary); font-size: 0.875rem; }
input, select, textarea {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
color: var(--text-primary);
font-size: 1rem;
font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.14); }
button, .btn, input[type="submit"] {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.4rem;
background: var(--primary);
color: white;
border: none;
border-radius: var(--radius);
font-weight: 750;
font-size: 1rem;
cursor: pointer;
transition: all 0.2s ease;
}
button:hover, .btn:hover, input[type="submit"]:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
footer { border-top: 1px solid var(--border); padding: 1.25rem 1rem; color: var(--text-muted); font-size: 0.875rem; background: rgba(255, 255, 255, 0.72); }
footer p { color: var(--text-muted); }
@media (max-width: 860px) {
#content { padding: 1rem 0.75rem; }
#content > div:not(.ws-app), .block, .card, .dashboard-panel { padding: 1.25rem; margin-bottom: 1rem; }
}