From dd2ca76e1b61919e4e0ecfdb53ba2492887a85ef Mon Sep 17 00:00:00 2001 From: "fariz.tumbuan" <13515050@std.stei.itb.ac.id> Date: Fri, 29 Sep 2017 19:12:26 +0800 Subject: [PATCH] Nambah css buat sign_up.html di main.css --- root/css/main.css | 35 +++++++++++++++++++++++++++++------ root/login/sign_up.html | 4 ++-- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/root/css/main.css b/root/css/main.css index a2eff8a4..0880e605 100644 --- a/root/css/main.css +++ b/root/css/main.css @@ -12,10 +12,10 @@ body { #login_frame { height: 300px; - width: 300px; + width: 400px; } -#login_frame > h1 { +.frame > h1 { text-align: center; } @@ -23,18 +23,41 @@ body { left: 10%; width: 80%; height: auto; - border: 1px solid red; position: relative; } -#login_frame input{ +input{ width: 100%; + margin: 1px auto 15px; } #login_frame input[type="submit"] { display: block; - width: 100px; - margin: auto; + width: 40px; + margin: 0 auto 15px; +} + +#sign_up_frame { + width: 400px; + height: 550px; +} + +input[type="checkbox"]{ + width: 0; + margin-right: 10px; +} + +#sign_up_frame input[type="submit"]{ + display: block; + width: 80px; + margin: 15px auto; +} + +#sign_up_frame > div { + left: 10%; + width: 80%; + height: auto; + position: relative; } a:link, a:visited { diff --git a/root/login/sign_up.html b/root/login/sign_up.html index 6927eb35..b73e8172 100644 --- a/root/login/sign_up.html +++ b/root/login/sign_up.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <title>Make a new account</title> + <title>Sign Up</title> <link rel="stylesheet" type="text/css" href="../css/main.css"> </head> <body> @@ -21,7 +21,7 @@ Confirm password <input type="Password" name="real_name"><br/> Phone number - <input type="number" name="real_name"><br/> + <input type="text" name="real_name"><br/> <input type="checkbox" name="is_driver" value="true">Also sign me up as a driver<br/> -- GitLab