Skip to content

Commit de26e8a

Browse files
committed
Update blog
1 parent a0a8c3f commit de26e8a

4 files changed

Lines changed: 32 additions & 6 deletions

File tree

source/people/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: false
3+
sitemap: false
34
---
45

56
<link rel="stylesheet" href="https://fastly.jsdelivr.net/gh/windshadow233/BlogStorage@files/css/people.css">

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
| GPG Key:
1919
span.inline-word
2020
a(href="https://keys.openpgp.org/search?q=B8674F373ACBD2AD") B8674F373ACBD2AD
21-
.title1
22-
| LinkedIn:
23-
span.inline-word
24-
a(href="https://www.linkedin.com/in/yizhanfan") yizhanfan
2521

2622
.aboutsiteTips.author-content-item
2723
.author-content-item-tips 追求
@@ -39,6 +35,10 @@
3935
|
4036
span(data-show) 程序
4137
.author-content
38+
.author-content-item.linkedin
39+
script(src="https://platform.linkedin.com/badges/js/profile.js" async defer type="text/javascript")
40+
.badge-wrapper
41+
.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
4343
.cursor(style='position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);')
4444
.shapes

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

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,35 @@ p.p.center, span.p.center {
9090
color: var(--fyz-white);
9191
background: linear-gradient(120deg, #5b27ff 0, #00d4ff 100%);
9292
background-size: 200%;
93-
/* animation: gradient 15s ease infinite; */
9493
width: 59%;
9594
}
9695

96+
.author-content-item.linkedin{
97+
--left-translate: 15px;
98+
--top-translate: 3px;
99+
display: flex;
100+
align-items: flex-start;
101+
flex-direction: column;
102+
width: 34%;
103+
padding: 0;
104+
background: linear-gradient(
105+
#38434f 0 calc(42px + var(--top-translate)),
106+
#000 calc(42px + var(--top-translate)) 100%
107+
);
108+
position: relative;
109+
padding-left: var(--left-translate);
110+
padding-top: var(--top-translate);
111+
overflow: scroll;
112+
min-height: 280px;
113+
}
114+
.badge-base iframe {
115+
display: block;
116+
width: 330px !important;
117+
top: calc(-1 * var(--top-translate));
118+
left: calc(-1 * var(--left-translate));
119+
position: relative;
120+
}
121+
97122
.author-content-item {
98123
width: 49%;
99124
border-radius: 24px;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
border: 1px solid var(--fyz-border);
77
box-shadow: var(--card-box-shadow);
88
transition: all 0.3s ease-in-out;
9-
width: 100%;
9+
width: 64%;
1010
position: relative;
1111
padding: 0;
1212
}

0 commit comments

Comments
 (0)