89 lines
1.6 KiB
CSS
89 lines
1.6 KiB
CSS
body {
|
|
height: 100vh;
|
|
background-size: cover;
|
|
position: relative;
|
|
background-color: #f2f2f2;
|
|
}
|
|
.mask {
|
|
height: 100vh;
|
|
width: 100%;
|
|
background-color: black;
|
|
opacity: .5;
|
|
position: absolute;
|
|
}
|
|
.main {
|
|
background-color: transparent;
|
|
text-align: center;
|
|
position: absolute;
|
|
top: 10%;
|
|
height: 70%;
|
|
width: 100%;
|
|
color: white;
|
|
}
|
|
.main h1 {
|
|
text-align: center;
|
|
font-style: italic;
|
|
font-family: 'Microsoft YaHei';
|
|
-webkit-text-shadow: 0 0 8px #00f7ff;
|
|
text-shadow: 0 0 8px #00f7ff;
|
|
}
|
|
.enter {
|
|
margin-top: 3%;
|
|
background: rgba(255, 255, 255, 0.30);
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
min-height: 30px;
|
|
}
|
|
.enter h2 {
|
|
font-size: 40px;
|
|
}
|
|
.layui-form {
|
|
display: none;
|
|
width: 300px;
|
|
background-color: rgba(255, 255, 255, 0.407843);
|
|
border-radius: 10px;
|
|
margin: 0 auto;
|
|
padding: 30px;
|
|
}
|
|
.layui-form .layui-form-item {
|
|
position: relative;
|
|
}
|
|
.layui-form .layui-form-item .login-icon {
|
|
position: absolute;
|
|
color: #cccccc;
|
|
top: 10px;
|
|
left: 10px;
|
|
}
|
|
.layui-form .layui-form-item input {
|
|
padding-left: 34px;
|
|
}
|
|
|
|
.layui-form .layui-form-item .verify {
|
|
width: 50%;
|
|
float: left;
|
|
vertical-align: middle;
|
|
}
|
|
.layui-form .layui-form-item .code {
|
|
width: 50%;
|
|
height: 38px;
|
|
float: left;
|
|
vertical-align: middle;
|
|
background-size: cover;
|
|
cursor: pointer;
|
|
}
|
|
.pull-left {
|
|
float: left !important;
|
|
}
|
|
.pull-right {
|
|
float: right !important;
|
|
}
|
|
.clear {
|
|
clear: both;
|
|
}
|
|
.login-remember {
|
|
line-height: 38px;
|
|
}
|
|
.login-remember .layui-form-switch {
|
|
margin-top: 0px;
|
|
}
|