/* Custom styles for bcsophyd sphinx-immaterial theme */

@font-face {
    font-family: "Zero Threes";
    src: url("zerothre.ttf");
}

h1 {
    text-shadow: 0 0 15px #0dd;
    font-family: "Zero Threes", "Roboto", sans-serif;
    transition: text-shadow .5s ease-in-out;
}

h1:hover {
    text-shadow: 0 0 20px #0dd;
}

/* Neon cyan glow on links */
a:hover {
    text-shadow: 0 0 15px #0dd;
}

.md-content a:hover {
    text-shadow: 0 1px 8px #0dd;
}

/* Dark mode code block styling */
[data-md-color-scheme="slate"] .highlight pre {
    background-color: #022;
    border: 1px solid #0cc;
    border-radius: 5px;
}

/* Custom syntax highlighting for dark mode */
[data-md-color-scheme="slate"] .highlight .c { color: #70a6fd; font-style: italic } /* Comment */
[data-md-color-scheme="slate"] .highlight .k { color: #dfb578; font-weight: bold } /* Keyword */
[data-md-color-scheme="slate"] .highlight .o { color: #31a3ff; font-weight: bold } /* Operator */
[data-md-color-scheme="slate"] .highlight .s { color: #b165f9 } /* Literal.String */
[data-md-color-scheme="slate"] .highlight .m { color: #ffff30; font-weight: bold } /* Literal.Number */
[data-md-color-scheme="slate"] .highlight .nd { color: #a3ca33; font-weight: bold } /* Name.Decorator */
[data-md-color-scheme="slate"] .highlight .ne { color: #33ffff; font-weight: bold } /* Name.Exception */
[data-md-color-scheme="slate"] .highlight .nb { color: #dfb578 } /* Name.Builtin */
[data-md-color-scheme="slate"] .highlight .bp { color: #cb9a5b } /* Name.Builtin.Pseudo */
[data-md-color-scheme="slate"] .highlight .na { color: #3b5fff } /* Name.Attribute */
[data-md-color-scheme="slate"] .highlight .gh { color: #ffff7f; font-weight: bold } /* Generic.Heading */
[data-md-color-scheme="slate"] .highlight .sd { color: #70a6fd; font-style: italic } /* Literal.String.Doc */

/* API doc styling */
dl.class dd {
    margin: 0 0 12px 24px;
}

dl.field-list > dt {
    padding-right: 6px;
}
