Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.14 KB | None | 0 0
  1.  
  2. html {
  3.     width: 100%;
  4.     height: 100%;
  5. }
  6.  
  7. body {
  8. //    background-image: url('res/img/bg.png');
  9.     font-family: helvetica;
  10.     margin: 0;
  11.     padding: 0;
  12. }
  13.  
  14. a {
  15.     text-decoration: none;
  16. }
  17.  
  18. .slider {
  19.     display: none;
  20. }
  21.  
  22. #sliderlength {
  23.     width: 100px;
  24. }
  25.  
  26. #navbar {
  27.     position: fixed;
  28.     top: 0;
  29.     width: 100%;
  30.    
  31.     background: #666;
  32.     height: 45px;
  33.     margin: 0 auto 30px auto;
  34. /*    border-radius: 5px;
  35.     -moz-border-radius: 5px;
  36.     -webkit-border-radius: 5px;*/
  37. }
  38.  
  39. #navbar > img {
  40.     float: left;
  41.     width: 15%;
  42.     height: 45px;
  43. }
  44.  
  45. #navbar > nav {
  46.     float: right;
  47.     width: 50%;
  48.     height: 100%;
  49.     margin: 0;
  50.     padding-right: 75px;
  51.     padding-bottom: 0;
  52.     padding-top: 0;
  53. }
  54.  
  55. #navbar > nav > a {
  56.     float: right;
  57.     display: inline-block;
  58.     padding: 1px 25px;
  59.     margin: 1px;
  60.     height: 42px;
  61.     vertical-align: middle;
  62.     background-color: lightcyan;
  63.     border-radius: 5px;
  64.     -moz-border-radius: 5px;
  65.     -webkit-border-radius: 5px;
  66.     line-height: 40px;
  67. }
  68.  
  69. #navbar > nav > a:hover {
  70.     background-color: orange;
  71. }
  72.  
  73. #main_wrapper {
  74.     width:100%;
  75.     padding: 21% 0;
  76.  
  77.     /* Firefox */
  78.     display:-moz-box;
  79.     -moz-box-pack:center;
  80.     -moz-box-align:center;
  81.  
  82.     /* Safari and Chrome */
  83.     display:-webkit-box;
  84.     -webkit-box-pack:center;
  85.     -webkit-box-align:center;
  86.  
  87.     /* W3C */
  88.     display:box;
  89.     box-pack:center;
  90.     box-align:center;
  91. }
  92.  
  93. #center {
  94.     width: 640px;
  95. }
  96.  
  97. #searchbox {
  98.     height: 100%;
  99.     width: 100%;
  100.  
  101.     /* Firefox */
  102.     display:-moz-box;
  103.     -moz-box-pack:center;
  104.     -moz-box-align:center;
  105.  
  106.     /* Safari and Chrome */
  107.     display:-webkit-box;
  108.     -webkit-box-pack:center;
  109.     -webkit-box-align:center;
  110.  
  111.     /* W3C */
  112.     display:box;
  113.     box-pack:center;
  114.     box-align:center;
  115. }
  116.  
  117. #searchbox > form > input[type=text], #searchbox > form > input[type=submit] {
  118.     font-size: 150%;
  119. }
  120.  
  121. footer {
  122.     width: 100%;
  123.     background-color: #666;
  124.     position: fixed;
  125.     bottom: 0;
  126. }
  127.  
  128. footer > #siteinfo {
  129.     float: right;
  130. }
  131.  
  132. footer > #copyright {
  133.     padding: 0 45%;
  134. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement