From 16b27069b6dec3e920959b920bde030957546f4c Mon Sep 17 00:00:00 2001 From: Krystian Rzepa Date: Sun, 30 Dec 2018 16:26:54 +0000 Subject: [PATCH] Dodaj 'style.css' --- style.css | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 style.css diff --git a/style.css b/style.css new file mode 100644 index 0000000..12f75a1 --- /dev/null +++ b/style.css @@ -0,0 +1,87 @@ +body{ + margin: 0; + padding: 0; + background: #333333; + background-size: cover; + background-position: center; + font-family: sans-serif; +} + +.loginbox{ + width: 320px; + height: 420px; + 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; +} + +.loginbox p{ + margin: 0; + padding: 0; + font-weight: bold; +} + +.loginbox input{ + width: 100%; + margin-bottom: 20px; +} + +.loginbox 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"] +{ + border: none; + outline: none; + height: 40px; + background: #fb2525; + color: #fff; + font-size: 18px; + border-radius: 20px; +} +.loginbox input[type="submit"]:hover +{ + cursor: pointer; + background: #ffc107; + color: #000; +} +.loginbox a{ + text-decoration: none; + font-size: 12px; + line-height: 20px; + color: darkgrey; +} + +.loginbox a:hover +{ + color: #ffc107; +} \ No newline at end of file