Skip to content

Commit

Permalink
Avoid !important in CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Mar 30, 2016
1 parent 7a14d1c commit 9c56f45
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 9c56f45

Please sign in to comment.