add main edito to home

This commit is contained in:
isUnknown 2024-04-11 10:38:07 +02:00
parent 0529b131a0
commit 00935dbf8e
5 changed files with 35 additions and 18 deletions

View file

@ -37,7 +37,7 @@ body {
--entry-btns-height: 10svh;
}
body[data-template="home"] {
--entry-btns-height: 30svh;
--entry-btns-height: 15svh;
}
.page-cover {
@ -49,6 +49,14 @@ 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%;
@ -76,8 +84,8 @@ body[data-template="home"] {
align-items: start;
}
.entry-btn--left::after,
.entry-btn--right::before {
button.toggle.left::after,
button.toggle.right::before {
transition: all 0.5s var(--curve-sine);
content: "+";
}