Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions preview/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ header {
gap: 24px;
padding-bottom: 20px;
border-bottom: 1px solid var(--rule);
animation: rise 420ms cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.identity {
display: flex;
Expand Down Expand Up @@ -87,6 +88,7 @@ a {
font-size: 12px;
line-height: 1.5;
font-variant-numeric: tabular-nums;
animation: rise 420ms cubic-bezier(0.23, 1, 0.32, 1) 70ms backwards;
}
main {
display: grid;
Expand All @@ -96,6 +98,13 @@ main {
overflow: hidden;
background: var(--surface);
transition: grid-template-columns 340ms cubic-bezier(0.32, 0.72, 0, 1);
animation: rise 420ms cubic-bezier(0.23, 1, 0.32, 1) 140ms backwards;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(10px);
}
}
main.reading {
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
Expand Down Expand Up @@ -373,4 +382,9 @@ button:active,
#status .st.in {
animation: none;
}
header,
.snapshot,
main {
animation: none;
}
}
Loading