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.
 
 
 
 
 
 

165 lines
4.3 KiB

  1. div.code {
  2. background: #f7f7f7;
  3. border: 1px solid #d7d7d7;
  4. margin: 1em 1.75em;
  5. padding: .25em;
  6. overflow: auto
  7. }
  8. div.code pre { margin: 0; }
  9. table.code {
  10. border: 1px solid #ddd;
  11. border-spacing: 0;
  12. border-top: 0;
  13. border-collapse: collapse;
  14. empty-cells: show;
  15. font-size: 12px;
  16. line-height: 130%;
  17. padding: 0;
  18. margin: 0 auto;
  19. table-layout: fixed;
  20. width: 100%;
  21. }
  22. table.code th {
  23. border-right: 1px solid #d7d7d7;
  24. border-bottom: 1px solid #998;
  25. font-size: 11px;
  26. }
  27. table.code th.lineno { width: 4em }
  28. table.code thead th {
  29. background: #eee;
  30. border-top: 1px solid #d7d7d7;
  31. color: #999;
  32. padding: 0 .25em;
  33. text-align: center;
  34. white-space: nowrap;
  35. }
  36. table.code tbody th {
  37. background: #eed;
  38. color: #886;
  39. font-weight: normal;
  40. padding: 0 .5em;
  41. text-align: right;
  42. vertical-align: top;
  43. }
  44. table.code tbody th :link, table.code tbody th :visited {
  45. border: none;
  46. color: #886;
  47. text-decoration: none;
  48. }
  49. table.code tbody th :link:hover, table.code tbody th :visited:hover {
  50. color: #000;
  51. }
  52. table.code td {
  53. font: normal 11px monospace;
  54. overflow: hidden;
  55. padding: 1px 2px;
  56. vertical-align: top;
  57. }
  58. table.code tr.hilite th {
  59. background: #ccf;
  60. }
  61. table.code tr.hilite td {
  62. background: #ddf;
  63. }
  64. .image-file { background: #eee; padding: .3em }
  65. .image-file img { background: url(../imggrid.png) }
  66. /* Default */
  67. .code-block span { font-family: monospace; }
  68. /* Comments */
  69. .code-comment, .css_comment, .c_comment, .c_commentdoc, .c_commentline,
  70. .c_commentlinedoc, .h_comment,.pl_commentline, .p_commentblock,
  71. .p_commentline, .hphp_comment, .hphp_commentblock, .hphp_commentline,
  72. .yaml_comment {
  73. color: #998;
  74. font-style: italic;
  75. }
  76. /* Language keyword */
  77. .code-keyword, .pl_word { color: #789; font-weight: bold }
  78. /* Type */
  79. .code-type, .c_word, .c_word2, .p_classname, .hphp_classname{
  80. color: #468;
  81. font-weight: bold;
  82. }
  83. /* Function */
  84. .code-func, .p_defname {
  85. color: #900;
  86. font-weight: bold;
  87. border-bottom: none;
  88. }
  89. /* Pre-processor */
  90. .code-prep, .c_preprocessor, .pl_preprocessor, .yaml_identifier {
  91. color: #999;
  92. font-weight: bold;
  93. }
  94. /* Language construct */
  95. .code-lang, .p_word { color: #000; font-weight: bold }
  96. /* String */
  97. .code-string, .c_string, .c_stringeol, .css_doublestring, .css_singlestring,
  98. .h_singlestring, .h_doublestring, .pl_string, .pl_string_q, .pl_string_qq,
  99. .pl_string_qr, .pl_string_qw, .pl_string_qx, .pl_backticks, .pl_character,
  100. .p_string, .p_stringeol, .hphp_string, .hphp_stringeol, .hphp_triple,
  101. .hphp_tripledouble, .p_character, .p_triple, .p_tripledouble {
  102. color: #b84;
  103. font-weight: normal;
  104. }
  105. /* Variable name */
  106. .code-var { color: #f9f }
  107. /* SilverCity-specific styles */
  108. .css_id, .css_class, .css_pseudoclass, .css_tag { color: #900000 }
  109. .css_directive { color: #009000; font-weight: bold }
  110. .css_important { color: blue }
  111. .css_operator { color: #000090; font-weight: bold }
  112. .css_tag { font-weight: bold }
  113. .css_unknown_identifier, .css_unknown_pseudoclass { color: red }
  114. .css_value { color: navy }
  115. .c_commentdockeyword { color: navy; font-weight: bold }
  116. .c_commentdockeyworderror { color: red; font-weight: bold }
  117. .c_character, .c_regex, .c_uuid, .c_verbatim { color: olive }
  118. .c_number { color: #099 }
  119. .h_asp { color: #ff0 }
  120. .h_aspat { color: #ffdf00 }
  121. .h_attribute { color: teal }
  122. .h_attributeunknown { color: red }
  123. .h_cdata { color: #373 }
  124. .h_entity { color: purple }
  125. .h_number { color: #099 }
  126. .h_other { color: purple }
  127. .h_script, .h_tag, .h_tagend { color: navy }
  128. .h_tagunknown { color: red }
  129. .h_xmlend, .h_xmlstart { color: blue }
  130. .pl_datasection { color: olive }
  131. .pl_error { color: red; font-weight: bold }
  132. .pl_hash { color: #000 }
  133. .pl_here_delim, .pl_here_q, .pl_here_qq, .pl_here_qx, .pl_longquote { color: olive }
  134. .pl_number { color: #099 }
  135. .pl_pod { font-style: italic }
  136. .pl_regex, .pl_regsubst { color: olive }
  137. .p_number { color: #099 }
  138. .hphp_character { color: olive }
  139. .hphp_defname { color: #099; font-weight: bold }
  140. .hphp_number { color: #099 }
  141. .hphp_word { color: navy; font-weight: bold }
  142. .yaml_document { color: gray; font-style: italic }
  143. .yaml_keyword { color: #808 }
  144. .yaml_number { color: #800 }
  145. .yaml_reference { color: #088 }
  146. .v_comment { color: gray; font-style: italic }
  147. .v_commentline, .v_commentlinebang { color: red; font-style: italic }
  148. .v_number, .v_preprocessor { color: #099 }
  149. .v_string, .v_stringeol { color: olive }
  150. .v_user{ color: blue; font-weight: bold }
  151. .v_word, .v_word3 { color: navy; font-weight: bold }
  152. .v_word2 { color: green; font-weight: bold }