Add base template for website preview route

This commit is contained in:
Thilo Hohlt
2024-08-03 18:07:27 +02:00
parent 0b2a9f2383
commit dfcb129e69
10 changed files with 85 additions and 22 deletions

View File

@@ -22,7 +22,10 @@
}
.modal:target {
display: block;
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
}
.modal__closeoverlay {
@@ -41,12 +44,10 @@
background-color: var(--bg-primary);
border-radius: var(--border-radius);
border: var(--border-primary);
inline-size: 300px;
max-inline-size: 100%;
max-block-size: calc(100vh - 2rem);
overflow-y: auto;
z-index: 20;
position: absolute;
max-inline-size: 300px;
margin-inline: auto;
inset-block-start: 2rem;
inset-inline-start: 50%;
transform: translateX(-50%);
}
</style>