highlight.styl 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. // https://github.com/chriskempson/tomorrow-theme
  2. highlight-background = #2d2d2d
  3. highlight-current-line = #393939
  4. highlight-selection = #515151
  5. highlight-foreground = #cccccc
  6. highlight-comment = #999999
  7. highlight-red = #f2777a
  8. highlight-orange = #f99157
  9. highlight-yellow = #ffcc66
  10. highlight-green = #99cc99
  11. highlight-aqua = #66cccc
  12. highlight-blue = #6699cc
  13. highlight-purple = #cc99cc
  14. $code-block
  15. background: highlight-background
  16. margin: 0 article-padding * -1
  17. padding: 15px article-padding
  18. border-style: solid
  19. border-color: color-border
  20. border-width: 1px 0
  21. overflow: auto
  22. color: highlight-foreground
  23. line-height: font-size * line-height
  24. $line-numbers
  25. color: #666
  26. font-size: 0.85em
  27. .article-entry
  28. pre, code
  29. font-family: font-mono
  30. code
  31. background: color-background
  32. text-shadow: 0 1px #fff
  33. padding: 0 0.3em
  34. pre
  35. @extend $code-block
  36. code
  37. background: none
  38. text-shadow: none
  39. padding: 0
  40. .highlight
  41. @extend $code-block
  42. pre
  43. border: none
  44. margin: 0
  45. padding: 0
  46. table
  47. margin: 0
  48. width: auto
  49. td
  50. border: none
  51. padding: 0
  52. figcaption
  53. clearfix()
  54. font-size: 0.85em
  55. color: highlight-comment
  56. line-height: 1em
  57. margin-bottom: 1em
  58. a
  59. float: right
  60. .gutter pre
  61. @extend $line-numbers
  62. text-align: right
  63. padding-right: 20px
  64. .line
  65. height: font-size * line-height
  66. .line.marked
  67. background: highlight-selection
  68. .gist
  69. margin: 0 article-padding * -1
  70. border-style: solid
  71. border-color: color-border
  72. border-width: 1px 0
  73. background: highlight-background
  74. padding: 15px article-padding 15px 0
  75. .gist-file
  76. border: none
  77. font-family: font-mono
  78. margin: 0
  79. .gist-data
  80. background: none
  81. border: none
  82. .line-numbers
  83. @extend $line-numbers
  84. background: none
  85. border: none
  86. padding: 0 20px 0 0
  87. .line-data
  88. padding: 0 !important
  89. .highlight
  90. margin: 0
  91. padding: 0
  92. border: none
  93. .gist-meta
  94. background: highlight-background
  95. color: highlight-comment
  96. font: 0.85em font-sans
  97. text-shadow: 0 0
  98. padding: 0
  99. margin-top: 1em
  100. margin-left: article-padding
  101. a
  102. color: color-link
  103. font-weight: normal
  104. &:hover
  105. text-decoration: underline
  106. pre
  107. .comment
  108. .title
  109. color: highlight-comment
  110. .variable
  111. .attribute
  112. .tag
  113. .regexp
  114. .ruby .constant
  115. .xml .tag .title
  116. .xml .pi
  117. .xml .doctype
  118. .html .doctype
  119. .css .id
  120. .css .class
  121. .css .pseudo
  122. color: highlight-red
  123. .number
  124. .preprocessor
  125. .built_in
  126. .literal
  127. .params
  128. .constant
  129. color: highlight-orange
  130. .class
  131. .ruby .class .title
  132. .css .rules .attribute
  133. color: highlight-green
  134. .string
  135. .value
  136. .inheritance
  137. .header
  138. .ruby .symbol
  139. .xml .cdata
  140. color: highlight-green
  141. .css .hexcolor
  142. color: highlight-aqua
  143. .function
  144. .python .decorator
  145. .python .title
  146. .ruby .function .title
  147. .ruby .title .keyword
  148. .perl .sub
  149. .javascript .title
  150. .coffeescript .title
  151. color: highlight-blue
  152. .keyword
  153. .javascript .function
  154. color: highlight-purple