No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prism-funky.css 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /**
  2. * prism.js Funky theme
  3. * Based on “Polyfilling the gaps” talk slides http://lea.verou.me/polyfilling-the-gaps/
  4. * @author Lea Verou
  5. */
  6. code[class*="language-"],
  7. pre[class*="language-"] {
  8. font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  9. text-align: left;
  10. white-space: pre;
  11. word-spacing: normal;
  12. word-break: normal;
  13. word-wrap: normal;
  14. line-height: 1.5;
  15. -moz-tab-size: 4;
  16. -o-tab-size: 4;
  17. tab-size: 4;
  18. -webkit-hyphens: none;
  19. -moz-hyphens: none;
  20. -ms-hyphens: none;
  21. hyphens: none;
  22. }
  23. /* Code blocks */
  24. pre[class*="language-"] {
  25. padding: .4em .8em;
  26. margin: .5em 0;
  27. overflow: auto;
  28. background: url('data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>');
  29. background-size: 1em 1em;
  30. }
  31. code[class*="language-"] {
  32. background: black;
  33. color: white;
  34. box-shadow: -.3em 0 0 .3em black, .3em 0 0 .3em black;
  35. }
  36. /* Inline code */
  37. :not(pre) > code[class*="language-"] {
  38. padding: .2em;
  39. border-radius: .3em;
  40. box-shadow: none;
  41. white-space: normal;
  42. }
  43. .token.comment,
  44. .token.prolog,
  45. .token.doctype,
  46. .token.cdata {
  47. color: #aaa;
  48. }
  49. .token.punctuation {
  50. color: #999;
  51. }
  52. .namespace {
  53. opacity: .7;
  54. }
  55. .token.property,
  56. .token.tag,
  57. .token.boolean,
  58. .token.number,
  59. .token.constant,
  60. .token.symbol {
  61. color: #0cf;
  62. }
  63. .token.selector,
  64. .token.attr-name,
  65. .token.string,
  66. .token.char,
  67. .token.builtin {
  68. color: yellow;
  69. }
  70. .token.operator,
  71. .token.entity,
  72. .token.url,
  73. .language-css .token.string,
  74. .toke.variable,
  75. .token.inserted {
  76. color: yellowgreen;
  77. }
  78. .token.atrule,
  79. .token.attr-value,
  80. .token.keyword {
  81. color: deeppink;
  82. }
  83. .token.regex,
  84. .token.important {
  85. color: orange;
  86. }
  87. .token.important,
  88. .token.bold {
  89. font-weight: bold;
  90. }
  91. .token.italic {
  92. font-style: italic;
  93. }
  94. .token.entity {
  95. cursor: help;
  96. }
  97. .token.deleted {
  98. color: red;
  99. }