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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322
  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 8px rgba(10,10,10,0.2)
  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. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  537. }
  538. .table-bordered-all td {
  539. border-bottom: 1px solid;
  540. border-left: 1px solid;
  541. }
  542. .table-bordered-all tbody > tr:last-child td {
  543. border-bottom-width: 0;
  544. }
  545. .table-bordered {
  546. border: 1px solid;
  547. }
  548. .table-bordered-rows td {
  549. border-bottom: 1px solid;
  550. }
  551. .table-bordered-rows tbody > tr:last-child td {
  552. border-bottom-width: 0;
  553. }
  554. .table-horizontal tbody > tr:last-child td {
  555. border-bottom-width: 0;
  556. }
  557. .table-horizontal td, .table-horizontal th {
  558. border-width: 0 0 1px 0;
  559. border-bottom: 1px solid;
  560. }
  561. .table-horizontal tbody > tr:last-child td {
  562. border-bottom-width: 0;
  563. }
  564. .table-responsive {
  565. margin-bottom: 24px;
  566. max-width: 100%;
  567. overflow: auto;
  568. }
  569. .table-responsive table {
  570. margin-bottom: 0 !important;
  571. }
  572. .table-responsive table td, .table-responsive table th {
  573. white-space: nowrap;
  574. }
  575. /* #endregion*/
  576. /* #region Tabs*/
  577. /* Tab CSS by Joseph Fusco. http://codepen.io/fusco/pen/Wvzjrm, slightly adjusted to fit our style/theme. */
  578. .tab-wrap {
  579. -webkit-transition: 0.2s box-shadow ease;
  580. transition: 0.2s box-shadow ease;
  581. max-width: 100%;
  582. display: -webkit-box;
  583. display: -webkit-flex;
  584. display: -ms-flexbox;
  585. display: flex;
  586. -webkit-flex-wrap: wrap;
  587. -ms-flex-wrap: wrap;
  588. flex-wrap: wrap;
  589. position: relative;
  590. list-style: none;
  591. margin: 30px 0;
  592. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  593. }
  594. .tab-wrap:hover {
  595. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.23), 0 2px 5px rgba(0, 0, 0, 0.19);
  596. }
  597. .tab {
  598. display: none;
  599. }
  600. .tab:checked:nth-of-type(1) ~ .tab-content:nth-of-type(1) {
  601. opacity: 1;
  602. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  603. transition: 0.1s opacity ease-in, 0.1s transform ease;
  604. position: relative;
  605. top: 0;
  606. z-index: 100;
  607. -webkit-transform: translateY(0px);
  608. -ms-transform: translateY(0px);
  609. transform: translateY(0px);
  610. }
  611. .tab:checked:nth-of-type(2) ~ .tab-content:nth-of-type(2) {
  612. opacity: 1;
  613. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  614. transition: 0.1s opacity ease-in, 0.1s transform ease;
  615. position: relative;
  616. top: 0;
  617. z-index: 100;
  618. -webkit-transform: translateY(0px);
  619. -ms-transform: translateY(0px);
  620. transform: translateY(0px);
  621. }
  622. .tab:checked:nth-of-type(3) ~ .tab-content:nth-of-type(3) {
  623. opacity: 1;
  624. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  625. transition: 0.1s opacity ease-in, 0.1s transform ease;
  626. position: relative;
  627. top: 0;
  628. z-index: 100;
  629. -webkit-transform: translateY(0px);
  630. -ms-transform: translateY(0px);
  631. transform: translateY(0px);
  632. }
  633. .tab:checked:nth-of-type(4) ~ .tab-content:nth-of-type(4) {
  634. opacity: 1;
  635. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  636. transition: 0.1s opacity ease-in, 0.1s transform ease;
  637. position: relative;
  638. top: 0;
  639. z-index: 100;
  640. -webkit-transform: translateY(0px);
  641. -ms-transform: translateY(0px);
  642. transform: translateY(0px);
  643. }
  644. .tab:checked:nth-of-type(5) ~ .tab-content:nth-of-type(5) {
  645. opacity: 1;
  646. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  647. transition: 0.1s opacity ease-in, 0.1s transform ease;
  648. position: relative;
  649. top: 0;
  650. z-index: 100;
  651. -webkit-transform: translateY(0px);
  652. -ms-transform: translateY(0px);
  653. transform: translateY(0px);
  654. }
  655. .tab:checked:nth-of-type(6) ~ .tab-content:nth-of-type(6) {
  656. opacity: 1;
  657. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  658. transition: 0.1s opacity ease-in, 0.1s transform ease;
  659. position: relative;
  660. top: 0;
  661. z-index: 100;
  662. -webkit-transform: translateY(0px);
  663. -ms-transform: translateY(0px);
  664. transform: translateY(0px);
  665. }
  666. .tab:checked:nth-of-type(7) ~ .tab-content:nth-of-type(7) {
  667. opacity: 1;
  668. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  669. transition: 0.1s opacity ease-in, 0.1s transform ease;
  670. position: relative;
  671. top: 0;
  672. z-index: 100;
  673. -webkit-transform: translateY(0px);
  674. -ms-transform: translateY(0px);
  675. transform: translateY(0px);
  676. }
  677. .tab:checked:nth-of-type(8) ~ .tab-content:nth-of-type(8) {
  678. opacity: 1;
  679. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  680. transition: 0.1s opacity ease-in, 0.1s transform ease;
  681. position: relative;
  682. top: 0;
  683. z-index: 100;
  684. -webkit-transform: translateY(0px);
  685. -ms-transform: translateY(0px);
  686. transform: translateY(0px);
  687. }
  688. /*
  689. 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
  690. as this is a js less tab system.
  691. */
  692. .tab:first-of-type:not(:last-of-type) + label {
  693. border-top-right-radius: 0;
  694. border-bottom-right-radius: 0;
  695. }
  696. .tab:not(:first-of-type):not(:last-of-type) + label {
  697. border-radius: 0;
  698. }
  699. .tab:last-of-type:not(:first-of-type) + label {
  700. border-top-left-radius: 0;
  701. border-bottom-left-radius: 0;
  702. }
  703. .tab:checked + label {
  704. box-shadow: 0 -1px 0 #fff inset;
  705. cursor: default;
  706. }
  707. .tab:checked + label:hover {
  708. box-shadow: 0 -1px 0 #fff inset;
  709. }
  710. .tab + label {
  711. box-shadow: 0 -1px 0 #eee inset;
  712. cursor: pointer;
  713. display: block;
  714. text-decoration: none;
  715. -webkit-box-flex: 3;
  716. -webkit-flex-grow: 3;
  717. -ms-flex-positive: 3;
  718. flex-grow: 3;
  719. text-align: center;
  720. -webkit-user-select: none;
  721. -moz-user-select: none;
  722. -ms-user-select: none;
  723. user-select: none;
  724. text-align: center;
  725. -webkit-transition: 0.3s background-color ease, 0.3s box-shadow ease;
  726. transition: 0.3s background-color ease, 0.3s box-shadow ease;
  727. height: 40px;
  728. box-sizing: border-box;
  729. padding: 10px;
  730. }
  731. .tab + label:hover {
  732. box-shadow: 0 1px 0 #f4f4f4 inset;
  733. }
  734. .tab-content {
  735. padding: 10px 15px;
  736. background-color: transparent;
  737. position: absolute;
  738. width: 100%;
  739. z-index: -1;
  740. opacity: 0;
  741. left: 0;
  742. -webkit-transform: translateY(-3px);
  743. -ms-transform: translateY(-3px);
  744. transform: translateY(-3px);
  745. }
  746. .tab-content > p:last-child {
  747. margin-bottom:0;
  748. }
  749. .tab-content > pre {
  750. margin-top: -12px;
  751. margin-left: -15px;
  752. margin-right: -15px;
  753. margin-bottom: -8px;
  754. }
  755. .tab-content > pre > code {
  756. box-shadow: initial;
  757. border: 0;
  758. }
  759. /* #endregion*/
  760. /* #region Breadcrumbs*/
  761. .breadcrumbs ul {
  762. margin: 0;
  763. padding-left: 0;
  764. list-style: none;
  765. list-style-image: none;
  766. }
  767. .breadcrumbs li {
  768. display: inline-block;
  769. }
  770. .breadcrumbs li.breadcrumbs-aside {
  771. float: right;
  772. }
  773. .breadcrumbs li a {
  774. display: inline-block;
  775. }
  776. .breadcrumbs li a:first-child {
  777. padding-left: 0;
  778. }
  779. .breadcrumbs-extra {
  780. margin-bottom: 0;
  781. font-size: 80%;
  782. display: inline-block;
  783. }
  784. /* #endregion*/
  785. /* #region Navigation */
  786. .affix {
  787. position: fixed;
  788. top: 1.618em;
  789. }
  790. .grid-for-nav {
  791. position: absolute;
  792. width: 100%;
  793. height: 100%;
  794. }
  795. .menu a:hover {
  796. text-decoration: none;
  797. }
  798. .menu-vertical header {
  799. height: 32px;
  800. display: inline-block;
  801. line-height: 32px;
  802. padding: 0 1.618em;
  803. display: block;
  804. font-weight: bold;
  805. text-transform: uppercase;
  806. font-size: 80%;
  807. white-space: nowrap;
  808. }
  809. .menu-vertical ul {
  810. margin: 0;
  811. padding: 0;
  812. list-style: none;
  813. list-style-image: none;
  814. }
  815. .menu-vertical ul.tocroot {
  816. padding-left: 15px;
  817. }
  818. .menu-vertical ul.currentrelative {
  819. margin-left: -15px;
  820. margin-bottom: -4px;
  821. padding-bottom: 4px;
  822. padding-left: 15px;
  823. }
  824. .menu-vertical ul.currentrelativeroot {
  825. margin-left: -15px;
  826. margin-bottom: -4px;
  827. padding-bottom: 4px;
  828. padding-left: 15px;
  829. }
  830. .menu-vertical ul.tocroot > li.current {
  831. margin-left: -4px;
  832. padding-left: 4px;
  833. padding-bottom: 3px;
  834. margin-bottom: 10px;
  835. }
  836. .menu-vertical ul.current {
  837. padding-left: 10px;
  838. margin-left: -10px;
  839. padding-bottom: 3px;
  840. }
  841. .menu-vertical li {
  842. list-style: none;
  843. line-height: 16px;
  844. }
  845. .menu-vertical li.tocentry {
  846. padding-left: 15px;
  847. padding-top: 7px;
  848. }
  849. .menu-vertical li.tocrootentry {
  850. padding-left: 15px;
  851. }
  852. .menu-vertical li.current {
  853. margin-top: 7px;
  854. margin-bottom: 3px;
  855. margin-left: 0;
  856. padding-top: 0px;
  857. }
  858. .menu-vertical li.current > a {
  859. font-weight: bold;
  860. border: none;
  861. }
  862. .menu-vertical a {
  863. position: relative;
  864. border: none;
  865. }
  866. .menu-vertical a:hover {
  867. cursor: pointer;
  868. }
  869. .menu-vertical a:hover, .menu-vertical li.current a:hover, .menu-vertical li.on a:hover, .menu-vertical li.current > a:hover {
  870. text-decoration: underline;
  871. }
  872. .menu-vertical a:active {
  873. cursor: pointer;
  874. }
  875. .menu-vertical span.navigationgroup {
  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. z-index: 200;
  887. height: 100%;
  888. overflow-y: auto;
  889. font-size: 14px;
  890. }
  891. .nav-top {
  892. display: none;
  893. padding: 0.4045em 0.809em;
  894. position: relative;
  895. line-height: 50px;
  896. text-align: center;
  897. font-size: 100%;
  898. *zoom: 1;
  899. }
  900. .nav-top:before, .nav-top:after {
  901. display: table;
  902. content: "";
  903. }
  904. .nav-top:after {
  905. clear: both;
  906. }
  907. .nav-top a {
  908. font-weight: bold;
  909. }
  910. .nav-top img {
  911. margin-right: 12px;
  912. height: 45px;
  913. width: 45px;
  914. padding: 5px;
  915. border-radius: 100%;
  916. }
  917. .nav-top i {
  918. font-size: 30px;
  919. float: left;
  920. cursor: pointer;
  921. }
  922. .nav-content-wrap {
  923. margin-left: 320px;
  924. min-height: 100%;
  925. }
  926. .nav-content {
  927. padding: 1.618em 3.236em;
  928. height: 100%;
  929. max-width: 800px;
  930. margin: auto;
  931. }
  932. .side-nav-search {
  933. z-index: 200;
  934. text-align: center;
  935. padding: 0.809em;
  936. display: block;
  937. margin-bottom: 0.809em;
  938. }
  939. .side-nav-search input[type=text] {
  940. width: 100%;
  941. border-radius: 50px;
  942. padding: 6px 12px;
  943. }
  944. .side-nav-search img {
  945. display: block;
  946. margin: auto auto 0.809em auto;
  947. height: 45px;
  948. width: 45px;
  949. padding: 5px;
  950. border-radius: 100%;
  951. }
  952. .side-nav-search > a, .side-nav-search .dropdown > a {
  953. font-size: 100%;
  954. font-weight: bold;
  955. display: inline-block;
  956. padding: 4px 6px;
  957. margin-bottom: 0.809em;
  958. }
  959. /* #endregion*/
  960. /* #region media queries*/
  961. @media print {
  962. html, body, section {
  963. background: none !important;
  964. }
  965. * {
  966. box-shadow: none !important;
  967. text-shadow: none !important;
  968. filter: none !important;
  969. -ms-filter: none !important;
  970. }
  971. a, a:visited {
  972. text-decoration: underline;
  973. }
  974. footer, .nav-side {
  975. display: none;
  976. }
  977. .nav-content-wrap {
  978. margin-left: 0;
  979. }
  980. img {
  981. max-width: 100% !important;
  982. }
  983. h2, h3 {
  984. page-break-after: avoid;
  985. }
  986. pre, blockquote {
  987. page-break-inside: avoid;
  988. }
  989. thead {
  990. display: table-header-group;
  991. }
  992. tr, img {
  993. page-break-inside: avoid;
  994. }
  995. p, h2, h3 {
  996. orphans: 3;
  997. widows: 3;
  998. }
  999. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
  1000. content: "";
  1001. }
  1002. @page {
  1003. margin: 0.5cm;
  1004. }
  1005. .breadcrumbs li.breadcrumbs-aside {
  1006. display: none;
  1007. }
  1008. }
  1009. @media only screen and (max-width: 480px) {
  1010. .form input[type="text"] {
  1011. margin-bottom: 0.3em;
  1012. display: block;
  1013. }
  1014. .form label {
  1015. margin-bottom: 0.3em;
  1016. display: block;
  1017. }
  1018. }
  1019. @media screen and (max-width: 480px) {
  1020. .mobile-hide {
  1021. display: none;
  1022. }
  1023. .breadcrumbs-extra {
  1024. display: none;
  1025. }
  1026. .breadcrumbs li.breadcrumbs-aside {
  1027. display: none;
  1028. }
  1029. }
  1030. @media screen and (max-width: 768px) {
  1031. .nav-top {
  1032. display: block;
  1033. }
  1034. .nav-side {
  1035. left: -320px;
  1036. }
  1037. .nav-side.shift {
  1038. width: 85%;
  1039. left: 0;
  1040. }
  1041. .nav-content-wrap {
  1042. margin-left: 0;
  1043. }
  1044. .nav-content-wrap .nav-content {
  1045. padding: 1.618em;
  1046. }
  1047. .nav-content-wrap.shift {
  1048. position: fixed;
  1049. min-width: 100%;
  1050. left: 85%;
  1051. top: 0;
  1052. height: 100%;
  1053. overflow: hidden;
  1054. }
  1055. .tablet-hide {
  1056. display: none;
  1057. }
  1058. }
  1059. @media screen and (min-width: 1400px) {
  1060. .nav-content {
  1061. margin: 0;
  1062. max-width: 1000px;
  1063. }
  1064. }
  1065. /* #endregion */
  1066. /* #region Search results */
  1067. #search-results .search li {
  1068. margin-bottom: 24px;
  1069. border-bottom: solid 1px;
  1070. padding-bottom: 24px;
  1071. }
  1072. #search-results .search li:first-child {
  1073. border-top: solid 1px;
  1074. padding-top: 24px;
  1075. }
  1076. #search-results .search li a {
  1077. font-size: 120%;
  1078. margin-bottom: 12px;
  1079. display: inline-block;
  1080. }
  1081. #search-results .context {
  1082. color: gray;
  1083. font-size: 90%;
  1084. }
  1085. #search-results article h3 {
  1086. margin-top: 23px;
  1087. border-top: 1px solid;
  1088. padding-top: 24px;
  1089. }
  1090. #search-results article:first-child h3 {
  1091. border-top: none;
  1092. }
  1093. #search-query {
  1094. width: 100%;
  1095. border-radius: 50px;
  1096. padding: 6px 12px;
  1097. }
  1098. /* #endregion */