theme.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147
  1. @charset "UTF-8";
  2. #top-github-link, #body #breadcrumbs {
  3. position: relative;
  4. top: 50%;
  5. -webkit-transform: translateY(-50%);
  6. -moz-transform: translateY(-50%);
  7. -o-transform: translateY(-50%);
  8. -ms-transform: translateY(-50%);
  9. transform: translateY(-50%);
  10. }
  11. .button, .button-secondary {
  12. display: inline-block;
  13. padding: 7px 12px;
  14. }
  15. .button:active, .button-secondary:active {
  16. margin: 2px 0 -2px 0;
  17. }
  18. @font-face {
  19. font-family: 'Novacento Sans Wide';
  20. src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot");
  21. src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/Novecentosanswide-UltraLight-webfont.woff2") format("woff2"), url("../fonts/Novecentosanswide-UltraLight-webfont.woff") format("woff"), url("../fonts/Novecentosanswide-UltraLight-webfont.ttf") format("truetype"), url("../fonts/Novecentosanswide-UltraLight-webfont.svg#novecento_sans_wideultralight") format("svg");
  22. font-style: normal;
  23. font-weight: 200;
  24. }
  25. @font-face {
  26. font-family: 'Work Sans';
  27. font-style: normal;
  28. font-weight: 300;
  29. src: url("../fonts/Work_Sans_300.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_300.woff") format("woff"), url("../fonts/Work_Sans_300.woff2") format("woff2"), url("../fonts/Work_Sans_300.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_300.ttf") format("truetype");
  30. }
  31. @font-face {
  32. font-family: 'Work Sans';
  33. font-style: normal;
  34. font-weight: 500;
  35. src: url("../fonts/Work_Sans_500.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_500.woff") format("woff"), url("../fonts/Work_Sans_500.woff2") format("woff2"), url("../fonts/Work_Sans_500.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_500.ttf") format("truetype");
  36. }
  37. body {
  38. background: #fff;
  39. color: #777;
  40. }
  41. body #chapter h1 {
  42. font-size: 3.5rem;
  43. }
  44. @media only all and (min-width: 48em) and (max-width: 59.938em) {
  45. body #chapter h1 {
  46. font-size: 3rem;
  47. }
  48. }
  49. @media only all and (max-width: 47.938em) {
  50. body #chapter h1 {
  51. font-size: 2rem;
  52. }
  53. }
  54. a {
  55. color: #00bdf3;
  56. }
  57. a:hover {
  58. color: #0082a7;
  59. }
  60. pre {
  61. position: relative;
  62. color: #ffffff;
  63. }
  64. .bg {
  65. background: #fff;
  66. border: 1px solid #eaeaea;
  67. }
  68. b, strong, label, th {
  69. font-weight: 600;
  70. }
  71. .default-animation, #header #logo-svg, #header #logo-svg path, #sidebar, #sidebar ul, #body, #body .padding, #body .nav {
  72. -webkit-transition: all 0.5s ease;
  73. -moz-transition: all 0.5s ease;
  74. transition: all 0.5s ease;
  75. }
  76. #grav-logo {
  77. max-width: 60%;
  78. }
  79. #grav-logo path {
  80. fill: #fff !important;
  81. }
  82. #sidebar {
  83. font-weight: 300 !important;
  84. }
  85. fieldset {
  86. border: 1px solid #ddd;
  87. }
  88. textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] {
  89. background-color: white;
  90. border: 1px solid #ddd;
  91. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
  92. }
  93. textarea:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, select[multiple=multiple]:hover {
  94. border-color: #c4c4c4;
  95. }
  96. textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
  97. border-color: #00bdf3;
  98. box-shadow: inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(0,169,218,.7)
  99. }
  100. #header-wrapper {
  101. background: #8451a1;
  102. color: #fff;
  103. text-align: center;
  104. /*border-bottom: 1px solid #9c6fb6;*/
  105. padding: 1rem;
  106. }
  107. #header a {
  108. display: inline-block;
  109. }
  110. #header #logo-svg {
  111. width: 8rem;
  112. height: 2rem;
  113. }
  114. #header #logo-svg path {
  115. fill: #fff;
  116. }
  117. .searchbox {
  118. margin-top: 1rem;
  119. position: relative;
  120. border: 1px solid #915eae;
  121. background: #764890;
  122. border-radius: 4px;
  123. }
  124. .searchbox label {
  125. color: rgba(255, 255, 255, 0.8);
  126. position: absolute;
  127. left: 10px;
  128. top: 3px;
  129. }
  130. .searchbox span {
  131. color: rgba(255, 255, 255, 0.6);
  132. position: absolute;
  133. right: 10px;
  134. top: 3px;
  135. cursor: pointer;
  136. }
  137. .searchbox span:hover {
  138. color: rgba(255, 255, 255, 0.9);
  139. }
  140. .searchbox input {
  141. display: inline-block;
  142. color: #fff;
  143. width: 100%;
  144. height: 30px;
  145. background: transparent;
  146. border: 0;
  147. padding: 0 25px 0 30px;
  148. margin: 0;
  149. font-weight: 300;
  150. }
  151. .searchbox input::-webkit-input-placeholder {
  152. color: rgba(255, 255, 255, 0.6);
  153. }
  154. .searchbox input::-moz-placeholder {
  155. color: rgba(255, 255, 255, 0.6);
  156. }
  157. .searchbox input:-moz-placeholder {
  158. color: rgba(255, 255, 255, 0.6);
  159. }
  160. .searchbox input:-ms-input-placeholder {
  161. color: rgba(255, 255, 255, 0.6);
  162. }
  163. #sidebar-toggle-span {
  164. display: none;
  165. }
  166. @media only all and (max-width: 47.938em) {
  167. #sidebar-toggle-span {
  168. display: inline;
  169. }
  170. }
  171. #sidebar {
  172. background-color: #322A38;
  173. position: fixed;
  174. top: 0;
  175. width: 300px;
  176. bottom: 0;
  177. left: 0;
  178. font-weight: 400;
  179. font-size: 15px;
  180. }
  181. #sidebar a {
  182. color: #ccc;
  183. }
  184. #sidebar a:hover {
  185. color: #e6e6e6;
  186. }
  187. #sidebar a.subtitle {
  188. color: rgba(204, 204, 204, 0.6);
  189. }
  190. #sidebar hr {
  191. border-bottom: 1px solid #2a232f;
  192. }
  193. #sidebar a.padding {
  194. padding: 0 1rem;
  195. }
  196. #sidebar h5 {
  197. margin: 2rem 0 0;
  198. position: relative;
  199. line-height: 2;
  200. }
  201. #sidebar h5 a {
  202. display: block;
  203. margin-left: 0;
  204. margin-right: 0;
  205. padding-left: 1rem;
  206. padding-right: 1rem;
  207. }
  208. #sidebar h5 i {
  209. color: rgba(204, 204, 204, 0.6);
  210. position: absolute;
  211. right: 0.6rem;
  212. top: 0.7rem;
  213. font-size: 80%;
  214. }
  215. #sidebar h5.parent a {
  216. background: #201b24;
  217. color: #d9d9d9 !important;
  218. }
  219. #sidebar h5.active a {
  220. background: #fff;
  221. color: #777 !important;
  222. }
  223. #sidebar h5.active i {
  224. color: #777 !important;
  225. }
  226. #sidebar h5 + ul.topics {
  227. display: none;
  228. margin-top: 0;
  229. }
  230. #sidebar h5.parent + ul.topics, #sidebar h5.active + ul.topics {
  231. display: block;
  232. }
  233. #sidebar ul {
  234. list-style: none;
  235. padding: 0;
  236. margin: 0;
  237. }
  238. #sidebar ul.searched a {
  239. color: #999999;
  240. }
  241. #sidebar ul.searched .search-match a {
  242. color: #e6e6e6;
  243. }
  244. #sidebar ul.searched .search-match a:hover {
  245. color: white;
  246. }
  247. #sidebar ul.topics {
  248. margin: 0 1rem;
  249. }
  250. #sidebar ul.topics.searched ul {
  251. display: block;
  252. }
  253. #sidebar ul.topics ul {
  254. display: none;
  255. padding-bottom: 1rem;
  256. }
  257. #sidebar ul.topics ul ul {
  258. padding-bottom: 0;
  259. }
  260. #sidebar ul.topics li.parent ul, #sidebar ul.topics > li.active ul {
  261. display: block;
  262. }
  263. #sidebar ul.topics > li > a {
  264. line-height: 2rem;
  265. font-size: 1.1rem;
  266. }
  267. #sidebar ul.topics > li > a b {
  268. opacity: 0.5;
  269. font-weight: normal;
  270. }
  271. #sidebar ul.topics > li > a .fa {
  272. margin-top: 9px;
  273. }
  274. #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
  275. background: #251f29;
  276. margin-left: -1rem;
  277. margin-right: -1rem;
  278. padding-left: 1rem;
  279. padding-right: 1rem;
  280. }
  281. #sidebar ul li.active > a {
  282. background: #fff;
  283. color: #777 !important;
  284. margin-left: -1rem;
  285. margin-right: -1rem;
  286. padding-left: 1rem;
  287. padding-right: 1rem;
  288. }
  289. #sidebar ul li {
  290. padding: 0;
  291. }
  292. #sidebar ul li.visited + span {
  293. margin-right: 16px;
  294. }
  295. #sidebar ul li a {
  296. display: block;
  297. padding: 2px 0;
  298. }
  299. #sidebar ul li a span {
  300. text-overflow: ellipsis;
  301. overflow: hidden;
  302. white-space: nowrap;
  303. display: block;
  304. }
  305. #sidebar ul li > a {
  306. padding: 4px 0;
  307. }
  308. #sidebar ul li.visited > a .read-icon {
  309. color: #9c6fb6;
  310. display: inline;
  311. }
  312. #sidebar ul li li {
  313. padding-left: 1rem;
  314. text-indent: 0.2rem;
  315. }
  316. #main {
  317. background: #f7f7f7;
  318. margin: 0 0 1.563rem 0;
  319. }
  320. #body {
  321. position: relative;
  322. margin-left: 300px;
  323. min-height: 100%;
  324. }
  325. #body img, #body .video-container {
  326. margin: 3rem auto;
  327. display: block;
  328. text-align: center;
  329. }
  330. #body img.border, #body .video-container.border {
  331. border: 2px solid #e6e6e6 !important;
  332. padding: 2px;
  333. }
  334. #body img.shadow, #body .video-container.shadow {
  335. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  336. }
  337. #body img.inline {
  338. display: inline !important;
  339. margin: 0 !important;
  340. vertical-align: bottom;
  341. }
  342. #body .bordered {
  343. border: 1px solid #ccc;
  344. }
  345. #body .padding {
  346. padding: 3rem 6rem;
  347. }
  348. @media only all and (max-width: 59.938em) {
  349. #body .padding {
  350. position: static;
  351. padding: 15px 3rem;
  352. }
  353. }
  354. @media only all and (max-width: 47.938em) {
  355. #body .padding {
  356. padding: 5px 1rem;
  357. }
  358. }
  359. #body h1 + hr {
  360. margin-top: -1.7rem;
  361. margin-bottom: 3rem;
  362. }
  363. @media only all and (max-width: 59.938em) {
  364. #body #navigation {
  365. position: static;
  366. margin-right: 0 !important;
  367. width: 100%;
  368. display: table;
  369. }
  370. }
  371. #body .nav {
  372. position: fixed;
  373. top: 0;
  374. bottom: 0;
  375. width: 4rem;
  376. font-size: 25px;
  377. height: 100%;
  378. cursor: pointer;
  379. display: table;
  380. text-align: center;
  381. opacity: 0.4;
  382. }
  383. #body .nav > i {
  384. display: table-cell;
  385. vertical-align: middle;
  386. text-align: center;
  387. }
  388. @media only all and (max-width: 59.938em) {
  389. #body .nav {
  390. display: table-cell;
  391. position: static;
  392. top: auto;
  393. width: 50%;
  394. text-align: center;
  395. height: 100px;
  396. line-height: 100px;
  397. padding-top: 0;
  398. }
  399. #body .nav > i {
  400. display: inline-block;
  401. }
  402. }
  403. #body .nav:hover {
  404. background: #F6F6F6;
  405. opacity: 1;
  406. }
  407. #body .nav.nav-pref {
  408. left: 0;
  409. }
  410. #body .nav.nav-next {
  411. right: 0;
  412. }
  413. #body-inner {
  414. width: calc(100% - 300px);
  415. margin-bottom: 5rem;
  416. }
  417. #chapter {
  418. display: flex;
  419. align-items: center;
  420. justify-content: center;
  421. height: 100%;
  422. padding: 2rem 0;
  423. }
  424. #chapter #body-inner {
  425. padding-bottom: 3rem;
  426. max-width: 80%;
  427. }
  428. #chapter h3 {
  429. font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
  430. font-weight: 300;
  431. text-align: center;
  432. }
  433. #chapter h1 {
  434. font-size: 5rem;
  435. border-bottom: 4px solid #F0F2F4;
  436. }
  437. #chapter p {
  438. text-align: center;
  439. font-size: 1.2rem;
  440. }
  441. #footer {
  442. padding: 3rem 1rem;
  443. color: #b3b3b3;
  444. font-size: 13px;
  445. }
  446. #footer p {
  447. margin: 0;
  448. }
  449. body {
  450. font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
  451. font-weight: 300;
  452. line-height: 1.6;
  453. font-size: 18px !important;
  454. }
  455. h2, h3, h4, h5, h6 {
  456. font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
  457. text-rendering: optimizeLegibility;
  458. color: #5e5e5e;
  459. font-weight: 400;
  460. letter-spacing: -1px;
  461. }
  462. h1 {
  463. font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
  464. text-align: center;
  465. text-transform: uppercase;
  466. color: #222;
  467. font-weight: 200;
  468. }
  469. blockquote {
  470. border-left: 10px solid #F0F2F4;
  471. }
  472. blockquote p {
  473. font-size: 1.1rem;
  474. color: #999;
  475. }
  476. blockquote cite {
  477. display: block;
  478. text-align: right;
  479. color: #666;
  480. font-size: 1.2rem;
  481. }
  482. div.notices {
  483. margin: 2rem 0;
  484. position: relative;
  485. }
  486. div.notices p {
  487. padding: 15px;
  488. display: block;
  489. font-size: 1rem;
  490. margin-top: 0rem;
  491. margin-bottom: 0rem;
  492. color: #666;
  493. }
  494. div.notices p:first-child:before {
  495. position: absolute;
  496. top: 2px;
  497. color: #fff;
  498. font-family: "Font Awesome 5 Free";
  499. font-weight: 900;
  500. content: "\f06a";
  501. left: 10px;
  502. }
  503. div.notices p:first-child:after {
  504. position: absolute;
  505. top: 2px;
  506. color: #fff;
  507. left: 2rem;
  508. }
  509. div.notices.info p {
  510. border-top: 30px solid #F0B37E;
  511. background: #FFF2DB;
  512. }
  513. div.notices.info p:first-child:after {
  514. content: 'Info';
  515. }
  516. div.notices.warning p {
  517. border-top: 30px solid rgba(217, 83, 79, 0.8);
  518. background: #FAE2E2;
  519. }
  520. div.notices.warning p:first-child:after {
  521. content: 'Warning';
  522. }
  523. div.notices.note p {
  524. border-top: 30px solid #6AB0DE;
  525. background: #E7F2FA;
  526. }
  527. div.notices.note p:first-child:after {
  528. content: 'Note';
  529. }
  530. div.notices.tip p {
  531. border-top: 30px solid rgba(92, 184, 92, 0.8);
  532. background: #E6F9E6;
  533. }
  534. div.notices.tip p:first-child:after {
  535. content: 'Tip';
  536. }
  537. /* attachments shortcode */
  538. section.attachments {
  539. margin: 2rem 0;
  540. position: relative;
  541. }
  542. section.attachments label {
  543. font-weight: 400;
  544. padding-left: 0.5em;
  545. padding-top: 0.2em;
  546. padding-bottom: 0.2em;
  547. margin: 0;
  548. }
  549. section.attachments .attachments-files {
  550. padding: 15px;
  551. display: block;
  552. font-size: 1rem;
  553. margin-top: 0rem;
  554. margin-bottom: 0rem;
  555. color: #666;
  556. }
  557. section.attachments.orange label {
  558. color: #fff;
  559. background: #F0B37E;
  560. }
  561. section.attachments.orange .attachments-files {
  562. background: #FFF2DB;
  563. }
  564. section.attachments.green label {
  565. color: #fff;
  566. background: rgba(92, 184, 92, 0.8);
  567. }
  568. section.attachments.green .attachments-files {
  569. background: #E6F9E6;
  570. }
  571. section.attachments.blue label {
  572. color: #fff;
  573. background: #6AB0DE;
  574. }
  575. section.attachments.blue .attachments-files {
  576. background: #E7F2FA;
  577. }
  578. section.attachments.grey label {
  579. color: #fff;
  580. background: #505d65;
  581. }
  582. section.attachments.grey .attachments-files {
  583. background: #f4f4f4;
  584. }
  585. /* Children shortcode */
  586. /* Children shortcode */
  587. .children p {
  588. font-size: small;
  589. margin-top: 0px;
  590. padding-top: 0px;
  591. margin-bottom: 0px;
  592. padding-bottom: 0px;
  593. }
  594. .children-li p {
  595. font-size: small;
  596. font-style: italic;
  597. }
  598. .children-h2 p, .children-h3 p {
  599. font-size: small;
  600. margin-top: 0px;
  601. padding-top: 0px;
  602. margin-bottom: 0px;
  603. padding-bottom: 0px;
  604. }
  605. .children h3,.children h2 {
  606. margin-bottom: 0px;
  607. margin-top: 5px;
  608. }
  609. code, kbd, pre, samp {
  610. font-family: "Consolas", menlo, monospace;
  611. font-size: 92%;
  612. }
  613. code {
  614. border-radius: 2px;
  615. white-space: nowrap;
  616. color: #5e5e5e;
  617. background: #FFF7DD;
  618. border: 1px solid #fbf0cb;
  619. padding: 0px 2px;
  620. }
  621. code + .copy-to-clipboard {
  622. margin-left: -1px;
  623. border-left: 0 !important;
  624. font-size: inherit !important;
  625. vertical-align: middle;
  626. height: 21px;
  627. top: 0;
  628. }
  629. pre {
  630. padding: 1rem;
  631. margin: 2rem 0;
  632. background: #1d1f21;
  633. border: 0;
  634. border-radius: 2px;
  635. line-height: 1.15;
  636. }
  637. pre code {
  638. color: whitesmoke;
  639. background: inherit;
  640. white-space: inherit;
  641. border: 0;
  642. padding: 0;
  643. margin: 0;
  644. font-size: 15px;
  645. }
  646. hr {
  647. border-bottom: 4px solid #F0F2F4;
  648. }
  649. .page-title {
  650. margin-top: -25px;
  651. padding: 25px;
  652. float: left;
  653. clear: both;
  654. background: #9c6fb6;
  655. color: #fff;
  656. }
  657. #body a.anchor-link {
  658. color: #ccc;
  659. }
  660. #body a.anchor-link:hover {
  661. color: #9c6fb6;
  662. }
  663. #body-inner .tabs-wrapper.ui-theme-badges {
  664. background: #1d1f21;
  665. }
  666. #body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li {
  667. font-size: 0.9rem;
  668. text-transform: uppercase;
  669. }
  670. #body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li a {
  671. background: #35393c;
  672. }
  673. #body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li.current a {
  674. background: #4d5257;
  675. }
  676. #body-inner pre {
  677. white-space: pre-wrap;
  678. }
  679. .tabs-wrapper pre {
  680. margin: 1rem 0;
  681. border: 0;
  682. padding: 0;
  683. background: inherit;
  684. }
  685. table {
  686. border: 1px solid #eaeaea;
  687. table-layout: auto;
  688. }
  689. th {
  690. background: #f7f7f7;
  691. padding: 0.5rem;
  692. }
  693. td {
  694. padding: 0.5rem;
  695. border: 1px solid #eaeaea;
  696. }
  697. .button {
  698. background: #9c6fb6;
  699. color: #fff;
  700. box-shadow: 0 3px 0 #00a5d4;
  701. }
  702. .button:hover {
  703. background: #00a5d4;
  704. box-shadow: 0 3px 0 #008db6;
  705. color: #fff;
  706. }
  707. .button:active {
  708. box-shadow: 0 1px 0 #008db6;
  709. }
  710. .button-secondary {
  711. background: #F8B450;
  712. color: #fff;
  713. box-shadow: 0 3px 0 #f7a733;
  714. }
  715. .button-secondary:hover {
  716. background: #f7a733;
  717. box-shadow: 0 3px 0 #f69b15;
  718. color: #fff;
  719. }
  720. .button-secondary:active {
  721. box-shadow: 0 1px 0 #f69b15;
  722. }
  723. .bullets {
  724. margin: 1.7rem 0;
  725. margin-left: -0.85rem;
  726. margin-right: -0.85rem;
  727. overflow: auto;
  728. }
  729. .bullet {
  730. float: left;
  731. padding: 0 0.85rem;
  732. }
  733. .two-column-bullet {
  734. width: 50%;
  735. }
  736. @media only all and (max-width: 47.938em) {
  737. .two-column-bullet {
  738. width: 100%;
  739. }
  740. }
  741. .three-column-bullet {
  742. width: 33.33333%;
  743. }
  744. @media only all and (max-width: 47.938em) {
  745. .three-column-bullet {
  746. width: 100%;
  747. }
  748. }
  749. .four-column-bullet {
  750. width: 25%;
  751. }
  752. @media only all and (max-width: 47.938em) {
  753. .four-column-bullet {
  754. width: 100%;
  755. }
  756. }
  757. .bullet-icon {
  758. float: left;
  759. background: #9c6fb6;
  760. padding: 0.875rem;
  761. width: 3.5rem;
  762. height: 3.5rem;
  763. border-radius: 50%;
  764. color: #fff;
  765. font-size: 1.75rem;
  766. text-align: center;
  767. }
  768. .bullet-icon-1 {
  769. background: #9c6fb6;
  770. }
  771. .bullet-icon-2 {
  772. background: #00f3d8;
  773. }
  774. .bullet-icon-3 {
  775. background: #e6f300;
  776. }
  777. .bullet-content {
  778. margin-left: 4.55rem;
  779. }
  780. .tooltipped {
  781. position: relative;
  782. }
  783. .tooltipped:after {
  784. position: absolute;
  785. z-index: 1000000;
  786. display: none;
  787. padding: 5px 8px;
  788. font: normal normal 11px/1.5 "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
  789. color: #fff;
  790. text-align: center;
  791. text-decoration: none;
  792. text-shadow: none;
  793. text-transform: none;
  794. letter-spacing: normal;
  795. word-wrap: break-word;
  796. white-space: pre;
  797. pointer-events: none;
  798. content: attr(aria-label);
  799. background: rgba(0, 0, 0, 0.8);
  800. border-radius: 3px;
  801. -webkit-font-smoothing: subpixel-antialiased;
  802. }
  803. .tooltipped:before {
  804. position: absolute;
  805. z-index: 1000001;
  806. display: none;
  807. width: 0;
  808. height: 0;
  809. color: rgba(0, 0, 0, 0.8);
  810. pointer-events: none;
  811. content: "";
  812. border: 5px solid transparent;
  813. }
  814. .tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
  815. display: inline-block;
  816. text-decoration: none;
  817. }
  818. .tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after {
  819. top: 100%;
  820. right: 50%;
  821. margin-top: 5px;
  822. }
  823. .tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
  824. top: auto;
  825. right: 50%;
  826. bottom: -5px;
  827. margin-right: -5px;
  828. border-bottom-color: rgba(0, 0, 0, 0.8);
  829. }
  830. .tooltipped-se:after {
  831. right: auto;
  832. left: 50%;
  833. margin-left: -15px;
  834. }
  835. .tooltipped-sw:after {
  836. margin-right: -15px;
  837. }
  838. .tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
  839. right: 50%;
  840. bottom: 100%;
  841. margin-bottom: 5px;
  842. }
  843. .tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
  844. top: -5px;
  845. right: 50%;
  846. bottom: auto;
  847. margin-right: -5px;
  848. border-top-color: rgba(0, 0, 0, 0.8);
  849. }
  850. .tooltipped-ne:after {
  851. right: auto;
  852. left: 50%;
  853. margin-left: -15px;
  854. }
  855. .tooltipped-nw:after {
  856. margin-right: -15px;
  857. }
  858. .tooltipped-s:after, .tooltipped-n:after {
  859. transform: translateX(50%);
  860. }
  861. .tooltipped-w:after {
  862. right: 100%;
  863. bottom: 50%;
  864. margin-right: 5px;
  865. transform: translateY(50%);
  866. }
  867. .tooltipped-w:before {
  868. top: 50%;
  869. bottom: 50%;
  870. left: -5px;
  871. margin-top: -5px;
  872. border-left-color: rgba(0, 0, 0, 0.8);
  873. }
  874. .tooltipped-e:after {
  875. bottom: 50%;
  876. left: 100%;
  877. margin-left: 5px;
  878. transform: translateY(50%);
  879. }
  880. .tooltipped-e:before {
  881. top: 50%;
  882. right: -5px;
  883. bottom: 50%;
  884. margin-top: -5px;
  885. border-right-color: rgba(0, 0, 0, 0.8);
  886. }
  887. .highlightable {
  888. padding: 1rem 0 1rem;
  889. overflow: auto;
  890. position: relative;
  891. }
  892. .hljs::selection, .hljs span::selection {
  893. background: #b7b7b7;
  894. }
  895. .lightbox-active #body {
  896. overflow: visible;
  897. }
  898. .lightbox-active #body .padding {
  899. overflow: visible;
  900. }
  901. #github-contrib i {
  902. vertical-align: middle;
  903. }
  904. .featherlight img {
  905. margin: 0 !important;
  906. }
  907. .lifecycle #body-inner ul {
  908. list-style: none;
  909. margin: 0;
  910. padding: 2rem 0 0;
  911. position: relative;
  912. }
  913. .lifecycle #body-inner ol {
  914. margin: 1rem 0 1rem 0;
  915. padding: 2rem;
  916. position: relative;
  917. }
  918. .lifecycle #body-inner ol li {
  919. margin-left: 1rem;
  920. }
  921. .lifecycle #body-inner ol strong, .lifecycle #body-inner ol label, .lifecycle #body-inner ol th {
  922. text-decoration: underline;
  923. }
  924. .lifecycle #body-inner ol ol {
  925. margin-left: -1rem;
  926. }
  927. .lifecycle #body-inner h3[class*='level'] {
  928. font-size: 20px;
  929. position: absolute;
  930. margin: 0;
  931. padding: 4px 10px;
  932. right: 0;
  933. z-index: 1000;
  934. color: #fff;
  935. background: #1ABC9C;
  936. }
  937. .lifecycle #body-inner ol h3 {
  938. margin-top: 1rem !important;
  939. right: 2rem !important;
  940. }
  941. .lifecycle #body-inner .level-1 + ol {
  942. background: #f6fefc;
  943. border: 4px solid #1ABC9C;
  944. color: #16A085;
  945. }
  946. .lifecycle #body-inner .level-1 + ol h3 {
  947. background: #2ECC71;
  948. }
  949. .lifecycle #body-inner .level-2 + ol {
  950. background: #f7fdf9;
  951. border: 4px solid #2ECC71;
  952. color: #27AE60;
  953. }
  954. .lifecycle #body-inner .level-2 + ol h3 {
  955. background: #3498DB;
  956. }
  957. .lifecycle #body-inner .level-3 + ol {
  958. background: #f3f9fd;
  959. border: 4px solid #3498DB;
  960. color: #2980B9;
  961. }
  962. .lifecycle #body-inner .level-3 + ol h3 {
  963. background: #34495E;
  964. }
  965. .lifecycle #body-inner .level-4 + ol {
  966. background: #e4eaf0;
  967. border: 4px solid #34495E;
  968. color: #2C3E50;
  969. }
  970. .lifecycle #body-inner .level-4 + ol h3 {
  971. background: #34495E;
  972. }
  973. #top-bar {
  974. background: #F6F6F6;
  975. border-radius: 2px;
  976. padding: 0 1rem;
  977. height: 0;
  978. min-height: 3rem;
  979. }
  980. #top-github-link {
  981. position: relative;
  982. z-index: 1;
  983. float: right;
  984. display: block;
  985. }
  986. #body #breadcrumbs {
  987. height: auto;
  988. margin-bottom: 0;
  989. padding-left: 0;
  990. line-height: 1.4;
  991. overflow: hidden;
  992. white-space: nowrap;
  993. text-overflow: ellipsis;
  994. width: 70%;
  995. display: inline-block;
  996. float: left;
  997. }
  998. #body #breadcrumbs span {
  999. padding: 0 0.1rem;
  1000. }
  1001. @media only all and (max-width: 59.938em) {
  1002. #sidebar {
  1003. width: 230px;
  1004. }
  1005. #body {
  1006. margin-left: 230px;
  1007. }
  1008. }
  1009. @media only all and (max-width: 47.938em) {
  1010. #sidebar {
  1011. width: 230px;
  1012. left: -230px;
  1013. }
  1014. #body {
  1015. margin-left: 0;
  1016. width: 100%;
  1017. }
  1018. .sidebar-hidden {
  1019. overflow: hidden;
  1020. }
  1021. .sidebar-hidden #sidebar {
  1022. left: 0;
  1023. }
  1024. .sidebar-hidden #body {
  1025. margin-left: 230px;
  1026. overflow: hidden;
  1027. }
  1028. .sidebar-hidden #overlay {
  1029. position: absolute;
  1030. left: 0;
  1031. right: 0;
  1032. top: 0;
  1033. bottom: 0;
  1034. z-index: 10;
  1035. background: rgba(255, 255, 255, 0.5);
  1036. cursor: pointer;
  1037. }
  1038. }
  1039. .copy-to-clipboard {
  1040. background-image: url(../images/clippy.svg);
  1041. background-position: 50% 50%;
  1042. background-size: 16px 16px;
  1043. background-repeat: no-repeat;
  1044. width: 27px;
  1045. height: 1.45rem;
  1046. top: -1px;
  1047. display: inline-block;
  1048. vertical-align: middle;
  1049. position: relative;
  1050. color: #5e5e5e;
  1051. background-color: #FFF7DD;
  1052. margin-left: -.2rem;
  1053. cursor: pointer;
  1054. border-radius: 0 2px 2px 0;
  1055. margin-bottom: 1px;
  1056. }
  1057. .copy-to-clipboard:hover {
  1058. background-color: #E8E2CD;
  1059. }
  1060. pre .copy-to-clipboard {
  1061. position: absolute;
  1062. right: 4px;
  1063. top: 4px;
  1064. background-color: #4d5257;
  1065. color: #ccc;
  1066. border-radius: 2px;
  1067. }
  1068. pre .copy-to-clipboard:hover {
  1069. background-color: #656c72;
  1070. color: #fff;
  1071. }
  1072. .parent-element {
  1073. -webkit-transform-style: preserve-3d;
  1074. -moz-transform-style: preserve-3d;
  1075. transform-style: preserve-3d;
  1076. }
  1077. #sidebar ul.topics > li > a .read-icon {
  1078. margin-top: 9px;
  1079. }
  1080. #sidebar ul {
  1081. list-style: none;
  1082. padding: 0;
  1083. margin: 0;
  1084. }
  1085. #sidebar #shortcuts li {
  1086. padding: 2px 0;
  1087. list-style: none;
  1088. }
  1089. #sidebar ul li .read-icon {
  1090. display: none;
  1091. float: right;
  1092. font-size: 13px;
  1093. min-width: 16px;
  1094. margin: 4px 0 0 0;
  1095. text-align: right;
  1096. }
  1097. #sidebar ul li.visited > a .read-icon {
  1098. color: #00bdf3;
  1099. display: inline;
  1100. }
  1101. #sidebar #shortcuts h3 {
  1102. font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
  1103. color: white ;
  1104. margin-top:1rem;
  1105. padding-left: 1rem;
  1106. }
  1107. #searchResults {
  1108. text-align: left;
  1109. }
  1110. .toc {
  1111. position: fixed;
  1112. top: 100px;
  1113. right: 0;
  1114. width: auto;
  1115. border-left: thin solid #ccc;
  1116. }
  1117. .toc .wrapper{
  1118. margin-left: 20px;
  1119. }
  1120. .toc ul {
  1121. list-style: none;
  1122. margin: 0;
  1123. padding: 0 5px;
  1124. }