@namespace url(http://www.w3.org/1999/xhtml);
/*
  userscripts.org: readability
*/
@-moz-document domain("userscripts.org") {
/*
  fix/set link colors for sort (table header)
*/
th a { color:  #fff  !important; }
th a:hover { color:  #fd0  !important; }
/*
  change some colors, hi-lites, fonts
*/
#header #nav #mainmenu li a { 
  background:  #f80  !important; 
  text-shadow:  #000  0.1em 0.1em 0.2em  !important; 
}
#header #nav #mainmenu li a:hover { 
/* if you want a bg color change on hover, then close this comment *../
  background:  #f50  !important;  /*..*/
  text-shadow:  0 -1px 1px #888  !important; 
}
#header #navbox {
  border-top:  1px  solid  #f80  !important; 
  border-bottom:  1px  solid  #f80  !important;
  -moz-box-shadow:  -11px 3px 10px  hsla(0,0%,0%,.3);
  -webkit-box-shadow:  -11px 3px 10px  hsla(0,0%,0%,.3);
}
.awesome { text-shadow:  #000  0.1em 0.1em 0.2em  !important; }
.awesome:hover { text-shadow:  0 -1px 1px rgba(0,0,0,0.25)  !important; }
th,
#header, 
#footer, 
body h3 { background-color:  #579  !important; }
body { 
  background-color:  #f5f5f5  !important; 
  font-family:  "Trebuchet MS", "Segoe UI", Tahoma, sans-serif  !important;
}
pre, code { font-family:  Consolas, "Lucida Console", monospace  !important; }
#right { 
  background-color:  #fec  !important; 
  padding:  8px 8px 8px 12px  !important;
}
table.topics tr td img[src*="/lock.gif"] { background-color:  #f30  !important; }
img[src*="/comment.gif"][class*="grey"] { background-color:  #09f  !important; }
/* default
img[src*="/comment.gif"][class*="green"] { background-color:  #0c0  !important; }
*/
a.author + a.lastpost:hover { background:  #f50  !important; }
/* move script search box over, line up with post search box */
#header #script_search { padding-right:  5px  !important; } /* 04Jul2010 */
/*img[src*="/search.gif"] ..replace on hover, color match other hovers..*/ 
#header #script_search #search-go:hover { 
  width: 0 !important;
  background:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kJCQsBFmhnoU0AAABjSURBVDjLvVPJDcAgDLMrVoQhw5DpC6mghLOtf0hx5CMQADRCsQFmkLvkgguHCMMJeQhMXFwgWpPad9eCMYzEWtEbGXy8oJFr2bLvQJzTmGphUFvfwiLZz2CS7GfwZ408/c43zX0hGw2H1zcAAAAASUVORK5CYII=")  !important;
  padding: 16px 16px 0 0 !important;
}
/* pagination: color match #right */
.pagination a { 
  background-color:  #fec  !important; 
  text-decoration:  none  !important;
} 
.pagination .disabled { padding:  0 6px  !important; } 
/* less is more--lines & colors & flares, oh my! (one too many) */
#install_script a.userjs:hover, .greenbutton:hover { color:  #004  !important; }
/* if you don't want focus rings, then close this comment *../
*:focus { -moz-outline: none !important; }  /*..*/
/*
  scripts nav tabs bg color
*/
ul#script-nav li.menu.current {
  background-color:  #f5f5f5  !important; 
}
#script-nav li.menu,
#script-nav li a.a2a_dd {
  background-color:  #fec  !important; 
}
/* 
  rate comment as helpful: yes or now
*/
.rate a[href*="points=1"] { background-color: #0a0 /*green*/ !important; }
.rate a[href*="points=-1"] { background-color: #e00 /*red*/ !important; }
/*
  ".utility" button
*/
a[href*="/new"][class="utility"],
a[href="#"][class="utility"] {
  color:  white  !important;
  text-decoration:  none  !important;
  padding-right:  5px  !important;
  padding-bottom:  2px  !important;
  padding-left:  5px  !important;
  text-shadow:  #000  0.1em 0.1em 0.2em  !important; 
  background-color:  #f70  !important;
  -moz-border-radius:  5px  !important;
  -moz-box-shadow:
                   0 0 2px rgba(255, 255, 255, 0.4) inset,
                   0 4px 6px rgba(255, 255, 255, 0.4) inset,
                   0 11px 0 -2px rgba(255, 255, 255, 0.2) inset,
                   0 13px 8px rgba(222, 222, 222, 0.3) inset,
                   -1px 1px 2px rgba(0, 0, 0, 0.3)  !important;
}
a[href*="/new"][class="utility"]:hover,
a[href="#"][class="utility"]:hover {
  background-color:  #f50  !important; 
  text-shadow:  0 -1px 1px #888  !important; 
}
a[href*="/new"][class="utility"]:active,
a[href="#"][class="utility"]:active {
  color:  #000  !important; 
}
}

@-moz-document url-prefix("http://userscripts.org/jetpacks") {
#right {
  -moz-box-shadow:  -2px 4px 8px  hsla(0,0%,0%,.4);
  -webkit-box-shadow:  -2px 4px 8px  hsla(0,0%,0%,.4);
}
}

@-moz-document url-prefix("http://userscripts.org/forums") {
/*
  fix 'New topic' button spacing in forums where no pagination exists (yet),
  which, for now, means only one: the Jetpack forum (/forums/6)
*/
[class="awesome small orange"] { margin-bottom:  10px  !important; }
}

@-moz-document url("http://userscripts.org/") {
/*
  help prevent/reduce table blow-out on home page
  from scripts with long names and no spaces (:D)
  (to keep table from sliding under #right)
*/
td.script-meat { max-width:  260px  !important; }
}

@-moz-document url-prefix(http://userscripts.org/scripts/fans/),
               url-prefix(http://userscripts.org/scripts/reviews/) {
/* 
  fade #right into background when nothing is there 
*/
#right { background-color:  #f5f5f5  !important; }
}