You are here

prism.css in Open Social 8.5

code[class*="language-"],
pre[class*="language-"] {
  display: block;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  -moz-tab-size: 2;
    -o-tab-size: 2;
       tab-size: 2;
}

/* Code blocks */
pre[class*="language-"] {
  overflow: auto;
  position: relative;
  padding: 1em;
  border: 0;
}

pre[class*="language-"] code {
  overflow: auto;
  padding: 10px;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray;
}

.token.punctuation {
  color: #999;
}

.namespace {
  opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #a67f59;
  background: rgba(255, 255, 255, 0.5);
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #07a;
}

.token.function {
  color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
  color: #e90;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

File

themes/socialblue/assets/css/prism.css
View source
  1. code[class*="language-"],
  2. pre[class*="language-"] {
  3. display: block;
  4. white-space: pre;
  5. word-spacing: normal;
  6. word-break: normal;
  7. word-wrap: normal;
  8. -moz-tab-size: 2;
  9. -o-tab-size: 2;
  10. tab-size: 2;
  11. }
  12. /* Code blocks */
  13. pre[class*="language-"] {
  14. overflow: auto;
  15. position: relative;
  16. padding: 1em;
  17. border: 0;
  18. }
  19. pre[class*="language-"] code {
  20. overflow: auto;
  21. padding: 10px;
  22. }
  23. .token.comment,
  24. .token.prolog,
  25. .token.doctype,
  26. .token.cdata {
  27. color: slategray;
  28. }
  29. .token.punctuation {
  30. color: #999;
  31. }
  32. .namespace {
  33. opacity: .7;
  34. }
  35. .token.property,
  36. .token.tag,
  37. .token.boolean,
  38. .token.number,
  39. .token.constant,
  40. .token.symbol,
  41. .token.deleted {
  42. color: #905;
  43. }
  44. .token.selector,
  45. .token.attr-name,
  46. .token.string,
  47. .token.char,
  48. .token.builtin,
  49. .token.inserted {
  50. color: #690;
  51. }
  52. .token.operator,
  53. .token.entity,
  54. .token.url,
  55. .language-css .token.string,
  56. .style .token.string {
  57. color: #a67f59;
  58. background: rgba(255, 255, 255, 0.5);
  59. }
  60. .token.atrule,
  61. .token.attr-value,
  62. .token.keyword {
  63. color: #07a;
  64. }
  65. .token.function {
  66. color: #DD4A68;
  67. }
  68. .token.regex,
  69. .token.important,
  70. .token.variable {
  71. color: #e90;
  72. }
  73. .token.important,
  74. .token.bold {
  75. font-weight: bold;
  76. }
  77. .token.italic {
  78. font-style: italic;
  79. }
  80. .token.entity {
  81. cursor: help;
  82. }