Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <title>The Card Traders</title>
- <div class="nav">
- <p class="logo">The Card Traders</p>
- <a href="index.html"><p class="nav-itm nav-first">home</p></a>
- <a href="about.html"><p class="nav-itm">about</p></a>
- <a href="catagories.html"><p class="nav-itm">categories</p></a>
- <a href="contact.html"><p class="nav-itm">contact</p></a>
- <div class="right">
- <a href="login.html"><p class="right-itm first">Login</p></a>
- <a href="signup.html"><p class="right-itm first">Sign Up</p></a>
- </div>
- </div>
- <meta charset="utf-8">
- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700">
- <head>
- <style>
- @import url(http://fonts.googleapis.com/css?family=Lato);
- @import url(http://fonts.googleapis.com/css?family=Armata);
- * {
- margin: 0;
- padding: 0;
- font-family: 'Lato', sans-serif;
- }
- .nav {
- width: 100%;
- height: 45px;
- background-color: #2ecc71;
- color: #fff;
- }
- .nav-itm {
- display: inline-block;
- margin-left: 10px;
- margin-right: 10px;
- margin-top: 5px;
- text-transform: uppercase;
- padding: 5px;
- font-size: 20px;
- color: #fff;
- }
- .nav-itm:hover {
- background-color: #27ae60;
- padding: 5px;
- border-radius: 3px;
- }
- .nav-first {
- margin-left: 30px;
- }
- .logo {
- display: inline-block;
- margin-left: 30px;
- font-size: 24px;
- font-family: 'Armata', sans-serif;
- }
- .right {
- display: inline-block;
- float: right;
- background-color: #34495e;
- height: 45px;
- width: 175px;
- }
- .right-itm {
- color: #fff;
- text-decoration: none;
- height: 45px;
- display: inline-block;
- margin-top: 10px;
- margin-left: 10px;
- margin-right: 10px;
- }
- .first {
- margin-left: 20px;
- }
- /* CSS Document */
- /* ---------- FONTAWESOME ---------- */
- /* ---------- http://fortawesome.github.com/Font-Awesome/ ---------- */
- /* ---------- http://weloveiconfonts.com/ ---------- */
- @import url(http://weloveiconfonts.com/api/?family=fontawesome);
- /* ---------- ERIC MEYER'S RESET CSS ---------- */
- /* ---------- http://meyerweb.com/eric/tools/css/reset/ ---------- */
- @import url(http://meyerweb.com/eric/tools/css/reset/reset.css);
- /* ---------- FONTAWESOME ---------- */
- [class*="fontawesome-"]:before {
- font-family: 'FontAwesome', sans-serif;
- }
- /* ---------- GENERAL ---------- */
- * {
- box-sizing: border-box;
- }
- *:before, *:after {
- box-sizing: border-box;
- }
- body {
- background: #2c3338;
- color: #606468;
- font: 87.5%/1.5em 'Open Sans', sans-serif;
- margin: 0;
- }
- a {
- color: #eee;
- text-decoration: none;
- }
- a:hover {
- text-decoration: underline;
- }
- input {
- border: none;
- font-family: 'Open Sans', Arial, sans-serif;
- font-size: 14px;
- line-height: 1.5em;
- padding: 0;
- -webkit-appearance: none;
- }
- p {
- line-height: 1.5em;
- }
- .clearfix {
- *zoom: 1;
- }
- .clearfix:before, .clearfix:after {
- content: ' ';
- display: table;
- }
- .clearfix:after {
- clear: both;
- }
- .container {
- left: 50%;
- position: fixed;
- top: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }
- /* ---------- LOGIN ---------- */
- #login {
- width: 280px;
- }
- #login form span {
- background-color: #363b41;
- border-radius: 3px 0px 0px 3px;
- color: #606468;
- display: block;
- float: left;
- height: 50px;
- line-height: 50px;
- text-align: center;
- width: 50px;
- }
- #login form input {
- height: 50px;
- }
- #login form input[type="text"], input[type="password"] {
- background-color: #3b4148;
- border-radius: 0px 3px 3px 0px;
- color: #606468;
- margin-bottom: 1em;
- padding: 0 16px;
- width: 230px;
- }
- #login form input[type="submit"] {
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- background-color: #ea4c88;
- color: #eee;
- font-weight: bold;
- margin-bottom: 2em;
- text-transform: uppercase;
- width: 280px;
- }
- #login form input[type="submit"]:hover {
- background-color: #d44179;
- }
- #login > p {
- text-align: center;
- }
- #login > p span {
- padding-left: 5px;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <div id="login">
- <form action="javascript:void(0);" method="get">
- <fieldset class="clearfix">
- <p><span class="fontawesome-user"></span><input type="text" value="Username" onBlur="if(this.value == '') this.value = 'Username'" onFocus="if(this.value == 'Username') this.value = ''" required></p> <!-- JS because of IE support; better: placeholder="Username" -->
- <p><span class="fontawesome-lock"></span><input type="password" value="Password" onBlur="if(this.value == '') this.value = 'Password'" onFocus="if(this.value == 'Password') this.value = ''" required></p> <!-- JS because of IE support; better: placeholder="Password" -->
- <p><input type="submit" value="Sign In" onclick="signin()"></p>
- </fieldset>
- </form>
- <p>Not a member? <a href="#">Sign up now</a><span class="fontawesome-arrow-right"></span></p>
- </div> <!-- end login -->
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment