cockatoo2

Website

Apr 20th, 2015
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <title>The Card Traders</title>
  4.  
  5. <div class="nav">
  6. <p class="logo">The Card Traders</p>
  7. <a href="index.html"><p class="nav-itm nav-first">home</p></a>
  8. <a href="about.html"><p class="nav-itm">about</p></a>
  9. <a href="catagories.html"><p class="nav-itm">categories</p></a>
  10. <a href="contact.html"><p class="nav-itm">contact</p></a>
  11. <div class="right">
  12. <a href="login.html"><p class="right-itm first">Login</p></a>
  13. <a href="signup.html"><p class="right-itm first">Sign Up</p></a>
  14. </div>
  15. </div>
  16.  
  17. <meta charset="utf-8">
  18. <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700">
  19.  
  20. <head>
  21. <style>
  22. @import url(http://fonts.googleapis.com/css?family=Lato);
  23. @import url(http://fonts.googleapis.com/css?family=Armata);
  24. * {
  25. margin: 0;
  26. padding: 0;
  27. font-family: 'Lato', sans-serif;
  28. }
  29. .nav {
  30. width: 100%;
  31. height: 45px;
  32. background-color: #2ecc71;
  33. color: #fff;
  34. }
  35. .nav-itm {
  36. display: inline-block;
  37. margin-left: 10px;
  38. margin-right: 10px;
  39. margin-top: 5px;
  40. text-transform: uppercase;
  41. padding: 5px;
  42. font-size: 20px;
  43. color: #fff;
  44. }
  45. .nav-itm:hover {
  46. background-color: #27ae60;
  47. padding: 5px;
  48. border-radius: 3px;
  49. }
  50. .nav-first {
  51. margin-left: 30px;
  52. }
  53. .logo {
  54. display: inline-block;
  55. margin-left: 30px;
  56. font-size: 24px;
  57. font-family: 'Armata', sans-serif;
  58. }
  59. .right {
  60. display: inline-block;
  61. float: right;
  62. background-color: #34495e;
  63. height: 45px;
  64. width: 175px;
  65. }
  66. .right-itm {
  67. color: #fff;
  68. text-decoration: none;
  69. height: 45px;
  70. display: inline-block;
  71. margin-top: 10px;
  72. margin-left: 10px;
  73. margin-right: 10px;
  74. }
  75. .first {
  76. margin-left: 20px;
  77. }
  78. /* CSS Document */
  79. /* ---------- FONTAWESOME ---------- */
  80. /* ---------- http://fortawesome.github.com/Font-Awesome/ ---------- */
  81. /* ---------- http://weloveiconfonts.com/ ---------- */
  82. @import url(http://weloveiconfonts.com/api/?family=fontawesome);
  83. /* ---------- ERIC MEYER'S RESET CSS ---------- */
  84. /* ---------- http://meyerweb.com/eric/tools/css/reset/ ---------- */
  85. @import url(http://meyerweb.com/eric/tools/css/reset/reset.css);
  86. /* ---------- FONTAWESOME ---------- */
  87. [class*="fontawesome-"]:before {
  88. font-family: 'FontAwesome', sans-serif;
  89. }
  90.  
  91. /* ---------- GENERAL ---------- */
  92. * {
  93. box-sizing: border-box;
  94. }
  95. *:before, *:after {
  96. box-sizing: border-box;
  97. }
  98.  
  99. body {
  100. background: #2c3338;
  101. color: #606468;
  102. font: 87.5%/1.5em 'Open Sans', sans-serif;
  103. margin: 0;
  104. }
  105.  
  106. a {
  107. color: #eee;
  108. text-decoration: none;
  109. }
  110.  
  111. a:hover {
  112. text-decoration: underline;
  113. }
  114.  
  115. input {
  116. border: none;
  117. font-family: 'Open Sans', Arial, sans-serif;
  118. font-size: 14px;
  119. line-height: 1.5em;
  120. padding: 0;
  121. -webkit-appearance: none;
  122. }
  123.  
  124. p {
  125. line-height: 1.5em;
  126. }
  127.  
  128. .clearfix {
  129. *zoom: 1;
  130. }
  131. .clearfix:before, .clearfix:after {
  132. content: ' ';
  133. display: table;
  134. }
  135. .clearfix:after {
  136. clear: both;
  137. }
  138.  
  139. .container {
  140. left: 50%;
  141. position: fixed;
  142. top: 50%;
  143. -webkit-transform: translate(-50%, -50%);
  144. -ms-transform: translate(-50%, -50%);
  145. transform: translate(-50%, -50%);
  146. }
  147.  
  148. /* ---------- LOGIN ---------- */
  149. #login {
  150. width: 280px;
  151. }
  152.  
  153. #login form span {
  154. background-color: #363b41;
  155. border-radius: 3px 0px 0px 3px;
  156. color: #606468;
  157. display: block;
  158. float: left;
  159. height: 50px;
  160. line-height: 50px;
  161. text-align: center;
  162. width: 50px;
  163. }
  164.  
  165. #login form input {
  166. height: 50px;
  167. }
  168.  
  169. #login form input[type="text"], input[type="password"] {
  170. background-color: #3b4148;
  171. border-radius: 0px 3px 3px 0px;
  172. color: #606468;
  173. margin-bottom: 1em;
  174. padding: 0 16px;
  175. width: 230px;
  176. }
  177.  
  178. #login form input[type="submit"] {
  179. border-radius: 3px;
  180. -moz-border-radius: 3px;
  181. -webkit-border-radius: 3px;
  182. background-color: #ea4c88;
  183. color: #eee;
  184. font-weight: bold;
  185. margin-bottom: 2em;
  186. text-transform: uppercase;
  187. width: 280px;
  188. }
  189.  
  190. #login form input[type="submit"]:hover {
  191. background-color: #d44179;
  192. }
  193.  
  194. #login > p {
  195. text-align: center;
  196. }
  197.  
  198. #login > p span {
  199. padding-left: 5px;
  200. }
  201.  
  202. </style>
  203. </head>
  204.  
  205. <body>
  206. <div class="container">
  207.  
  208. <div id="login">
  209.  
  210. <form action="javascript:void(0);" method="get">
  211.  
  212. <fieldset class="clearfix">
  213.  
  214. <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" -->
  215. <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" -->
  216. <p><input type="submit" value="Sign In" onclick="signin()"></p>
  217.  
  218. </fieldset>
  219.  
  220. </form>
  221.  
  222. <p>Not a member? <a href="#">Sign up now</a><span class="fontawesome-arrow-right"></span></p>
  223.  
  224. </div> <!-- end login -->
  225.  
  226. </div>
  227.  
  228. </body>
  229.  
  230. </html>
Add Comment
Please, Sign In to add comment