dl.py {
    background-color: #f8f8f8;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 2px;
}


table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding-top: 5px;
    /* padding-bottom: 12px; */
}


table {
    table-layout: fixed;
    text-align: center;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
}


/* The pydata theme styles display equations with
   `div.math mjx-container { overflow: auto; padding-bottom: .2rem }`, which
   leaves a spurious scrollbar on equations that already fit. Restrict the
   scrollbar to the horizontal axis (only when an equation genuinely overflows)
   and drop the extra padding that triggers it. */
div.math mjx-container,
mjx-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0;
}
