更新,完成全部的设计
This commit is contained in:
BIN
assets/alla_screenshot.png
Normal file
BIN
assets/alla_screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 MiB |
88
assets/css/loading.css
Normal file
88
assets/css/loading.css
Normal file
@@ -0,0 +1,88 @@
|
||||
#loading {
|
||||
position: absolute;
|
||||
background-color: #FFF;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#loading_bg {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.loader {
|
||||
width: 250px;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
font-family: helvetica, arial, sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-weight: 900;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
letter-spacing: 0.2em;
|
||||
}
|
||||
|
||||
.loader::before,
|
||||
.loader::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background:rgba(0, 0, 0, 0.5);
|
||||
position: absolute;
|
||||
-webkit-animation: load .7s infinite alternate ease-in-out;
|
||||
animation: load .7s infinite alternate ease-in-out;
|
||||
}
|
||||
|
||||
.loader::before {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.loader::after {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
@-webkit-keyframes load {
|
||||
0% {
|
||||
left: 0;
|
||||
height: 30px;
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
50% {
|
||||
height: 8px;
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: 235px;
|
||||
height: 30px;
|
||||
width: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes load {
|
||||
0% {
|
||||
left: 0;
|
||||
height: 30px;
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
50% {
|
||||
height: 8px;
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: 235px;
|
||||
height: 30px;
|
||||
width: 15px;
|
||||
}
|
||||
}
|
||||
36
assets/css/main.css
Normal file
36
assets/css/main.css
Normal file
@@ -0,0 +1,36 @@
|
||||
@font-face {
|
||||
font-family: 'Font1';
|
||||
src: url(../font/CangJiGaoDeGuoMiaoHei.woff);
|
||||
}
|
||||
|
||||
h1 {
|
||||
border: 2px solid white;
|
||||
border-radius: 5px;
|
||||
margin-top: 2%;
|
||||
margin-right: 10%;
|
||||
margin-bottom: auto;
|
||||
margin-left: 10%;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
background-color: rgb(255, 255, 255);
|
||||
font-family: Font1;
|
||||
}
|
||||
|
||||
p {
|
||||
border: 2px solid white;
|
||||
border-radius: 5px;
|
||||
margin-top: auto;
|
||||
margin-right: 10%;
|
||||
margin-bottom: auto;
|
||||
margin-left: 10%;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
background-color: rgb(255, 255, 255);
|
||||
font-family: Font1;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: linear-gradient(45deg, transparent 0%, transparent 55%, rgba(64, 64, 64, 0.04) 55%, rgba(64, 64, 64, 0.04) 76%, transparent 76%, transparent 100%), linear-gradient(135deg, transparent 0%, transparent 14%, rgba(64, 64, 64, 0.04) 14%, rgba(64, 64, 64, 0.04) 41%, transparent 41%, transparent 100%), linear-gradient(45deg, transparent 0%, transparent 2%, rgba(64, 64, 64, 0.04) 2%, rgba(64, 64, 64, 0.04) 18%, transparent 18%, transparent 100%), linear-gradient(135deg, transparent 0%, transparent 61%, rgba(64, 64, 64, 0.04) 61%, rgba(64, 64, 64, 0.04) 71%, transparent 71%, transparent 100%), linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
||||
}
|
||||
|
||||
.a_dl{
|
||||
color: lightpink;
|
||||
}
|
||||
50
assets/css/topbar.css
Normal file
50
assets/css/topbar.css
Normal file
@@ -0,0 +1,50 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* 装饰Topbar的div */
|
||||
.topbar {
|
||||
height: 40px;
|
||||
font-size: 12px;
|
||||
border: 2px solid white;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
background-color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
/* 使得列表值横向排列 */
|
||||
.topbar li {
|
||||
display: inline;
|
||||
/* 装饰topbar中的字体 *BOBOBO*/
|
||||
color: rgb(0, 0, 0);
|
||||
/* 字间距 */
|
||||
margin-right: 13px;
|
||||
font-size: large;
|
||||
font-family:Font1;
|
||||
}
|
||||
|
||||
/* 使得两个ul在同一行显示 */
|
||||
.topbar ul {
|
||||
/* border: 1px red solid; */
|
||||
display: inline-block;
|
||||
|
||||
/* ul行高设置 */
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
/* 使得右侧ul靠页面右端显示 */
|
||||
.topbar-right {
|
||||
position: absolute;
|
||||
right: 150px;
|
||||
|
||||
}
|
||||
|
||||
.topbar-left {
|
||||
margin-left: 150px;
|
||||
}
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
BIN
assets/font/CangJiGaoDeGuoMiaoHei.woff
Normal file
BIN
assets/font/CangJiGaoDeGuoMiaoHei.woff
Normal file
Binary file not shown.
BIN
assets/font/Quirky-Black.woff
Normal file
BIN
assets/font/Quirky-Black.woff
Normal file
Binary file not shown.
BIN
assets/font/Quirky-Light.woff
Normal file
BIN
assets/font/Quirky-Light.woff
Normal file
Binary file not shown.
10
assets/js/loading.js
Normal file
10
assets/js/loading.js
Normal file
@@ -0,0 +1,10 @@
|
||||
console.log(document.readyState);
|
||||
|
||||
window.onload = function () {
|
||||
var obj = document.getElementById("loading");
|
||||
obj.innerHTML = "";//删除div内容
|
||||
//删除div
|
||||
var parentObj = obj.parentNode;//获取div的父对象
|
||||
parentObj.removeChild(obj);//通过div的父对象把它删除
|
||||
console.log("loading completed.");
|
||||
}
|
||||
0
assets/js/snow.js
Normal file
0
assets/js/snow.js
Normal file
Reference in New Issue
Block a user