Skip to content

Commit

Permalink
DOC: use default RTD equation styling on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgortmaker committed Apr 25, 2018
1 parent 88cb8ea commit a70791f
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions docs/static/override.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
/* move equation numbers to the right of equations and make their links visible upon hover */
/* move equation numbers to the right of equations and make their links visible upon hover on desktops */

.eqno {
margin-left: 5px;
float: right;
}
.math .headerlink {
display: none;
visibility: hidden;
}
.math:hover .headerlink {
display: inline-block;
visibility: visible;
margin-right: -0.7em;
@media screen and (min-width: 767px) {
.eqno {
margin-left: 5px;
float: right;
}
.math .headerlink {
display: none;
visibility: hidden;
}
.math:hover .headerlink {
display: inline-block;
visibility: visible;
margin-right: -0.7em;
}
}

/* allow table to have multi-line rows */
/* allow table to have multi-line rows on desktops */

@media screen and (min-width: 767px) {
.wy-table-responsive table td {
Expand Down

0 comments on commit a70791f

Please sign in to comment.