mirror of
https://github.com/arthur-pbty/blocnote.git
synced 2026-06-03 23:36:28 +02:00
Refactor Docker setup, enhance README, add legal pages, and implement site footer
This commit is contained in:
+232
-2
@@ -64,17 +64,25 @@
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-sans);
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
transition: background var(--transition), color var(--transition);
|
||||
}
|
||||
|
||||
.site-shell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* ===== Layout ===== */
|
||||
.app-container {
|
||||
display: flex;
|
||||
@@ -82,6 +90,200 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ===== Site Footer ===== */
|
||||
.site-footer {
|
||||
border-top: 1px solid var(--border-color);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 34%),
|
||||
linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
|
||||
padding: 40px 24px 28px;
|
||||
}
|
||||
|
||||
.site-footer-inner {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
|
||||
gap: 28px;
|
||||
}
|
||||
|
||||
.site-footer-brand {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.site-footer-logo {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.4px;
|
||||
}
|
||||
|
||||
.site-footer-mark {
|
||||
display: block;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.site-footer-description {
|
||||
max-width: 34rem;
|
||||
font-size: 15px;
|
||||
line-height: 1.7;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.site-footer-badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.site-footer-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 12px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 999px;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.site-footer-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.site-footer-heading {
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.site-footer-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.site-footer-link {
|
||||
color: var(--text-primary);
|
||||
text-decoration: none;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
transition: color var(--transition);
|
||||
}
|
||||
|
||||
.site-footer-link:hover {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.site-footer-link-muted {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.site-footer-bottom {
|
||||
max-width: 1200px;
|
||||
margin: 28px auto 0;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid var(--border-light);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
flex-wrap: wrap;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.site-footer-bottom strong {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.legal-page {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 80px 24px 96px;
|
||||
}
|
||||
|
||||
.legal-page-hero {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
max-width: 46rem;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.legal-page-kicker {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.12em;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.legal-page-title {
|
||||
font-size: clamp(2rem, 4vw, 3.2rem);
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.05em;
|
||||
}
|
||||
|
||||
.legal-page-intro {
|
||||
font-size: 18px;
|
||||
line-height: 1.7;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.legal-page-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.legal-card {
|
||||
padding: 24px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--radius-lg);
|
||||
background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.legal-card h2 {
|
||||
margin-bottom: 12px;
|
||||
font-size: 20px;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.legal-card p,
|
||||
.legal-card li {
|
||||
font-size: 15px;
|
||||
line-height: 1.7;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.legal-card ul {
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
.legal-page-link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.legal-page-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* ===== Loading ===== */
|
||||
.loading-screen {
|
||||
display: flex;
|
||||
@@ -898,6 +1100,26 @@ body {
|
||||
.preview-pane {
|
||||
padding: 14px 16px;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
padding: 32px 20px 24px;
|
||||
}
|
||||
|
||||
.site-footer-inner {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.site-footer-brand {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.legal-page {
|
||||
padding: 64px 20px 88px;
|
||||
}
|
||||
|
||||
.legal-page-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@@ -913,6 +1135,14 @@ body {
|
||||
width: 48px;
|
||||
min-width: 48px;
|
||||
}
|
||||
|
||||
.site-footer-inner {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.site-footer-bottom {
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Accessibility ===== */
|
||||
|
||||
Reference in New Issue
Block a user