2018-12-30 17:26:54 +01:00
|
|
|
body{
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: #333333;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
2018-12-30 23:54:47 +01:00
|
|
|
h2{
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 16px;
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
2018-12-30 17:26:54 +01:00
|
|
|
.loginbox{
|
|
|
|
width: 320px;
|
2018-12-30 20:49:44 +01:00
|
|
|
height: 390px;
|
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 70px 30px;
|
|
|
|
border-radius: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.registerbox{
|
|
|
|
width: 320px;
|
|
|
|
height: 450px;
|
2018-12-30 17:26:54 +01:00
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 70px 30px;
|
|
|
|
border-radius: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar{
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
border-radius: 50%;
|
|
|
|
position: absolute;
|
|
|
|
top: -50px;
|
|
|
|
left: calc(50% - 50px);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1{
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 20px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
|
2018-12-30 20:49:44 +01:00
|
|
|
.loginbox p, .registerbox p{
|
2018-12-30 17:26:54 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2018-12-30 20:49:44 +01:00
|
|
|
.loginbox input, .registerbox input{
|
2018-12-30 17:26:54 +01:00
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2018-12-30 20:49:44 +01:00
|
|
|
.loginbox input[type="text"], input[type="password"], .registerbox input[type="text"], input[type="password"]{
|
2018-12-30 17:26:54 +01:00
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid #fff;
|
|
|
|
background: transparent;
|
|
|
|
outline: none;
|
|
|
|
height: 40px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2018-12-30 23:54:47 +01:00
|
|
|
|
2018-12-30 20:49:44 +01:00
|
|
|
.loginbox input[type="submit"], .registerbox input[type="submit"]{
|
2018-12-30 17:26:54 +01:00
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
height: 40px;
|
|
|
|
background: #fb2525;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 18px;
|
|
|
|
border-radius: 20px;
|
|
|
|
}
|
2018-12-30 20:49:44 +01:00
|
|
|
.loginbox input[type="submit"]:hover, .registerbox input[type="submit"]:hover {
|
2018-12-30 17:26:54 +01:00
|
|
|
cursor: pointer;
|
|
|
|
background: #ffc107;
|
|
|
|
color: #000;
|
|
|
|
}
|
2018-12-30 20:49:44 +01:00
|
|
|
.loginbox a, .registerbox a {
|
2018-12-30 17:26:54 +01:00
|
|
|
text-decoration: none;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
color: darkgrey;
|
|
|
|
}
|
|
|
|
|
2018-12-30 20:49:44 +01:00
|
|
|
.loginbox a:hover, .registerbox a:hover {
|
2018-12-30 17:26:54 +01:00
|
|
|
color: #ffc107;
|
|
|
|
}
|