Changement du code pour une nouvelle version en test

This commit is contained in:
serveur
2026-10-17 19:20:00 +02:00
parent 9dba07bc54
commit 044cd54f36
8 changed files with 909 additions and 264 deletions
+52
View File
@@ -0,0 +1,52 @@
/* En-tête commun : titre + menu de navigation (utilisé par toutes les pages) */
.topbar {
position: sticky;
top: 0;
z-index: 10;
background: var(--accent, #8c2f2f);
color: #fff;
padding: calc(8px + env(safe-area-inset-top)) 16px 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.topbar-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 40px;
}
.topbar h1 {
margin: 0;
font-family: Georgia, "Times New Roman", serif;
font-size: 1.15rem;
font-weight: 700;
}
.menu { display: flex; gap: 4px; margin: 2px -6px 0; }
.menu a {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0 14px;
color: rgba(255, 255, 255, 0.78);
text-decoration: none;
font-weight: 600;
font-size: 0.95rem;
border-bottom: 3px solid transparent;
}
.menu a:active { background: rgba(255, 255, 255, 0.12); }
.menu a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
@media (min-width: 600px) {
.menu a { flex: 0 0 auto; padding: 0 22px; }
}
@media print {
.topbar { display: none; }
}