humanware

style.css

Oct 3rd, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.08 KB | None | 0 0
  1. /*
  2. html5doctor.com Reset Stylesheet
  3. v1.6.1
  4. Last Updated: 2010-09-17
  5. Author: Richard Clark - http://richclarkdesign.com
  6. Twitter: @rich_clark
  7. */
  8.  
  9. html, body, div, span, object, iframe,
  10. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  11. abbr, address, cite, code,
  12. del, dfn, em, img, ins, kbd, q, samp,
  13. small, strong, sub, sup, var,
  14. b, i,
  15. dl, dt, dd, ol, ul, li,
  16. fieldset, form, label, legend,
  17. table, caption, tbody, tfoot, thead, tr, th, td,
  18. article, aside, canvas, details, figcaption, figure,
  19. footer, header, hgroup, menu, nav, section, summary,
  20. time, mark, audio, video {
  21.     margin:0;
  22.     padding:0;
  23.     border:0;
  24.     outline:0;
  25.     font-size:100%;
  26.     vertical-align:baseline;
  27.     background:transparent;
  28. }
  29.  
  30. body {
  31.     line-height:1;
  32. }
  33.  
  34. article,aside,details,figcaption,figure,
  35. footer,header,hgroup,menu,nav,section {
  36.     display:block;
  37. }
  38.  
  39. nav ul {
  40.     list-style:none;
  41. }
  42.  
  43. blockquote, q {
  44.     quotes:none;
  45. }
  46.  
  47. blockquote:before, blockquote:after,
  48. q:before, q:after {
  49.     content:'';
  50.     content:none;
  51. }
  52.  
  53. a {
  54.     margin:0;
  55.     padding:0;
  56.     font-size:100%;
  57.     vertical-align:baseline;
  58.     background:transparent;
  59. }
  60.  
  61. /* change colours to suit your needs */
  62. ins {
  63.     background-color:#ff9;
  64.     color:#000;
  65.     text-decoration:none;
  66. }
  67.  
  68. /* change colours to suit your needs */
  69. mark {
  70.     background-color:#ff9;
  71.     color:#000;
  72.     font-style:italic;
  73.     font-weight:bold;
  74. }
  75.  
  76. del {
  77.     text-decoration: line-through;
  78. }
  79.  
  80. abbr[title], dfn[title] {
  81.     border-bottom:1px dotted;
  82.     cursor:help;
  83. }
  84.  
  85. table {
  86.     border-collapse:collapse;
  87.     border-spacing:0;
  88. }
  89.  
  90. /* change border colour to suit your needs */
  91. hr {
  92.     display:block;
  93.     height:1px;
  94.     border:0;  
  95.     border-top:1px solid #cccccc;
  96.     margin:1em 0;
  97.     padding:0;
  98. }
  99.  
  100. input, select {
  101.     vertical-align:middle;
  102. }
  103.  
  104. /* My Code */
  105. .main-wrapper {
  106.     margin: 0 auto;
  107.     width: 1000px;
  108. }
  109.  
  110. a {
  111.     text-decoration: none;
  112. }
  113.  
  114. body {
  115.     background: #ccc;
  116. }
  117.  
  118. header nav {
  119.     width: 100%;
  120.     height: 60px;
  121.     background-color:#fff;
  122. }
  123.  
  124. header nav ul {
  125.     float: left;
  126. }
  127.  
  128. header nav ul li {
  129.     float: left;
  130.     list-style: none;
  131. }
  132.  
  133. header nav ul li a {
  134.     font-family: arial, sans-serif;
  135.     font-size: 16px;
  136.     color: #111;
  137.     line-height: 63px;
  138. }
  139.  
  140. header .nav-login {
  141.     float: right;
  142. }
  143.  
  144. header .nav-login form {
  145.     float: left;
  146.     padding-top: 15px;
  147. }
  148.  
  149. header .nav-login form input {
  150.     float: left;
  151.     width: 140px;
  152.     height: 30px;
  153.     padding: 0px 10px;
  154.     margin-right: 10px;
  155.     border: none;
  156.     background: #ccc;
  157.     font-family: Arial, sans-serif;
  158.     font-size: 14px;
  159.     color: #111;
  160.     line-height: 30px;
  161. }
  162.  
  163. header .nav-login form button {
  164.     float: left;
  165.     width: 60px;
  166.     height: 30px;
  167.     margin-right: 10px;
  168.     border: none;
  169.     background-color: #f3f3f3;
  170.     font-family: 14px;
  171.     color: #111;
  172.     cursor: pointer;
  173. }
  174.  
  175. header .nav-login form button:hover {
  176.     background-color: #ccc;
  177. }
  178.  
  179. header .nav-login a {
  180.     display: block;
  181.     width:60px;
  182.     height: 60px;
  183.     border: none;
  184.     float: left;
  185.     background: #fff;
  186.     font-family: Arial, sans-serif;
  187.     font-size: 16px;
  188.     color: #111;
  189.     line-height: 63px;
  190.     cursor: pointer;
  191. }
  192.  
  193. .main-container {
  194.     padding-top: 40px;
  195. }
  196.  
  197. .main-container h2 {
  198.     font-family: arial, sans-serif;
  199.     font-size: 40px;
  200.     line-height: 50px;
  201.     color: #111;
  202.     text-align: center;
  203. }
  204.  
  205. /* signup.php */
  206.  
  207. .signup-form {
  208.     width: 400px;
  209.     margin: 0 auto;
  210.     padding-top: 30px;
  211. }
  212.  
  213. .signup-form input {
  214.     width: 90%;
  215.     height: 40px;
  216.     padding: 0px 5%;
  217.     margin-bottom: 4px;
  218.     border: none;
  219.     background-color: #fff;
  220.     font-family: arial;
  221.     font-size: 16px;
  222.     color: #111;
  223.     line-height: 40px;
  224. }
  225.  
  226. .signup-form button {
  227.     display: block;
  228.     margin: 0 auto;
  229.     width: 30%;
  230.     height: 40px;
  231.     border: none;
  232.     background-color: #222;
  233.     font-family: arial;
  234.     font-size: 16px;
  235.     color: #fff;
  236.     cursor: pointer;
  237. }
  238.  
  239. .signup-form button:hover {
  240.     background-color: #111;
  241. }
Advertisement
Add Comment
Please, Sign In to add comment