Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hennk committed May 11, 2012
0 parents commit 5b7fcaf
Show file tree
Hide file tree
Showing 2 changed files with 433 additions and 0 deletions.
74 changes: 74 additions & 0 deletions liquid.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* Everything Liquid */
.CodeMirror .cm-liquid {
color: #000;
background-color: #EEE;
background-color: rgba(200, 200, 200, 0.5); /* for newer browsers, use transparent background, so selection is visible behind it */
}
.cm-liquid.CodeMirror-searching {
background: #FFA;
background: rgba(255, 255, 0, .4);
}
/* Every whitespace inside Liquid markup (except inside string constants) */
.CodeMirror .cm-liquid-whitespace {

}
/* Number constants */
.CodeMirror .cm-liquid-atom {
color: #AA00BB;
}
/* Variables, keywords and operators. Assigned by the Tokenizer which cannot differentiate between these */
.CodeMirror .cm-liquid-word {

}
/* String constants */
.CodeMirror .cm-liquid-string {
color: #228811;
}
/* {{, }}, {%, %} */
.CodeMirror .cm-liquid-markup-delimiter {
color: #555;
}
/* The name of a Liquid tag (if, assign, for, ...) */
.CodeMirror .cm-liquid-tag-name {
font-weight: bold;
}
/* The closing name of a Liquid block tag (endif, endfor) */
.CodeMirror .cm-liquid-endtag-name {
font-weight: bold;
}
/* Keywords (in, reversed, with, ...) */
.CodeMirror .cm-liquid-keyword {
font-weight: bold;
}
/* Operators */
.CodeMirror .cm-liquid-operator {

}
/* The name of a Tag attribute (limit, offset) */
.CodeMirror .cm-liquid-tag-attribute-name {
font-style: italic;
}
/* A Variable */
.CodeMirror .cm-liquid-variable {

}
/* A method of a drop */
.CodeMirror .cm-liquid-method {
font-style: italic;
}
/* The name one can give to a cycle tag */
.CodeMirror .cm-liquid-tag-cycle-name {
font-style: italic;
}
/* A filter in output markdown */
.CodeMirror .cm-liquid-filter {
font-style: italic;
}
/* Every output markup, including the {{ and }} */
.CodeMirror .cm-liquid-output-markup {

}
/* Every tag markup, including the {% and %} */
.CodeMirror .cm-liquid-tag-markup {

}
Loading

0 comments on commit 5b7fcaf

Please sign in to comment.