* { color-scheme: dark; }

html, body, .dokuwiki, #dokuwiki__site, #dokuwiki__top,
div.wrapper, div.wrap_full, div.wrap_xl, div.wrap_l {
    background: #111 !important;
    color: #ddd !important;
}
#dokuwiki__header, .dokuwiki #dokuwiki__header,
.dokuwiki div.headings {
    background: #1a1a1a !important;
    border-bottom: 1px solid #333 !important;
}
#dokuwiki__sitetools, .dokuwiki #dokuwiki__sitetools,
.dokuwiki div.sitetools {
    background: #1a1a1a !important;
}
#dokuwiki__aside, .dokuwiki #dokuwiki__aside,
.dokuwiki div.aside {
    background: #161616 !important;
    border-right: 1px solid #2a2a2a !important;
    color: #ccc !important;
}
.dokuwiki div.page, #dokuwiki__content, .dokuwiki #dokuwiki__content,
div.wrap_content, .dokuwiki div.content {
    background: #111 !important;
    color: #ddd !important;
}
.dokuwiki a, .dokuwiki a:visited { color: #9ecfff !important; }
.dokuwiki a:hover { color: #fff !important; }
.dokuwiki h1, .dokuwiki h2, .dokuwiki h3, .dokuwiki h4, .dokuwiki h5 {
    color: #eee !important;
    border-bottom-color: #333 !important;
}
.dokuwiki pre, .dokuwiki code, .dokuwiki .code, .dokuwiki .file,
.dokuwiki .codeblock {
    background: #0a0a0a !important;
    color: #b5f0a5 !important;
    border: 1px solid #2a2a2a !important;
}
.dokuwiki table { border-color: #333 !important; }
.dokuwiki th {
    background: #222 !important;
    color: #eee !important;
    border-color: #333 !important;
}
.dokuwiki td {
    background: #151515 !important;
    color: #ddd !important;
    border-color: #2a2a2a !important;
}
.dokuwiki tr:nth-child(even) td { background: #1a1a1a !important; }
.dokuwiki form input[type=text], .dokuwiki form input[type=password],
.dokuwiki form input[type=search], .dokuwiki form input[type=email],
.dokuwiki form textarea, .dokuwiki form select,
.dokuwiki input, .dokuwiki textarea, .dokuwiki select {
    background: #1a1a1a !important;
    color: #ddd !important;
    border: 1px solid #333 !important;
}
#dokuwiki__footer, .dokuwiki #dokuwiki__footer,
.dokuwiki div.footer {
    background: #111 !important;
    color: #555 !important;
    border-top: 1px solid #2a2a2a !important;
}
.dokuwiki .breadcrumbs, .dokuwiki div.breadcrumbs {
    background: #161616 !important;
    color: #777 !important;
    border-bottom: 1px solid #222 !important;
}
.dokuwiki blockquote {
    background: #1a1a1a !important;
    border-left: 3px solid #444 !important;
    color: #bbb !important;
}
.dokuwiki button, .dokuwiki .btn,
.dokuwiki input[type=submit], .dokuwiki input[type=button] {
    background: #222 !important;
    color: #ddd !important;
    border: 1px solid #444 !important;
}
.dokuwiki button:hover { background: #333 !important; }
.dokuwiki .toc, #dw__toc, .dokuwiki div.toc {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #ddd !important;
}
.dokuwiki .section_highlight { background: #1a1a1a !important; }
.dokuwiki div.toolbar, .dokuwiki div.editBar {
    background: #1a1a1a !important;
    border-color: #333 !important;
}
.dokuwiki .search_form input { background: #1a1a1a !important; color: #ddd !important; }
.dokuwiki ul.index li, .dokuwiki ul.idx li { color: #ddd !important; }
.dokuwiki div.level1, .dokuwiki div.level2, .dokuwiki div.level3 {
    background: transparent !important;
}

/* fix geshi syntax colors on dark background -- all spans default to visible */
.dokuwiki pre span, .dokuwiki .code span, .dokuwiki .codeblock span {
    color: #b5f0a5 !important;
}
/* keywords */
.dokuwiki pre .kw1, .dokuwiki pre .kw2, .dokuwiki pre .kw3, .dokuwiki pre .kw4,
.dokuwiki pre .kw5, .dokuwiki pre .kw6, .dokuwiki pre .kw8, .dokuwiki pre .kw9 {
    color: #79c0ff !important;
}
/* strings */
.dokuwiki pre .st0, .dokuwiki pre .st1, .dokuwiki pre .st_h {
    color: #a5d6ff !important;
}
/* comments */
.dokuwiki pre .co0, .dokuwiki pre .co1, .dokuwiki pre .co2, .dokuwiki pre .co4,
.dokuwiki pre .coMULTI {
    color: #8b949e !important;
    font-style: italic;
}
/* numbers */
.dokuwiki pre .nu0 {
    color: #f2cc60 !important;
}
/* variables/identifiers/flags */
.dokuwiki pre .re0, .dokuwiki pre .re1, .dokuwiki pre .re2, .dokuwiki pre .re3,
.dokuwiki pre .re4, .dokuwiki pre .re5, .dokuwiki pre .re7, .dokuwiki pre .re8 {
    color: #ffa657 !important;
}
/* methods/functions */
.dokuwiki pre .me0, .dokuwiki pre .me1, .dokuwiki pre .me2 {
    color: #d2a8ff !important;
}
/* operators/symbols */
.dokuwiki pre .sy0, .dokuwiki pre .sy1, .dokuwiki pre .sy2, .dokuwiki pre .sy3,
.dokuwiki pre .sy4 {
    color: #ff7b72 !important;
}
