Update npm dependencies & reformatted floating actions

This commit is contained in:
ClovertaTheTrilobita 2026-07-25 18:51:08 +08:00
parent 5c135cf3c2
commit 0374cbe864
3 changed files with 436 additions and 394 deletions

682
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -56,7 +56,11 @@
#back-to-top {
width: 3rem;
height: 3rem;
border: #a7a7a7 1.5px solid;
/* border: #a7a7a7 1.5px solid; */
border-top: var(--deep-blue) 1.5px dotted;
border-left: var(--deep-blue) 1.5px dotted;
border-right: var(--deep-blue) 2.5px solid;
border-bottom: var(--deep-blue) 2.5px solid;
border-radius: 999px;
background: rgba(255, 255, 255, 0.92);
color: #222;
@ -118,7 +122,8 @@
transition:
opacity 0.2s ease,
transform 0.27s ease,
visibility 0.2s ease;
visibility 0.2s ease,
box-shadow 0.2s ease;
}
#theme-toggle-fab.show,
@ -130,7 +135,8 @@
#theme-toggle-fab.show:hover,
#back-to-top.show:hover {
transform: translateY(-2px);
transform: translateY(-2.5px);
box-shadow: 2px 3px 0px var(--deep-blue);
}
:global(.dark) #theme-toggle-fab,

View file

@ -193,6 +193,10 @@ const t = getTranslations(lang);
justify-content: center;
text-decoration: none;
border: #536493 1.5px solid;
border-top: #536493 2.5px dotted;
border-left: #536493 2.5px dotted;
border-right: #536493 2.5px solid;
border-bottom: #536493 2.5px solid;
background: rgba(255, 255, 255, 0.92);
color: #222;
/* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16); */
@ -217,7 +221,8 @@ const t = getTranslations(lang);
}
.back-button.show:hover {
transform: translateY(-2px);
transform: translateY(-2.5px);
box-shadow: 2px 3px 0px var(--deep-blue);
}
.back-button:hover {
@ -369,7 +374,6 @@ const t = getTranslations(lang);
}
}
details {
margin: 1.5rem 0;
overflow: hidden;