You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

theme.css 25 kB

10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323
  1. /*
  2. This file is based on the ReadTheDocs theme from mkdocs, however it's been cleaned up and only the css elements needed in the
  3. templates are included.
  4. Colors are defined in theme_colors.css. They can be adjusted there
  5. */
  6. * {
  7. -webkit-box-sizing: border-box;
  8. -moz-box-sizing: border-box;
  9. box-sizing: border-box;
  10. }
  11. /* #region local font face definitions */
  12. /* source-sans-pro-300 - latin-ext_latin */
  13. @font-face {
  14. font-family: 'Source Sans Pro';
  15. font-style: normal;
  16. font-weight: 300;
  17. src: url('../fonts/source-sans-pro-v9-latin-ext_latin-300.eot'); /* IE9 Compat Modes */
  18. src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url('../fonts/source-sans-pro-v9-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  19. url('../fonts/source-sans-pro-v9-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */
  20. url('../fonts/source-sans-pro-v9-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */
  21. url('../fonts/source-sans-pro-v9-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
  22. url('../fonts/source-sans-pro-v9-latin-ext_latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  23. }
  24. /* source-sans-pro-300italic - latin-ext_latin */
  25. @font-face {
  26. font-family: 'Source Sans Pro';
  27. font-style: italic;
  28. font-weight: 300;
  29. src: url('../fonts/source-sans-pro-v9-latin-ext_latin-300italic.eot'); /* IE9 Compat Modes */
  30. src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightIt'), url('../fonts/source-sans-pro-v9-latin-ext_latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  31. url('../fonts/source-sans-pro-v9-latin-ext_latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
  32. url('../fonts/source-sans-pro-v9-latin-ext_latin-300italic.woff') format('woff'), /* Modern Browsers */
  33. url('../fonts/source-sans-pro-v9-latin-ext_latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
  34. url('../fonts/source-sans-pro-v9-latin-ext_latin-300italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  35. }
  36. /* source-sans-pro-regular - latin-ext_latin */
  37. @font-face {
  38. font-family: 'Source Sans Pro';
  39. font-style: normal;
  40. font-weight: 400;
  41. src: url('../fonts/source-sans-pro-v9-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  42. src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url('../fonts/source-sans-pro-v9-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  43. url('../fonts/source-sans-pro-v9-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
  44. url('../fonts/source-sans-pro-v9-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
  45. url('../fonts/source-sans-pro-v9-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
  46. url('../fonts/source-sans-pro-v9-latin-ext_latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  47. }
  48. /* source-sans-pro-italic - latin-ext_latin */
  49. @font-face {
  50. font-family: 'Source Sans Pro';
  51. font-style: italic;
  52. font-weight: 400;
  53. src: url('../fonts/source-sans-pro-v9-latin-ext_latin-italic.eot'); /* IE9 Compat Modes */
  54. src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url('../fonts/source-sans-pro-v9-latin-ext_latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  55. url('../fonts/source-sans-pro-v9-latin-ext_latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
  56. url('../fonts/source-sans-pro-v9-latin-ext_latin-italic.woff') format('woff'), /* Modern Browsers */
  57. url('../fonts/source-sans-pro-v9-latin-ext_latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
  58. url('../fonts/source-sans-pro-v9-latin-ext_latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  59. }
  60. /* source-sans-pro-600 - latin-ext_latin */
  61. @font-face {
  62. font-family: 'Source Sans Pro';
  63. font-style: normal;
  64. font-weight: 600;
  65. src: url('../fonts/source-sans-pro-v9-latin-ext_latin-600.eot'); /* IE9 Compat Modes */
  66. src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url('../fonts/source-sans-pro-v9-latin-ext_latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  67. url('../fonts/source-sans-pro-v9-latin-ext_latin-600.woff2') format('woff2'), /* Super Modern Browsers */
  68. url('../fonts/source-sans-pro-v9-latin-ext_latin-600.woff') format('woff'), /* Modern Browsers */
  69. url('../fonts/source-sans-pro-v9-latin-ext_latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
  70. url('../fonts/source-sans-pro-v9-latin-ext_latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  71. }
  72. /* source-sans-pro-700 - latin-ext_latin */
  73. @font-face {
  74. font-family: 'Source Sans Pro';
  75. font-style: normal;
  76. font-weight: 700;
  77. src: url('../fonts/source-sans-pro-v9-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
  78. src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url('../fonts/source-sans-pro-v9-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  79. url('../fonts/source-sans-pro-v9-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
  80. url('../fonts/source-sans-pro-v9-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
  81. url('../fonts/source-sans-pro-v9-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
  82. url('../fonts/source-sans-pro-v9-latin-ext_latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  83. }
  84. /* source-sans-pro-900 - latin-ext_latin */
  85. @font-face {
  86. font-family: 'Source Sans Pro';
  87. font-style: normal;
  88. font-weight: 900;
  89. src: url('../fonts/source-sans-pro-v9-latin-ext_latin-900.eot'); /* IE9 Compat Modes */
  90. src: local('Source Sans Pro Black'), local('SourceSansPro-Black'), url('../fonts/source-sans-pro-v9-latin-ext_latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  91. url('../fonts/source-sans-pro-v9-latin-ext_latin-900.woff2') format('woff2'), /* Super Modern Browsers */
  92. url('../fonts/source-sans-pro-v9-latin-ext_latin-900.woff') format('woff'), /* Modern Browsers */
  93. url('../fonts/source-sans-pro-v9-latin-ext_latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
  94. url('../fonts/source-sans-pro-v9-latin-ext_latin-900.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  95. }
  96. /* #endregion */
  97. /* #region general tag css definitions */
  98. article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
  99. display: block;
  100. }
  101. audio, canvas, video {
  102. display: inline-block;
  103. *display: inline;
  104. *zoom: 1;
  105. }
  106. audio:not([controls]) {
  107. display: none;
  108. }
  109. [hidden] {
  110. display: none;
  111. }
  112. a {
  113. text-decoration: none;
  114. }
  115. a .icon {
  116. display: inline-block;
  117. text-decoration: inherit;
  118. }
  119. a:hover, a:active {
  120. outline: 0;
  121. }
  122. abbr[title] {
  123. border-bottom: 1px dotted;
  124. }
  125. big, small {
  126. font-size: 100%;
  127. }
  128. blockquote {
  129. background: #f9f9f9;
  130. border-left: 10px solid #ccc;
  131. margin: 1.5em 10px;
  132. padding: 0.5em 10px;
  133. quotes: "\201C""\201D""\2018""\2019";
  134. }
  135. blockquote:before {
  136. color: #ccc;
  137. content: open-quote;
  138. font-size: 4em;
  139. line-height: 0.1em;
  140. margin-right: 10px;
  141. vertical-align: -0.4em;
  142. }
  143. blockquote p {
  144. display: inline;
  145. }
  146. body {
  147. font-weight: normal;
  148. min-height: 100%;
  149. overflow-x: hidden;
  150. margin: 0;
  151. -webkit-font-smoothing: antialiased;
  152. text-rendering: optimizeLegibility;
  153. -moz-osx-font-smoothing: grayscale;
  154. min-height: 100%;
  155. font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  156. font-size: 16px;
  157. }
  158. button, input {
  159. font-size: 100%;
  160. margin: 0;
  161. vertical-align: baseline;
  162. *vertical-align: middle;
  163. }
  164. button[disabled], input[disabled] {
  165. cursor: default;
  166. }
  167. button::-moz-focus-inner, input::-moz-focus-inner {
  168. border: 0;
  169. padding: 0;
  170. }
  171. button {
  172. font-size: 100%;
  173. margin: 0;
  174. vertical-align: baseline;
  175. *vertical-align: middle;
  176. cursor: pointer;
  177. line-height: normal;
  178. -webkit-appearance: button;
  179. *overflow: visible;
  180. }
  181. code, pre.nocode {
  182. white-space: pre;
  183. max-width: 100%;
  184. border: solid 1px;
  185. font-size: 90%;
  186. padding: 0 2px;
  187. margin: 0 3px;
  188. font-family: Consolas, "Andale Mono WT","Andale Mono","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;
  189. overflow-x: auto;
  190. }
  191. code.code-large {
  192. font-size: 90%;
  193. }
  194. dfn {
  195. font-style: italic;
  196. }
  197. dl {
  198. margin-bottom: 24px;
  199. }
  200. dl dt {
  201. font-weight: bold;
  202. }
  203. dl p, dl table, dl ul, dl ol {
  204. margin-bottom: 12px !important;
  205. }
  206. dl dd {
  207. margin: 0 0 12px 35px;
  208. line-height: 24px;
  209. }
  210. dl:not(.docutils) {
  211. margin-bottom: 24px;
  212. }
  213. figure {
  214. margin: 0;
  215. }
  216. fieldset {
  217. border: 0;
  218. margin: 0;
  219. padding: 0;
  220. }
  221. footer p {
  222. margin-bottom: 12px;
  223. }
  224. form {
  225. margin: 0;
  226. }
  227. h1, h2, h3, h4, h5, h6 {
  228. margin-top: 0;
  229. font-weight: lighter;
  230. }
  231. h1 {
  232. font-size: 220%;
  233. margin-bottom:25px;
  234. }
  235. h2 {
  236. font-size: 190%;
  237. margin-bottom:18px;
  238. }
  239. h3 {
  240. font-size: 155%;
  241. margin-bottom:15px;
  242. }
  243. h4 {
  244. font-size: 130%;
  245. margin-bottom: 13px;
  246. }
  247. h4.searchresulttitle {
  248. margin-bottom: -5px;
  249. }
  250. h5 {
  251. font-size: 115%;
  252. margin-bottom: 10px;
  253. }
  254. h6 {
  255. font-size: 105%;
  256. margin-bottom: 7px;
  257. }
  258. hr {
  259. display: block;
  260. height: 1px;
  261. border: 0;
  262. border-top: 1px solid;
  263. margin: 24px 0;
  264. padding: 0;
  265. }
  266. html {
  267. font-size: 100%;
  268. -webkit-text-size-adjust: 100%;
  269. -ms-text-size-adjust: 100%;
  270. height: 100%;
  271. overflow-x: hidden;
  272. }
  273. img {
  274. border: 0;
  275. -ms-interpolation-mode: bicubic;
  276. vertical-align: middle;
  277. }
  278. input {
  279. line-height: normal;
  280. font-size: 100%;
  281. margin: 0;
  282. vertical-align: baseline;
  283. *vertical-align: middle;
  284. }
  285. input[type="text"] {
  286. -webkit-appearance: none;
  287. padding: 6px;
  288. display: inline-block;
  289. border: 1px solid;
  290. font-size: 80%;
  291. box-shadow: inset 0 1px 3px #ddd;
  292. border-radius: 0;
  293. -webkit-transition: border 0.3s linear;
  294. -moz-transition: border 0.3s linear;
  295. transition: border 0.3s linear;
  296. }
  297. /* For chrome, to avoid ugly bar around search box*/
  298. input:focus {
  299. outline: none;
  300. }
  301. ins {
  302. text-decoration: none;
  303. }
  304. label {
  305. cursor: pointer;
  306. display: block;
  307. margin: 0 0 0.3125em 0;
  308. font-size: 90%;
  309. }
  310. legend {
  311. margin-top: 0;
  312. font-weight: 700;
  313. border: 0;
  314. *margin-left: -7px;
  315. padding: 0;
  316. white-space: normal;
  317. display: block;
  318. width: 100%;
  319. margin-bottom: 24px;
  320. font-size: 150%;
  321. }
  322. li {
  323. line-height: 24px;
  324. }
  325. li pre {
  326. line-height: normal;
  327. }
  328. mark {
  329. font-style: italic;
  330. font-weight: bold;
  331. }
  332. nav.stickynav {
  333. position: fixed;
  334. top: 0;
  335. }
  336. p {
  337. line-height: 24px;
  338. margin: 0;
  339. margin-bottom: 24px;
  340. }
  341. p code {
  342. word-wrap: break-word;
  343. }
  344. pre {
  345. margin-bottom: 24px;
  346. }
  347. pre > code {
  348. font-size: 13px;
  349. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  350. }
  351. pre.nocode {
  352. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  353. margin-bottom: 20px;
  354. padding: 4px 4px;
  355. }
  356. q {
  357. quotes: none;
  358. }
  359. q:before, q:after {
  360. content: "";
  361. content: none;
  362. }
  363. small {
  364. font-size: 80%;
  365. }
  366. sub, sup {
  367. font-size: 75%;
  368. line-height: 0;
  369. position: relative;
  370. vertical-align: baseline;
  371. }
  372. sup {
  373. top: -0.5em;
  374. }
  375. sub {
  376. bottom: -0.25em;
  377. }
  378. svg:not(:root) {
  379. overflow: hidden;
  380. }
  381. table {
  382. border-collapse: collapse;
  383. border-spacing: 0;
  384. }
  385. textarea {
  386. overflow: auto;
  387. vertical-align: top;
  388. resize: vertical;
  389. }
  390. td {
  391. vertical-align: top;
  392. }
  393. /* #endregion*/
  394. /* #region general classes */
  395. .hidden {
  396. display: none !important;
  397. visibility: hidden;
  398. }
  399. div.figure {
  400. align-items: center;
  401. text-align: center;
  402. }
  403. img.shadowed, div.figure img {
  404. margin: 0 auto;
  405. box-shadow: 0px 0px 10px rgba(10,10,10,0.3);
  406. }
  407. div.figure p {
  408. font-size: smaller;
  409. }
  410. .float-left {
  411. float: left;
  412. }
  413. .float-right {
  414. float: right;
  415. }
  416. .footnotes {
  417. font-size:smaller;
  418. }
  419. .full-width {
  420. width: 100%;
  421. }
  422. .no-highlight {
  423. display: block;
  424. padding: 0.5em;
  425. }
  426. .relative {
  427. position: relative;
  428. }
  429. .text-left {
  430. text-align: left;
  431. }
  432. .text-center {
  433. text-align: center;
  434. }
  435. .text-right {
  436. text-align: right;
  437. }
  438. .text-large {
  439. font-size: 120%;
  440. }
  441. .text-normal {
  442. font-size: 100%;
  443. }
  444. .text-small {
  445. font-size: 80%;
  446. }
  447. .text-strike {
  448. text-decoration: line-through;
  449. }
  450. .toc-footer {
  451. align-items: center;
  452. text-align: center;
  453. }
  454. .toc-footer hr {
  455. width: 100%;
  456. display: block;
  457. height: 1px;
  458. border: 0;
  459. border-top: 1px solid;
  460. margin-left: auto;
  461. margin-right: auto;
  462. padding-bottom: 0;
  463. margin-bottom: 5px;
  464. }
  465. /* #endregion */
  466. /* #region Alert boxes*/
  467. .alert {
  468. padding: 12px;
  469. line-height: 24px;
  470. margin-bottom: 24px;
  471. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  472. }
  473. .alert-title {
  474. font-weight: bold;
  475. display: block;
  476. margin: -12px;
  477. padding: 6px 12px;
  478. margin-bottom: 12px;
  479. }
  480. .alert p:last-child {
  481. margin-bottom: 0;
  482. }
  483. /* #endregion*/
  484. /* #region Tables*/
  485. .table {
  486. border-collapse: collapse;
  487. border-spacing: 0;
  488. empty-cells: show;
  489. margin-bottom: 24px;
  490. }
  491. .table caption {
  492. font-size: 85%;
  493. font-style: italic;
  494. padding: 1em 0;
  495. text-align: center;
  496. }
  497. .table td, .table th {
  498. font-size: 90%;
  499. margin: 0;
  500. overflow: visible;
  501. padding: 8px 16px;
  502. }
  503. .table td:first-child, .table th:first-child {
  504. border-left-width: 0;
  505. }
  506. .table thead {
  507. text-align: left;
  508. vertical-align: bottom;
  509. white-space: nowrap;
  510. }
  511. .table thead th {
  512. font-weight: bold;
  513. border-bottom: solid 2px;
  514. }
  515. .table td {
  516. background-color: transparent;
  517. }
  518. .table td p {
  519. line-height: 18px;
  520. }
  521. .table td p:last-child {
  522. margin-bottom: 0;
  523. }
  524. .table .table-cell-min {
  525. width: 1%;
  526. padding-right: 0;
  527. }
  528. .table-secondary {
  529. font-size: 90%;
  530. }
  531. .table-tertiary {
  532. font-size: 80%;
  533. }
  534. .table-bordered-all {
  535. border: 1px solid;
  536. }
  537. .table-bordered-all td {
  538. border-bottom: 1px solid;
  539. border-left: 1px solid;
  540. }
  541. .table-bordered-all tbody > tr:last-child td {
  542. border-bottom-width: 0;
  543. }
  544. .table-bordered {
  545. border: 1px solid;
  546. }
  547. .table-bordered-rows td {
  548. border-bottom: 1px solid;
  549. }
  550. .table-bordered-rows tbody > tr:last-child td {
  551. border-bottom-width: 0;
  552. }
  553. .table-horizontal tbody > tr:last-child td {
  554. border-bottom-width: 0;
  555. }
  556. .table-horizontal td, .table-horizontal th {
  557. border-width: 0 0 1px 0;
  558. border-bottom: 1px solid;
  559. }
  560. .table-horizontal tbody > tr:last-child td {
  561. border-bottom-width: 0;
  562. }
  563. .table-responsive {
  564. margin-bottom: 24px;
  565. max-width: 100%;
  566. overflow: auto;
  567. }
  568. .table-responsive table {
  569. margin-bottom: 0 !important;
  570. }
  571. .table-responsive table td, .table-responsive table th {
  572. white-space: nowrap;
  573. }
  574. /* #endregion*/
  575. /* #region Tabs*/
  576. /* Tab CSS by Joseph Fusco. http://codepen.io/fusco/pen/Wvzjrm, slightly adjusted to fit our style/theme. */
  577. .tab-wrap {
  578. -webkit-transition: 0.2s box-shadow ease;
  579. transition: 0.2s box-shadow ease;
  580. max-width: 100%;
  581. display: -webkit-box;
  582. display: -webkit-flex;
  583. display: -ms-flexbox;
  584. display: flex;
  585. -webkit-flex-wrap: wrap;
  586. -ms-flex-wrap: wrap;
  587. flex-wrap: wrap;
  588. position: relative;
  589. list-style: none;
  590. margin: 30px 0;
  591. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  592. }
  593. .tab-wrap:hover {
  594. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.23), 0 2px 5px rgba(0, 0, 0, 0.19);
  595. }
  596. .tab {
  597. display: none;
  598. }
  599. .tab:checked:nth-of-type(1) ~ .tab-content:nth-of-type(1) {
  600. opacity: 1;
  601. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  602. transition: 0.1s opacity ease-in, 0.1s transform ease;
  603. position: relative;
  604. top: 0;
  605. z-index: 100;
  606. -webkit-transform: translateY(0px);
  607. -ms-transform: translateY(0px);
  608. transform: translateY(0px);
  609. }
  610. .tab:checked:nth-of-type(2) ~ .tab-content:nth-of-type(2) {
  611. opacity: 1;
  612. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  613. transition: 0.1s opacity ease-in, 0.1s transform ease;
  614. position: relative;
  615. top: 0;
  616. z-index: 100;
  617. -webkit-transform: translateY(0px);
  618. -ms-transform: translateY(0px);
  619. transform: translateY(0px);
  620. }
  621. .tab:checked:nth-of-type(3) ~ .tab-content:nth-of-type(3) {
  622. opacity: 1;
  623. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  624. transition: 0.1s opacity ease-in, 0.1s transform ease;
  625. position: relative;
  626. top: 0;
  627. z-index: 100;
  628. -webkit-transform: translateY(0px);
  629. -ms-transform: translateY(0px);
  630. transform: translateY(0px);
  631. }
  632. .tab:checked:nth-of-type(4) ~ .tab-content:nth-of-type(4) {
  633. opacity: 1;
  634. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  635. transition: 0.1s opacity ease-in, 0.1s transform ease;
  636. position: relative;
  637. top: 0;
  638. z-index: 100;
  639. -webkit-transform: translateY(0px);
  640. -ms-transform: translateY(0px);
  641. transform: translateY(0px);
  642. }
  643. .tab:checked:nth-of-type(5) ~ .tab-content:nth-of-type(5) {
  644. opacity: 1;
  645. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  646. transition: 0.1s opacity ease-in, 0.1s transform ease;
  647. position: relative;
  648. top: 0;
  649. z-index: 100;
  650. -webkit-transform: translateY(0px);
  651. -ms-transform: translateY(0px);
  652. transform: translateY(0px);
  653. }
  654. .tab:checked:nth-of-type(6) ~ .tab-content:nth-of-type(6) {
  655. opacity: 1;
  656. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  657. transition: 0.1s opacity ease-in, 0.1s transform ease;
  658. position: relative;
  659. top: 0;
  660. z-index: 100;
  661. -webkit-transform: translateY(0px);
  662. -ms-transform: translateY(0px);
  663. transform: translateY(0px);
  664. }
  665. .tab:checked:nth-of-type(7) ~ .tab-content:nth-of-type(7) {
  666. opacity: 1;
  667. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  668. transition: 0.1s opacity ease-in, 0.1s transform ease;
  669. position: relative;
  670. top: 0;
  671. z-index: 100;
  672. -webkit-transform: translateY(0px);
  673. -ms-transform: translateY(0px);
  674. transform: translateY(0px);
  675. }
  676. .tab:checked:nth-of-type(8) ~ .tab-content:nth-of-type(8) {
  677. opacity: 1;
  678. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  679. transition: 0.1s opacity ease-in, 0.1s transform ease;
  680. position: relative;
  681. top: 0;
  682. z-index: 100;
  683. -webkit-transform: translateY(0px);
  684. -ms-transform: translateY(0px);
  685. transform: translateY(0px);
  686. }
  687. /*
  688. If you need more tabs (oh dear why would you!?) copy/paste the checked section above and increase the number, each tab has its own section
  689. as this is a js less tab system.
  690. */
  691. .tab:first-of-type:not(:last-of-type) + label {
  692. border-top-right-radius: 0;
  693. border-bottom-right-radius: 0;
  694. }
  695. .tab:not(:first-of-type):not(:last-of-type) + label {
  696. border-radius: 0;
  697. }
  698. .tab:last-of-type:not(:first-of-type) + label {
  699. border-top-left-radius: 0;
  700. border-bottom-left-radius: 0;
  701. }
  702. .tab:checked + label {
  703. box-shadow: 0 -1px 0 #fff inset;
  704. cursor: default;
  705. }
  706. .tab:checked + label:hover {
  707. box-shadow: 0 -1px 0 #fff inset;
  708. }
  709. .tab + label {
  710. box-shadow: 0 -1px 0 #eee inset;
  711. cursor: pointer;
  712. display: block;
  713. text-decoration: none;
  714. -webkit-box-flex: 3;
  715. -webkit-flex-grow: 3;
  716. -ms-flex-positive: 3;
  717. flex-grow: 3;
  718. text-align: center;
  719. -webkit-user-select: none;
  720. -moz-user-select: none;
  721. -ms-user-select: none;
  722. user-select: none;
  723. text-align: center;
  724. -webkit-transition: 0.3s background-color ease, 0.3s box-shadow ease;
  725. transition: 0.3s background-color ease, 0.3s box-shadow ease;
  726. height: 40px;
  727. box-sizing: border-box;
  728. padding: 10px;
  729. }
  730. .tab + label:hover {
  731. box-shadow: 0 1px 0 #f4f4f4 inset;
  732. }
  733. .tab-content {
  734. padding: 10px 15px;
  735. background-color: transparent;
  736. position: absolute;
  737. width: 100%;
  738. z-index: -1;
  739. opacity: 0;
  740. left: 0;
  741. -webkit-transform: translateY(-3px);
  742. -ms-transform: translateY(-3px);
  743. transform: translateY(-3px);
  744. }
  745. .tab-content > p:last-child {
  746. margin-bottom:0;
  747. }
  748. .tab-content > pre {
  749. margin-top: -12px;
  750. margin-left: -15px;
  751. margin-right: -15px;
  752. margin-bottom: -8px;
  753. }
  754. .tab-content > pre > code {
  755. box-shadow: initial;
  756. border: 0;
  757. }
  758. /* #endregion*/
  759. /* #region Breadcrumbs*/
  760. .breadcrumbs ul {
  761. margin: 0;
  762. padding-left: 0;
  763. list-style: none;
  764. list-style-image: none;
  765. }
  766. .breadcrumbs li {
  767. display: inline-block;
  768. }
  769. .breadcrumbs li.breadcrumbs-aside {
  770. float: right;
  771. }
  772. .breadcrumbs li a {
  773. display: inline-block;
  774. }
  775. .breadcrumbs li a:first-child {
  776. padding-left: 0;
  777. }
  778. .breadcrumbs-extra {
  779. margin-bottom: 0;
  780. font-size: 80%;
  781. display: inline-block;
  782. }
  783. /* #endregion*/
  784. /* #region Navigation */
  785. .affix {
  786. position: fixed;
  787. top: 1.618em;
  788. }
  789. .grid-for-nav {
  790. position: absolute;
  791. width: 100%;
  792. height: 100%;
  793. }
  794. .menu a:hover {
  795. text-decoration: none;
  796. }
  797. .menu-vertical header {
  798. height: 32px;
  799. display: inline-block;
  800. line-height: 32px;
  801. padding: 0 1.618em;
  802. display: block;
  803. font-weight: bold;
  804. text-transform: uppercase;
  805. font-size: 80%;
  806. white-space: nowrap;
  807. }
  808. .menu-vertical ul {
  809. margin: 0;
  810. padding: 0;
  811. list-style: none;
  812. list-style-image: none;
  813. }
  814. .menu-vertical ul.tocroot {
  815. padding-left: 15px;
  816. }
  817. .menu-vertical ul.currentrelative {
  818. margin-left: -15px;
  819. margin-bottom: -4px;
  820. padding-bottom: 4px;
  821. padding-left: 15px;
  822. }
  823. .menu-vertical ul.currentrelativeroot {
  824. margin-left: -15px;
  825. margin-bottom: -4px;
  826. padding-bottom: 4px;
  827. padding-left: 15px;
  828. }
  829. .menu-vertical ul.tocroot > li.current {
  830. margin-left: -4px;
  831. padding-left: 4px;
  832. padding-bottom: 3px;
  833. margin-bottom: 10px;
  834. }
  835. .menu-vertical ul.current {
  836. padding-left: 10px;
  837. margin-left: -10px;
  838. padding-bottom: 3px;
  839. }
  840. .menu-vertical li {
  841. list-style: none;
  842. line-height: initial;
  843. }
  844. .menu-vertical li.tocentry {
  845. padding-left: 15px;
  846. }
  847. .menu-vertical li.tocrootentry {
  848. padding-left: 15px;
  849. }
  850. .menu-vertical li.current {
  851. margin-top: 0px;
  852. margin-bottom: 3px;
  853. margin-left: 0;
  854. padding-top: 0px;
  855. }
  856. .menu-vertical li.current > a {
  857. font-weight: bold;
  858. border: none;
  859. }
  860. .menu-vertical a {
  861. line-height: 20px;
  862. position: relative;
  863. border: none;
  864. }
  865. .menu-vertical a:hover {
  866. cursor: pointer;
  867. }
  868. .menu-vertical a:hover, .menu-vertical li.current a:hover, .menu-vertical li.on a:hover, .menu-vertical li.current > a:hover {
  869. text-decoration: underline;
  870. }
  871. .menu-vertical a:active {
  872. cursor: pointer;
  873. }
  874. .menu-vertical span.navigationgroup {
  875. line-height: 23px;
  876. font-weight: bold;
  877. margin-bottom: 3px;
  878. }
  879. .nav-side {
  880. position: absolute;
  881. top: 0;
  882. left: 0;
  883. width: 320px;
  884. overflow: hidden;
  885. min-height: 100%;
  886. background: #343131;
  887. z-index: 200;
  888. height: 100%;
  889. overflow-y: auto;
  890. font-size: 14px;
  891. }
  892. .nav-top {
  893. display: none;
  894. padding: 0.4045em 0.809em;
  895. position: relative;
  896. line-height: 50px;
  897. text-align: center;
  898. font-size: 100%;
  899. *zoom: 1;
  900. }
  901. .nav-top:before, .nav-top:after {
  902. display: table;
  903. content: "";
  904. }
  905. .nav-top:after {
  906. clear: both;
  907. }
  908. .nav-top a {
  909. font-weight: bold;
  910. }
  911. .nav-top img {
  912. margin-right: 12px;
  913. height: 45px;
  914. width: 45px;
  915. padding: 5px;
  916. border-radius: 100%;
  917. }
  918. .nav-top i {
  919. font-size: 30px;
  920. float: left;
  921. cursor: pointer;
  922. }
  923. .nav-content-wrap {
  924. margin-left: 320px;
  925. min-height: 100%;
  926. }
  927. .nav-content {
  928. padding: 1.618em 3.236em;
  929. height: 100%;
  930. max-width: 800px;
  931. margin: auto;
  932. }
  933. .side-nav-search {
  934. z-index: 200;
  935. text-align: center;
  936. padding: 0.809em;
  937. display: block;
  938. margin-bottom: 0.809em;
  939. }
  940. .side-nav-search input[type=text] {
  941. width: 100%;
  942. border-radius: 50px;
  943. padding: 6px 12px;
  944. }
  945. .side-nav-search img {
  946. display: block;
  947. margin: auto auto 0.809em auto;
  948. height: 45px;
  949. width: 45px;
  950. padding: 5px;
  951. border-radius: 100%;
  952. }
  953. .side-nav-search > a, .side-nav-search .dropdown > a {
  954. font-size: 100%;
  955. font-weight: bold;
  956. display: inline-block;
  957. padding: 4px 6px;
  958. margin-bottom: 0.809em;
  959. }
  960. /* #endregion*/
  961. /* #region media queries*/
  962. @media print {
  963. html, body, section {
  964. background: none !important;
  965. }
  966. * {
  967. box-shadow: none !important;
  968. text-shadow: none !important;
  969. filter: none !important;
  970. -ms-filter: none !important;
  971. }
  972. a, a:visited {
  973. text-decoration: underline;
  974. }
  975. footer, .nav-side {
  976. display: none;
  977. }
  978. .nav-content-wrap {
  979. margin-left: 0;
  980. }
  981. img {
  982. max-width: 100% !important;
  983. }
  984. h2, h3 {
  985. page-break-after: avoid;
  986. }
  987. pre, blockquote {
  988. page-break-inside: avoid;
  989. }
  990. thead {
  991. display: table-header-group;
  992. }
  993. tr, img {
  994. page-break-inside: avoid;
  995. }
  996. p, h2, h3 {
  997. orphans: 3;
  998. widows: 3;
  999. }
  1000. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
  1001. content: "";
  1002. }
  1003. @page {
  1004. margin: 0.5cm;
  1005. }
  1006. .breadcrumbs li.breadcrumbs-aside {
  1007. display: none;
  1008. }
  1009. }
  1010. @media only screen and (max-width: 480px) {
  1011. .form input[type="text"] {
  1012. margin-bottom: 0.3em;
  1013. display: block;
  1014. }
  1015. .form label {
  1016. margin-bottom: 0.3em;
  1017. display: block;
  1018. }
  1019. }
  1020. @media screen and (max-width: 480px) {
  1021. .mobile-hide {
  1022. display: none;
  1023. }
  1024. .breadcrumbs-extra {
  1025. display: none;
  1026. }
  1027. .breadcrumbs li.breadcrumbs-aside {
  1028. display: none;
  1029. }
  1030. }
  1031. @media screen and (max-width: 768px) {
  1032. .nav-top {
  1033. display: block;
  1034. }
  1035. .nav-side {
  1036. left: -320px;
  1037. }
  1038. .nav-side.shift {
  1039. width: 85%;
  1040. left: 0;
  1041. }
  1042. .nav-content-wrap {
  1043. margin-left: 0;
  1044. }
  1045. .nav-content-wrap .nav-content {
  1046. padding: 1.618em;
  1047. }
  1048. .nav-content-wrap.shift {
  1049. position: fixed;
  1050. min-width: 100%;
  1051. left: 85%;
  1052. top: 0;
  1053. height: 100%;
  1054. overflow: hidden;
  1055. }
  1056. .tablet-hide {
  1057. display: none;
  1058. }
  1059. }
  1060. @media screen and (min-width: 1400px) {
  1061. .nav-content {
  1062. margin: 0;
  1063. max-width: 1000px;
  1064. }
  1065. }
  1066. /* #endregion */
  1067. /* #region Search results */
  1068. #search-results .search li {
  1069. margin-bottom: 24px;
  1070. border-bottom: solid 1px;
  1071. padding-bottom: 24px;
  1072. }
  1073. #search-results .search li:first-child {
  1074. border-top: solid 1px;
  1075. padding-top: 24px;
  1076. }
  1077. #search-results .search li a {
  1078. font-size: 120%;
  1079. margin-bottom: 12px;
  1080. display: inline-block;
  1081. }
  1082. #search-results .context {
  1083. color: gray;
  1084. font-size: 90%;
  1085. }
  1086. #search-results article h3 {
  1087. margin-top: 23px;
  1088. border-top: 1px solid;
  1089. padding-top: 24px;
  1090. }
  1091. #search-results article:first-child h3 {
  1092. border-top: none;
  1093. }
  1094. #search-query {
  1095. width: 100%;
  1096. border-radius: 50px;
  1097. padding: 6px 12px;
  1098. }
  1099. /* #endregion */