Syntax highlighting support

This commit is contained in:
Gregory Eremin
2013-07-10 19:02:19 +07:00
parent 0a455e2b3e
commit df03286266
8 changed files with 103 additions and 10 deletions
+1 -1
View File
@@ -10,6 +10,6 @@ $ ->
$contents.focus()
# Binding submit event to new button
$button.on 'click', ->
$button.on 'mouseup', ->
$form.submit()
false
+10 -2
View File
@@ -2,11 +2,11 @@
body, input, select {
font-family: Helvetica, Arial, sans-serif;
font-size: 1.2em;
font-size: 1em;
}
textarea, pre {
font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
font-size: 1.2em;
font-size: 1em;
}
html, body, form {
height: 100%;
@@ -27,6 +27,14 @@ h1 {
text-transform: uppercase;
color: #ccc;
}
.linenos {
padding-right: .5em;
color: #ccc;
border-right: #eee 1px solid;
}
.code {
padding-left: .5em;
}
.container {
width: 100%;