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