temps
This commit is contained in:
@@ -0,0 +1,156 @@
|
||||
@import "./var.css";
|
||||
|
||||
/* MAIN PAGE STYLES - focused on the hero and features */
|
||||
|
||||
:root {
|
||||
--main-max: 1200px;
|
||||
}
|
||||
|
||||
/* Layout container for injected page content */
|
||||
main[data-page-content] {
|
||||
margin: 0 auto;
|
||||
max-width: var(--main-max);
|
||||
padding: 2rem 1.25rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* HERO */
|
||||
.hero {
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
|
||||
box-shadow: var(--shadow);
|
||||
border-radius: 1rem;
|
||||
padding: clamp(2rem, 4.5vw, 3.5rem);
|
||||
color: var(--text);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hero-inner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
color: var(--accent);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
margin: 0 0 0.6rem;
|
||||
}
|
||||
|
||||
.hero-title { /* previously .hero h1 */
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: clamp(3rem, 8vw, 5rem);
|
||||
line-height: 0.95;
|
||||
margin: 0 0 0.25rem;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: clamp(1rem, 2.2vw, 1.3rem);
|
||||
color: var(--muted);
|
||||
margin: 0 0 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.lead {
|
||||
color: var(--muted);
|
||||
max-width: 68ch;
|
||||
margin: 0 0 1.25rem;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.8rem 1.2rem;
|
||||
border-radius: 999px;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
background: linear-gradient(145deg, var(--accent), var(--accent-strong));
|
||||
color: #08101d;
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
background: rgba(255,255,255,0.03);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* FEATURES - refined layout */
|
||||
.features {
|
||||
margin-top: 1.5rem;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 420px;
|
||||
grid-auto-rows: minmax(120px, auto);
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.features .card {
|
||||
background: rgba(255,255,255,0.02);
|
||||
padding: 1.25rem;
|
||||
border-radius: 0.75rem;
|
||||
box-shadow: 0 8px 22px rgba(2,6,23,0.45);
|
||||
transition: transform 180ms ease, box-shadow 180ms ease;
|
||||
}
|
||||
|
||||
.features .card:first-child {
|
||||
grid-column: 1 / 2;
|
||||
grid-row: 1 / span 2;
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.features .card + .card { /* second item */
|
||||
grid-column: 2 / 3;
|
||||
}
|
||||
|
||||
.features .card:nth-child(3) { grid-column: 2 / 3; }
|
||||
.features .card:nth-child(4) { grid-column: 1 / 3; }
|
||||
|
||||
.features .card h2 { margin: 0 0 0.5rem; font-family: "Georgia", serif; }
|
||||
.features .card p { margin: 0; color: var(--muted); }
|
||||
|
||||
.features .card:hover { transform: translateY(-6px); box-shadow: 0 22px 60px rgba(2,6,23,0.55); }
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.hero-title { font-size: clamp(2.2rem, 7vw, 4rem); }
|
||||
.features { grid-template-columns: 1fr; }
|
||||
.features .card { grid-column: auto; grid-row: auto; }
|
||||
}
|
||||
|
||||
/* Focus states controlled by JS: when a card is focused it expands (spans both columns)
|
||||
and others collapse slightly so the focused card shows full content. */
|
||||
.features[class*="focus-"] .card { transition: all 220ms ease; }
|
||||
.features.focus-1 .card:nth-child(1),
|
||||
.features.focus-2 .card:nth-child(2),
|
||||
.features.focus-3 .card:nth-child(3),
|
||||
.features.focus-4 .card:nth-child(4) {
|
||||
grid-column: 1 / 3;
|
||||
transform: none;
|
||||
box-shadow: 0 28px 80px rgba(2,6,23,0.7);
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.features.focus-1 .card:not(:nth-child(1)),
|
||||
.features.focus-2 .card:not(:nth-child(2)),
|
||||
.features.focus-3 .card:not(:nth-child(3)),
|
||||
.features.focus-4 .card:not(:nth-child(4)) {
|
||||
opacity: 0.95;
|
||||
transform: translateY(0) scale(0.98);
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.features[class*="focus-"] .card { transform: none; box-shadow: none; opacity: 1; }
|
||||
.features[class*="focus-"] .card { grid-column: auto; }
|
||||
}
|
||||
|
||||
/* small helper spacing */
|
||||
.grid { display: block; }
|
||||
|
||||
@@ -0,0 +1,315 @@
|
||||
@import "./var.css";
|
||||
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--bg: var(--background-color);
|
||||
--bg-soft: rgba(15, 52, 96, 0.72);
|
||||
--panel: rgba(17, 25, 49, 0.82);
|
||||
--panel-border: rgba(22, 33, 62, 0.18);
|
||||
--text: var(--generic-text-color);
|
||||
--muted: var(--sidebar-text);
|
||||
--accent: var(--sidebar-text-highlight);
|
||||
--accent-strong: var(--sidebar-select);
|
||||
--shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
color: var(--text);
|
||||
font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), transparent 28%),
|
||||
radial-gradient(circle at right center, rgba(14, 165, 233, 0.14), transparent 32%),
|
||||
linear-gradient(160deg, #050816 0%, #0b1020 52%, #08101d 100%);
|
||||
}
|
||||
|
||||
body::before,
|
||||
body::after {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: auto;
|
||||
pointer-events: none;
|
||||
filter: blur(18px);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
body::before {
|
||||
width: 22rem;
|
||||
height: 22rem;
|
||||
top: -6rem;
|
||||
left: -8rem;
|
||||
background: rgba(56, 189, 248, 0.16);
|
||||
}
|
||||
|
||||
body::after {
|
||||
width: 18rem;
|
||||
height: 18rem;
|
||||
right: -4rem;
|
||||
bottom: 2rem;
|
||||
background: rgba(125, 211, 252, 0.12);
|
||||
}
|
||||
|
||||
.page-shell {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.site-header,
|
||||
.site-footer {
|
||||
backdrop-filter: blur(18px);
|
||||
background: var(--bg-soft);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.header-brand-block{
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
display: flex;
|
||||
/* align-items: center; */
|
||||
gap: 0.85rem;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 1rem 1.25rem;
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.9rem;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
width: 3.75rem;
|
||||
height: 3.75rem;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.brand-text {
|
||||
display: grid;
|
||||
/* line-height: 3.05; */
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
|
||||
.brand-text strong {
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
}
|
||||
|
||||
.brand-text small {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.site-nav a {
|
||||
border-radius: 999px;
|
||||
transition:
|
||||
transform 160ms ease,
|
||||
background 160ms ease,
|
||||
color 160ms ease,
|
||||
border-color 160ms ease;
|
||||
}
|
||||
|
||||
.site-nav a {
|
||||
padding: 0.7rem 1rem;
|
||||
color: var(--muted);
|
||||
text-decoration: none;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.site-nav a:hover,
|
||||
.site-nav a[aria-current="page"] {
|
||||
color: var(--text);
|
||||
border-color: rgba(125, 211, 252, 0.4);
|
||||
background: rgba(125, 211, 252, 0.08);
|
||||
}
|
||||
|
||||
.site-main {
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.site-nav a:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
padding: 1.5rem 1.25rem;
|
||||
background: rgb(50, 54, 66);
|
||||
}
|
||||
|
||||
.site-footer p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.footer-brand-row {
|
||||
display: flex;
|
||||
align-items: start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid rgba(148, 163, 184, 0.16);
|
||||
}
|
||||
.footer-content {
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.footer-brand-block {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.85rem;
|
||||
max-width: 42rem;
|
||||
}
|
||||
|
||||
.footer-brand-mark {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border-radius: 0.95rem;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.footer-brand-block strong {
|
||||
display: block;
|
||||
color: var(--text);
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.footer-brand-block p,
|
||||
.footer-note,
|
||||
.footer-bottom p {
|
||||
color: var(--muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.footer-note {
|
||||
max-width: 20rem;
|
||||
}
|
||||
|
||||
.footer-links-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
padding: 1.25rem 0;
|
||||
}
|
||||
|
||||
.footer-links-grid section {
|
||||
display: grid;
|
||||
gap: 0.6rem;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.footer-links-grid h2 {
|
||||
margin: 0 0 0.15rem;
|
||||
color: var(--text);
|
||||
font-size: 0.98rem;
|
||||
}
|
||||
|
||||
.footer-links-grid a {
|
||||
color: var(--muted);
|
||||
text-decoration: none;
|
||||
width: fit-content;
|
||||
transition: color 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
.footer-links-grid a:hover {
|
||||
color: var(--text);
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid rgba(148, 163, 184, 0.16);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.footer-release,
|
||||
.footer-commit {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.footer-release span,
|
||||
.footer-commit span {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.footer-links-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.page-shell {
|
||||
width: min(100% - 1rem, 1120px);
|
||||
gap: 0.9rem;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.site-nav a,
|
||||
.button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.footer-brand-row,
|
||||
.footer-bottom {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.footer-brand-block {
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
:root {
|
||||
/* Couleurs de la sidebar */
|
||||
--sidebar-background: #1a1a2e;
|
||||
--sidebar-text: #e0e0e0;
|
||||
--sidebar-text-highlight: #00d4ff;
|
||||
--sidebar-select: #16213e;
|
||||
|
||||
/* Couleurs générales */
|
||||
--background-color: #0f3460;
|
||||
--highlighted-text-color: #ffffff;
|
||||
--generic-text-color: #e0e0e0;
|
||||
--error-text-color: #ff6b6b;
|
||||
--warning-text-color: #ffa500;
|
||||
}
|
||||
Reference in New Issue
Block a user