style: thème slate doux — moins sombre et plus moderne

Palette adoucie avec surfaces slate (#0f172a / #1e293b / #273449),
accents sky blue, bordures subtiles et ombres légères. Pas de
blanc pur, juste un dark plus lisible et accueillant.
This commit is contained in:
BlackAngelTV committed 2026-08-24 18:22:09 +02:00
1 parent 8d11f61b67
commit c2b4d58839
5 files changed
+57 -85

No files matched your search

+4 -4
View File
@@ -11,8 +11,8 @@ body {
color: var(--text);
background: var(--surface-dim);
background-image:
radial-gradient(circle at top left, rgba(14, 165, 233, 0.04), transparent 40%),
radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.03), transparent 40%);
radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 40%),
radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.04), transparent 40%);
}
.contact-header {
@@ -79,14 +79,14 @@ main section strong {
}
main section a:not(.button) {
color: var(--accent-strong);
color: var(--accent);
text-decoration: underline;
text-underline-offset: 0.15em;
}
main section a:not(.button):hover,
main section a:not(.button):focus-visible {
color: var(--accent);
color: var(--accent-soft);
}
@media (max-width: 700px) {
+18 -46
View File
@@ -46,27 +46,11 @@
margin: 1.2rem 0 0.5rem;
}
.latest-note h2 {
font-size: 1.2rem;
}
.latest-note h3 {
font-size: 1.05rem;
}
.latest-note p {
margin: 0.5rem 0;
}
.latest-note ul,
.latest-note ol {
margin: 0.4rem 0;
padding-left: 1.4rem;
}
.latest-note li {
margin: 0.25rem 0;
}
.latest-note h2 { font-size: 1.2rem; }
.latest-note h3 { font-size: 1.05rem; }
.latest-note p { margin: 0.5rem 0; }
.latest-note ul, .latest-note ol { margin: 0.4rem 0; padding-left: 1.4rem; }
.latest-note li { margin: 0.25rem 0; }
.latest-note table {
width: 100%;
@@ -83,7 +67,7 @@
}
.latest-note th {
background: var(--surface-dim);
background: var(--surface-raised);
font-weight: 600;
color: var(--text);
}
@@ -97,12 +81,10 @@
color: var(--text-secondary);
}
.latest-note blockquote p {
margin: 0;
}
.latest-note blockquote p { margin: 0; }
.latest-note code {
background: var(--surface-dim);
background: var(--surface-raised);
border: 1px solid var(--border-soft);
padding: 0.15em 0.4em;
border-radius: 0.3rem;
@@ -141,7 +123,7 @@
}
.latest-note a {
color: var(--accent-strong);
color: var(--accent);
text-decoration: none;
}
@@ -155,20 +137,18 @@
padding: 0.35rem 0.9rem;
font-size: 0.88rem;
background: var(--accent-bg);
color: var(--accent-strong);
border: 1px solid var(--accent-soft);
color: var(--accent);
border: 1px solid rgba(56, 189, 248, 0.2);
border-radius: 0.4rem;
cursor: pointer;
transition: background 0.2s;
}
.toggle-note:hover {
background: rgba(14, 165, 233, 0.14);
background: rgba(56, 189, 248, 0.18);
}
.versions-archive {
margin-top: 1rem;
}
.versions-archive { margin-top: 1rem; }
.versions-list {
list-style: none;
@@ -189,9 +169,7 @@
border: 1px solid var(--border-soft);
}
.version-item-empty {
opacity: 0.8;
}
.version-item-empty { opacity: 0.8; }
.version-main {
display: flex;
@@ -200,14 +178,12 @@
}
.version-main a {
color: var(--accent-strong);
color: var(--accent);
text-decoration: none;
width: fit-content;
}
.version-main a:hover {
text-decoration: underline;
}
.version-main a:hover { text-decoration: underline; }
.version-side {
display: flex;
@@ -216,13 +192,9 @@
}
@media (max-width: 880px) {
.latest-row,
.version-item {
.latest-row, .version-item {
flex-direction: column;
align-items: flex-start;
}
.version-side {
width: 100%;
}
.version-side { width: 100%; }
}
+8 -8
View File
@@ -47,8 +47,8 @@ main[data-page-content] {
position: absolute;
inset: 0;
background:
linear-gradient(110deg, rgba(255, 255, 255, 0.92) 18%, rgba(255, 255, 255, 0.6) 58%, rgba(255, 255, 255, 0.82) 100%),
radial-gradient(circle at 72% 20%, rgba(14, 165, 233, 0.1), transparent 48%);
linear-gradient(110deg, rgba(15, 23, 42, 0.82) 18%, rgba(15, 23, 42, 0.35) 58%, rgba(15, 23, 42, 0.7) 100%),
radial-gradient(circle at 72% 20%, rgba(56, 189, 248, 0.15), transparent 48%);
}
.hero-slide.is-active {
@@ -81,7 +81,7 @@ main[data-page-content] {
.hero-subtitle {
font-size: clamp(1rem, 2.2vw, 1.3rem);
color: var(--text-secondary);
color: var(--accent-soft);
margin: 0 0 1rem;
font-weight: 600;
}
@@ -111,7 +111,7 @@ main[data-page-content] {
padding: 0.4rem 0.55rem;
border-radius: 999px;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.8);
background: rgba(30, 41, 59, 0.7);
border: 1px solid var(--border);
box-shadow: var(--shadow-sm);
}
@@ -125,7 +125,7 @@ main[data-page-content] {
place-items: center;
font-size: 1.32rem;
color: var(--text-secondary);
background: var(--surface-dim);
background: rgba(148, 163, 184, 0.15);
cursor: pointer;
transition: all 180ms ease;
}
@@ -133,7 +133,7 @@ main[data-page-content] {
.hero-control:hover {
transform: translateY(-1px);
background: var(--accent-bg);
color: var(--accent-strong);
color: var(--accent);
}
.hero-dots {
@@ -148,7 +148,7 @@ main[data-page-content] {
height: 0.6rem;
border-radius: 999px;
border: 0;
background: var(--border);
background: rgba(148, 163, 184, 0.3);
cursor: pointer;
transition: all 180ms ease;
}
@@ -395,4 +395,4 @@ main[data-page-content] {
.versions-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.version-item { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0.6rem; border-radius: 0.45rem; }
.version-meta { color: var(--muted); margin-left: 0.6rem; font-size: 0.92rem; }
.version-actions { display: flex
.version-actions { display: flex; g
+9 -9
View File
@@ -15,7 +15,7 @@ body {
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
background: var(--surface-dim);
background-image:
radial-gradient(circle at top left, rgba(14, 165, 233, 0.06), transparent 40%),
radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 40%),
radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.05), transparent 40%);
}
@@ -104,7 +104,7 @@ body {
.site-nav a:hover,
.site-nav a[aria-current="page"] {
color: var(--accent-strong);
color: var(--accent);
background: var(--accent-bg);
}
@@ -217,7 +217,7 @@ body {
}
.footer-links-grid a:hover {
color: var(--accent-strong);
color: var(--accent);
transform: translateX(2px);
}
@@ -261,12 +261,12 @@ body {
.button-primary {
background: var(--accent);
color: #ffffff;
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
color: var(--surface-dim);
box-shadow: 0 2px 8px rgba(56, 189, 248, 0.25);
}
.button-secondary {
background: var(--surface);
background: var(--surface-raised);
color: var(--text-secondary);
border-color: var(--border);
}
@@ -280,14 +280,14 @@ body {
.button-primary:hover,
.button-primary:focus-visible {
background: var(--accent-strong);
box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}
.button-secondary:hover,
.button-secondary:focus-visible {
background: var(--surface-raised);
background: rgba(56, 189, 248, 0.12);
border-color: var(--accent-soft);
color: var(--accent-strong);
color: var(--accent);
}
.button:focus-visible {
+18 -18
View File
@@ -1,32 +1,32 @@
:root {
/* Accent colors */
--accent: #0ea5e9;
--accent: #38bdf8;
--accent-soft: #7dd3fc;
--accent-strong: #0284c7;
--accent-bg: rgba(14, 165, 233, 0.08);
--accent-strong: #0ea5e9;
--accent-bg: rgba(56, 189, 248, 0.1);
/* Surfaces */
--surface: #ffffff;
--surface-raised: #f8fafc;
--surface-dim: #f1f5f9;
/* Surfaces — slate doux, pas noir pur */
--surface: #1e293b;
--surface-raised: #273449;
--surface-dim: #0f172a;
/* Text */
--text: #1e293b;
--text-secondary: #475569;
--text: #e2e8f0;
--text-secondary: #94a3b8;
--muted: #64748b;
/* Borders */
--border: #e2e8f0;
--border-soft: rgba(226, 232, 240, 0.6);
--border: rgba(148, 163, 184, 0.15);
--border-soft: rgba(148, 163, 184, 0.08);
/* Shadows */
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
--shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
--shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
--shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
--shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
/* Status */
--error-text-color: #ef4444;
--warning-text-color: #f59e0b;
--success-text-color: #10b981;
--error-text-color: #f87171;
--warning-text-color: #fbbf24;
--success-text-color: #34d399;
}