category.php : don't show year if no article
This commit is contained in:
parent
3804d13cb6
commit
b0fb0b101d
8 changed files with 50 additions and 35 deletions
|
|
@ -26,22 +26,18 @@ button.toggle.right.open::before {
|
|||
}
|
||||
|
||||
#tabs {
|
||||
position: relative;
|
||||
margin-top: -25svh;
|
||||
margin-bottom: 30svh;
|
||||
transition: margin-top 0.5s ease-in-out;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#tabs.open {
|
||||
margin-bottom: calc(3 * var(--unit--vertical));
|
||||
bottom: calc(var(--unit--vertical-relative) * 2);
|
||||
}
|
||||
|
||||
.active-tab {
|
||||
max-height: 65svh;
|
||||
position: absolute;
|
||||
max-height: calc(var(--unit--vertical-relative) * 17);
|
||||
overflow: auto;
|
||||
margin-top: var(--unit--vertical);
|
||||
transition: max-height 0.5s ease-in-out;
|
||||
padding: var(--unit--vertical) 0;
|
||||
}
|
||||
/* ================= SCROLLBAR ================= */
|
||||
/* Works on Firefox */
|
||||
|
|
@ -68,10 +64,6 @@ button.toggle.right.open::before {
|
|||
border: none;
|
||||
}
|
||||
|
||||
.page-cover.open .active-tab {
|
||||
height: calc(100svh - 7.5 * var(--unit--vertical));
|
||||
}
|
||||
|
||||
.texts__year.short .year__edito {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue