Skip to content
Snippets Groups Projects
Commit c6c83657 authored by Nur Latifah Ulfah's avatar Nur Latifah Ulfah
Browse files

fix login styles

parent e8262fc2
No related merge requests found
...@@ -30,9 +30,7 @@ li a:hover { ...@@ -30,9 +30,7 @@ li a:hover {
background-color: #00897B; background-color: #00897B;
} }
.container { .container {
margin-top: 25px; margin: 25px auto auto;
margin-left: 50px;
margin-right: auto;
text-align: center; text-align: center;
} }
h1 { h1 {
...@@ -42,27 +40,28 @@ h1 { ...@@ -42,27 +40,28 @@ h1 {
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
z-index: 1; z-index: 1;
color: #02702C;
} }
h1:before { h1:before {
border-top: 2px solid #33691E; border-top: 2px solid #02702C;
content:""; content:"";
margin: 0 auto; margin: 0 auto;
position: absolute; position: absolute;
top: 15px; left: 0; right: 0; bottom: 0; top: 15px; left: 0; right: 0; bottom: 0;
width: 95%; width: 86%;
z-index: -1; z-index: -1;
} }
h1 span { background: #7CB342; padding: 0 10px; } h1 span { background: #8BBD3C; padding: 0 23px; }
.box { .box {
width: 400px; width: 400px;
box-sizing: content-box; box-sizing: content-box;
box-shadow: #000000; box-shadow: #000000;
border: 8px solid #33691E; border: 8px solid #02702C;
text-align: justify; text-align: justify;
background-color: #7CB342; background-color: #8BBD3C;
border-radius: 40px; border-radius: 40px;
margin: auto; margin: auto;
height: 500px; height: 500px;
...@@ -72,30 +71,42 @@ button { ...@@ -72,30 +71,42 @@ button {
width: 120px; width: 120px;
height: 50px; height: 50px;
margin: 40px auto; margin: 40px auto;
background-color: #64DD17; background-color: #82D800;
border: 3px solid #33691E; border: 3px solid black;
border-radius: 10px; border-radius: 10px;
font-size: 30px; font-size: 30px;
float: right; float: right;
position: relative; right: 40px; position: relative;
right: 20px;
} }
label { label {
font-size: 18px; font-size: 24px;
margin: 5px 10px; padding-left: 24px;
color: #33691E; color: #02702C;
display: inline-block; display: inline-block;
float: left; float: left;
clear: left; clear: left;
width: 150px; width: 128px;
text-align: left; text-align: left;
height: 25px; height: 25px;
}
.register label {
font-size: 16px;
margin: 5px 0;
padding-left: 11px;
color: #02702C;
display: inline-block;
float: left;
clear: left;
width: 143px;
text-align: left;
height: 25px;
} }
.btn-register { .btn-register {
/*width: 100%;*/
height: 50px; height: 50px;
margin: 40px auto; margin: 40px auto;
background-color: #64DD17; background-color: #82D800;
border: 3px solid #33691E; border: 3px solid black;
border-radius: 10px; border-radius: 10px;
font-size: 20px; font-size: 20px;
float: right; float: right;
...@@ -106,12 +117,11 @@ label { ...@@ -106,12 +117,11 @@ label {
} }
.form-control { .form-control {
height: 25px; height: 25px;
border: none; width: 227px;
border-radius: 5px; padding: 5px;
padding: 5px; /* Some padding */ border: 1px solid black;
border: 1px solid #ccc; /* Gray border */ box-sizing: border-box;
box-sizing: border-box; /* Make sure that padding and width stays in place */ margin-top: 5px;
margin-top: 5px; /* Add a top margin */
margin-bottom: 5px; margin-bottom: 5px;
resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */ resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
} }
...@@ -120,7 +130,7 @@ label { ...@@ -120,7 +130,7 @@ label {
font-size: 14px; font-size: 14px;
float: left; float: left;
margin: 50px 25px; margin: 50px 25px;
color: black; color: #333333;
} }
.signin-link { .signin-link {
font-size: 14px; font-size: 14px;
...@@ -129,17 +139,12 @@ label { ...@@ -129,17 +139,12 @@ label {
color: black; color: black;
} }
.checkbox { .checkbox {
font-size: 14px; font-size: 16px;
color: #02702C;
float: left; float: left;
margin: 5px; margin: 5px;
} }
.container {
width: 50%;
margin-top: 50px;
margin-left: 100px;
}
img { img {
width : 150px; width : 150px;
......
...@@ -6,12 +6,6 @@ ...@@ -6,12 +6,6 @@
<link rel="stylesheet" href="css/styles.css"> <link rel="stylesheet" href="css/styles.css">
</head> </head>
<body> <body>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
</ul>
</nav>
<div class="container"> <div class="container">
<div class="box"> <div class="box">
<h1 class="no-background"> <h1 class="no-background">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment