Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
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.

225 lines
3.3 KiB

  1. /*
  2. github.com style (c) Vasily Polovnyov <vast@whiteants.net>
  3. */
  4. pre code {
  5. display: block; padding: 0.5em;
  6. color: #000;
  7. background: #f8f8ff
  8. }
  9. pre .comment,
  10. pre .template_comment,
  11. pre .diff .header,
  12. pre .javadoc {
  13. color: #998;
  14. font-style: italic
  15. }
  16. pre .keyword,
  17. pre .css .rule .keyword,
  18. pre .winutils,
  19. pre .javascript .title,
  20. pre .lisp .title,
  21. pre .subst {
  22. color: #000;
  23. font-weight: bold
  24. }
  25. pre .number,
  26. pre .hexcolor {
  27. color: #40a070
  28. }
  29. pre .string,
  30. pre .tag .value,
  31. pre .phpdoc,
  32. pre .tex .formula {
  33. color: #d14
  34. }
  35. pre .title,
  36. pre .id {
  37. color: #900;
  38. font-weight: bold
  39. }
  40. pre .javascript .title,
  41. pre .lisp .title,
  42. pre .subst {
  43. font-weight: normal
  44. }
  45. pre .class .title,
  46. pre .haskell .label,
  47. pre .tex .command {
  48. color: #458;
  49. font-weight: bold
  50. }
  51. pre .tag,
  52. pre .tag .title,
  53. pre .rules .property,
  54. pre .django .tag .keyword {
  55. color: #000080;
  56. font-weight: normal
  57. }
  58. pre .attribute,
  59. pre .variable,
  60. pre .instancevar,
  61. pre .lisp .body {
  62. color: #008080
  63. }
  64. pre .regexp {
  65. color: #009926
  66. }
  67. pre .class {
  68. color: #458;
  69. font-weight: bold
  70. }
  71. pre .symbol,
  72. pre .ruby .symbol .string,
  73. pre .ruby .symbol .keyword,
  74. pre .ruby .symbol .keymethods,
  75. pre .lisp .keyword,
  76. pre .tex .special,
  77. pre .input_number {
  78. color: #990073
  79. }
  80. pre .builtin,
  81. pre .built_in,
  82. pre .lisp .title {
  83. color: #0086b3
  84. }
  85. pre .preprocessor,
  86. pre .pi,
  87. pre .doctype,
  88. pre .shebang,
  89. pre .cdata {
  90. color: #999;
  91. font-weight: bold
  92. }
  93. pre .deletion {
  94. background: #fdd
  95. }
  96. pre .addition {
  97. background: #dfd
  98. }
  99. pre .diff .change {
  100. background: #0086b3
  101. }
  102. pre .chunk {
  103. color: #aaa
  104. }
  105. pre .tex .formula {
  106. opacity: 0.5;
  107. }
  108. .hemisu-comment, pre .comment, pre .xml .doctype, pre .html .doctype {
  109. color: #999999;
  110. }
  111. .hemisu-accent1, pre .number, pre .ruby .keyword {
  112. color: #538192;
  113. }
  114. .hemisu-accent2, pre .string, pre .regexp, pre .xml .value, pre .html .value {
  115. color: #739200;
  116. }
  117. .hemisu-accent3, pre .keyword, pre .title, pre .constant, pre .xml .tag, pre .html .tag, pre .css .rules .attribute {
  118. color: #ff0055;
  119. }
  120. .hemisu-accent4 {
  121. color: #503d15;
  122. }
  123. pre code {
  124. display: block;
  125. background: white;
  126. color: #111111;
  127. font-family: Menlo, Monaco, Consolas, monospace;
  128. line-height: 1.5;
  129. border: 1px solid #ccc;
  130. padding: 10px;
  131. }
  132. pre .xml .tag .title {
  133. color: #111111;
  134. }
  135. pre .html .tag .title {
  136. color: #111111;
  137. }
  138. .wrapper {
  139. max-width: 680px;
  140. margin: 60px auto;
  141. padding: 0 20px;
  142. }
  143. .youtube {
  144. background-color: #000;
  145. margin-bottom: 30px;
  146. position: relative;
  147. padding-top: 56.25%;
  148. overflow: hidden;
  149. cursor: pointer;
  150. }
  151. .youtube img {
  152. width: 100%;
  153. top: -16.82%;
  154. left: 0;
  155. opacity: 0.7;
  156. }
  157. .youtube .play-button {
  158. width: 90px;
  159. height: 60px;
  160. background-color: #333;
  161. box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
  162. z-index: 1;
  163. opacity: 0.8;
  164. border-radius: 6px;
  165. }
  166. .youtube .play-button:before {
  167. content: "";
  168. border-style: solid;
  169. border-width: 15px 0 15px 26.0px;
  170. border-color: transparent transparent transparent #fff;
  171. }
  172. .youtube img,
  173. .youtube .play-button {
  174. cursor: pointer;
  175. }
  176. .youtube img,
  177. .youtube iframe,
  178. .youtube .play-button,
  179. .youtube .play-button:before {
  180. position: absolute;
  181. }
  182. .youtube .play-button,
  183. .youtube .play-button:before {
  184. top: 50%;
  185. left: 50%;
  186. transform: translate3d( -50%, -50%, 0 );
  187. }
  188. .youtube iframe {
  189. height: 100%;
  190. width: 100%;
  191. top: 0;
  192. left: 0;
  193. }