From 9c56f4577db0b9c823d4f34c3350f982ef835368 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Wed, 30 Mar 2016 14:21:46 +0200 Subject: [PATCH] Avoid !important in CSS --- docs/source/_static/custom.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css index 893609a4d..9f38f7420 100644 --- a/docs/source/_static/custom.css +++ b/docs/source/_static/custom.css @@ -1,9 +1,10 @@ /* 24px margin from readthedocs theme */ -div.nblast { - margin-bottom: 19px !important; /* padding has already 5px */ +div.nbinput.nblast, +div.nboutput.nblast { + margin-bottom: 19px; /* padding has already 5px */ } -/* ... except between notebook cells! */ +/* ... except between code cells! */ div.nblast + div.nbinput { - margin-top: -19px !important; + margin-top: -19px; }