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 24 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274
  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 5px;
  187. 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;
  188. overflow-x: auto;
  189. }
  190. code.code-large {
  191. font-size: 90%;
  192. }
  193. dfn {
  194. font-style: italic;
  195. }
  196. dl {
  197. margin-bottom: 24px;
  198. }
  199. dl dt {
  200. font-weight: bold;
  201. }
  202. dl p, dl table, dl ul, dl ol {
  203. margin-bottom: 12px !important;
  204. }
  205. dl dd {
  206. margin: 0 0 12px 24px;
  207. }
  208. dl:not(.docutils) {
  209. margin-bottom: 24px;
  210. }
  211. figure {
  212. margin: 0;
  213. }
  214. fieldset {
  215. border: 0;
  216. margin: 0;
  217. padding: 0;
  218. }
  219. footer p {
  220. margin-bottom: 12px;
  221. }
  222. form {
  223. margin: 0;
  224. }
  225. h1, h2, h3, h4, h5, h6 {
  226. margin-top: 0;
  227. font-weight: lighter;
  228. }
  229. h1 {
  230. font-size: 220%;
  231. margin-bottom:25px;
  232. }
  233. h2 {
  234. font-size: 190%;
  235. margin-bottom:18px;
  236. }
  237. h3 {
  238. font-size: 155%;
  239. margin-bottom:15px;
  240. }
  241. h4 {
  242. font-size: 130%;
  243. margin-bottom: 13px;
  244. }
  245. h4.searchresulttitle {
  246. margin-bottom: -5px;
  247. }
  248. h5 {
  249. font-size: 115%;
  250. margin-bottom: 10px;
  251. }
  252. h6 {
  253. font-size: 105%;
  254. margin-bottom: 7px;
  255. }
  256. hr {
  257. display: block;
  258. height: 1px;
  259. border: 0;
  260. border-top: 1px solid;
  261. margin: 24px 0;
  262. padding: 0;
  263. }
  264. html {
  265. font-size: 100%;
  266. -webkit-text-size-adjust: 100%;
  267. -ms-text-size-adjust: 100%;
  268. height: 100%;
  269. overflow-x: hidden;
  270. }
  271. img {
  272. border: 0;
  273. -ms-interpolation-mode: bicubic;
  274. vertical-align: middle;
  275. max-width: 100%;
  276. }
  277. input {
  278. line-height: normal;
  279. font-size: 100%;
  280. margin: 0;
  281. vertical-align: baseline;
  282. *vertical-align: middle;
  283. }
  284. input[type="text"] {
  285. -webkit-appearance: none;
  286. padding: 6px;
  287. display: inline-block;
  288. border: 1px solid;
  289. font-size: 80%;
  290. box-shadow: inset 0 1px 3px #ddd;
  291. border-radius: 0;
  292. -webkit-transition: border 0.3s linear;
  293. -moz-transition: border 0.3s linear;
  294. transition: border 0.3s linear;
  295. }
  296. /* For chrome, to avoid ugly bar around search box*/
  297. input:focus {
  298. outline: none;
  299. }
  300. ins {
  301. text-decoration: none;
  302. }
  303. label {
  304. cursor: pointer;
  305. display: block;
  306. margin: 0 0 0.3125em 0;
  307. font-size: 90%;
  308. }
  309. legend {
  310. margin-top: 0;
  311. font-weight: 700;
  312. border: 0;
  313. *margin-left: -7px;
  314. padding: 0;
  315. white-space: normal;
  316. display: block;
  317. width: 100%;
  318. margin-bottom: 24px;
  319. font-size: 150%;
  320. }
  321. li {
  322. line-height: 24px;
  323. }
  324. mark {
  325. font-style: italic;
  326. font-weight: bold;
  327. }
  328. nav.stickynav {
  329. position: fixed;
  330. top: 0;
  331. }
  332. p {
  333. line-height: 24px;
  334. margin: 0;
  335. margin-bottom: 24px;
  336. }
  337. p code {
  338. word-wrap: break-word;
  339. }
  340. pre > code {
  341. font-size: 13px;
  342. }
  343. q {
  344. quotes: none;
  345. }
  346. q:before, q:after {
  347. content: "";
  348. content: none;
  349. }
  350. small {
  351. font-size: 80%;
  352. }
  353. sub, sup {
  354. font-size: 75%;
  355. line-height: 0;
  356. position: relative;
  357. vertical-align: baseline;
  358. }
  359. sup {
  360. top: -0.5em;
  361. }
  362. sub {
  363. bottom: -0.25em;
  364. }
  365. svg:not(:root) {
  366. overflow: hidden;
  367. }
  368. table {
  369. border-collapse: collapse;
  370. border-spacing: 0;
  371. }
  372. textarea {
  373. overflow: auto;
  374. vertical-align: top;
  375. resize: vertical;
  376. }
  377. td {
  378. vertical-align: top;
  379. }
  380. /* #endregion*/
  381. /* #region general classes */
  382. .hidden {
  383. display: none !important;
  384. visibility: hidden;
  385. }
  386. .float-left {
  387. float: left;
  388. }
  389. .float-right {
  390. float: right;
  391. }
  392. .full-width {
  393. width: 100%;
  394. }
  395. .no-highlight {
  396. display: block;
  397. padding: 0.5em;
  398. }
  399. .relative {
  400. position: relative;
  401. }
  402. .text-left {
  403. text-align: left;
  404. }
  405. .text-center {
  406. text-align: center;
  407. }
  408. .text-right {
  409. text-align: right;
  410. }
  411. .text-large {
  412. font-size: 120%;
  413. }
  414. .text-normal {
  415. font-size: 100%;
  416. }
  417. .text-small {
  418. font-size: 80%;
  419. }
  420. .text-strike {
  421. text-decoration: line-through;
  422. }
  423. .toc-footer {
  424. align-items: center;
  425. text-align: center;
  426. }
  427. .toc-footer hr {
  428. width: 100%;
  429. display: block;
  430. height: 1px;
  431. border: 0;
  432. border-top: 1px solid;
  433. margin-left: auto;
  434. margin-right: auto;
  435. padding-bottom: 0;
  436. margin-bottom: 5px;
  437. }
  438. .footnotes {
  439. font-size:smaller;
  440. }
  441. /* #endregion */
  442. /* #region Alert boxes*/
  443. .alert {
  444. padding: 12px;
  445. line-height: 24px;
  446. margin-bottom: 24px;
  447. }
  448. .alert-title {
  449. font-weight: bold;
  450. display: block;
  451. margin: -12px;
  452. padding: 6px 12px;
  453. margin-bottom: 12px;
  454. }
  455. .alert p:last-child {
  456. margin-bottom: 0;
  457. }
  458. /* #endregion*/
  459. /* #region Tables*/
  460. .table {
  461. border-collapse: collapse;
  462. border-spacing: 0;
  463. empty-cells: show;
  464. margin-bottom: 24px;
  465. }
  466. .table caption {
  467. font-size: 85%;
  468. font-style: italic;
  469. padding: 1em 0;
  470. text-align: center;
  471. }
  472. .table td, .table th {
  473. font-size: 90%;
  474. margin: 0;
  475. overflow: visible;
  476. padding: 8px 16px;
  477. }
  478. .table td:first-child, .table th:first-child {
  479. border-left-width: 0;
  480. }
  481. .table thead {
  482. text-align: left;
  483. vertical-align: bottom;
  484. white-space: nowrap;
  485. }
  486. .table thead th {
  487. font-weight: bold;
  488. border-bottom: solid 2px;
  489. }
  490. .table td {
  491. background-color: transparent;
  492. }
  493. .table td p {
  494. line-height: 18px;
  495. }
  496. .table td p:last-child {
  497. margin-bottom: 0;
  498. }
  499. .table .table-cell-min {
  500. width: 1%;
  501. padding-right: 0;
  502. }
  503. .table-secondary {
  504. font-size: 90%;
  505. }
  506. .table-tertiary {
  507. font-size: 80%;
  508. }
  509. .table-bordered-all {
  510. border: 1px solid;
  511. }
  512. .table-bordered-all td {
  513. border-bottom: 1px solid;
  514. border-left: 1px solid;
  515. }
  516. .table-bordered-all tbody > tr:last-child td {
  517. border-bottom-width: 0;
  518. }
  519. .table-bordered {
  520. border: 1px solid;
  521. }
  522. .table-bordered-rows td {
  523. border-bottom: 1px solid;
  524. }
  525. .table-bordered-rows tbody > tr:last-child td {
  526. border-bottom-width: 0;
  527. }
  528. .table-horizontal tbody > tr:last-child td {
  529. border-bottom-width: 0;
  530. }
  531. .table-horizontal td, .table-horizontal th {
  532. border-width: 0 0 1px 0;
  533. border-bottom: 1px solid;
  534. }
  535. .table-horizontal tbody > tr:last-child td {
  536. border-bottom-width: 0;
  537. }
  538. .table-responsive {
  539. margin-bottom: 24px;
  540. max-width: 100%;
  541. overflow: auto;
  542. }
  543. .table-responsive table {
  544. margin-bottom: 0 !important;
  545. }
  546. .table-responsive table td, .table-responsive table th {
  547. white-space: nowrap;
  548. }
  549. /* #endregion*/
  550. /* #region Tabs*/
  551. /* Tab CSS by Joseph Fusco. http://codepen.io/fusco/pen/Wvzjrm, slightly adjusted to fit our style/theme. */
  552. .tab-wrap {
  553. -webkit-transition: 0.2s box-shadow ease;
  554. transition: 0.2s box-shadow ease;
  555. max-width: 100%;
  556. display: -webkit-box;
  557. display: -webkit-flex;
  558. display: -ms-flexbox;
  559. display: flex;
  560. -webkit-flex-wrap: wrap;
  561. -ms-flex-wrap: wrap;
  562. flex-wrap: wrap;
  563. position: relative;
  564. list-style: none;
  565. margin: 30px 0;
  566. box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.14);
  567. }
  568. .tab-wrap:hover {
  569. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.23), 0 2px 5px rgba(0, 0, 0, 0.19);
  570. }
  571. .tab {
  572. display: none;
  573. }
  574. .tab:checked:nth-of-type(1) ~ .tab-content:nth-of-type(1) {
  575. opacity: 1;
  576. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  577. transition: 0.1s opacity ease-in, 0.1s transform ease;
  578. position: relative;
  579. top: 0;
  580. z-index: 100;
  581. -webkit-transform: translateY(0px);
  582. -ms-transform: translateY(0px);
  583. transform: translateY(0px);
  584. }
  585. .tab:checked:nth-of-type(2) ~ .tab-content:nth-of-type(2) {
  586. opacity: 1;
  587. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  588. transition: 0.1s opacity ease-in, 0.1s transform ease;
  589. position: relative;
  590. top: 0;
  591. z-index: 100;
  592. -webkit-transform: translateY(0px);
  593. -ms-transform: translateY(0px);
  594. transform: translateY(0px);
  595. }
  596. .tab:checked:nth-of-type(3) ~ .tab-content:nth-of-type(3) {
  597. opacity: 1;
  598. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  599. transition: 0.1s opacity ease-in, 0.1s transform ease;
  600. position: relative;
  601. top: 0;
  602. z-index: 100;
  603. -webkit-transform: translateY(0px);
  604. -ms-transform: translateY(0px);
  605. transform: translateY(0px);
  606. }
  607. .tab:checked:nth-of-type(4) ~ .tab-content:nth-of-type(4) {
  608. opacity: 1;
  609. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  610. transition: 0.1s opacity ease-in, 0.1s transform ease;
  611. position: relative;
  612. top: 0;
  613. z-index: 100;
  614. -webkit-transform: translateY(0px);
  615. -ms-transform: translateY(0px);
  616. transform: translateY(0px);
  617. }
  618. .tab:checked:nth-of-type(5) ~ .tab-content:nth-of-type(5) {
  619. opacity: 1;
  620. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  621. transition: 0.1s opacity ease-in, 0.1s transform ease;
  622. position: relative;
  623. top: 0;
  624. z-index: 100;
  625. -webkit-transform: translateY(0px);
  626. -ms-transform: translateY(0px);
  627. transform: translateY(0px);
  628. }
  629. .tab:checked:nth-of-type(6) ~ .tab-content:nth-of-type(6) {
  630. opacity: 1;
  631. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  632. transition: 0.1s opacity ease-in, 0.1s transform ease;
  633. position: relative;
  634. top: 0;
  635. z-index: 100;
  636. -webkit-transform: translateY(0px);
  637. -ms-transform: translateY(0px);
  638. transform: translateY(0px);
  639. }
  640. .tab:checked:nth-of-type(7) ~ .tab-content:nth-of-type(7) {
  641. opacity: 1;
  642. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  643. transition: 0.1s opacity ease-in, 0.1s transform ease;
  644. position: relative;
  645. top: 0;
  646. z-index: 100;
  647. -webkit-transform: translateY(0px);
  648. -ms-transform: translateY(0px);
  649. transform: translateY(0px);
  650. }
  651. .tab:checked:nth-of-type(8) ~ .tab-content:nth-of-type(8) {
  652. opacity: 1;
  653. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  654. transition: 0.1s opacity ease-in, 0.1s transform ease;
  655. position: relative;
  656. top: 0;
  657. z-index: 100;
  658. -webkit-transform: translateY(0px);
  659. -ms-transform: translateY(0px);
  660. transform: translateY(0px);
  661. }
  662. /*
  663. 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
  664. as this is a js less tab system.
  665. */
  666. .tab:first-of-type:not(:last-of-type) + label {
  667. border-top-right-radius: 0;
  668. border-bottom-right-radius: 0;
  669. }
  670. .tab:not(:first-of-type):not(:last-of-type) + label {
  671. border-radius: 0;
  672. }
  673. .tab:last-of-type:not(:first-of-type) + label {
  674. border-top-left-radius: 0;
  675. border-bottom-left-radius: 0;
  676. }
  677. .tab:checked + label {
  678. box-shadow: 0 -1px 0 #fff inset;
  679. cursor: default;
  680. }
  681. .tab:checked + label:hover {
  682. box-shadow: 0 -1px 0 #fff inset;
  683. }
  684. .tab + label {
  685. box-shadow: 0 -1px 0 #eee inset;
  686. cursor: pointer;
  687. display: block;
  688. text-decoration: none;
  689. -webkit-box-flex: 3;
  690. -webkit-flex-grow: 3;
  691. -ms-flex-positive: 3;
  692. flex-grow: 3;
  693. text-align: center;
  694. -webkit-user-select: none;
  695. -moz-user-select: none;
  696. -ms-user-select: none;
  697. user-select: none;
  698. text-align: center;
  699. -webkit-transition: 0.3s background-color ease, 0.3s box-shadow ease;
  700. transition: 0.3s background-color ease, 0.3s box-shadow ease;
  701. height: 40px;
  702. box-sizing: border-box;
  703. padding: 10px;
  704. }
  705. .tab + label:hover {
  706. box-shadow: 0 1px 0 #f4f4f4 inset;
  707. }
  708. .tab-content {
  709. padding: 10px 15px;
  710. background-color: transparent;
  711. position: absolute;
  712. width: 100%;
  713. z-index: -1;
  714. opacity: 0;
  715. left: 0;
  716. -webkit-transform: translateY(-3px);
  717. -ms-transform: translateY(-3px);
  718. transform: translateY(-3px);
  719. }
  720. /* #endregion*/
  721. /* #region Breadcrumbs*/
  722. .breadcrumbs ul {
  723. margin: 0;
  724. padding-left: 0;
  725. list-style: none;
  726. list-style-image: none;
  727. }
  728. .breadcrumbs li {
  729. display: inline-block;
  730. }
  731. .breadcrumbs li.breadcrumbs-aside {
  732. float: right;
  733. }
  734. .breadcrumbs li a {
  735. display: inline-block;
  736. }
  737. .breadcrumbs li a:first-child {
  738. padding-left: 0;
  739. }
  740. .breadcrumbs-extra {
  741. margin-bottom: 0;
  742. font-size: 80%;
  743. display: inline-block;
  744. }
  745. /* #endregion*/
  746. /* #region Navigation */
  747. .affix {
  748. position: fixed;
  749. top: 1.618em;
  750. }
  751. .grid-for-nav {
  752. position: absolute;
  753. width: 100%;
  754. height: 100%;
  755. }
  756. .menu a:hover {
  757. text-decoration: none;
  758. }
  759. .menu-vertical header {
  760. height: 32px;
  761. display: inline-block;
  762. line-height: 32px;
  763. padding: 0 1.618em;
  764. display: block;
  765. font-weight: bold;
  766. text-transform: uppercase;
  767. font-size: 80%;
  768. white-space: nowrap;
  769. }
  770. .menu-vertical ul {
  771. margin: 0;
  772. padding: 0;
  773. list-style: none;
  774. list-style-image: none;
  775. }
  776. .menu-vertical ul.tocroot {
  777. padding-left: 15px;
  778. }
  779. .menu-vertical ul.currentrelative {
  780. margin-left: -15px;
  781. margin-bottom: -4px;
  782. padding-bottom: 4px;
  783. padding-left: 15px;
  784. }
  785. .menu-vertical ul.currentrelativeroot {
  786. margin-left: -15px;
  787. margin-bottom: -4px;
  788. padding-bottom: 4px;
  789. padding-left: 15px;
  790. }
  791. .menu-vertical ul.tocroot > li.current {
  792. margin-left: -4px;
  793. padding-left: 4px;
  794. padding-bottom: 3px;
  795. margin-bottom: 10px;
  796. }
  797. .menu-vertical ul.current {
  798. padding-left: 10px;
  799. margin-left: -10px;
  800. padding-bottom: 3px;
  801. }
  802. .menu-vertical li {
  803. list-style: none;
  804. line-height: initial;
  805. }
  806. .menu-vertical li.tocentry {
  807. padding-left: 15px;
  808. }
  809. .menu-vertical li.tocrootentry {
  810. padding-left: 15px;
  811. }
  812. .menu-vertical li.current {
  813. margin-top: 0px;
  814. margin-bottom: 3px;
  815. margin-left: 0;
  816. padding-top: 0px;
  817. }
  818. .menu-vertical li.current > a {
  819. font-weight: bold;
  820. border: none;
  821. }
  822. .menu-vertical a {
  823. line-height: 20px;
  824. position: relative;
  825. border: none;
  826. }
  827. .menu-vertical a:hover {
  828. cursor: pointer;
  829. }
  830. .menu-vertical a:hover, .menu-vertical li.current a:hover, .menu-vertical li.on a:hover, .menu-vertical li.current > a:hover {
  831. text-decoration: underline;
  832. }
  833. .menu-vertical a:active {
  834. cursor: pointer;
  835. }
  836. .menu-vertical span.navigationgroup {
  837. line-height: 23px;
  838. font-weight: bold;
  839. margin-bottom: 3px;
  840. }
  841. .nav-side {
  842. position: absolute;
  843. top: 0;
  844. left: 0;
  845. width: 320px;
  846. overflow: hidden;
  847. min-height: 100%;
  848. background: #343131;
  849. z-index: 200;
  850. height: 100%;
  851. overflow-y: auto;
  852. font-size: 14px;
  853. }
  854. .nav-top {
  855. display: none;
  856. padding: 0.4045em 0.809em;
  857. position: relative;
  858. line-height: 50px;
  859. text-align: center;
  860. font-size: 100%;
  861. *zoom: 1;
  862. }
  863. .nav-top:before, .nav-top:after {
  864. display: table;
  865. content: "";
  866. }
  867. .nav-top:after {
  868. clear: both;
  869. }
  870. .nav-top a {
  871. font-weight: bold;
  872. }
  873. .nav-top img {
  874. margin-right: 12px;
  875. height: 45px;
  876. width: 45px;
  877. padding: 5px;
  878. border-radius: 100%;
  879. }
  880. .nav-top i {
  881. font-size: 30px;
  882. float: left;
  883. cursor: pointer;
  884. }
  885. .nav-content-wrap {
  886. margin-left: 320px;
  887. min-height: 100%;
  888. }
  889. .nav-content {
  890. padding: 1.618em 3.236em;
  891. height: 100%;
  892. max-width: 800px;
  893. margin: auto;
  894. }
  895. .side-nav-search {
  896. z-index: 200;
  897. text-align: center;
  898. padding: 0.809em;
  899. display: block;
  900. margin-bottom: 0.809em;
  901. }
  902. .side-nav-search input[type=text] {
  903. width: 100%;
  904. border-radius: 50px;
  905. padding: 6px 12px;
  906. }
  907. .side-nav-search img {
  908. display: block;
  909. margin: auto auto 0.809em auto;
  910. height: 45px;
  911. width: 45px;
  912. padding: 5px;
  913. border-radius: 100%;
  914. }
  915. .side-nav-search > a, .side-nav-search .dropdown > a {
  916. font-size: 100%;
  917. font-weight: bold;
  918. display: inline-block;
  919. padding: 4px 6px;
  920. margin-bottom: 0.809em;
  921. }
  922. /* #endregion*/
  923. /* #region media queries*/
  924. @media print {
  925. html, body, section {
  926. background: none !important;
  927. }
  928. * {
  929. box-shadow: none !important;
  930. text-shadow: none !important;
  931. filter: none !important;
  932. -ms-filter: none !important;
  933. }
  934. a, a:visited {
  935. text-decoration: underline;
  936. }
  937. footer, .nav-side {
  938. display: none;
  939. }
  940. .nav-content-wrap {
  941. margin-left: 0;
  942. }
  943. img {
  944. max-width: 100% !important;
  945. }
  946. h2, h3 {
  947. page-break-after: avoid;
  948. }
  949. pre, blockquote {
  950. page-break-inside: avoid;
  951. }
  952. thead {
  953. display: table-header-group;
  954. }
  955. tr, img {
  956. page-break-inside: avoid;
  957. }
  958. p, h2, h3 {
  959. orphans: 3;
  960. widows: 3;
  961. }
  962. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
  963. content: "";
  964. }
  965. @page {
  966. margin: 0.5cm;
  967. }
  968. .breadcrumbs li.breadcrumbs-aside {
  969. display: none;
  970. }
  971. }
  972. @media only screen and (max-width: 480px) {
  973. .form input[type="text"] {
  974. margin-bottom: 0.3em;
  975. display: block;
  976. }
  977. .form label {
  978. margin-bottom: 0.3em;
  979. display: block;
  980. }
  981. }
  982. @media screen and (max-width: 480px) {
  983. .mobile-hide {
  984. display: none;
  985. }
  986. .breadcrumbs-extra {
  987. display: none;
  988. }
  989. .breadcrumbs li.breadcrumbs-aside {
  990. display: none;
  991. }
  992. }
  993. @media screen and (max-width: 768px) {
  994. .nav-top {
  995. display: block;
  996. }
  997. .nav-side {
  998. left: -320px;
  999. }
  1000. .nav-side.shift {
  1001. width: 85%;
  1002. left: 0;
  1003. }
  1004. .nav-content-wrap {
  1005. margin-left: 0;
  1006. }
  1007. .nav-content-wrap .nav-content {
  1008. padding: 1.618em;
  1009. }
  1010. .nav-content-wrap.shift {
  1011. position: fixed;
  1012. min-width: 100%;
  1013. left: 85%;
  1014. top: 0;
  1015. height: 100%;
  1016. overflow: hidden;
  1017. }
  1018. .tablet-hide {
  1019. display: none;
  1020. }
  1021. }
  1022. @media screen and (min-width: 1400px) {
  1023. .nav-content {
  1024. margin: 0;
  1025. max-width: 1000px;
  1026. }
  1027. }
  1028. /* #endregion */
  1029. /* #region Search results */
  1030. #search-results .search li {
  1031. margin-bottom: 24px;
  1032. border-bottom: solid 1px;
  1033. padding-bottom: 24px;
  1034. }
  1035. #search-results .search li:first-child {
  1036. border-top: solid 1px;
  1037. padding-top: 24px;
  1038. }
  1039. #search-results .search li a {
  1040. font-size: 120%;
  1041. margin-bottom: 12px;
  1042. display: inline-block;
  1043. }
  1044. #search-results .context {
  1045. color: gray;
  1046. font-size: 90%;
  1047. }
  1048. #search-results article h3 {
  1049. margin-top: 23px;
  1050. border-top: 1px solid;
  1051. padding-top: 24px;
  1052. }
  1053. #search-results article:first-child h3 {
  1054. border-top: none;
  1055. }
  1056. #search-query {
  1057. width: 100%;
  1058. border-radius: 50px;
  1059. padding: 6px 12px;
  1060. }
  1061. /* #endregion */