diff --git a/assets/css/src/header.css b/assets/css/src/header.css index 71b2898..11cf244 100644 --- a/assets/css/src/header.css +++ b/assets/css/src/header.css @@ -68,6 +68,9 @@ body[data-template="home"] { display: flex; justify-content: space-between; } +[data-template="info"] #entry-btns { + top: calc(var(--unit--vertical) * 4); +} .entry-btn { transition: all 0.5s var(--curve-sine); diff --git a/assets/css/src/html.css b/assets/css/src/html.css index 02b359a..6ff64e0 100644 --- a/assets/css/src/html.css +++ b/assets/css/src/html.css @@ -9,6 +9,9 @@ body { main { padding: 0 var(--unit--horizontal); } +[data-template="info"] main { + margin-top: calc(var(--unit--vertical) * 2); +} hr { height: calc(var(--unit--vertical) / 2); diff --git a/site/blueprints/pages/info.yml b/site/blueprints/pages/info.yml new file mode 100644 index 0000000..4b34ad9 --- /dev/null +++ b/site/blueprints/pages/info.yml @@ -0,0 +1,20 @@ +title: Linéaire +image: + back: black + color: white +icon: bars +create: + fields: + - category + +tabs: + contentTab: + label: Contenu + sections: + bodySection: + label: Corps + type: fields + fields: + body: + label: Corps + type: writer diff --git a/site/snippets/footer.php b/site/snippets/footer.php index 8083430..17a9f9f 100644 --- a/site/snippets/footer.php +++ b/site/snippets/footer.php @@ -1,7 +1,7 @@