From: Jean Privat Date: Wed, 29 Oct 2014 13:27:33 +0000 (-0400) Subject: highlight: fix css for line and foldable X-Git-Tag: v0.6.10~10^2 X-Git-Url: http://nitlanguage.org highlight: fix css for line and foldable Signed-off-by: Jean Privat --- diff --git a/src/highlight.nit b/src/highlight.nit index fe5375c..1165ac9 100644 --- a/src/highlight.nit +++ b/src/highlight.nit @@ -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 */