site.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. @import url("https://fonts.googleapis.com/css?family=Nunito:700&text=flatpickr");
  2. @import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");
  3. @import url("reset.css");
  4. @import url("icons.css");
  5. @import url("prettify.css");
  6. body, input {
  7. font: 400 15px 'Roboto', sans-serif;
  8. color: rgba(0,0,0,0.9);
  9. line-height: 24px;
  10. background: #ECF0F1;
  11. /*padding-top: 2rem;*/
  12. }
  13. h1 {
  14. font-size: 3rem;
  15. font-family: 'nunito'
  16. }
  17. h2 {
  18. margin-bottom: 0.75rem;
  19. }
  20. h3 {
  21. margin-bottom: 1rem;
  22. border-left: 5px solid #446cb3;
  23. padding-left: 0.5rem;
  24. color: black;
  25. font-size: 22px;
  26. }
  27. p
  28. {
  29. margin: 0rem 0 1rem;
  30. }
  31. .nomargin
  32. {
  33. margin-bottom: 0
  34. }
  35. a
  36. {
  37. color: #446cb3;
  38. text-decoration: none
  39. }
  40. a:hover {
  41. color: #111;
  42. text-decoration: underline;
  43. }
  44. .wrapper
  45. {
  46. }
  47. .flex {
  48. display: inline-block;
  49. display: -ms-flex;
  50. display: -webkit-flex;
  51. display: flex;
  52. -webkit-flex-direction: row;
  53. flex-direction: row;
  54. width: 96%;
  55. max-width: 1140px;
  56. margin: 0 auto;
  57. background: white;
  58. padding: 2rem;
  59. overflow-x: hidden;
  60. }
  61. .c-l {
  62. width: 70%;
  63. }
  64. .c-r {
  65. width: 30%;
  66. padding-left: 3%;
  67. }
  68. .c-r ol {
  69. list-style: none;
  70. color: #999
  71. }
  72. .c-r li {
  73. padding: 0.03rem 0
  74. }
  75. .c-r li span {
  76. float: left;
  77. min-width: 24px
  78. }
  79. .c-r li a {
  80. display: block
  81. }
  82. .fixed {
  83. position: fixed;
  84. top: 1rem;
  85. min-width: 270px;
  86. right:25%\0;
  87. }
  88. .example
  89. {
  90. margin-bottom: 3rem;
  91. }
  92. .current {
  93. font-weight: bold
  94. }
  95. .current a {
  96. color: #111;
  97. }
  98. #hero {
  99. display: inline-block;
  100. width: 100%;
  101. }
  102. .hero
  103. {
  104. padding: 7.5vh 0;
  105. min-height: 210px;
  106. max-height: 420px;
  107. margin-bottom: 1px;
  108. text-align: center;
  109. color: #222;
  110. }
  111. .hero .btn:hover {
  112. color: #636363;
  113. border-color: rgba(0, 0, 0, 0.35);
  114. }
  115. .hero h1{
  116. margin-top: 0;
  117. line-height: 3rem;
  118. }
  119. .hero p
  120. {
  121. opacity: 0.85
  122. }
  123. select {
  124. padding: 0.25rem;
  125. font-family: "Roboto";
  126. text-transform: capitalize;
  127. background: transparent;
  128. border-color: #d3d3d3;
  129. }
  130. select:focus {
  131. border: 1px solid #66afe9;
  132. }
  133. option {
  134. font-family: "Roboto";
  135. text-transform: capitalize;
  136. }
  137. input {
  138. max-width: 320px;
  139. outline: none;
  140. border: 1px solid #ddd;
  141. background: #fbfbfb;
  142. border-radius: 3px;
  143. color: rgba(0, 0, 0, 0.87);
  144. padding: 0 0 0 11px;
  145. height: 40px;
  146. width: 100%;
  147. margin-right: 0;
  148. margin-bottom: 0.5rem;
  149. }
  150. input.big {
  151. height: 50px;
  152. font-size: 1.3em;
  153. }
  154. .input-group input {
  155. float: left;
  156. border-bottom-right-radius: 0;
  157. border-top-right-radius: 0;
  158. }
  159. .input-btn {
  160. display: inline-block;
  161. padding: 0 1rem;
  162. font-size: 1rem;
  163. font-weight: 400;
  164. line-height: 40px;
  165. height: 40px;
  166. text-align: center;
  167. white-space: nowrap;
  168. vertical-align: middle;
  169. cursor: pointer;
  170. -webkit-user-select: none;
  171. user-select: none;
  172. border: 1px solid transparent;
  173. border-radius: .25rem;
  174. color: #373a3c;
  175. float: left;
  176. border-radius: 0;
  177. border-left: 0;
  178. background-color: white;
  179. border-color: #ddd;
  180. }
  181. .input-btn.last {
  182. border-right: 1px solid #ccc;
  183. }
  184. .input-btn:hover {
  185. background-color: #e9e9e9;
  186. text-decoration: none;
  187. }
  188. .input-btn:active {
  189. background-color: #ddd;
  190. }
  191. input:focus, input.active
  192. {
  193. outline: 0;
  194. background: #fff;
  195. border-color: #66afe9;
  196. }
  197. .btn {
  198. border: 1px solid rgba(0, 0, 0, 0.15);
  199. border-radius: 3px;
  200. color: #444;
  201. font-weight: 700;
  202. cursor: pointer;
  203. display: inline-block;
  204. margin-right: 0.5rem;
  205. padding: 3px 12px;
  206. vertical-align: middle;
  207. }
  208. .btn i {
  209. vertical-align: middle;
  210. }
  211. .btn i, .btn span {
  212. line-height: 26px;
  213. }
  214. .btn span {
  215. padding-top: 1px;
  216. }
  217. .btn:hover {
  218. background: #fff;
  219. text-decoration: none;
  220. }
  221. .btn:active {
  222. box-shadow: inset 0 2px 4px rgba(0,0,0,.25);
  223. }
  224. code {
  225. background: #f3f3f3;
  226. padding: 0.15rem 0.25rem;
  227. }
  228. pre
  229. {
  230. word-break: break-all;
  231. white-space: pre-wrap;
  232. margin: 0.75rem 0;
  233. font-family: Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif;
  234. }
  235. .table
  236. {
  237. border: 1px solid #e4e4e4;
  238. border-spacing: 0;
  239. font-size: 14px;
  240. width: 100%;
  241. font-weight: 300
  242. }
  243. .table th {
  244. text-align: left;
  245. background: #fafafa;
  246. color: #888;
  247. }
  248. .table th, .table td
  249. {
  250. padding: 0.75rem 1rem;
  251. }
  252. .table tr
  253. {
  254. border-bottom: 1px solid #F3F8FF;
  255. }
  256. .table tr td
  257. {
  258. color: #444
  259. }
  260. .table tr td:first-child
  261. {
  262. color: #111;
  263. font-weight: bold
  264. }
  265. .table tr:nth-child(2n) {
  266. background-color: #f9f9f9;
  267. }
  268. @media screen and (max-width: 960px){
  269. body {
  270. padding-top: 0;
  271. }
  272. .flex {
  273. width: 100%;
  274. }
  275. .c-r {
  276. display: none
  277. }
  278. .c-l {
  279. width: 100%
  280. }
  281. }
  282. .example hr {
  283. background: transparent;
  284. display: block;
  285. box-sizing: content-box;
  286. height: 1px;
  287. border: 0;
  288. margin: 2rem 0 1rem 0;
  289. border-top: 1px dotted rgba(0, 0, 0, 0.2);
  290. }
  291. .alert.success {
  292. color: #60ae4d;
  293. background-color: rgba(96, 174, 77, 0.15);
  294. border: 1px solid rgba(96, 174, 77, 0.15);
  295. }
  296. .success {
  297. color: #60ae4d;
  298. }
  299. .alert {
  300. position: relative;
  301. padding: 15px 24px;
  302. padding-right: 40px;
  303. line-height: 20px;
  304. font-size: 14px;
  305. color: #000;
  306. background: #f4f4f4;
  307. border: 1px solid #dbdbdb;
  308. display: block;
  309. font-weight: normal;
  310. border-radius: 4px;
  311. margin-bottom: 24px;
  312. }
  313. hr {
  314. border: 0;
  315. margin: 1em 0;
  316. height: 1px;
  317. background: #ddd;
  318. }