forked from FWS/FWS-TEMPLATE-Website-OnePage
style: refonte complète du thème vers un design clair et moderne
Nouvelle palette de couleurs claire avec surfaces blanches, ombres douces et accents bleu ciel. Police Inter, header sticky, cartes avec bordures subtiles, hero avec overlay lumineux, boutons moins arrondis et plus épurés.
This commit is contained in:
5 files changed
+351
-426
No files matched your search
+22
-24
@@ -7,12 +7,12 @@ html {
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-family: "Trebuchet MS", "Segoe UI", sans-serif;
|
||||
color: var(--generic-text-color);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(0, 212, 255, 0.18), transparent 24%),
|
||||
radial-gradient(circle at right center, rgba(255, 165, 0, 0.14), transparent 28%),
|
||||
linear-gradient(160deg, var(--sidebar-background) 0%, var(--sidebar-select) 50%, var(--background-color) 100%);
|
||||
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||
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%);
|
||||
}
|
||||
|
||||
.contact-header {
|
||||
@@ -25,17 +25,16 @@ body {
|
||||
.contact-header h1 {
|
||||
margin: 0;
|
||||
font-family: "Georgia", "Times New Roman", serif;
|
||||
font-size: clamp(2.5rem, 7vw, 5.2rem);
|
||||
line-height: 0.95;
|
||||
letter-spacing: -0.05em;
|
||||
color: var(--highlighted-text-color);
|
||||
font-size: clamp(2rem, 6vw, 3.5rem);
|
||||
line-height: 1.1;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-header p {
|
||||
max-width: 62ch;
|
||||
margin: 1rem auto 0;
|
||||
color: var(--generic-text-color);
|
||||
opacity: 0.84;
|
||||
color: var(--text-secondary);
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
@@ -45,7 +44,7 @@ hr {
|
||||
margin: 0 auto;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, var(--sidebar-text-highlight), var(--warning-text-color), transparent);
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
main {
|
||||
@@ -56,39 +55,38 @@ main {
|
||||
|
||||
main section {
|
||||
padding: clamp(1.4rem, 3vw, 2rem);
|
||||
border-radius: 1.6rem;
|
||||
border: 1px solid rgba(224, 224, 224, 0.16);
|
||||
background: linear-gradient(145deg, var(--sidebar-background), var(--sidebar-select));
|
||||
box-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
|
||||
border-radius: 1rem;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
main section h2 {
|
||||
margin: 0 0 0.85rem;
|
||||
color: var(--highlighted-text-color);
|
||||
color: var(--text);
|
||||
font-family: "Georgia", "Times New Roman", serif;
|
||||
font-size: clamp(1.4rem, 3vw, 2.1rem);
|
||||
}
|
||||
|
||||
main section p {
|
||||
margin: 0 0 1rem;
|
||||
color: var(--generic-text-color);
|
||||
opacity: 0.9;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
main section strong {
|
||||
color: var(--highlighted-text-color);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
main section a:not(.button) {
|
||||
color: var(--sidebar-text-highlight);
|
||||
color: var(--accent-strong);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.15em;
|
||||
}
|
||||
|
||||
main section a:not(.button):hover,
|
||||
main section a:not(.button):focus-visible {
|
||||
color: var(--highlighted-text-color);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
@@ -102,7 +100,7 @@ main section a:not(.button):focus-visible {
|
||||
}
|
||||
|
||||
main section {
|
||||
border-radius: 1.1rem;
|
||||
border-radius: 0.8rem;
|
||||
}
|
||||
|
||||
main section a.button {
|
||||
|
||||
Reference in new issue
Block a user