Skip to content

Commit 8e79b3c

Browse files
committed
chore: change index page waving hand from emoji to image
1 parent 585fae1 commit 8e79b3c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ displayTitle: Xecades Notes
55

66
::dot-pattern
77
:::p{style="font-size: 1.1em"}
8-
Hi [👋]{.waving} 欢迎来到我的笔记本~
8+
Hi []{.waving} 欢迎来到我的笔记本~
99
:::
1010

1111
:::span{.home-links}

src/assets/css/markdown.styl

+9-2
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,19 @@ schemer(--quote-background-invert, 0, 1);
291291
/* span.waving 标签 */
292292
span.waving
293293
display: inline-block;
294-
scale: 1.1;
295-
margin-left: 0.1em;
296294
margin-right: 0.1em;
297295
animation: waving 1.7s infinite ease-in-out;
298296
transform-origin: 70% 60%;
299297

298+
&::before
299+
margin-bottom: -0.2em;
300+
width: 1.1em;
301+
height: 1.1em;
302+
content: "";
303+
display: inline-block;
304+
background: url(@/assets/img/waving.png) no-repeat;
305+
background-size: 100%;
306+
300307
/* span.home-links 标签 */
301308
span.home-links
302309
display: flex;

src/assets/img/waving.png

31.5 KB
Loading

0 commit comments

Comments
 (0)