Skip to content

Commit 8d5799d

Browse files
committed
profile pic
1 parent 5258202 commit 8d5799d

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

index.css

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
margin: 4px;
88
}
99

10-
#blanket{background-color: #9a5454;border-radius: 3px;max-width: 100%;width: 800px;margin: auto;font-family: cursive;/* text-align: center; */}
10+
.avadesc h1 {
11+
12+
font-weight: normal;
13+
}
14+
ul li{
15+
margin-bottom: 5px;
16+
}
17+
18+
#blanket{background-color: #9a5454;border-radius: 3px;max-width: 100%;width: 800px;margin: auto;font-family: "Lato", "Microsoft YaHei",sans-serif;/* text-align: center; */}
1119
.subbox{
1220
/* vertical-align: top; */
1321
/* padding: 10px; */

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
<script src="commonmark.js">
1010
</script>
1111
<script src="index.js" charset="utf-8"></script>
12+
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
1213
</body>
1314
</html>

index.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,12 @@ var SectionContent = newclassfrombox('seccontent')
135135
var avatar = blanket.make_child(SubBox,'avatar')
136136
// avatar.add_class('shadow-base')
137137

138-
// var avatarimg = avatar.make_child(Image)
139-
// avatarimg.set_src('https://bbs.kechuang.org/resources/site_specific/kclogo_umaru1_nc.png')
138+
var avatarimg = avatar.make_child(Image)
139+
// avatarimg.set_src(
140+
// 'https://bbs.kechuang.org/resources/site_specific/kclogo_umaru1_nc.png'
141+
// )
142+
143+
avatarimg.set_src('profile.jpg')
140144

141145
var avatar_desc = avatar.make_child(AvaDesc)
142146
avatar_desc.text = into_markdown(`

profile.jpg

160 KB
Loading

profile2.jpg

137 KB
Loading

0 commit comments

Comments
 (0)