Last active
July 3, 2016 12:05
-
-
Save suzuki86/d0faee82a60ac6cc7ad35da9de13eb51 to your computer and use it in GitHub Desktop.
CSS template of middleman for syntax highlight.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= Rouge::Themes::Github.render(:scope => '.highlight') %> | |
.highlight { | |
padding: 10px; | |
} | |
.highlight { | |
line-height: 120%; | |
pre, code { | |
overflow-x: scroll; | |
white-space: pre; | |
word-wrap: normal; | |
} | |
pre, span { | |
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; | |
} | |
} | |
.contents { | |
table { | |
width: 100%; | |
table-layout: fixed; | |
word-break: break-word; | |
border-collapse: collapse; | |
} | |
th, td { | |
border: 1px solid #cccccc; | |
padding: 10px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment