styles.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
  2. html {
  3. background: #6C7989;
  4. background: #6c7989 -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6c7989), color-stop(100%, #434b55)) fixed;
  5. background: #6c7989 -webkit-linear-gradient(#6c7989, #434b55) fixed;
  6. background: #6c7989 -moz-linear-gradient(#6c7989, #434b55) fixed;
  7. background: #6c7989 -o-linear-gradient(#6c7989, #434b55) fixed;
  8. background: #6c7989 -ms-linear-gradient(#6c7989, #434b55) fixed;
  9. background: #6c7989 linear-gradient(#6c7989, #434b55) fixed;
  10. }
  11. body {
  12. padding: 50px 0;
  13. margin: 0;
  14. font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  15. color: #555;
  16. font-weight: 300;
  17. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAAAUdEVYdENyZWF0aW9uIFRpbWUAMy82LzEygrTcTAAAAFRJREFUSIljfPDggZRf5RIGGNjUHsNATz6jXmSL1Kb2GLiAX+USBnrymRgGGDCORgFmoNAXjEbBaBSMRsFoFIxGwWgUjEbBaBSMRsFoFIxGwWgUAABYNujumib3wAAAAABJRU5ErkJggg==') fixed;
  18. }
  19. .wrapper {
  20. width: 640px;
  21. margin: 0 auto;
  22. background: #DEDEDE;
  23. -webkit-border-radius: 8px;
  24. -moz-border-radius: 8px;
  25. -ms-border-radius: 8px;
  26. -o-border-radius: 8px;
  27. border-radius: 8px;
  28. -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
  29. -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
  30. box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
  31. }
  32. header, section, footer {
  33. display: block;
  34. }
  35. a {
  36. color: #069;
  37. text-decoration: none;
  38. }
  39. p {
  40. margin: 0 0 20px;
  41. padding: 0;
  42. }
  43. strong {
  44. color: #222;
  45. font-weight: 700;
  46. }
  47. header {
  48. -webkit-border-radius: 8px 8px 0 0;
  49. -moz-border-radius: 8px 8px 0 0;
  50. -ms-border-radius: 8px 8px 0 0;
  51. -o-border-radius: 8px 8px 0 0;
  52. border-radius: 8px 8px 0 0;
  53. background: #C6EAFA;
  54. background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddfbfc), color-stop(100%, #c6eafa));
  55. background: -webkit-linear-gradient(#ddfbfc, #c6eafa);
  56. background: -moz-linear-gradient(#ddfbfc, #c6eafa);
  57. background: -o-linear-gradient(#ddfbfc, #c6eafa);
  58. background: -ms-linear-gradient(#ddfbfc, #c6eafa);
  59. background: linear-gradient(#ddfbfc, #c6eafa);
  60. position: relative;
  61. padding: 15px 20px;
  62. border-bottom: 1px solid #B2D2E1;
  63. }
  64. header h1 {
  65. margin: 0;
  66. padding: 0;
  67. font-size: 24px;
  68. line-height: 1.2;
  69. color: #069;
  70. text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
  71. }
  72. header.without-description h1 {
  73. margin: 10px 0;
  74. }
  75. header p {
  76. margin: 0;
  77. color: #61778B;
  78. width: 300px;
  79. font-size: 13px;
  80. }
  81. header p.view {
  82. display: none;
  83. font-weight: 700;
  84. text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
  85. -webkit-font-smoothing: antialiased;
  86. }
  87. header p.view a {
  88. color: #06c;
  89. }
  90. header p.view small {
  91. font-weight: 400;
  92. }
  93. header ul {
  94. margin: 0;
  95. padding: 0;
  96. list-style: none;
  97. position: absolute;
  98. z-index: 1;
  99. right: 20px;
  100. top: 20px;
  101. height: 38px;
  102. padding: 1px 0;
  103. background: #5198DF;
  104. background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #77b9fb), color-stop(100%, #3782cd));
  105. background: -webkit-linear-gradient(#77b9fb, #3782cd);
  106. background: -moz-linear-gradient(#77b9fb, #3782cd);
  107. background: -o-linear-gradient(#77b9fb, #3782cd);
  108. background: -ms-linear-gradient(#77b9fb, #3782cd);
  109. background: linear-gradient(#77b9fb, #3782cd);
  110. border-radius: 5px;
  111. -webkit-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
  112. -moz-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
  113. box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
  114. width: auto;
  115. }
  116. header ul:before {
  117. content: '';
  118. position: absolute;
  119. z-index: -1;
  120. left: -5px;
  121. top: -4px;
  122. right: -5px;
  123. bottom: -6px;
  124. background: rgba(0, 0, 0, 0.1);
  125. -webkit-border-radius: 8px;
  126. -moz-border-radius: 8px;
  127. -ms-border-radius: 8px;
  128. -o-border-radius: 8px;
  129. border-radius: 8px;
  130. -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
  131. -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
  132. box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
  133. }
  134. header ul li {
  135. width: 79px;
  136. float: left;
  137. border-right: 1px solid #3A7CBE;
  138. height: 38px;
  139. }
  140. header ul li.single {
  141. border: none;
  142. }
  143. header ul li + li {
  144. width: 78px;
  145. border-left: 1px solid #8BBEF3;
  146. }
  147. header ul li + li + li {
  148. border-right: none;
  149. width: 79px;
  150. }
  151. header ul a {
  152. line-height: 1;
  153. font-size: 11px;
  154. color: #fff;
  155. color: rgba(255, 255, 255, 0.8);
  156. display: block;
  157. text-align: center;
  158. font-weight: 400;
  159. padding-top: 6px;
  160. height: 40px;
  161. text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
  162. }
  163. header ul a strong {
  164. font-size: 14px;
  165. display: block;
  166. color: #fff;
  167. -webkit-font-smoothing: antialiased;
  168. }
  169. section {
  170. padding: 15px 20px;
  171. font-size: 15px;
  172. border-top: 1px solid #fff;
  173. background: -webkit-gradient(linear, 50% 0%, 50% 700, color-stop(0%, #fafafa), color-stop(100%, #dedede));
  174. background: -webkit-linear-gradient(#fafafa, #dedede 700px);
  175. background: -moz-linear-gradient(#fafafa, #dedede 700px);
  176. background: -o-linear-gradient(#fafafa, #dedede 700px);
  177. background: -ms-linear-gradient(#fafafa, #dedede 700px);
  178. background: linear-gradient(#fafafa, #dedede 700px);
  179. -webkit-border-radius: 0 0 8px 8px;
  180. -moz-border-radius: 0 0 8px 8px;
  181. -ms-border-radius: 0 0 8px 8px;
  182. -o-border-radius: 0 0 8px 8px;
  183. border-radius: 0 0 8px 8px;
  184. position: relative;
  185. }
  186. h1, h2, h3, h4, h5, h6 {
  187. color: #222;
  188. padding: 0;
  189. margin: 0 0 20px;
  190. line-height: 1.2;
  191. }
  192. p, ul, ol, table, pre, dl {
  193. margin: 0 0 20px;
  194. }
  195. h1, h2, h3 {
  196. line-height: 1.1;
  197. }
  198. h1 {
  199. font-size: 28px;
  200. }
  201. h2 {
  202. color: #393939;
  203. }
  204. h3, h4, h5, h6 {
  205. color: #494949;
  206. }
  207. blockquote {
  208. margin: 0 -20px 20px;
  209. padding: 15px 20px 1px 40px;
  210. font-style: italic;
  211. background: #ccc;
  212. background: rgba(0, 0, 0, 0.06);
  213. color: #222;
  214. }
  215. img {
  216. max-width: 100%;
  217. }
  218. code, pre {
  219. font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
  220. color: #333;
  221. font-size: 12px;
  222. overflow-x: auto;
  223. }
  224. pre {
  225. padding: 20px;
  226. background: #3A3C42;
  227. color: #f8f8f2;
  228. margin: 0 -20px 20px;
  229. }
  230. pre code {
  231. color: #f8f8f2;
  232. }
  233. li pre {
  234. margin-left: -60px;
  235. padding-left: 60px;
  236. }
  237. table {
  238. width: 100%;
  239. border-collapse: collapse;
  240. }
  241. th, td {
  242. text-align: left;
  243. padding: 5px 10px;
  244. border-bottom: 1px solid #aaa;
  245. }
  246. dt {
  247. color: #222;
  248. font-weight: 700;
  249. }
  250. th {
  251. color: #222;
  252. }
  253. small {
  254. font-size: 11px;
  255. }
  256. hr {
  257. border: 0;
  258. background: #aaa;
  259. height: 1px;
  260. margin: 0 0 20px;
  261. }
  262. footer {
  263. width: 640px;
  264. margin: 0 auto;
  265. padding: 20px 0 0;
  266. color: #ccc;
  267. overflow: hidden;
  268. }
  269. footer a {
  270. color: #fff;
  271. font-weight: bold;
  272. }
  273. footer p {
  274. float: left;
  275. }
  276. footer p + p {
  277. float: right;
  278. }
  279. @media print, screen and (max-width: 740px) {
  280. body {
  281. padding: 0;
  282. }
  283. .wrapper {
  284. -webkit-border-radius: 0;
  285. -moz-border-radius: 0;
  286. -ms-border-radius: 0;
  287. -o-border-radius: 0;
  288. border-radius: 0;
  289. -webkit-box-shadow: none;
  290. -moz-box-shadow: none;
  291. box-shadow: none;
  292. width: 100%;
  293. }
  294. footer {
  295. -webkit-border-radius: 0;
  296. -moz-border-radius: 0;
  297. -ms-border-radius: 0;
  298. -o-border-radius: 0;
  299. border-radius: 0;
  300. padding: 20px;
  301. width: auto;
  302. }
  303. footer p {
  304. float: none;
  305. margin: 0;
  306. }
  307. footer p + p {
  308. float: none;
  309. }
  310. }
  311. @media print, screen and (max-width:580px) {
  312. header ul {
  313. display: none;
  314. }
  315. header p.view {
  316. display: block;
  317. }
  318. header p {
  319. width: 100%;
  320. }
  321. }
  322. @media print {
  323. header p.view a small:before {
  324. content: 'at http://github.com/';
  325. }
  326. }