redesign nav panel years

This commit is contained in:
isUnknown 2024-04-09 08:38:29 +02:00
parent 85a6807984
commit a2722a0264
10 changed files with 112 additions and 68 deletions

View file

@ -91,3 +91,36 @@
.panel-close::after {
content: "◀";
}
/* ================= YEARS ================= */
.year__toggle {
width: 100%;
display: flex;
justify-content: space-between;
margin-bottom: var(--unit--vertical);
}
.year__toggle-icon {
color: var(--color-secondary);
font-size: var(--font-size-xl);
}
.year__edito {
margin-bottom: calc(var(--unit--vertical) / 2);
}
.year__edito.short {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5;
overflow: hidden;
}
.year__texts {
margin-top: var(--unit--vertical);
}
/* ================= TEXT ITEM ================= */
.text {
margin-bottom: var(--unit--vertical);
}