diff --git a/assets/css/src/article.css b/assets/css/src/article.css
index d6e0716..191b259 100644
--- a/assets/css/src/article.css
+++ b/assets/css/src/article.css
@@ -12,6 +12,10 @@ article #main-content {
margin-top: calc(var(--unit--vertical) * 0.5);
}
+[data-template="year"] article > h1 {
+ margin-bottom: 0;
+}
+
article #main-content #chapo::after {
content: "";
display: block;
diff --git a/assets/css/src/generic.css b/assets/css/src/generic.css
index 39fcf3e..88a19c6 100644
--- a/assets/css/src/generic.css
+++ b/assets/css/src/generic.css
@@ -1,14 +1,3 @@
-.panel-item-content__edito.short {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 5;
- overflow: hidden;
-
- /* Do not remove : required not to crop letters descenders */
- padding-bottom: 0.16rem;
- height: 8.5rem;
-}
-
.hidden {
display: none;
}
@@ -133,3 +122,19 @@ button.less::after {
.transition {
transition: all 0.5s var(--curve-sine);
}
+
+.short {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 5;
+ overflow: hidden;
+
+ /* Do not remove : required not to crop letters descenders */
+ padding-bottom: 0.16rem;
+ /* height: 8.5rem; */
+}
+
+.see-more {
+ width: 100%;
+ margin-top: calc(var(--unit--vertical) / 2);
+}
diff --git a/assets/css/src/header.css b/assets/css/src/header.css
index a56f852..31d7345 100644
--- a/assets/css/src/header.css
+++ b/assets/css/src/header.css
@@ -132,10 +132,11 @@ button.toggle.right::before {
padding-right: 1vw;
}
body:not([data-template="home"]) #logo * {
- font-size: 6vw;
+ font-size: 5.6vw;
}
body:not([data-template="home"]) #logo span {
height: 5vw;
+ padding-right: calc(var(--unit--horizontal) - 0.3vw);
}
body:not([data-template="home"]) #main-header.minimized #inactuel {
margin-top: -4.9vw;
diff --git a/assets/css/src/tabs.css b/assets/css/src/tabs.css
index 9581fc3..358cd33 100644
--- a/assets/css/src/tabs.css
+++ b/assets/css/src/tabs.css
@@ -76,18 +76,6 @@ button.toggle.right.open::before {
border: none;
}
-.texts__year.short .year__edito {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 5;
- overflow: hidden;
-}
-
-.texts__year .see-more {
- width: 100%;
- margin-top: calc(var(--unit--vertical) / 2);
-}
-
@media screen and (min-width: 640px) {
[data-template="home"] #tabs {
margin-top: calc(0px - (10 * var(--unit--vertical)));
diff --git a/site/templates/year.php b/site/templates/year.php
index 54eb13e..b4f08eb 100644
--- a/site/templates/year.php
+++ b/site/templates/year.php
@@ -1,8 +1,6 @@
année = $page->title() ?>
openDate()->isNotEmpty()): ?>
@@ -10,9 +8,6 @@
ouverte depuis le = $page->openDate()->toDate('d/m/Y') ?>