zenburn.css 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. a.sourceLine { display: inline-block; line-height: 1.25; }
  2. a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
  3. a.sourceLine:empty { height: 1.2em; }
  4. .sourceCode { overflow: visible; }
  5. code.sourceCode { white-space: pre; position: relative; }
  6. div.sourceCode { margin: 1em 0; }
  7. pre.sourceCode { margin: 0; }
  8. @media screen {
  9. div.sourceCode { overflow: auto; }
  10. }
  11. @media print {
  12. code.sourceCode { white-space: pre-wrap; }
  13. a.sourceLine { text-indent: -1em; padding-left: 1em; }
  14. }
  15. pre.numberSource a.sourceLine
  16. { position: relative; left: -4em; }
  17. pre.numberSource a.sourceLine::before
  18. { content: attr(title);
  19. position: relative; left: -1em; text-align: right; vertical-align: baseline;
  20. border: none; pointer-events: all; display: inline-block;
  21. -webkit-touch-callout: none; -webkit-user-select: none;
  22. -khtml-user-select: none; -moz-user-select: none;
  23. -ms-user-select: none; user-select: none;
  24. padding: 0 4px; width: 4em;
  25. }
  26. pre.numberSource { margin-left: 3em; padding-left: 4px; }
  27. div.sourceCode
  28. { color: #cccccc; background-color: #303030; }
  29. @media screen {
  30. a.sourceLine::before { text-decoration: underline; }
  31. }
  32. code span.al { color: #ffcfaf; } /* Alert */
  33. code span.an { color: #7f9f7f; font-weight: bold; } /* Annotation */
  34. code span.at { } /* Attribute */
  35. code span.bn { color: #dca3a3; } /* BaseN */
  36. code span.bu { } /* BuiltIn */
  37. code span.cf { color: #f0dfaf; } /* ControlFlow */
  38. code span.ch { color: #dca3a3; } /* Char */
  39. code span.cn { color: #dca3a3; font-weight: bold; } /* Constant */
  40. code span.co { color: #7f9f7f; } /* Comment */
  41. code span.cv { color: #7f9f7f; font-weight: bold; } /* CommentVar */
  42. code span.do { color: #7f9f7f; } /* Documentation */
  43. code span.dt { color: #dfdfbf; } /* DataType */
  44. code span.dv { color: #dcdccc; } /* DecVal */
  45. code span.er { color: #c3bf9f; } /* Error */
  46. code span.ex { } /* Extension */
  47. code span.fl { color: #c0bed1; } /* Float */
  48. code span.fu { color: #efef8f; } /* Function */
  49. code span.im { } /* Import */
  50. code span.in { color: #7f9f7f; font-weight: bold; } /* Information */
  51. code span.kw { color: #f0dfaf; } /* Keyword */
  52. code span.op { color: #f0efd0; } /* Operator */
  53. code span.ot { color: #efef8f; } /* Other */
  54. code span.pp { color: #ffcfaf; font-weight: bold; } /* Preprocessor */
  55. code span.sc { color: #dca3a3; } /* SpecialChar */
  56. code span.ss { color: #cc9393; } /* SpecialString */
  57. code span.st { color: #cc9393; } /* String */
  58. code span.va { } /* Variable */
  59. code span.vs { color: #cc9393; } /* VerbatimString */
  60. code span.wa { color: #7f9f7f; font-weight: bold; } /* Warning */