53 lines
1.2 KiB
CSS
53 lines
1.2 KiB
CSS
/* 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; }
|
|
}
|