@-moz-document url-prefix("http://digg.com/d1"),
url-prefix("http://digg.com/d2"),
url-prefix("http://digg.com/d3"),
url-prefix("http://digg.com/d4"),
url-prefix("http://digg.com/d5"),
url-prefix("http://digg.com/d6"),
url-prefix("http://digg.com/d7"),
url-prefix("http://digg.com/d8"),
url-prefix("http://digg.com/d9"),
url-prefix("http://digg.com/u1"),
url-prefix("http://digg.com/u2"),
url-prefix("http://digg.com/u3"),
url-prefix("http://digg.com/u4"),
url-prefix("http://digg.com/u5"),
url-prefix("http://digg.com/u6"),
url-prefix("http://digg.com/u7"),
url-prefix("http://digg.com/u8"),
url-prefix("http://digg.com/u9") {

  /* move the page up */
  body {
    padding-top: 30px !important;
  }

  #diggiFrame {
    padding-bottom: 0px !important;
  }

  /* shrink the main bar */
  div#t {
    margin-top: -6px !important;
    background-color: transparent !important;
    border: none !important;
    overflow: visible !important;
  }
  div#t > ul {
    border-bottom: 1px #666666 solid !important;
  }

  /* reposition the elements inside the bar */
  div#t > ul > li {
    height: 30px !important;
    margin-top: 3px !important;
    overflow: hidden !important;
  }

  /* fix the padding on the story title, comments and url */
  div#t li.t-summary {
    padding-top: 3px !important;
  }

  /* fix the related and source buttons */
  div#t li.t-rel, div#t li.t-src {
    height: 32px !important;
    margin-top: 6px !important;
  }
  div#t li.t-rel a, div#t li.t-src a {
    margin-top: -2px !important;
  }

  /* fix the feedback image */
  div#t li.t-survey {
    height: 32px !important;
    margin-top: 6px !important;
  }
  div#t li.t-survey a {
    margin-top: -3px !important;
  }

  /* style the drop-down menus */
  div#whoops * {
    background-color: transparent !important;
    overflow: hidden !important;
  }
  div#whoops > div {
    background: white !important;
    margin-left: auto !important;
    border-left: 1px solid #666666 !important;
    border-bottom: 1px solid #666666 !important;
  }
  div#whoops > div a.hide {
    display: none !important;
  }
  div#whoops > div#buryWhoop {
    max-width: 577px !important;
    background: #E6E6E6 !important;
    -moz-border-radius-bottomleft: 7px !important;
  }
  div#whoops > div#closeWhoop {
    max-width: 168px !important;
    background: #E6E6E6 !important;
    -moz-border-radius-bottomleft: 7px !important;
  }
  div#buryWhoop div.t-contents, div#closeWhoop div.t-contents {
    border: none !important;
    padding: 10px !important;
  }
}