purebasic.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. display: block;
  19. overflow-x: auto;
  20. padding: 0.5em;
  21. background: #FFFFDF; /* Half and Half (approx.) */
  22. /* --- Uncomment to add PureBASIC native IDE styled font!
  23. font-family: Consolas;
  24. */
  25. }
  26. .hljs, /* --- used for PureBASIC base color --- */
  27. .hljs-type, /* --- used for PureBASIC Procedures return type --- */
  28. .hljs-function, /* --- used for wrapping PureBASIC Procedures definitions --- */
  29. .hljs-name,
  30. .hljs-number,
  31. .hljs-attr,
  32. .hljs-params,
  33. .hljs-subst {
  34. color: #000000; /* Black */
  35. }
  36. .hljs-comment, /* --- used for PureBASIC Comments --- */
  37. .hljs-regexp,
  38. .hljs-section,
  39. .hljs-selector-pseudo,
  40. .hljs-addition {
  41. color: #00AAAA; /* Persian Green (approx.) */
  42. }
  43. .hljs-title, /* --- used for PureBASIC Procedures Names --- */
  44. .hljs-tag,
  45. .hljs-variable,
  46. .hljs-code {
  47. color: #006666; /* Blue Stone (approx.) */
  48. }
  49. .hljs-keyword, /* --- used for PureBASIC Keywords --- */
  50. .hljs-class,
  51. .hljs-meta-keyword,
  52. .hljs-selector-class,
  53. .hljs-built_in,
  54. .hljs-builtin-name {
  55. color: #006666; /* Blue Stone (approx.) */
  56. font-weight: bold;
  57. }
  58. .hljs-string, /* --- used for PureBASIC Strings --- */
  59. .hljs-selector-attr {
  60. color: #0080FF; /* Azure Radiance (approx.) */
  61. }
  62. .hljs-symbol, /* --- used for PureBASIC Constants --- */
  63. .hljs-link,
  64. .hljs-deletion,
  65. .hljs-attribute {
  66. color: #924B72; /* Cannon Pink (approx.) */
  67. }
  68. .hljs-meta,
  69. .hljs-literal,
  70. .hljs-selector-id {
  71. color: #924B72; /* Cannon Pink (approx.) */
  72. font-weight: bold;
  73. }
  74. .hljs-strong,
  75. .hljs-name {
  76. font-weight: bold;
  77. }
  78. .hljs-emphasis {
  79. font-style: italic;
  80. }