Zaktualizuj 'style.css'

This commit is contained in:
Krystian Rzepa 2018-12-30 19:49:44 +00:00
parent 66ba988a7f
commit 5c48a6e808

View File

@ -9,7 +9,21 @@ body{
.loginbox{
width: 320px;
height: 420px;
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%;
@ -37,19 +51,18 @@ h1{
font-size: 22px;
}
.loginbox p{
.loginbox p, .registerbox p{
margin: 0;
padding: 0;
font-weight: bold;
}
.loginbox input{
.loginbox input, .registerbox input{
width: 100%;
margin-bottom: 20px;
}
.loginbox input[type="text"], input[type="password"]
{
.loginbox input[type="text"], input[type="password"], .registerbox input[type="text"], input[type="password"]{
border: none;
border-bottom: 1px solid #fff;
background: transparent;
@ -58,8 +71,7 @@ h1{
color: #fff;
font-size: 16px;
}
.loginbox input[type="submit"]
{
.loginbox input[type="submit"], .registerbox input[type="submit"]{
border: none;
outline: none;
height: 40px;
@ -68,20 +80,18 @@ h1{
font-size: 18px;
border-radius: 20px;
}
.loginbox input[type="submit"]:hover
{
.loginbox input[type="submit"]:hover, .registerbox input[type="submit"]:hover {
cursor: pointer;
background: #ffc107;
color: #000;
}
.loginbox a{
.loginbox a, .registerbox a {
text-decoration: none;
font-size: 12px;
line-height: 20px;
color: darkgrey;
}
.loginbox a:hover
{
.loginbox a:hover, .registerbox a:hover {
color: #ffc107;
}