Improve assets
This commit is contained in:
parent
f69067f7ae
commit
8edf81608f
21 changed files with 17 additions and 18 deletions
assets/style
45
assets/style/global.css
Normal file
45
assets/style/global.css
Normal file
|
@ -0,0 +1,45 @@
|
|||
@import "tailwindcss";
|
||||
@plugin "@tailwindcss/typography";
|
||||
|
||||
:root {
|
||||
font-family: "Zen Maru Gothic", sans-serif;
|
||||
}
|
||||
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
||||
@keyframes zoom-fade-out {
|
||||
from {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoom-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.95);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
::view-transition-old(zoom-fade) {
|
||||
animation: 400ms ease both zoom-fade-out;
|
||||
}
|
||||
|
||||
::view-transition-new(zoom-fade) {
|
||||
animation: 500ms ease 100ms both zoom-fade-in;
|
||||
}
|
||||
|
||||
.zoom-fade {
|
||||
view-transition-name: zoom-fade;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue