design virtual pages
This commit is contained in:
parent
8e65a1cc64
commit
c70b4890f8
12 changed files with 131 additions and 84 deletions
|
|
@ -33,18 +33,26 @@
|
|||
bottom: 0%;
|
||||
}
|
||||
|
||||
.page-cover {
|
||||
position: relative;
|
||||
height: 80svh;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding-top: calc(var(--unit--vertical-relative) * 5);
|
||||
body {
|
||||
--entry-btns-height: 10svh;
|
||||
}
|
||||
body[data-template="home"] {
|
||||
--entry-btns-height: 30svh;
|
||||
}
|
||||
|
||||
.page-cover.open + * {
|
||||
margin-top: calc(var(--unit--vertical-relative) * 19);
|
||||
.page-cover {
|
||||
position: relative;
|
||||
height: calc(100svh - var(--entry-btns-height));
|
||||
box-sizing: border-box;
|
||||
padding-top: calc(var(--unit--vertical-relative) * 5);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.page-cover .text-wrapper {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
[data-template="home"] .page-cover {
|
||||
|
|
@ -56,7 +64,7 @@
|
|||
position: sticky;
|
||||
position: -webkit-sticky;
|
||||
top: calc(var(--unit--vertical) * 3);
|
||||
height: 20svh;
|
||||
height: var(--entry-btns-height);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue