Guest User

http://meta.stackoverflow.com/a/142217/169101

a guest
Jan 7th, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.15 KB | None | 0 0
  1. @namespace url(http://www.w3.org/1999/xhtml);
  2.  
  3. @-moz-document domain('stackoverflow.com'),
  4.                domain('stackexchange.com'),
  5.                domain('superuser.com'),
  6.                domain('serverfault.com'),
  7.                domain('stackapps.com'),
  8.                domain('askubuntu.com'),
  9.                domain('mathoverflow.com'),
  10.                domain('answers.onstartups.com') {
  11.   /* old StackExchange top bar, e.g. on stackexchange.com */
  12.   #portalLink {
  13.       position: fixed;
  14.     /*left: 22px;/* Uncomment to stick to the left */
  15.       background-image: -moz-element(#custom-header) !important;
  16.       background-size: 1px !important;
  17.       background-repeat: repeat !important;
  18.       padding: 8px 6px 6px 16px !important;
  19.       margin: -2px 0 0 -22px !important;
  20.       border-radius: 5px;
  21.   }
  22.   body {
  23.       padding-top: 34px; /* reserve height of .topbar */
  24.   }
  25.   .topbar {
  26.       position: fixed !important;
  27.       top: 0;
  28.   }
  29. }
  30. @-moz-document url-prefix('https://stackexchange.com/'),
  31.                url-prefix('http://stackexchange.com/') {
  32.     #portalLink {
  33.         background-image: -moz-element(#topBar) !important;
  34.     }
  35. }
Add Comment
Please, Sign In to add comment