diff --git a/assets/css/src/article.css b/assets/css/src/article.css index c01746f..27aebae 100644 --- a/assets/css/src/article.css +++ b/assets/css/src/article.css @@ -1,3 +1,4 @@ article .content { + scroll-margin-block-start: calc(var(--unit--vertical) * 6); margin-top: calc(var(--unit--vertical) * 2); } diff --git a/assets/css/src/header.css b/assets/css/src/header.css index 616ee0e..71b2898 100644 --- a/assets/css/src/header.css +++ b/assets/css/src/header.css @@ -49,14 +49,6 @@ body[data-template="home"] { display: flex; flex-direction: column; } -.page-cover .edito { - max-height: 43svh; - overflow: auto; - margin-top: var(--unit--vertical); - box-sizing: border-box; - border-top: 1px solid #fff; - border-bottom: 1px solid #fff; -} .page-cover .text-wrapper { height: 100%; diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index b2860f3..b247a87 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -4,6 +4,9 @@ tabs: contentTab: label: Contenu fields: + subtitle: + label: Sous-titre + type: text edito: label: Éditorial type: writer diff --git a/site/templates/home.php b/site/templates/home.php index 4d7cef3..4b58902 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -1,25 +1,24 @@
- +
+ -
- - -
-
\ No newline at end of file