Advertisement
DEATHMETALGORE

Untitled

Oct 25th, 2013
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.91 KB | None | 0 0
  1. @charset "utf-8";
  2.  
  3. @font-face {
  4.     font-family: 'ubuntulight';
  5.     src: url('fonts/ubuntu-webfont.eot');
  6.     src: url('fonts/ubuntu-webfont.eot?#iefix') format('embedded-opentype'),
  7.          url('fonts/ubuntu-webfont.woff') format('woff'),
  8.          url('fonts/ubuntu-webfont.ttf') format('truetype'),
  9.          url('fonts/ubuntu-webfont.svg#ubuntulight') format('svg');
  10.     font-weight: normal;
  11.     font-style: normal;
  12. }
  13.  
  14. html {
  15.     height: 100%;  
  16. }
  17.  
  18. body {
  19.     height: 100%;
  20.     background: #FFF url('./images/subtle_dots.png') repeat;
  21.     margin: 0;
  22.     min-width: 980px;
  23.     padding: 0;
  24.     font-size: 10px;
  25.     font-family: 'ubuntulight';
  26. }
  27.  
  28. a, a:active, a:hover, a:visited {
  29.     color: inherit;
  30.     text-decoration: none; 
  31. }
  32.  
  33. img {
  34.     border: 0;
  35.     max-width: 100%;
  36. }
  37.  
  38. #top-nav {
  39.     position: fixed;
  40.     z-index: 500;
  41.     top: 0;
  42.     width: 100%;
  43.     height: 35px;
  44.     margin: 0;
  45.     padding: 0;
  46.     list-style: none;
  47.     background: #303030;
  48.     background: -moz-linear-gradient(top,  #303030 0%, #000000 100%);
  49.     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303030), color-stop(100%,#000000));
  50.     background: -webkit-linear-gradient(top,  #303030 0%,#000000 100%);
  51.     background: -o-linear-gradient(top,  #303030 0%,#000000 100%);
  52.     background: -ms-linear-gradient(top,  #303030 0%,#000000 100%);
  53.     background: linear-gradient(to bottom,  #303030 0%,#000000 100%);
  54.     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#303030', endColorstr='#000000',GradientType=0 );
  55.     -webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.75);
  56.     -moz-box-shadow:    0px 1px 2px rgba(50, 50, 50, 0.75);
  57.     box-shadow:         0px 1px 2px rgba(50, 50, 50, 0.75);
  58. }
  59.  
  60. #top-nav li {
  61.     float: left;
  62.     position: relative;
  63.     display: block;
  64. }
  65.  
  66. #top-nav .right {
  67.     float: right;
  68.     position: relative;
  69.     display: block;
  70. }
  71.  
  72. #top-nav a:hover, #top-nav .right:hover {
  73.     background: #c64011;
  74.     -webkit-transition: background 200ms linear;
  75.     -moz-transition: background 200ms linear;
  76.     -o-transition: background 200ms linear;
  77.     -ms-transition: background 200ms linear;
  78.     transition: background 200ms linear;
  79. }
  80.  
  81. #top-nav li a, #top-nav .right a {
  82.     display: block;
  83.     width: 70px;
  84.     height: 35px;
  85.     line-height: 40px; 
  86.     color: #b8b8b8;
  87.     padding: 0 7px;
  88.     font-family: 'ubuntulight';
  89.     text-align: center;
  90.     font-size: 1.2em;
  91.     text-transform: uppercase;
  92.     cursor: pointer;
  93.     border-right: 1px solid #292929;
  94.     background: none;
  95.     white-space: nowrap;   
  96. }
  97.  
  98. #top-nav li img {
  99.     display: block;
  100.     padding: 7px 5px;
  101.     text-align: center;
  102. }
  103.  
  104. #top-nav li ul, #top-nav .right ul {
  105.     display: none; 
  106. }
  107.  
  108. #top-nav li:hover ul, #top-nav .right:hover ul {
  109.     display: block;
  110.     position: absolute;
  111. }
  112.  
  113. #top-nav li ul a, #top-nav .right ul a {
  114.     border: none;
  115.     background-color: #000;
  116.     width: 100px;
  117.     text-transform: none;
  118.     text-align: left;
  119.     margin-left: -40px;
  120. }
  121.  
  122. #sidebar {
  123.     width: 270px;
  124.     height: 90%;
  125.     float: right;
  126.     background-color: #dd4814;
  127.     box-shadow: inset 3px 3px 6px 2px rgba(255,255,255,.3);
  128.     border-radius: 0 0 0 6px;
  129.     font-family: 'ubuntulight';
  130. }
  131.  
  132. #sidebar ul {
  133.     margin: 0;
  134.     padding: 0;
  135.     list-style: none;  
  136. }
  137.  
  138. #sidebar ul li {
  139.     width: inherit;
  140.     padding: 12px 0 12px 20px;
  141.     font-size: 1.7em;
  142.     color: #f0f3ff;
  143.     cursor: pointer;
  144.     border-bottom: 1px solid #bb3c0e;
  145. }
  146.  
  147. #sidebar ul li.first {
  148.     margin-top: 10px;  
  149. }
  150.  
  151. #sidebar ul li:hover {
  152.     background: #c64011;
  153.     -webkit-transition: background 200ms linear;
  154.     -moz-transition: background 200ms linear;
  155.     -o-transition: background 200ms linear;
  156.     -ms-transition: background 200ms linear;
  157.     transition: background 200ms linear;
  158. }
  159.  
  160. .outer {
  161.     display: table;
  162.     position: absolute;
  163.     height: 100%;
  164.     width: 100%;
  165. }
  166.  
  167. .middle {
  168.     display: table-cell;
  169.     vertical-align: middle;
  170. }
  171.  
  172. .container {
  173.     width: 80%;
  174.     height: 90%;
  175.     background-color: #282828;
  176.     box-shadow: inset -6px -6px 6px -2px rgba(255,255,255,.3);
  177.     color: #FFF;
  178.     border-radius: 0 10px 0 0;
  179.     float: left;
  180. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement