39519-vm/assets/css/custom.css
Flatlogic Bot edfa4d1aab first
2026-04-08 10:44:00 +00:00

394 lines
5.9 KiB
CSS

:root {
--bg: #f5f5f4;
--surface: #ffffff;
--surface-muted: #f8f8f7;
--surface-strong: #efefec;
--text: #171717;
--text-muted: #57534e;
--line: #ddd6d1;
--line-strong: #bfb7b0;
--accent: #111111;
--accent-soft: #e7e5e4;
--success: #1f6d3d;
--danger: #8d2f2f;
--shadow-sm: 0 10px 30px rgba(17, 17, 17, 0.06);
--shadow-lg: 0 22px 60px rgba(17, 17, 17, 0.08);
--radius-sm: 10px;
--radius-md: 14px;
--radius-lg: 18px;
--container-max: 1180px;
--section-space: clamp(4.5rem, 8vw, 7rem);
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
}
::selection {
background: #d6d3d1;
color: var(--text);
}
a {
color: var(--text);
text-decoration: none;
}
a:hover {
color: #000;
}
.container {
max-width: var(--container-max);
}
.site-shell {
min-height: 100vh;
}
.site-header {
background: rgba(245, 245, 244, 0.88);
backdrop-filter: blur(14px);
}
.navbar {
--bs-navbar-padding-y: 1rem;
}
.navbar.scrolled {
box-shadow: var(--shadow-sm);
}
.bg-body-tertiary {
background-color: transparent !important;
}
.brand-mark {
font-weight: 700;
letter-spacing: -0.03em;
}
.nav-link {
color: var(--text-muted);
font-weight: 500;
}
.nav-link:hover,
.nav-link:focus,
.nav-link.active {
color: var(--text);
}
.section-space {
padding: var(--section-space) 0;
}
.hero-section {
padding-top: clamp(5.5rem, 12vw, 8rem);
}
.hero-title {
max-width: 11ch;
letter-spacing: -0.05em;
line-height: 0.95;
margin: 0 0 1.5rem;
}
.hero-copy,
.section-heading p,
.content-card p,
.notice-card p,
.message-body {
color: var(--text-muted);
max-width: 62ch;
}
.hero-panel,
.portfolio-card,
.content-card,
.testimonial-card,
.contact-card,
.notice-card,
.stat-card,
.empty-state-card,
.modal-content {
background: var(--surface);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
}
.metric-card,
.detail-block {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
padding: 1rem 1.1rem;
height: 100%;
}
.metric-card {
min-height: 100%;
}
.metric-value,
.stat-value {
display: block;
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 700;
letter-spacing: -0.04em;
line-height: 1;
}
.metric-label,
.detail-label,
.panel-label,
.mini-label,
.section-kicker {
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.12em;
font-size: 0.74rem;
font-weight: 700;
color: #6b635d;
}
.section-kicker {
margin-bottom: 1rem;
}
.section-heading {
margin-bottom: 2rem;
}
.section-heading h2,
.section-heading .h2,
.section-heading .h3,
.hero-title,
.modal-title,
h1,
.h1,
.h2,
.h3,
.h4,
.h5 {
font-weight: 800;
letter-spacing: -0.04em;
}
.section-heading h2 {
max-width: 14ch;
margin-bottom: 0.75rem;
}
.lead {
font-size: 1.08rem;
}
.feature-list {
display: grid;
gap: 0.95rem;
margin: 1.5rem 0 0;
}
.feature-list li {
position: relative;
padding-left: 1.4rem;
color: var(--text-muted);
}
.feature-list li::before {
content: '';
position: absolute;
left: 0;
top: 0.72rem;
width: 8px;
height: 8px;
border-radius: 999px;
background: var(--text);
}
.project-meta {
padding-top: 0.85rem;
border-top: 1px solid var(--line);
}
blockquote {
font-size: 1.08rem;
line-height: 1.7;
letter-spacing: -0.02em;
}
.footer-inner {
align-items: center;
}
.btn {
--bs-btn-border-radius: 12px;
--bs-btn-padding-y: 0.8rem;
--bs-btn-padding-x: 1.1rem;
--bs-btn-font-weight: 600;
box-shadow: none !important;
}
.btn-dark {
--bs-btn-bg: #111111;
--bs-btn-border-color: #111111;
--bs-btn-hover-bg: #000000;
--bs-btn-hover-border-color: #000000;
}
.btn-outline-dark,
.btn-outline-secondary {
--bs-btn-color: var(--text);
--bs-btn-border-color: var(--line-strong);
--bs-btn-hover-color: #fff;
--bs-btn-hover-bg: #111111;
--bs-btn-hover-border-color: #111111;
}
.form-control,
.form-select,
textarea.form-control {
border-radius: 12px;
border-color: var(--line);
background: var(--surface-muted);
padding: 0.9rem 1rem;
color: var(--text);
}
.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
.btn:focus,
.navbar-toggler:focus,
.list-group-item:focus {
border-color: #111111;
box-shadow: 0 0 0 0.2rem rgba(17, 17, 17, 0.12);
}
.form-label {
font-weight: 600;
}
.form-text,
.text-secondary {
color: var(--text-muted) !important;
}
.alert,
.toast {
border-radius: 14px;
}
.toast {
min-width: min(92vw, 360px);
box-shadow: var(--shadow-lg);
}
.toast.text-bg-success {
background: var(--success) !important;
}
.toast.text-bg-danger {
background: var(--danger) !important;
}
.modal-content {
border-radius: 18px;
}
.list-group-item {
border-color: var(--line) !important;
border-radius: 14px !important;
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.list-group-item:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-sm);
}
.list-group-item.active {
background: #111111;
color: #fff;
}
.list-group-item.active .badge {
background: rgba(255, 255, 255, 0.9) !important;
}
.backdrop-blur {
backdrop-filter: blur(14px);
}
.inbox-page {
background: #f3f3f2;
}
.inbox-list {
max-height: 70vh;
overflow: auto;
}
.message-body {
white-space: normal;
}
.badge {
font-weight: 600;
}
code {
color: inherit;
background: #ede9e6;
border-radius: 8px;
padding: 0.15rem 0.4rem;
}
@media (max-width: 991.98px) {
.hero-title {
max-width: 100%;
}
.section-heading h2 {
max-width: 100%;
}
.navbar-collapse {
padding-top: 1rem;
}
}
@media (max-width: 575.98px) {
:root {
--section-space: 4rem;
}
.hero-section {
padding-top: 5rem;
}
.hero-copy,
.section-heading p,
.content-card p,
.notice-card p,
.message-body {
max-width: 100%;
}
.btn-lg {
width: 100%;
}
.footer-inner {
align-items: flex-start;
}
}