Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit 050f781

Browse files
committed
ui fix for rouge highlighter
1 parent 7682327 commit 050f781

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎_sass/external/_syntax.scss‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
.il { color: #009999 } /* Literal.Number.Integer.Long */
6464

6565
/** Custom **/
66-
/*.highlight pre { word-wrap: normal }
66+
pre table { width: inherit } /* Work-around for Rouge highlighter */
67+
.highlight pre { word-wrap: normal }
6768
.highlight pre code { white-space: pre }
68-
.lineno { opacity:.2; color: #cccccc;-webkit-transition: opacity .5s linear; transition: opacity .5s linear;} !* Line nos *!
69-
.highlight:hover .lineno { opacity: 1 } !* Show line nos on hover *!*/
69+
.lineno { opacity:.2; color: #cccccc;-webkit-transition: opacity .5s linear; transition: opacity .5s linear;} /* Line nos */
70+
.highlight:hover .lineno { opacity: 1 } /* Show line nos on hover */

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /