@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("digg.com") {

/* Changelog:
0.8 - first release
0.8.1 - switch digg up/down buttons, makes more sense like "thumbs up, thumbs down"; remove 50px right padding on comments; justify comment and article text; remove submitter avatar on articles; rename style
0.8.2 - rename style again; hide digg count on buried comments, this saves time for reading better comments than something with -20 diggs
0.8.3 - show digg count of buried comments again; show address in parens; bug fix
0.9 - update for digg v4
0.9.1 - fix bug affecting blog.digg.com
0.9.2 - remove blank first line of comments

1.0 - undo the horrible new Digg UI; small bugfix; another small fix; fix friend comments; remove mark on user's comments

2.0 - make the new comment system look better
*/

/* use more horizontal space */
html {
  min-width: 0 !important;
}
body {
  padding: 0 1em !important;
}
#container {
  min-width: 0px !important;
  max-width: none !important;
  margin: 0 !important;
}

#contents {
  background: #FFFFFF !important;
  -moz-border-radius-topleft: 1em !important;
  -moz-border-radius-topright: 1em !important;
}

/* remove flash ad */
div[id^="km_main_"] {
  display: none !important;
}

/* clean up story */
/* remove submitter avatar from article */
.news-submitted > a:first-child > img,
.news-details .user-image {
  display: none !important;
}
/* fix title height */
.news-body h3 {
  font-size: 1.17em !important;
  margin-top: 0 !important;
}
/* fix my#1 button */
.news-body h3 > [id^="myn"] {
  position: absolute !important;
  margin-top: -1px !important;
  margin-left: 5px !important;
}
/* fix story line height */
.news-body p {
  line-height: 1.3 !important;
  margin: 0.2em 0 0.1em 0 !important;
}
/* remove some whitespace */
.news-body > .news-details > dl {
  margin-bottom: 1em !important;
}
/* thin the details down */
.news-body > .news-details dd {
  margin-bottom: 0 !important;
  margin-left: 6em !important;
}
/* shorten story width */
.news-full, .news-full-confirm {
  margin-right: 0 !important;
}

/* align comment tray all the way right */
.comment-tray {
  padding-right: 0 !important;
}

/* fix comment width to auto */
.comment ol li {
  width: auto !important;
}

/* remove ugly borders borders */
.c-replies {
  border: none !important;
}

/* remove extra spacing */
.c-wrap > div > .c-box {
  margin-left: 0 !important;
}
li[id^="cmt-"] {
  margin-bottom: 3px !important;
}
ul[id^="c-rply-to"] {
  padding-top: 6px !important;
  padding-bottom: 0px !important;
}

/* move digg count and buttons left */
.c-diggs {
  float: none !important;
  display: inline !important;
}

/* switch digg up/down buttons */
/* thumbs up, thumbs down :) */
.c-diggs > span > img:first-child {
  position: relative !important;
  left: 20px !important;
}
.c-diggs > span > img:first-child + img {
  position: relative !important;
  left: -20px !important;
}

/* switch digg count and digg buttons */
/* cool thing is, the layout won't mess up anymore if a comment gets over 1000 diggs, it will just push the name forward :) */
.c-diggs > span:first-child {
  padding-left: 43px !important;
}
.c-diggs > span:last-child {
  float: left !important;
  margin: -17px 0 0 -2px !important;
}

/* hide avatars */
.c-img-user {
  display: none !important;
}
.c-head {
  padding-left: 5px !important;
}

/* hide the "below viewing threshold" text */
span[id^="c-reason"],
span[id^="c-reason"] + span {
  display: none !important;
}


/* remove ugly blue bars */
.c-box, .c-box:hover {
  background: none !important;
  color: #666666 !important;
  border: none !important;
  padding: 4px 5px !important;
}
.c-box .lnk, .c-box:hover .lnk {
  background: none !important;
  color: #105CB6 !important;
}
.c-box .c-span-higlight {
  background: none !important;
  font-weight: bold !important;
  color: #105CB6 !important;
}

/* style the reply-to-comment form */
.c-ir .c-reply {
  border: 1px solid #8DB5D7 !important;
}
.comment textarea {
  width: 100% !important;
}


/* change comment text padding to 5px on each side */
.c-body-inside {
  padding-left: 5px !important;
  padding-right: 5px !important;
  text-align: justify !important;
}

/* remove blank first line of comments */
.c-body-inside > br:first-child {
  display: none !important;
}


/* make input fields look better */
input[type="text"],
input[type="password"],
select,
textarea {
  background-image: url("http://digg.com/img/form-back.gif") !important;
  background-repeat: repeat-x !important;
  background-color: #FFFADB !important;
  border: 1px solid #776B1B !important;
  color: #776B1B !important;
  line-height: normal !important;
}

/* remove border on header search box */
#top-keywords {
  border: none !important;
}

/* fix comment box font, and make it bigger */
textarea {
  font-size: 100% !important;
  min-height: 200px !important;
}

}

@-moz-document domain("blog.digg.com") {

body {
  padding: 0 0 !important;
}

}