finish year page
This commit is contained in:
parent
9d3800690d
commit
bb924bed7b
5 changed files with 22 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)));
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
<?php snippet('header') ?>
|
||||
<main id="<?= $page->template() ?>">
|
||||
<article>
|
||||
<?php snippet('cover', array('isOpen' => true), slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h1 class="main-title">année <?= $page->title() ?></h1>
|
||||
|
||||
<?php if ($page->openDate()->isNotEmpty()): ?>
|
||||
|
|
@ -11,9 +9,6 @@
|
|||
</p>
|
||||
<?php endif ?>
|
||||
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
|
||||
<div id="main-content"
|
||||
x-data="{
|
||||
edito: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue