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