朋友,你看到了页面上方的CSS了么?
此页面CSS代码:
[[module CSS]]
#header {
position: relative;
z-index: 10;
padding-bottom: 22px; /* FOR MENU */
background: url() 10px 40px no-repeat;
}
#header h1 {
margin-left: 15%;
padding: 10px 0px 0px 0px;
float: left;
max-height: 90px;
}
#header h2 {
margin-left: 15%;
padding: 0;
clear: left;
float: left;
font-size: 105%;
max-height: 38px;
}
#header h1 a {
display: block;
margin: 0;
padding: 80px 0 25px;
line-height: 0px;
max-height: 0px;
color: transparent;
background: transparent;
font-family: BauhausLTDemi, Arial, sans-serif;
font-size: 120%;
text-shadow: none;
text-decoration: none;
}
#header h1 a::before {
content: "SCR网站测试页";
color: #FFFFFF;
text-shadow: 3px 3px 5px #AE0000;
}
#header h2 span {
display: block;
margin: 0;
padding: 19px 0;
line-height: 0px;
max-height: 0px;
font-weight: bold;
color: transparent;
text-shadow: none;
}/* FFFFFF */
#header h2 span::before {
content: ' 此版为网站测试页 ';
color: #FFFFFF;
text-shadow: 1px 1px 1px #0c4d66;
text-shadow: 1px 1px 1px rgba(0,0,0,.8);
}
[[/module]]
注意,“url”后方括号中请插入图片地址,首先你得上传,详细方式请去“维基语法”页面
这样图片会出现在你的CSS标题旁边
页面版本: 14, 最后编辑于: 06 Jun 2020 00:33