[d24f17c] | 1 | /*
|
---|
| 2 |
|
---|
| 3 | PureBASIC native IDE style ( version 1.0 - April 2016 )
|
---|
| 4 |
|
---|
| 5 | by Tristano Ajmone <tajmone@gmail.com>
|
---|
| 6 |
|
---|
| 7 | Public Domain
|
---|
| 8 |
|
---|
| 9 | NOTE_1: PureBASIC code syntax highlighting only applies the following classes:
|
---|
| 10 | .hljs-comment
|
---|
| 11 | .hljs-function
|
---|
| 12 | .hljs-keywords
|
---|
| 13 | .hljs-string
|
---|
| 14 | .hljs-symbol
|
---|
| 15 |
|
---|
| 16 | Other classes are added here for the benefit of styling other languages with the look and feel of PureBASIC native IDE style.
|
---|
| 17 | If you need to customize a stylesheet for PureBASIC only, remove all non-relevant classes -- PureBASIC-related classes are followed by
|
---|
| 18 | a "--- used for PureBASIC ... ---" comment on same line.
|
---|
| 19 |
|
---|
| 20 | NOTE_2: Color names provided in comments were derived using "Name that Color" online tool:
|
---|
| 21 | http://chir.ag/projects/name-that-color
|
---|
| 22 | */
|
---|
| 23 |
|
---|
| 24 | .hljs {
|
---|
| 25 | display: block;
|
---|
| 26 | overflow-x: auto;
|
---|
| 27 | padding: 0.5em;
|
---|
| 28 | background: #FFFFDF; /* Half and Half (approx.) */
|
---|
| 29 | /* --- Uncomment to add PureBASIC native IDE styled font!
|
---|
| 30 | font-family: Consolas;
|
---|
| 31 | */
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | .hljs, /* --- used for PureBASIC base color --- */
|
---|
| 35 | .hljs-type, /* --- used for PureBASIC Procedures return type --- */
|
---|
| 36 | .hljs-function, /* --- used for wrapping PureBASIC Procedures definitions --- */
|
---|
| 37 | .hljs-name,
|
---|
| 38 | .hljs-number,
|
---|
| 39 | .hljs-attr,
|
---|
| 40 | .hljs-params,
|
---|
| 41 | .hljs-subst {
|
---|
| 42 | color: #000000; /* Black */
|
---|
| 43 | }
|
---|
| 44 |
|
---|
| 45 | .hljs-comment, /* --- used for PureBASIC Comments --- */
|
---|
| 46 | .hljs-regexp,
|
---|
| 47 | .hljs-section,
|
---|
| 48 | .hljs-selector-pseudo,
|
---|
| 49 | .hljs-addition {
|
---|
| 50 | color: #00AAAA; /* Persian Green (approx.) */
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 | .hljs-title, /* --- used for PureBASIC Procedures Names --- */
|
---|
| 54 | .hljs-tag,
|
---|
| 55 | .hljs-variable,
|
---|
| 56 | .hljs-code {
|
---|
| 57 | color: #006666; /* Blue Stone (approx.) */
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | .hljs-keyword, /* --- used for PureBASIC Keywords --- */
|
---|
| 61 | .hljs-class,
|
---|
| 62 | .hljs-meta-keyword,
|
---|
| 63 | .hljs-selector-class,
|
---|
| 64 | .hljs-built_in,
|
---|
| 65 | .hljs-builtin-name {
|
---|
| 66 | color: #006666; /* Blue Stone (approx.) */
|
---|
| 67 | font-weight: bold;
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 | .hljs-string, /* --- used for PureBASIC Strings --- */
|
---|
| 71 | .hljs-selector-attr {
|
---|
| 72 | color: #0080FF; /* Azure Radiance (approx.) */
|
---|
| 73 | }
|
---|
| 74 |
|
---|
| 75 | .hljs-symbol, /* --- used for PureBASIC Constants --- */
|
---|
| 76 | .hljs-link,
|
---|
| 77 | .hljs-deletion,
|
---|
| 78 | .hljs-attribute {
|
---|
| 79 | color: #924B72; /* Cannon Pink (approx.) */
|
---|
| 80 | }
|
---|
| 81 |
|
---|
| 82 | .hljs-meta,
|
---|
| 83 | .hljs-literal,
|
---|
| 84 | .hljs-selector-id {
|
---|
| 85 | color: #924B72; /* Cannon Pink (approx.) */
|
---|
| 86 | font-weight: bold;
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 | .hljs-strong,
|
---|
| 90 | .hljs-name {
|
---|
| 91 | font-weight: bold;
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | .hljs-emphasis {
|
---|
| 95 | font-style: italic;
|
---|
| 96 | }
|
---|