main.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. html, body {
  2. background-color: #131516;
  3. color: #ccccdd;
  4. font-size: 12pt;
  5. font-family: Sans-Serif;
  6. line-height: 1.6em;
  7. }
  8. body {
  9. margin-left: 50px;
  10. padding-bottom: 50px;
  11. }
  12. table, tr, td {
  13. border-collapse: collapse;
  14. border: none;
  15. text-align: left;
  16. padding: 0px;
  17. }
  18. hr {
  19. margin-top: 50px;
  20. margin-bottom: 50px;
  21. border: 2px solid #555588;
  22. }
  23. p {
  24. margin: 25px 0px;
  25. }
  26. a {
  27. color: #bada55;
  28. text-decoration: none;
  29. font-weight: bold;
  30. }
  31. a:hover {
  32. text-decoration: underline;
  33. }
  34. .project-title {
  35. font-size: 1.2em;
  36. margin-bottom: 10px;
  37. }
  38. .meta-links {
  39. margin-bottom: 10px;
  40. background-color: #333
  41. }
  42. .meta-links td {
  43. padding: 8px;
  44. }
  45. .dirlisting {
  46. margin-bottom: 30px;
  47. }
  48. .dirlisting tr {
  49. border-bottom: 1px solid silver;
  50. }
  51. .dirlisting td {
  52. padding: 2px 10px;
  53. }
  54. .dirlisting td:nth-child(1) {
  55. padding-right: 30px;
  56. }
  57. pre {
  58. margin: 0;
  59. padding: 0;
  60. }
  61. .fileview, .fileview tr {
  62. border-collapse: collapse;
  63. border: 1px solid #888;
  64. }
  65. .fileview th {
  66. background-color: #333;
  67. color: #fff;
  68. font-weight: bold;
  69. padding: 4px;
  70. }
  71. .fileview td {
  72. padding: 8px;
  73. min-width: 300px;
  74. }
  75. c, c span {
  76. font-family: 'Courier New', monospace;
  77. white-space: pre;
  78. tab-size: 8;
  79. -moz-tab-size: 8;
  80. }
  81. /* blame user */
  82. .codelisting tr td:nth-child(1) {
  83. padding: 0px 10px;
  84. background-color: #111;
  85. color: #aaa;
  86. -webkit-user-select: none;
  87. -moz-user-select: none;
  88. -ms-user-select: none;
  89. user-select: none;
  90. }
  91. .codelisting th {
  92. padding: 6px;
  93. border-bottom: 1px solid #888;
  94. }
  95. .codelisting tr:nth-child(2) td {
  96. padding-top: 4px;
  97. }
  98. .codelisting tr:last-child td {
  99. padding-bottom: 4px !important;
  100. }
  101. /* line numbers */
  102. .codelisting tr td:nth-child(2) {
  103. padding: 0px 0px;
  104. border-left: 1px solid #888;
  105. background-color: #1f1f1f;
  106. -webkit-user-select: none;
  107. -moz-user-select: none;
  108. -ms-user-select: none;
  109. user-select: none;
  110. }
  111. .codelisting tr td:nth-child(2) a {
  112. text-decoration: none;
  113. display: inline-block;
  114. width: 100%;
  115. color: #888;
  116. text-align: right;
  117. padding-right: 10px;
  118. padding-left: 5px;
  119. box-sizing: border-box;
  120. }
  121. /* code */
  122. .codelisting tr td:nth-child(3) {
  123. padding-left: 6px;
  124. }
  125. /* line hover */
  126. .codelisting tr:hover td:nth-child(1) {
  127. color: #ccc;
  128. }
  129. .codelisting tr:hover td:nth-child(2) a {
  130. color: #ccc;
  131. }
  132. .codelisting tr:hover td {
  133. background-color: #666;
  134. }
  135. /* highlighting colors */
  136. .lang-c .keyword { color: #A3CCF7; }
  137. .lang-c .punct{ color: #B1EDEC; }
  138. .lang-c .string, .lang-c .charlit { color: #55EB54; }
  139. .lang-c .number { color: #F7BA7E; }
  140. .lang-c .ident { color: #E0E0E0; }
  141. .lang-c .type { color: #A3CCF7; }
  142. .lang-c .preproc { color: #66aadd; }
  143. .lang-c .comment { color: #787D31; }
  144. .lang-asm .comment { color: #787D31; }
  145. .lang-asm .ident { color: #E0E0E0; }
  146. .lang-asm .keyword { color: #A3CCF7; }
  147. .lang-asm .string { color: #55EB54; }
  148. .lang-asm .number { color: #F7BA7E; }
  149. .lang-asm .punct{ color: #B1EDEC; }
  150. .lang-asm .directive { color: #EDED43; }
  151. .lang-asm .register{ color: #B1ED43; }
  152. .lang-asm .simd-register{ color: #43EDB1; }
  153. .lang-asm .label {color: #66aadd; }
  154. /* decent default values */
  155. .js-code-highlight-root, .codelisting {
  156. background-color: #26292a;
  157. border: 1px solid #888;
  158. font-size: .9em;
  159. tab-size: 4;
  160. -moz-tab-size: 4;
  161. }
  162. .multiline {
  163. margin: 10px 0px;
  164. }
  165. .inline{
  166. padding: 0px 5px;
  167. }
  168. .title {
  169. border-bottom: 1px solid black;
  170. background: linear-gradient(#999999, #666666);
  171. color: #000000;
  172. padding-left: 18px;
  173. font-weight: bold;
  174. }
  175. .line-nums {
  176. border-right: 1px solid black;
  177. background-color: #666666;
  178. color: #CCCCDD;
  179. text-align: right;
  180. padding: 5px 5px 5px 5px;
  181. }
  182. .code-block {
  183. padding: 5px 0 5px 5px;
  184. tab-size: 4;
  185. }
  186. .line {
  187. line-height: 1.3em;
  188. }