1

Refond la page d’accueil

This commit is contained in:
2025-09-20 01:38:54 +02:00
parent 03943034ca
commit 52ac7de5bc
6 changed files with 423 additions and 26 deletions

View File

@@ -1,13 +1,151 @@
#hero {
padding: 1rem;
width: 90%;
max-width: 1100px;
margin: 2rem auto 1.25rem;
display: flex;
gap: 1rem;
align-items: center;
flex-direction: column;
gap: 1.35rem;
padding: 1.25rem 1.4rem 1.3rem;
border-radius: 12px;
position: relative;
background: linear-gradient(140deg, rgba(28, 28, 28, 0.98), rgba(14, 14, 14, 0.94));
border: 1px solid rgba(255, 255, 255, 0.04);
}
@media (max-width: 768px) {
#hero header {
display: flex;
align-items: center;
gap: 1.5rem;
}
#hero header figure {
flex-shrink: 0;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
#hero header figure img {
width: 100%;
max-width: 160px;
height: auto;
filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.35));
}
#hero header > div {
display: flex;
flex-direction: column;
gap: 0.35rem;
}
#hero header h1 {
margin: 0;
font-size: 2.6rem;
letter-spacing: 0.02em;
}
#hero header .site-description {
margin: 0;
font-size: 1.1rem;
color: var(--text-softest);
letter-spacing: 0.04em;
}
#hero > ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1rem;
margin: 0;
padding: 0;
list-style: none;
}
#hero > ul li {
display: flex;
flex-direction: column;
gap: 0.4rem;
padding: 1.1rem 1.2rem;
border-radius: 12px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(20, 20, 20, 0.2));
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
#hero > ul li strong {
margin: 0;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-muted2);
}
#hero > ul li span {
color: var(--text-white);
}
#hero > ul li span,
#hero > ul li time {
font-size: 1.65rem;
font-weight: 600;
color: var(--text-white);
}
#hero > nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.75rem;
}
#hero > nav a {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.45rem 0.9rem;
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.04);
color: var(--text-softer);
text-decoration: none;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: 0.02em;
flex: 1 1 170px;
text-align: center;
transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
#hero > nav a:hover,
#hero > nav a:focus {
color: var(--text-white);
background: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 255, 255, 0.25);
}
@media (max-width: 900px) {
#hero {
flex-direction: column;
margin: 1.5rem auto;
gap: 1rem;
text-align: center;
}
}
#hero header {
flex-direction: column;
align-items: center;
gap: 1rem;
}
#hero header figure img {
max-width: 140px;
}
#hero > ul {
grid-template-columns: 1fr;
gap: 0.75rem;
}
#hero > nav a {
flex: 1 1 140px;
}
}