@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("gelbooru.com") {

div, h1, h2, h3, h4, h5, h6, p, ul, li, dd, dt {
  background-color: transparent !important;
}

body, #header, #content, .content, #paginator, .pagination {
  background-color: black !important;
  color: #ddd !important;
}

.pagination a {
  border-color: #555 !important;
}

#navbar .current-page, #subnavbar {
  background-image: none !important;
  background-color: #006FFA !important;
}

#navbar .current-page a {
  background: none !important;
}

.tips {
  background-color: #003F9A !important;
  border-bottom-color: #006FFA !important;
}

#content .sidebar {
    background-color: black !important;
    background-color: rgba(0,0,0,0.85) !important;
}

.sidebar2, .sidebar4 {
  border-color: #222 !important;
}

.note-box, .note-body {
  background-color: #FFFFEE !important;
  color: black !important;
}

.note-corner {
    background-color: black !important;
}

#edit-box {
    background-color: white !important;
}

.quote {
    background-color: #222 !important;
    color: #ccc !important;
    border-color: #bbb !important;
}

.quote:hover {
    background-color: #2a2a2a !important;
    color: #eee !important;
    border-color: #ddd !important;
}

.highlightable td {
    border-color: #777 !important;
}

.highlightable tbody tr:not([style*="rgb"]):hover {
    background-color: #330 !important;
}

.highlightable tr[style*="rgb(220, 246, 220)"] {
    background-color: #003A00 !important;
}

table.form th {
    color: white !important;
}

.forum-notice {
    color: #ccc !important;
}

.forum-topic-category, .replies-count {
    color: inherit !important;
}

.ticket-open {
    background-color: #030 !important;
}

/* I really wish gelbooru didn't use all this inline css, there isn't a good way to match these other than this... */
*[style*="color: #444"] {
    color: #bbb !important;
}

*[style*="color: #0a0a0a"] {
    color: #f2f2f2 !important;
}

*[style*="color: #5a5a5a"] {
    color: #aaa !important;
}

*[style*="color: #393939"] {
    color: #b2b2b2 !important;
}

*[style*="color: #464646"] {
    color: #a9a9a9 !important;
}

}

@-moz-document domain("danbooru.donmai.us") {

body {
  background-color: black !important;
  color: #ddd !important;
}

#content .sidebar {
    background-color: black !important;
    background-color: rgba(0,0,0,0.85) !important;
    border-color: #222266 !important;
}

#navbar .current-page {
  background-color: #222266 !important;
}

#subnavbar {
  background-color: #222266 !important;
}

.status-notice, blockquote {
  background-color: #222222 !important;
  border-color: #444444 !important;
}

.note-body {
  color: black !important;
}

.bad-comment {
  background-color: #220000 !important;
  border: solid 1px #880000 !important;
}

.response-list .comment .footer a {
  color: #777777 !important;
}

.pagination a {
  border-color: #555 !important;
}

}