highlight: fix css for line and foldable
authorJean Privat <jean@pryen.org>
Wed, 29 Oct 2014 13:27:33 +0000 (09:27 -0400)
committerJean Privat <jean@pryen.org>
Wed, 29 Oct 2014 13:27:33 +0000 (09:27 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/highlight.nit

index fe5375c..1165ac9 100644 (file)
@@ -165,9 +165,9 @@ class HighlightVisitor
                return """
 .nitcode a { color: inherit; cursor:pointer; }
 .nitcode .popupable:hover { text-decoration: underline; cursor:help; } /* underline titles */
-pre.nitcode .foldable { display: block } /* for block productions*/
-pre.nitcode .line{ display: block } /* for lines */
-pre.nitcode .line:hover{ background-color: #FFFFE0; } /* current line */
+.nitcode .foldable { display: block } /* for block productions*/
+.nitcode .line{ display: block } /* for lines */
+.nitcode .line:hover{ background-color: #FFFFE0; } /* current line */
 .nitcode :target { background-color: #FFF3C2 } /* target highlight*/
 /* lexical raw tokens. independent of usage or semantic: */
 .nitcode .nc_c { color: gray; font-style: italic; } /* comment */