diff options
Diffstat (limited to 'styles')
-rw-r--r-- | styles/main.scss | 3 | ||||
-rw-r--r-- | styles/sdml.scss | 79 |
2 files changed, 82 insertions, 0 deletions
diff --git a/styles/main.scss b/styles/main.scss index cb90dff..a07aec4 100644 --- a/styles/main.scss +++ b/styles/main.scss @@ -13,6 +13,9 @@ $headings-font-family: $font-family-sans-serif; $display-font-family: $font-family-sans-serif; $input-btn-font-family: $font-family-sans-serif; +@import "sdml"; +@include sdml; + /*-- scss:mixins --*/ @mixin font-face($name, $style, $weight, $basedir, $file) { diff --git a/styles/sdml.scss b/styles/sdml.scss new file mode 100644 index 0000000..592a598 --- /dev/null +++ b/styles/sdml.scss @@ -0,0 +1,79 @@ +@mixin sdml { + +pre code.sdml { + font-family: "InconsolataN",monospace; +// font-size: .9em; +// font-weight: 300; +// line-height: 1.4; + padding: .6em; + border: 1px solid #e1e4e5; + white-space: pre; +} + +pre code.sdml span.comment { + color: #949494; + font-style: italic; +} + +pre code.sdml span.constant-builtin { + color: #5f5f00; +} + +pre code.sdml span.error { + color: #ff0000; +} + +pre code.sdml span.function-call { + color: #005fd7; +} + +pre code.sdml span.keyword { + color: #878700; +} + +pre code.sdml span.operator { + color: #4e4e4e; + font-weight: bold; +} + +pre code.sdml span.module { + color: #005faf; +} + +pre code.sdml span.module-definition { + color: #0000af; +} + +pre code.sdml span.number { + color: #5f5f00; +} + +pre code.sdml span.property { + color: #d70000; +} + +pre code.sdml span.punctuation-bracket { + color: #4e4e4e; +} + +pre code.sdml span.string { + color: #5faf00; +} + +pre code.sdml span.string-special { + color: #8700d7; +} + +pre code.sdml span.type { + color: #005fff; +} + +pre code.sdml span.type-definition { + color: #0000ff; +} + +pre code.sdml span.variable-field { + color: #5f87af; +} + +} |