Skip to content

Commit

Permalink
style(projects): prettier format code
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Aug 3, 2023
1 parent 9296e69 commit 24cf1d9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- prettier-ignore -->
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
Expand Down
18 changes: 15 additions & 3 deletions src/styles/css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,21 @@ html {
-webkit-text-size-adjust: 100%; /* 2 */
-moz-tab-size: 4; /* 3 */
tab-size: 4; /* 3 */
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
"Helvetica Neue",
Arial,
"Noto Sans",
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji"; /* 4 */
}

/*
Expand Down
12 changes: 9 additions & 3 deletions src/styles/css/transition.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
/* fade-bottom */
.fade-bottom-enter-active,
.fade-bottom-leave-active {
transition: opacity 0.25s, transform 0.3s;
transition:
opacity 0.25s,
transform 0.3s;
}
.fade-bottom-enter-from {
opacity: 0;
Expand Down Expand Up @@ -53,7 +55,9 @@
/* zoom-fade */
.zoom-fade-enter-active,
.zoom-fade-leave-active {
transition: transform 0.2s, opacity 0.3s ease-out;
transition:
transform 0.2s,
opacity 0.3s ease-out;
}
.zoom-fade-enter-from {
opacity: 0;
Expand All @@ -67,7 +71,9 @@
/* zoom-out */
.zoom-out-enter-active,
.zoom-out-leave-active {
transition: opacity 0.1s ease-in-out, transform 0.15s ease-out;
transition:
opacity 0.1s ease-in-out,
transform 0.15s ease-out;
}
.zoom-out-enter-from,
.zoom-out-leave-to {
Expand Down

0 comments on commit 24cf1d9

Please sign in to comment.