Skip to content

Commit fd1eb70

Browse files
committed
更新
1 parent e269ac3 commit fd1eb70

2 files changed

Lines changed: 2 additions & 1091 deletions

File tree

docs/template.html

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -105,31 +105,6 @@
105105
margin-top: 30px;
106106
gap: 30px;
107107
}
108-
109-
.doc-section {
110-
position: absolute;
111-
top: 0;
112-
left: 0;
113-
width: 100%;
114-
height: 100%;
115-
padding: 30px;
116-
opacity: 0;
117-
transform: translateX(-50px);
118-
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
119-
pointer-events: none;
120-
overflow-y: auto;
121-
}
122-
123-
.doc-section.active {
124-
opacity: 1;
125-
transform: translateX(0);
126-
pointer-events: all;
127-
}
128-
129-
.doc-section.exit {
130-
opacity: 0;
131-
transform: translateX(50px);
132-
}
133108

134109
.sidebar {
135110
width: 280px;
@@ -236,7 +211,7 @@
236211
height: 100%;
237212
padding: 30px;
238213
opacity: 0;
239-
transform: translateX(50px);
214+
transform: translateX(-50px);
240215
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
241216
pointer-events: none;
242217
overflow-y: auto;
@@ -250,7 +225,7 @@
250225

251226
.doc-section.exit {
252227
opacity: 0;
253-
transform: translateX(-50px);
228+
transform: translateX(50px);
254229
}
255230

256231
.doc-section h2 {

0 commit comments

Comments
 (0)