From e007ef5f02ab6c7803047fab64711a2416c88a78 Mon Sep 17 00:00:00 2001 From: "fariz.tumbuan" <13515050@std.stei.itb.ac.id> Date: Sat, 30 Sep 2017 10:12:42 +0800 Subject: [PATCH] Misahin css jadi multiple files pergrup. login.html sama sign_up.html sudah ditambah link ke default_style.css dan login.css --- root/css/default_style.css | 34 ++++++++++++++++++++++++++++++++ root/css/history.css | 0 root/css/{main.css => login.css} | 34 -------------------------------- root/css/order.css | 0 root/css/profile.css | 0 root/login/login.html | 3 ++- root/login/sign_up.html | 3 ++- 7 files changed, 38 insertions(+), 36 deletions(-) create mode 100644 root/css/default_style.css create mode 100644 root/css/history.css rename root/css/{main.css => login.css} (50%) create mode 100644 root/css/order.css create mode 100644 root/css/profile.css diff --git a/root/css/default_style.css b/root/css/default_style.css new file mode 100644 index 00000000..cce0a517 --- /dev/null +++ b/root/css/default_style.css @@ -0,0 +1,34 @@ +body { + background-color: rgb(210,210,210); + color: rgb(250,250,250); +} + +.frame { + border: 7px solid rgb(65,62,119); + border-radius: 25px; + background-color: rgb(92,88,138); + margin: 50px auto; +} + +.frame > h1 { + text-align: center; +} + +input{ + width: 100%; + margin: 1px auto 15px; +} + +input[type="checkbox"]{ + width: 0; + margin-right: 10px; +} + +a:link, a:visited { + color: rgb(250,250,250); + text-decoration: none; +} + +a:hover { + color: rgb(167,180,4); +} \ No newline at end of file diff --git a/root/css/history.css b/root/css/history.css new file mode 100644 index 00000000..e69de29b diff --git a/root/css/main.css b/root/css/login.css similarity index 50% rename from root/css/main.css rename to root/css/login.css index 765aff97..22bc8dc8 100644 --- a/root/css/main.css +++ b/root/css/login.css @@ -1,23 +1,8 @@ -body { - background-color: rgb(210,210,210); - color: rgb(250,250,250); -} - -.frame { - border: 7px solid rgb(65,62,119); - border-radius: 25px; - background-color: rgb(92,88,138); - margin: 50px auto; -} - #login_frame { height: 300px; width: 400px; } -.frame > h1 { - text-align: center; -} #login_frame > div { left: 10%; @@ -26,11 +11,6 @@ body { position: relative; } -input{ - width: 100%; - margin: 1px auto 15px; -} - #login_frame input[type="submit"] { display: block; width: 40px; @@ -42,11 +22,6 @@ input{ height: 550px; } -input[type="checkbox"]{ - width: 0; - margin-right: 10px; -} - #sign_up_frame input[type="submit"]{ display: block; width: 80px; @@ -58,13 +33,4 @@ input[type="checkbox"]{ width: 80%; height: auto; position: relative; -} - -a:link, a:visited { - color: rgb(250,250,250); - text-decoration: none; -} - -a:hover { - color: rgb(167,180,4); } \ No newline at end of file diff --git a/root/css/order.css b/root/css/order.css new file mode 100644 index 00000000..e69de29b diff --git a/root/css/profile.css b/root/css/profile.css new file mode 100644 index 00000000..e69de29b diff --git a/root/login/login.html b/root/login/login.html index cf11ebe4..0c9b0066 100644 --- a/root/login/login.html +++ b/root/login/login.html @@ -2,7 +2,8 @@ <html> <head> <title>Login to OneHundred</title> - <link rel="stylesheet" type="text/css" href="../css/main.css"> + <link rel="stylesheet" type="text/css" href="../css/default_style.css"> + <link rel="stylesheet" type="text/css" href="../css/login.css"> </head> <body> <div id="login_frame" class="frame"> diff --git a/root/login/sign_up.html b/root/login/sign_up.html index b73e8172..00be87df 100644 --- a/root/login/sign_up.html +++ b/root/login/sign_up.html @@ -2,7 +2,8 @@ <html> <head> <title>Sign Up</title> - <link rel="stylesheet" type="text/css" href="../css/main.css"> + <link rel="stylesheet" type="text/css" href="../css/default_style.css"> + <link rel="stylesheet" type="text/css" href="../css/login.css"> </head> <body> <div id="sign_up_frame" class="frame"> -- GitLab