rainbow.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /**
  2. * GitHub theme
  3. *
  4. * @author Craig Campbell
  5. * @version 1.0.4
  6. */
  7. pre {
  8. border: 1px solid #ccc;
  9. word-wrap: break-word;
  10. padding: 6px 10px;
  11. line-height: 19px;
  12. margin-bottom: 20px;
  13. }
  14. code {
  15. border: 1px solid #eaeaea;
  16. margin: 0 2px;
  17. padding: 0 5px;
  18. font-size: 12px;
  19. }
  20. pre code {
  21. border: 0;
  22. padding: 0;
  23. margin: 0;
  24. -moz-border-radius: 0;
  25. -webkit-border-radius: 0;
  26. border-radius: 0;
  27. }
  28. pre, code {
  29. font-family: Consolas, 'Liberation Mono', Courier, monospace;
  30. color: #333;
  31. background: #f8f8f8;
  32. -moz-border-radius: 3px;
  33. -webkit-border-radius: 3px;
  34. border-radius: 3px;
  35. }
  36. pre, pre code {
  37. font-size: 13px;
  38. }
  39. pre .comment {
  40. color: #998;
  41. }
  42. pre .support {
  43. color: #0086B3;
  44. }
  45. pre .tag, pre .tag-name {
  46. color: navy;
  47. }
  48. pre .keyword, pre .css-property, pre .vendor-prefix, pre .sass, pre .class, pre .id, pre .css-value, pre .entity.function, pre .storage.function {
  49. font-weight: bold;
  50. }
  51. pre .css-property, pre .css-value, pre .vendor-prefix, pre .support.namespace {
  52. color: #333;
  53. }
  54. pre .constant.numeric, pre .keyword.unit, pre .hex-color {
  55. font-weight: normal;
  56. color: #099;
  57. }
  58. pre .entity.class {
  59. color: #458;
  60. }
  61. pre .entity.id, pre .entity.function {
  62. color: #900;
  63. }
  64. pre .attribute, pre .variable {
  65. color: teal;
  66. }
  67. pre .string, pre .support.value {
  68. font-weight: normal;
  69. color: #d14;
  70. }
  71. pre .regexp {
  72. color: #009926;
  73. }