Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom CSS Styles</title>
<link rel="stylesheet" href="styles.css"> <!-- Link to your CSS file -->
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Logo</a>
</div>

</div>
</nav>

<!-- Body Content -->
<div class="container">
<div class="jumbotron">
<h1 class="h1">Login</h1>
<form>
<div class="form-group">
<label for="inputField">User Name</label>
<input type="text" class="form-control" id="inputField">
</div>
<div class="form-group">
<label for="inputField">Password</label>
<input type="password" class="form-control" id="inputField">
</div>
<button type="submit" class="btn btn-warning">Login</button>
</form>
</div>

<!-- Other content can be added here -->
</div>

<!-- JavaScript -->
<!-- Add your JavaScript scripts here if needed -->
</body>
</html>
29 changes: 28 additions & 1 deletion login.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
/* NavBar */
.navbar-inverse {
padding: 20px 10px;
background-color: #273A5A;
border-color: #080808;
}
.navbar-inverse .navbar-brand {
color: #ffffff;
font-family: "Roboto", sans-serif;
font-size: 20px;
font-weight: bold;
padding-left: 20px;
}

.navbar-inverse a:hover {
color: blue;
}

/* Body */
body {
margin: 0;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.42857143;
Expand All @@ -26,7 +35,7 @@ body {
background-color: #ecf0f5;
}
.jumbotron .h1, .jumbotron h1 {
font-size: 45px;
font-size: 30px;
}
.col-sm-6 .col-sm-offset-3{
background-color: white;
Expand All @@ -39,6 +48,24 @@ body {
margin-top: 25px;
}

.btn{
margin-top: 30px;
color: white;
padding: 10px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}

input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}

.btn-warning {
color: #fff;
Expand Down