purebasic.css 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. PureBASIC native IDE style ( version 1.0 - April 2016 )
  3. by Tristano Ajmone <tajmone@gmail.com>
  4. Public Domain
  5. NOTE_1: PureBASIC code syntax highlighting only applies the following classes:
  6. .hljs-comment
  7. .hljs-function
  8. .hljs-keywords
  9. .hljs-string
  10. .hljs-symbol
  11. Other classes are added here for the benefit of styling other languages with the look and feel of PureBASIC native IDE style.
  12. If you need to customize a stylesheet for PureBASIC only, remove all non-relevant classes -- PureBASIC-related classes are followed by
  13. a "--- used for PureBASIC ... ---" comment on same line.
  14. NOTE_2: Color names provided in comments were derived using "Name that Color" online tool:
  15. http://chir.ag/projects/name-that-color
  16. */
  17. .hljs {
  18. /* Common set of rules required by highlight.js (don'r remove!) */
  19. display: block;
  20. overflow-x: auto;
  21. padding: .5em;
  22. background: #ffffdf; /* Half and Half (approx.) */
  23. /* --- Uncomment to add PureBASIC native IDE styled font!
  24. font-family: Consolas;
  25. */
  26. }
  27. .hljs, /* --- used for PureBASIC base color --- */
  28. .hljs-type, /* --- used for PureBASIC Procedures return type --- */
  29. .hljs-function, /* --- used for wrapping PureBASIC Procedures definitions --- */
  30. .hljs-name, .hljs-number, .hljs-attr, .hljs-params, .hljs-subst {
  31. color: #000; /* Black */
  32. }
  33. .hljs-comment, /* --- used for PureBASIC Comments --- */
  34. .hljs-regexp, .hljs-section, .hljs-selector-pseudo, .hljs-addition {
  35. color: #0aa; /* Persian Green (approx.) */
  36. }
  37. .hljs-title, /* --- used for PureBASIC Procedures Names --- */
  38. .hljs-tag, .hljs-variable, .hljs-code {
  39. color: #066; /* Blue Stone (approx.) */
  40. }
  41. .hljs-keyword, /* --- used for PureBASIC Keywords --- */
  42. .hljs-class, .hljs-meta-keyword, .hljs-selector-class, .hljs-built_in, .hljs-builtin-name {
  43. color: #066; /* Blue Stone (approx.) */
  44. font-weight: bold;
  45. }
  46. .hljs-string, /* --- used for PureBASIC Strings --- */
  47. .hljs-selector-attr {
  48. color: #0080ff; /* Azure Radiance (approx.) */
  49. }
  50. .hljs-symbol, /* --- used for PureBASIC Constants --- */
  51. .hljs-link, .hljs-deletion, .hljs-attribute {
  52. color: #924b72; /* Cannon Pink (approx.) */
  53. }
  54. .hljs-meta, .hljs-literal, .hljs-selector-id {
  55. color: #924b72; /* Cannon Pink (approx.) */
  56. font-weight: bold;
  57. }
  58. .hljs-strong, .hljs-name {
  59. font-weight: bold;
  60. }
  61. .hljs-emphasis {
  62. font-style: italic;
  63. }