mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
fix: repertoire heading font sizes
This commit is contained in:
@@ -37,6 +37,7 @@ header nav ul {
|
|||||||
|
|
||||||
header nav ul a {
|
header nav ul a {
|
||||||
font-family: var(--font-display);
|
font-family: var(--font-display);
|
||||||
|
font-size: var(--step-0)
|
||||||
letter-spacing: 0.12em;
|
letter-spacing: 0.12em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: var(--accent-foreground);
|
color: var(--accent-foreground);
|
||||||
@@ -161,10 +162,7 @@ header nav ul a[aria-current="page"] {
|
|||||||
gap: 0;
|
gap: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header
|
header nav[aria-label="Navigation principale"] .nav-left-links li:not(:first-child) {
|
||||||
nav[aria-label="Navigation principale"]
|
|
||||||
.nav-left-links
|
|
||||||
li:not(:first-child) {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -182,9 +180,7 @@ header nav ul a[aria-current="page"] {
|
|||||||
transition: max-height 0.2s ease-out;
|
transition: max-height 0.2s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-btn:checked
|
.menu-btn:checked ~ nav[aria-label="Navigation principale"] .nav-mobile-links {
|
||||||
~ nav[aria-label="Navigation principale"]
|
|
||||||
.nav-mobile-links {
|
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -201,24 +197,16 @@ header nav ul a[aria-current="page"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Animate burger → X */
|
/* Animate burger → X */
|
||||||
.menu-btn:checked ~ nav[aria-label="Navigation principale"]
|
.menu-btn:checked ~ nav[aria-label="Navigation principale"] .menu-icon .navicon {
|
||||||
.menu-icon
|
|
||||||
.navicon {
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-btn:checked
|
.menu-btn:checked ~ nav[aria-label="Navigation principale"] .menu-icon .navicon::before {
|
||||||
~ nav[aria-label="Navigation principale"]
|
|
||||||
.menu-icon
|
|
||||||
.navicon::before {
|
|
||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-btn:checked
|
.menu-btn:checked ~ nav[aria-label="Navigation principale"] .menu-icon .navicon::after {
|
||||||
~ nav[aria-label="Navigation principale"]
|
|
||||||
.menu-icon
|
|
||||||
.navicon::after {
|
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,6 +117,14 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.repertoire-col a,
|
||||||
|
.repertoire-col button {
|
||||||
|
line-height: 22px;
|
||||||
|
}
|
||||||
|
.repertoire-col[data-col="kw"] button {
|
||||||
|
font-size: calc(var(--step--1)*1.15);
|
||||||
|
}
|
||||||
|
|
||||||
/* ---- Responsive (≤ 1025px): accordion mode, students as results ---- */
|
/* ---- Responsive (≤ 1025px): accordion mode, students as results ---- */
|
||||||
@media (max-width: 1025px) {
|
@media (max-width: 1025px) {
|
||||||
.repertoire-index {
|
.repertoire-index {
|
||||||
|
|||||||
Reference in New Issue
Block a user