# 创建页面
IGEM 对创建的单个页面有大小限制,单页面文件不超过2MB
。
# 清理原始页面中样式
官方文档中其实给了相关的CSS代码:
See More
<html>
<style>
#sideMenu,
#top_title,
.patrollink,
#firstHeading,
#home_logo,
#sideMenu {
display: none;
}
#content {
padding: 0px;
width: 100%;
margin-top: -7px;
margin-left: 0px;
border: none;
}
body,
html {
background-color: white;
width: 100%;
height: 100%;
}
#bodyContent h1,
#bodyContent h2,
#bodyContent h3,
#bodyContent h4,
#bodyContent h5 {
margin-bottom: 0px;
}
#bodyContent a[href ^="https://"],
.link-https {
padding-right: 0px;
}
#globalWrapper {
padding-bottom: 0px;
}
</style>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
其中最后一项是我添加的,因为添加相关样式后,页面下方依旧存在白边,通过检查发现,globalWrapper
盒子模型存在底部内边距。
# 模板修改后,页面不更新
一个页面引用了某个模板文件,修改模板文件后,页面不会更新,需要重新保存页面后,才会更新。
# 上传文件无法替换原始文件
不知道怎么解决,不过后来通过改改文件名称,使图片文件正常显示了。