/* start from the base adctheme.   
https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html#overriding-or-replacing-a-theme-s-stylesheet
*/
@import "adctheme.css";

/* tasks:
images align center
no blank space after equations
tables don't always take 100%
adding more .docutils tables?  See diffs
enlarge code displays
enlarge text in general
different color for visited links
*/

/* no blank space underneath equations, so that inline equations are centered properly in the text */
img.math {
    padding-bottom: 0em;
}

/* center the images */
img.align-center, .figure.align-center, object.align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* let links not really change color even if it has been visited */
a:visited {
    color:#093D92;
    text-decoration:none;
    }



/* enlarge things  */
pre,p,li {
    font-size:13px;
}

/* enlarge things */
.admonition p {
    font-size:13px;
}

/* enlarge things  */
#sphinxsidebar li {
    font-size:13px;
}

/* more indent in the 2nd level items in the sidebar */
#sphinxsidebar li.toctree-l2 a {
    padding-left: 8px;
}



/* default in adctheme is to let table stretch across the page.  Prevent this */
table.docutils {
    width: initial;
}

table.highlighttable { /* ?? */
    width: initial;
}

/* in the sphinx, tables, they now use <p> in the cells.  This causes some bolding and 
alignment difficulties.  Here, any <P> that appears in a table, we bold and make it larger.
*/
table th > p {
    font-weight: bold;
    font-size:14px;
    margin-bottom:0px;
}
/* same deal, for every cell, don't want the extra space at the bottom. */
table td > p {
    margin-bottom:0px;
}

/* draw lines for the columns.  Seems ugly but this is the only way I can get it to work. */
table.docutils td,th {
    border-right: 1px solid #919699;
}


/* in the API docs chapter, make it look better */
dd {
    font-weight: bold;
}

dt.field-odd, dt.field-even {
    background-color: #f1eaea;
}

dl.function dt {
    border-top: 1px solid #919699;
}

em.sig-param {
    font-family: monospace;
}








/* admonition color; tooltip like */
.admonition {
    background-color:  #ffffe0;
}

.warning {
    margin: 30px;
}


