Skip to content

Commit a3a639d

Browse files
committed
Update blog
1 parent 71906a2 commit a3a639d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

themes/butterfly/layout/includes/page/about.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
.badge-wrapper
4141
.badge-base.LI-profile-badge(data-locale="en_US" data-size="large" data-theme="dark" data-type="HORIZONTAL" data-vanity="yizhanfan" data-version="v1")
4242
.author-content-item.hello-about
43-
.cursor(style='position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);')
43+
.cursor
4444
.shapes
4545
.shape.shape-1(style='position: absolute;top: 50%;left: 50%;')
4646
.shape.shape-2(style='position: absolute;top: 50%;left: 50%;')

themes/butterfly/source/css/_custom/about/hello-about.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,12 @@
9393

9494
.cursor {
9595
position: absolute;
96+
top: 50%;
97+
left: 50%;
98+
transform: translate(-50%, -50%);
9699
background: #2128bd;
97100
width: 20px;
98101
height: 20px;
99-
margin: -10px 0 0 -10px;
100102
border-radius: 50%;
101103
will-change: transform;
102104
user-select: none;

0 commit comments

Comments
 (0)