Skip to content

Commit

Permalink
Added the white-space property with a value: pre.
Browse files Browse the repository at this point in the history
Lisppaste uses pre-wrap, but it's not so good (wrapping in the middle of a hyphenated symbol or Python).
The link: http://paste.lisp.org/lisppaste.css
Styled a nonparen class.
  • Loading branch information
Goheeca committed Dec 15, 2012
1 parent 81f99e6 commit 285b106
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions css/colorize.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ a.symbol:hover { color : #229955; background-color : transparent; text-decoratio
.string { color : #777777; background-color : inherit; }
.character { color : #0055AA; background-color : inherit; }
.syntaxerror { color : #FF0000; background-color : inherit; }
/* span.paren1:hover { color : inherit; background-color : #BAFFFF; } */
/* span.paren2:hover { color : inherit; background-color : #FFCACA; } */
/* span.paren3:hover { color : inherit; background-color : #FFFFBA; } */
/* span.paren4:hover { color : inherit; background-color : #CACAFF; } */
/* span.paren5:hover { color : inherit; background-color : #CAFFCA; } */
/* span.paren6:hover { color : inherit; background-color : #FFBAFF; } */
span.paren1:hover { color : inherit; background-color : #BAFFFF; }
span.paren2:hover { color : inherit; background-color : #FFCACA; }
span.paren3:hover { color : inherit; background-color : #FFFFBA; }
span.paren4:hover { color : inherit; background-color : #CACAFF; }
span.paren5:hover { color : inherit; background-color : #CAFFCA; }
span.paren6:hover { color : inherit; background-color : #FFBAFF; }

pre, .code, span.nonparen {
background-color: #f7fbfd;
}

pre, .code {
background-color: #f7fbfd;
border-top: 1px solid #AC9; border-bottom: 1px solid #AC9;
margin: 0.2em; padding: 0.5em;
font-family: "Courier New", monospace; font-size: 90%;
overflow: auto;
white-space: pre;
}

0 comments on commit 285b106

Please sign in to comment.