highlight class, fixes #29 #36

This commit is contained in:
Dave Snider 2013-11-05 11:54:34 -08:00
parent 7a7b013d2e
commit 563a031512
3 changed files with 7 additions and 7 deletions

View File

@ -225,12 +225,6 @@ footer
.rst-footer-buttons .rst-footer-buttons
+clearfix +clearfix
.higlight
background: #fafa77
font-weight: bold
padding: 0 0.2em 0.2em
border-radius: 0.5em
#search-results #search-results
.search li .search li
margin-bottom: $base-line-height margin-bottom: $base-line-height

View File

@ -105,6 +105,12 @@
margin: -$base-line-height margin: -$base-line-height
margin-bottom: $base-line-height margin-bottom: $base-line-height
font-size: 100% font-size: 100%
// Sphinx can highlight searched text with ?highlighted=searchterm
.highlighted
background: $yellow
display: inline-block
font-weight: bold
padding: 0 $base-line-height / 4
// These are the little citation links [1] that show up within paragraphs. // These are the little citation links [1] that show up within paragraphs.
.footnote-reference, .citation-reference .footnote-reference, .citation-reference

File diff suppressed because one or more lines are too long