vue.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. @import url('https://fonts.googleapis.com/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600');
  2. body {
  3. letter-spacing: 0;
  4. color: #34495e;
  5. font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  6. font-size: 15px;
  7. -webkit-font-smoothing: antialiased;
  8. -moz-osx-font-smoothing: grayscale;
  9. color: #34495e;
  10. background-color: #fff;
  11. margin: 0;
  12. }
  13. /* LANGS.md index page */
  14. .book-langs-index {
  15. font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  16. }
  17. .book-langs-index .inner .languages {
  18. padding: 20px 0px;
  19. }
  20. .book-langs-index .inner .languages li {
  21. float: none;
  22. }
  23. li a {
  24. color: #42b983;
  25. font-weight: 600;
  26. }
  27. /* set correct fonts on sidebar and main page */
  28. .book .book-body .page-wrapper .page-inner section.normal, .book-summary { font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif; }
  29. /* sidebar */
  30. .book-summary ul.summary li a,
  31. .book-summary ul.summary li span {
  32. color: #7f8c8d;
  33. font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  34. }
  35. .book .book-summary ul.summary li span {
  36. opacity: 0.6;
  37. cursor: not-allowed;
  38. }
  39. .book-summary ul.summary li.active>a {
  40. color: #42b983;
  41. font-weight: 600;
  42. }
  43. #book-search-input { background-color: #fafafa; }
  44. .book-summary { background-color: #fff; }
  45. /* markdown content found on pages */
  46. .markdown-section h1,
  47. .markdown-section h2,
  48. .markdown-section h3,
  49. .markdown-section h4,
  50. .markdown-section strong {
  51. font-weight: 600;
  52. color: #2c3e50;
  53. }
  54. .markdown-section a {
  55. color: #42b983;
  56. font-weight: 600;
  57. }
  58. .markdown-section p,
  59. .markdown-section ul,
  60. .markdown-section ol {
  61. word-spacing: 0.05em;
  62. }
  63. .markdown-section em {
  64. color: #7f8c8d;
  65. }
  66. .markdown-section pre {
  67. padding: 1.2em 1.4em;
  68. line-height: 1.5em;
  69. margin: 0;
  70. }
  71. .markdown-section code, .markdown-section pre {
  72. font-family: 'Roboto Mono', Monaco, courier, monospace;
  73. -webkit-font-smoothing: initial;
  74. -moz-osx-font-smoothing: initial;
  75. background-color: #f8f8f8;
  76. }
  77. code span.css,
  78. code span.javascript,
  79. code span.html,
  80. span[class^="hljs-"] {
  81. -webkit-font-smoothing: initial;
  82. -moz-osx-font-smoothing: initial;
  83. }
  84. .markdown-section pre>code {
  85. font-size: 0.8em;
  86. display: block;
  87. }
  88. .markdown-section code:after, .markdown-section code:before {
  89. content: none;
  90. letter-spacing: 0.05em;
  91. }
  92. code, pre {
  93. font-family: 'Roboto Mono', Monaco, courier, monospace;
  94. font-size: 0.8em;
  95. background-color: #f8f8f8;
  96. -webkit-font-smoothing: initial;
  97. -moz-osx-font-smoothing: initial;
  98. }
  99. code {
  100. color: #e96900;
  101. padding: 3px 5px;
  102. margin: 0 2px;
  103. border-radius: 2px;
  104. white-space: nowrap;
  105. }
  106. code .token {
  107. min-height: 1.5em;
  108. -webkit-font-smoothing: initial;
  109. -moz-osx-font-smoothing: initial;
  110. }
  111. pre code { position: relative; }
  112. pre code.lang-html:after,
  113. pre code.lang-js:after,
  114. pre code.lang-bash:after,
  115. pre code.lang-css:after {
  116. position: absolute;
  117. top: 0;
  118. right: 0;
  119. color: #ccc;
  120. text-align: right;
  121. font-size: 0.75em;
  122. padding: 5px 10px 0;
  123. line-height: 15px;
  124. height: 15px;
  125. font-weight: 600;
  126. }
  127. pre code.lang-html:after {
  128. content: 'HTML';
  129. }
  130. pre code.lang-js:after {
  131. content: 'JS';
  132. }
  133. pre code.lang-bash:after {
  134. content: 'Shell';
  135. }
  136. pre code.lang-css:after {
  137. content: 'CSS';
  138. }
  139. .content img {
  140. max-width: 100%;
  141. }
  142. .content span.light {
  143. color: #7f8c8d;
  144. }
  145. .content span.info {
  146. font-size: 0.85em;
  147. display: inline-block;
  148. vertical-align: middle;
  149. width: 280px;
  150. margin-left: 20px;
  151. }
  152. .markdown-section h1 {
  153. margin: 0 0 1em;
  154. }
  155. .markdown-section h2 {
  156. margin: 45px 0 0.8em;
  157. padding-bottom: 0.7em;
  158. border-bottom: 1px solid #ddd;
  159. }
  160. .markdown-section h3 {
  161. margin: 52px 0 1.2em;
  162. }
  163. .markdown-section figure,
  164. .markdown-section p,
  165. .markdown-section ul,
  166. .markdown-section ol {
  167. margin: 1.2em 0;
  168. }
  169. .markdown-section p,
  170. .markdown-section ul,
  171. .markdown-section ol {
  172. line-height: 1.6em;
  173. }
  174. .markdown-section ul,
  175. .markdown-section ol {
  176. padding-left: 1.5em;
  177. }
  178. .markdown-section a {
  179. color: #42b983;
  180. font-weight: 600;
  181. }
  182. .markdown-section blockquote {
  183. margin: 2em 0;
  184. padding-left: 20px;
  185. border-left: 4px solid #42b983;
  186. }
  187. .markdown-section blockquote p {
  188. font-weight: 600;
  189. margin-left: 0;
  190. }
  191. .markdown-section iframe {
  192. margin: 1em 0;
  193. }
  194. /* these aren't in gitbook at the moment, but leaving them in for future reference */
  195. img {
  196. border: none;
  197. }
  198. .highlight {
  199. overflow-x: auto;
  200. position: relative;
  201. padding: 0;
  202. background-color: #f8f8f8;
  203. padding: 0.8em 0.8em 0.4em;
  204. line-height: 1.1em;
  205. border-radius: 2px;
  206. }
  207. .highlight table,
  208. .highlight tr,
  209. .highlight td {
  210. width: 100%;
  211. border-collapse: collapse;
  212. padding: 0;
  213. margin: 0;
  214. }
  215. .highlight .gutter {
  216. width: 1.5em;
  217. }
  218. /* ads */
  219. #carbonads {
  220. height: 100px;
  221. margin: 15px;
  222. font-size: 13px;
  223. }
  224. #carbonads .carbon-img {
  225. float: left;
  226. margin-right: 10px;
  227. }
  228. #carbonads .carbon-text {
  229. color: #444;
  230. }
  231. #carbonads .carbon-poweredby {
  232. color: #999;
  233. display: block;
  234. margin-top: 5px;
  235. }
  236. .bsa-cpc {
  237. font-size: .9em;
  238. background-color: #f8f8f8;
  239. max-width: 770px;
  240. margin: 0px auto;
  241. }
  242. .bsa-cpc a._default_ {
  243. text-align: left;
  244. display: block;
  245. padding: 10px 15px 12px;
  246. margin-bottom: 20px;
  247. color: #666;
  248. font-weight: 400;
  249. line-height: 18px;
  250. }
  251. .bsa-cpc a._default_ .default-image,
  252. .bsa-cpc a._default_ .default-title,
  253. .bsa-cpc a._default_ .default-description {
  254. display: inline;
  255. vertical-align: middle;
  256. margin-right: 6px;
  257. }
  258. .bsa-cpc a._default_ .default-image img {
  259. height: 20px;
  260. border-radius: 3px;
  261. vertical-align: middle;
  262. position: relative;
  263. top: -1px;
  264. }
  265. .bsa-cpc a._default_ .default-title {
  266. font-weight: 600;
  267. }
  268. .bsa-cpc a._default_ .default-description:after {
  269. font-size: 0.85em;
  270. content: "Sponsored";
  271. color: #1C90F3;
  272. border: 1px solid #1C90F3;
  273. border-radius: 3px;
  274. padding: 0 4px 1px;
  275. margin-left: 6px;
  276. }
  277. .bsa-cpc .default-ad {
  278. display: none;
  279. }