/* Mostly borrowed from PySDR's custom.css, so both books look alike. */
div.body { max-width: fit-content; }
div.sphinxsidebar { max-height: 100%; overflow-y: auto; }
div.sphinxsidebarwrapper { padding-right: 0px; }
div.document { margin-top: 0px; }

/* Measurement tables: right-align numbers */
table.docutils.measure td { text-align: right; }
table.docutils.measure td:first-child { text-align: left; }

/* Small print under figures/tables: machine, compiler, flags */
p.machine { font-size: 85%; color: #555; margin-top: -0.6em; }

/* "C++ vs. VHDL" side-by-side boxes */
div.hw-note { border-left: 4px solid #5b9bd5; background: #f4f8fc; padding: 0.4em 1em; margin: 1em 0; }
