/* lsqfitgp/docs/_static/custom.css
 *
 * Copyright (c) 2022, 2023, Giacomo Petrillo
 *
 * This file is part of lsqfitgp.
 *
 * lsqfitgp is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * lsqfitgp is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with lsqfitgp.  If not, see <http://www.gnu.org/licenses/>.
 */

dl.py.method, dl.py.function {
    margin-top: 2em;
    margin-bottom: 2em;
}

dl.py.class, dl.py.function {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

h2 + dl.py.class, h2 + dl.py.function {
    margin-top: 1em;
}

dl.py.class > dd > p:first-child, dl.py.function > dd > p:first-child {
    margin-top: 0.8em;
}

dl.field-list {
    margin-top: 1em;
}

dl.field-list .field-even {
    margin-top: 1em;
    margin-bottom: 1em;
}

dl.field-list .field-even:last-child {
    margin-bottom: 0em;
}

p + dl.simple {
    margin-top: 0.7em;
}
