Advertisement
Guest User

Untitled

a guest
Dec 15th, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.72 KB | None | 0 0
  1. header.fixed-header {
  2.     position: fixed;
  3.     top: 0;
  4.     left: 0;
  5.     z-index: 9998;
  6.     background-color: #efefef;
  7.     -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  8.     -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  9.     box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  10.     -webkit-transform: none !important;
  11.     -moz-transform: none !important;
  12.     -ms-transform: none !important;
  13.     -o-transform: none !important;
  14.     transform: none !important;
  15. }
  16.  
  17. #brand {
  18.     float: left;
  19.     clear: none;
  20. }
  21.  
  22. #brand a,
  23. nav a {
  24.     text-decoration: none;
  25. }
  26.  
  27. #brand h1 {
  28.     font-size: 1.556em;
  29.     line-height: 3rem;
  30. }
  31.  
  32. nav {
  33.     position: relative;
  34.     display: inline-block;
  35.     float: right;
  36.     clear: none;
  37. }
  38.  
  39. #brand a,
  40. nav a {
  41.     color: #333;
  42. }
  43.  
  44. #brand a img#default-logo,
  45. #brand a img#retina-logo {
  46.     float: left;
  47.     margin-top: 0.286em;
  48.     margin-right: 0.5em;
  49.     height: 1.143em;
  50. }
  51.  
  52. #brand a img#retina-logo {
  53.     display: none;
  54. }
  55.  
  56. /* retina logo */
  57. @media only screen and (-moz-min-device-pixel-ratio: 1.5),
  58. only screen and (-o-min-device-pixel-ratio: 3/2),
  59. only screen and (-webkit-min-device-pixel-ratio: 1.5),
  60. only screen and (min-device-pixel-ratio: 1.5),
  61. only screen and (min-resolution: 144dpi) {
  62.  
  63.     #brand a img#retina-logo {
  64.         display: block;
  65.     }
  66.  
  67.     #brand a img#default-logo {
  68.         display: none;
  69.     }
  70. }
  71.  
  72. header.transparent.light #brand a,
  73. header.transparent.light nav > ul > li > a {
  74.     color: #fff;
  75. }
  76.  
  77. header.fixed-header.transparent.light #brand a,
  78. header.fixed-header.transparent.light nav > ul > li > a {
  79.     color: #333;
  80.     text-shadow: none;
  81. }
  82.  
  83. header.fixed-header.transparent.light nav > ul > li:hover > a {
  84.     border-bottom: 2px solid #333;
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement