Dodaj 'style/login.css'
This commit is contained in:
parent
752ec84ceb
commit
8c7fed9c9d
82
style/login.css
Normal file
82
style/login.css
Normal file
@ -0,0 +1,82 @@
|
||||
.loginbox{
|
||||
width: 320px;
|
||||
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;
|
||||
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);
|
||||
}
|
||||
|
||||
.loginbox p, .registerbox p{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.loginbox input, .registerbox input{
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.loginbox input[type="text"], input[type="password"], .registerbox input[type="text"], input[type="password"]{
|
||||
border: none;
|
||||
border-bottom: 1px solid #fff;
|
||||
background: transparent;
|
||||
outline: none;
|
||||
height: 40px;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.loginbox input[type="submit"], .registerbox input[type="submit"]{
|
||||
border: none;
|
||||
outline: none;
|
||||
height: 40px;
|
||||
background: #fb2525;
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.loginbox input[type="submit"]:hover, .registerbox input[type="submit"]:hover {
|
||||
cursor: pointer;
|
||||
background: #ffc107;
|
||||
color: #000;
|
||||
}
|
||||
.loginbox a, .registerbox a {
|
||||
text-decoration: none;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
color: darkgrey;
|
||||
}
|
||||
|
||||
.loginbox a:hover, .registerbox a:hover {
|
||||
color: #ffc107;
|
||||
}
|
Loading…
Reference in New Issue
Block a user