stylesheet.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. * {
  2. box-sizing: border-box;
  3. }
  4. body {
  5. padding: 0;
  6. margin: 0;
  7. font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  8. font-size: 16px;
  9. line-height: 1.5;
  10. color: #606c71;
  11. }
  12. article {
  13. margin: 10px;
  14. }
  15. a {
  16. color: #1e6bb8;
  17. text-decoration: none;
  18. }
  19. a:hover {
  20. text-decoration: underline;
  21. }
  22. .btn {
  23. display: inline-block;
  24. margin-bottom: 1rem;
  25. color: rgba(255, 255, 255, 0.7);
  26. background-color: rgba(255, 255, 255, 0.08);
  27. border-color: rgba(255, 255, 255, 0.2);
  28. border-style: solid;
  29. border-width: 1px;
  30. border-radius: 0.3rem;
  31. transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  32. }
  33. .btn + .btn {
  34. margin-left: 1rem;
  35. }
  36. .btn:hover {
  37. color: rgba(255, 255, 255, 0.8);
  38. text-decoration: none;
  39. background-color: rgba(255, 255, 255, 0.2);
  40. border-color: rgba(255, 255, 255, 0.3);
  41. }
  42. @media screen and (min-width: 64em) {
  43. .btn {
  44. padding: 0.75rem 1rem;
  45. }
  46. }
  47. @media screen and (min-width: 42em) and (max-width: 64em) {
  48. .btn {
  49. padding: 0.6rem 0.9rem;
  50. font-size: 0.9rem;
  51. }
  52. }
  53. @media screen and (max-width: 42em) {
  54. .btn {
  55. display: block;
  56. width: 100%;
  57. padding: 0.75rem;
  58. font-size: 0.9rem;
  59. }
  60. .btnimage
  61. {
  62. margin-top: 1rem;
  63. }
  64. .btn + .btn {
  65. margin-top: 1rem;
  66. margin-left: 0;
  67. }
  68. }
  69. .page-header {
  70. color: #fff;
  71. text-align: center;
  72. background-color: #ffffff;
  73. background-image: linear-gradient(0deg, #008000, #ffffff);
  74. }
  75. @media screen and (min-width: 64em) {
  76. .page-header {
  77. padding: 1rem 1rem;
  78. }
  79. }
  80. @media screen and (min-width: 42em) and (max-width: 64em) {
  81. .page-header {
  82. padding: 1rem 1rem;
  83. }
  84. }
  85. @media screen and (max-width: 42em) {
  86. .page-header {
  87. padding: 1rem 1rem;
  88. }
  89. }
  90. .project-name {
  91. margin-top: 0;
  92. margin-bottom: 0.1rem;
  93. }
  94. @media screen and (min-width: 64em) {
  95. .project-name {
  96. font-size: 3.25rem;
  97. }
  98. }
  99. @media screen and (min-width: 42em) and (max-width: 64em) {
  100. .project-name {
  101. font-size: 2.25rem;
  102. }
  103. }
  104. @media screen and (max-width: 42em) {
  105. .project-name {
  106. font-size: 1.75rem;
  107. }
  108. }
  109. .project-tagline {
  110. margin-bottom: 2rem;
  111. font-weight: normal;
  112. opacity: 0.7;
  113. }
  114. @media screen and (min-width: 64em) {
  115. .project-tagline {
  116. font-size: 1.25rem;
  117. }
  118. }
  119. @media screen and (min-width: 42em) and (max-width: 64em) {
  120. .project-tagline {
  121. font-size: 1.15rem;
  122. }
  123. }
  124. @media screen and (max-width: 42em) {
  125. .project-tagline {
  126. font-size: 1rem;
  127. }
  128. }
  129. .main-content :first-child {
  130. margin-top: 0;
  131. }
  132. .main-content img {
  133. max-width: 100%;
  134. }
  135. .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
  136. margin-top: 2rem;
  137. margin-bottom: 1rem;
  138. font-weight: normal;
  139. color: #159957;
  140. }
  141. .main-content p {
  142. margin-bottom: 1em;
  143. }
  144. .main-content video {
  145. text-align: center;
  146. display: block;
  147. margin: 0 auto;
  148. }
  149. .main-content code {
  150. padding: 2px 4px;
  151. font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  152. font-size: 0.9rem;
  153. color: #383e41;
  154. background-color: #f3f6fa;
  155. border-radius: 0.3rem;
  156. }
  157. .main-content pre {
  158. padding: 0.8rem;
  159. margin-top: 0;
  160. margin-bottom: 1rem;
  161. font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;
  162. color: #567482;
  163. word-wrap: normal;
  164. background-color: #f3f6fa;
  165. border: solid 1px #dce6f0;
  166. border-radius: 0.3rem;
  167. }
  168. .main-content pre > code {
  169. padding: 0;
  170. margin: 0;
  171. font-size: 0.9rem;
  172. color: #567482;
  173. word-break: normal;
  174. white-space: pre;
  175. background: transparent;
  176. border: 0;
  177. }
  178. .main-content .highlight {
  179. margin-bottom: 1rem;
  180. }
  181. .main-content .highlight pre {
  182. margin-bottom: 0;
  183. word-break: normal;
  184. }
  185. .main-content .highlight pre, .main-content pre {
  186. padding: 0.8rem;
  187. overflow: auto;
  188. font-size: 0.9rem;
  189. line-height: 1.45;
  190. border-radius: 0.3rem;
  191. }
  192. .main-content pre code, .main-content pre tt {
  193. display: inline;
  194. max-width: initial;
  195. padding: 0;
  196. margin: 0;
  197. overflow: initial;
  198. line-height: inherit;
  199. word-wrap: normal;
  200. background-color: transparent;
  201. border: 0;
  202. }
  203. .main-content pre code:before, .main-content pre code:after, .main-content pre tt:before, .main-content pre tt:after {
  204. content: normal;
  205. }
  206. .main-content ul, .main-content ol {
  207. margin-top: 0;
  208. }
  209. .main-content blockquote {
  210. padding: 0 1rem;
  211. margin-left: 0;
  212. color: #819198;
  213. border-left: 0.3rem solid #dce6f0;
  214. }
  215. .main-content blockquote > :first-child {
  216. margin-top: 0;
  217. }
  218. .main-content blockquote > :last-child {
  219. margin-bottom: 0;
  220. }
  221. .main-content table {
  222. display: block;
  223. width: 100%;
  224. overflow: auto;
  225. word-break: normal;
  226. word-break: keep-all;
  227. }
  228. .main-content table th {
  229. font-weight: bold;
  230. }
  231. .main-content table th, .main-content table td {
  232. padding: 0.5rem 1rem;
  233. border: 1px solid #e9ebec;
  234. }
  235. .main-content dl {
  236. padding: 0;
  237. }
  238. .main-content dl dt {
  239. padding: 0;
  240. margin-top: 1rem;
  241. font-size: 1rem;
  242. font-weight: bold;
  243. }
  244. .main-content dl dd {
  245. padding: 0;
  246. margin-bottom: 1rem;
  247. }
  248. .main-content hr {
  249. height: 2px;
  250. padding: 0;
  251. margin: 1rem 0;
  252. background-color: #eff0f1;
  253. border: 0;
  254. }
  255. @media screen and (min-width: 64em) {
  256. .main-content {
  257. max-width: 64rem;
  258. padding: 2rem 6rem;
  259. margin: 0 auto;
  260. font-size: 1.1rem;
  261. }
  262. }
  263. @media screen and (min-width: 42em) and (max-width: 64em) {
  264. .main-content {
  265. padding: 2rem 4rem;
  266. font-size: 1.1rem;
  267. }
  268. }
  269. @media screen and (max-width: 42em) {
  270. .main-content {
  271. padding: 2rem 1rem;
  272. font-size: 1rem;
  273. }
  274. }
  275. .site-footer {
  276. padding-top: 2rem;
  277. margin-top: 2rem;
  278. border-top: solid 1px #eff0f1;
  279. }
  280. .site-footer-owner {
  281. display: block;
  282. font-weight: bold;
  283. }
  284. .site-footer-credits {
  285. color: #819198;
  286. }
  287. @media screen and (min-width: 64em) {
  288. .site-footer {
  289. font-size: 0.5rem;
  290. }
  291. }
  292. @media screen and (min-width: 42em) and (max-width: 64em) {
  293. .site-footer {
  294. font-size: 0.5rem;
  295. }
  296. }
  297. @media screen and (max-width: 42em) {
  298. .site-footer {
  299. font-size: 0.5rem;
  300. }
  301. }