线上修改样式

master
大帅比 2023-08-01 06:20:42 +00:00
parent 9fa1040524
commit 92814bc9fa
5 changed files with 78 additions and 28 deletions

7
404.html Normal file
View File

@ -0,0 +1,7 @@
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

39
index.html Normal file
View File

@ -0,0 +1,39 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>恭喜,站点创建成功!</title>
<style>
.container {
width: 60%;
margin: 10% auto 0;
background-color: #f0f0f0;
padding: 2% 5%;
border-radius: 10px
}
ul {
padding-left: 20px;
}
ul li {
line-height: 2.3
}
a {
color: #20a53a
}
</style>
</head>
<body>
<div class="container">
<h1>恭喜, 站点创建成功!</h1>
<h3>这是默认index.html本页面由系统自动生成</h3>
<ul>
<li>本页面在FTP根目录下的index.html</li>
<li>您可以修改、删除或覆盖本页面</li>
<li>FTP相关信息请到“面板系统后台 > FTP” 查看</li>
</ul>
</div>
</body>
</html>

View File

@ -71,7 +71,7 @@ img {
top: 0;
width: 100%;
height: auto;
padding: 18px 3.90625%;
padding: 0px 3.90625%;
box-sizing: border-box;
display: -webkit-box;
display: -moz-box;
@ -155,7 +155,7 @@ img {
-ms-justify-content: left;
-o-justify-content: left;
justify-content: left;
height: 67px;
height: 103px;
}
.header .right-boxs .nav {
@ -189,6 +189,10 @@ img {
position: relative;
}
.header .right-boxs .nav li:hover h3 a {
color: #bb0712;
}
.header .right-boxs .nav li h3 {
height: 100%;
font-weight: normal;
@ -221,10 +225,6 @@ img {
font-size: 18px;
}
.header .right-boxs .nav li h3 a:hover {
color: #bb0712;
}
.header .right-boxs .nav li h3 a::before {
content: '';
width: 100%;
@ -233,7 +233,7 @@ img {
position: absolute;
left: 50%;
margin-left: -50%;
bottom: 20px;
bottom: 35px;
}
.header .right-boxs .nav li h3 a::after {
@ -246,29 +246,29 @@ img {
position: absolute;
left: 50%;
margin-left: -7px;
bottom: 4px;
bottom: 22px;
opacity: 0;
}
.header .right-boxs .nav li .listcur {
position: absolute;
top: 64px;
top: 103px;
left: 50%;
display: none;
z-index: 100;
transition: all 0.3s;
background: #fff;
width: 150px;
margin-left: -75px;
width: 180px;
margin-left: -90px;
padding: 3px 0 0 0;
border-radius: 5px;
border-radius: 8px;
border: 1px solid #ececec;
text-align: center;
}
.header .right-boxs .nav li .listcur a {
display: block;
font-size: 14px;
font-size: 16px;
color: #333333;
padding: 0 10px;
box-sizing: border-box;
@ -2561,7 +2561,7 @@ img {
margin-top: 60px;
}
.header {
padding: 18px 1.90625%;
padding: 0px 1.90625%;
}
.header .right-boxs .form {
display: none;

File diff suppressed because one or more lines are too long

View File

@ -131,7 +131,7 @@ $pc-width:1220px;
top: 0;
width: 100%;
height: auto;
padding: 18px 3.90625%;
padding: 0px 3.90625%;
box-sizing: border-box;
@include flex(center,flex-end);
@include all(0.4s);
@ -152,7 +152,7 @@ $pc-width:1220px;
.right-boxs {
@include flex();
height:67px;
height:103px;
.nav {
@include flex();
height: 100%;
@ -161,6 +161,13 @@ $pc-width:1220px;
margin: 0 30px;
height: 100%;
position: relative;
&:hover {
h3 {
a {
color: $color;
}
}
}
h3 {
height: 100%;
font-weight: normal;
@ -170,9 +177,6 @@ $pc-width:1220px;
height: 100%;
position: relative;
font-size: 18px;
&:hover {
color: $color;
}
&::before {
content: '';
width:100%;
@ -181,7 +185,7 @@ $pc-width:1220px;
position: absolute;
left: 50%;
margin-left: -50%;
bottom: 20px;
bottom: 35px;
}
&::after {
@ -194,28 +198,28 @@ $pc-width:1220px;
position: absolute;
left: 50%;
margin-left: -7px;
bottom:4px;
bottom:22px;
opacity: 0;
}
}
}
.listcur {
position: absolute;
top: 64px;
top: 103px;
left: 50%;
display: none;
z-index: 100;
transition: all 0.3s;
background: #fff;
width: 150px;
margin-left: -75px;
width: 180px;
margin-left: -90px;
padding: 3px 0 0 0;
border-radius: 5px;
border-radius: 8px;
border:1px solid #ececec;
text-align: center;
a {
display: block;
font-size: 14px;
font-size: 16px;
color: #333333;
padding:0 10px;
box-sizing: border-box;
@ -1673,7 +1677,7 @@ $pc-width:1220px;
margin-top: 60px;
}
.header {
padding: 18px 1.90625%;
padding: 0px 1.90625%;
.right-boxs {
.form {
display: none;