/* ------------------------------------------------------------------------
   pbefs.css: what the site of PBeFS changes in the theme of Read the Docs
   ------------------------------------------------------------------------ */

/* the content as wide as the signatures of the templates need: at 800
   pixels, the default of the theme, those of the searches are cut, and the
   signatures longer than maximum_signature_line_length go one parameter
   per line anyway */
.wy-nav-content {
    max-width: 1300px;
}

/* a display formula wider than the page scrolls in its own box, and does
   not spill over the margin */
mjx-container[display="true"],
div.math {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

/* the names in the signatures, which the dark theme leaves black */
html[data-theme="dark"] .rst-content dl .sig-name,
html[data-theme="dark"] .rst-content dl .sig-name * {
    color: #e6e6e6 !important;
}

/* the signatures of the members, which the dark theme leaves on the light
   grey of the light one (whose selector, made of many :not(), outweighs
   its own), under the names coloured above */
html[data-theme="dark"] .rst-content dl.cpp dt {
    background: #2b2b2b !important;
    color: #d0d0d0 !important;
    border-color: #555555 !important;
}

/* the cells of the tables on more lines: the theme keeps them on one, so
   that the descriptions of the layers, the headers and the classes run
   out of the page and have to be scrolled */
.wy-table-responsive table td,
.wy-table-responsive table th {
    white-space: normal;
}
