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
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319
  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. mark {
  326. font-style: italic;
  327. font-weight: bold;
  328. }
  329. nav.stickynav {
  330. position: fixed;
  331. top: 0;
  332. }
  333. p {
  334. line-height: 24px;
  335. margin: 0;
  336. margin-bottom: 24px;
  337. }
  338. p code {
  339. word-wrap: break-word;
  340. }
  341. pre {
  342. margin-bottom: 24px;
  343. }
  344. pre > code {
  345. font-size: 13px;
  346. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  347. }
  348. pre.nocode {
  349. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  350. margin-bottom: 20px;
  351. padding: 4px 4px;
  352. }
  353. q {
  354. quotes: none;
  355. }
  356. q:before, q:after {
  357. content: "";
  358. content: none;
  359. }
  360. small {
  361. font-size: 80%;
  362. }
  363. sub, sup {
  364. font-size: 75%;
  365. line-height: 0;
  366. position: relative;
  367. vertical-align: baseline;
  368. }
  369. sup {
  370. top: -0.5em;
  371. }
  372. sub {
  373. bottom: -0.25em;
  374. }
  375. svg:not(:root) {
  376. overflow: hidden;
  377. }
  378. table {
  379. border-collapse: collapse;
  380. border-spacing: 0;
  381. }
  382. textarea {
  383. overflow: auto;
  384. vertical-align: top;
  385. resize: vertical;
  386. }
  387. td {
  388. vertical-align: top;
  389. }
  390. /* #endregion*/
  391. /* #region general classes */
  392. .hidden {
  393. display: none !important;
  394. visibility: hidden;
  395. }
  396. div.figure {
  397. align-items: center;
  398. text-align: center;
  399. }
  400. img.shadowed, div.figure img {
  401. margin: 0 auto;
  402. box-shadow: 0px 0px 10px rgba(10,10,10,0.3);
  403. }
  404. div.figure p {
  405. font-size: smaller;
  406. }
  407. .float-left {
  408. float: left;
  409. }
  410. .float-right {
  411. float: right;
  412. }
  413. .footnotes {
  414. font-size:smaller;
  415. }
  416. .full-width {
  417. width: 100%;
  418. }
  419. .no-highlight {
  420. display: block;
  421. padding: 0.5em;
  422. }
  423. .relative {
  424. position: relative;
  425. }
  426. .text-left {
  427. text-align: left;
  428. }
  429. .text-center {
  430. text-align: center;
  431. }
  432. .text-right {
  433. text-align: right;
  434. }
  435. .text-large {
  436. font-size: 120%;
  437. }
  438. .text-normal {
  439. font-size: 100%;
  440. }
  441. .text-small {
  442. font-size: 80%;
  443. }
  444. .text-strike {
  445. text-decoration: line-through;
  446. }
  447. .toc-footer {
  448. align-items: center;
  449. text-align: center;
  450. }
  451. .toc-footer hr {
  452. width: 100%;
  453. display: block;
  454. height: 1px;
  455. border: 0;
  456. border-top: 1px solid;
  457. margin-left: auto;
  458. margin-right: auto;
  459. padding-bottom: 0;
  460. margin-bottom: 5px;
  461. }
  462. /* #endregion */
  463. /* #region Alert boxes*/
  464. .alert {
  465. padding: 12px;
  466. line-height: 24px;
  467. margin-bottom: 24px;
  468. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  469. }
  470. .alert-title {
  471. font-weight: bold;
  472. display: block;
  473. margin: -12px;
  474. padding: 6px 12px;
  475. margin-bottom: 12px;
  476. }
  477. .alert p:last-child {
  478. margin-bottom: 0;
  479. }
  480. /* #endregion*/
  481. /* #region Tables*/
  482. .table {
  483. border-collapse: collapse;
  484. border-spacing: 0;
  485. empty-cells: show;
  486. margin-bottom: 24px;
  487. }
  488. .table caption {
  489. font-size: 85%;
  490. font-style: italic;
  491. padding: 1em 0;
  492. text-align: center;
  493. }
  494. .table td, .table th {
  495. font-size: 90%;
  496. margin: 0;
  497. overflow: visible;
  498. padding: 8px 16px;
  499. }
  500. .table td:first-child, .table th:first-child {
  501. border-left-width: 0;
  502. }
  503. .table thead {
  504. text-align: left;
  505. vertical-align: bottom;
  506. white-space: nowrap;
  507. }
  508. .table thead th {
  509. font-weight: bold;
  510. border-bottom: solid 2px;
  511. }
  512. .table td {
  513. background-color: transparent;
  514. }
  515. .table td p {
  516. line-height: 18px;
  517. }
  518. .table td p:last-child {
  519. margin-bottom: 0;
  520. }
  521. .table .table-cell-min {
  522. width: 1%;
  523. padding-right: 0;
  524. }
  525. .table-secondary {
  526. font-size: 90%;
  527. }
  528. .table-tertiary {
  529. font-size: 80%;
  530. }
  531. .table-bordered-all {
  532. border: 1px solid;
  533. }
  534. .table-bordered-all td {
  535. border-bottom: 1px solid;
  536. border-left: 1px solid;
  537. }
  538. .table-bordered-all tbody > tr:last-child td {
  539. border-bottom-width: 0;
  540. }
  541. .table-bordered {
  542. border: 1px solid;
  543. }
  544. .table-bordered-rows td {
  545. border-bottom: 1px solid;
  546. }
  547. .table-bordered-rows tbody > tr:last-child td {
  548. border-bottom-width: 0;
  549. }
  550. .table-horizontal tbody > tr:last-child td {
  551. border-bottom-width: 0;
  552. }
  553. .table-horizontal td, .table-horizontal th {
  554. border-width: 0 0 1px 0;
  555. border-bottom: 1px solid;
  556. }
  557. .table-horizontal tbody > tr:last-child td {
  558. border-bottom-width: 0;
  559. }
  560. .table-responsive {
  561. margin-bottom: 24px;
  562. max-width: 100%;
  563. overflow: auto;
  564. }
  565. .table-responsive table {
  566. margin-bottom: 0 !important;
  567. }
  568. .table-responsive table td, .table-responsive table th {
  569. white-space: nowrap;
  570. }
  571. /* #endregion*/
  572. /* #region Tabs*/
  573. /* Tab CSS by Joseph Fusco. http://codepen.io/fusco/pen/Wvzjrm, slightly adjusted to fit our style/theme. */
  574. .tab-wrap {
  575. -webkit-transition: 0.2s box-shadow ease;
  576. transition: 0.2s box-shadow ease;
  577. max-width: 100%;
  578. display: -webkit-box;
  579. display: -webkit-flex;
  580. display: -ms-flexbox;
  581. display: flex;
  582. -webkit-flex-wrap: wrap;
  583. -ms-flex-wrap: wrap;
  584. flex-wrap: wrap;
  585. position: relative;
  586. list-style: none;
  587. margin: 30px 0;
  588. box-shadow: 0px 0px 8px rgba(10,10,10,0.1);
  589. }
  590. .tab-wrap:hover {
  591. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.23), 0 2px 5px rgba(0, 0, 0, 0.19);
  592. }
  593. .tab {
  594. display: none;
  595. }
  596. .tab:checked:nth-of-type(1) ~ .tab-content:nth-of-type(1) {
  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(2) ~ .tab-content:nth-of-type(2) {
  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(3) ~ .tab-content:nth-of-type(3) {
  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(4) ~ .tab-content:nth-of-type(4) {
  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(5) ~ .tab-content:nth-of-type(5) {
  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(6) ~ .tab-content:nth-of-type(6) {
  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. .tab:checked:nth-of-type(7) ~ .tab-content:nth-of-type(7) {
  663. opacity: 1;
  664. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  665. transition: 0.1s opacity ease-in, 0.1s transform ease;
  666. position: relative;
  667. top: 0;
  668. z-index: 100;
  669. -webkit-transform: translateY(0px);
  670. -ms-transform: translateY(0px);
  671. transform: translateY(0px);
  672. }
  673. .tab:checked:nth-of-type(8) ~ .tab-content:nth-of-type(8) {
  674. opacity: 1;
  675. -webkit-transition: 0.1s opacity ease-in, 0.1s -webkit-transform ease;
  676. transition: 0.1s opacity ease-in, 0.1s transform ease;
  677. position: relative;
  678. top: 0;
  679. z-index: 100;
  680. -webkit-transform: translateY(0px);
  681. -ms-transform: translateY(0px);
  682. transform: translateY(0px);
  683. }
  684. /*
  685. 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
  686. as this is a js less tab system.
  687. */
  688. .tab:first-of-type:not(:last-of-type) + label {
  689. border-top-right-radius: 0;
  690. border-bottom-right-radius: 0;
  691. }
  692. .tab:not(:first-of-type):not(:last-of-type) + label {
  693. border-radius: 0;
  694. }
  695. .tab:last-of-type:not(:first-of-type) + label {
  696. border-top-left-radius: 0;
  697. border-bottom-left-radius: 0;
  698. }
  699. .tab:checked + label {
  700. box-shadow: 0 -1px 0 #fff inset;
  701. cursor: default;
  702. }
  703. .tab:checked + label:hover {
  704. box-shadow: 0 -1px 0 #fff inset;
  705. }
  706. .tab + label {
  707. box-shadow: 0 -1px 0 #eee inset;
  708. cursor: pointer;
  709. display: block;
  710. text-decoration: none;
  711. -webkit-box-flex: 3;
  712. -webkit-flex-grow: 3;
  713. -ms-flex-positive: 3;
  714. flex-grow: 3;
  715. text-align: center;
  716. -webkit-user-select: none;
  717. -moz-user-select: none;
  718. -ms-user-select: none;
  719. user-select: none;
  720. text-align: center;
  721. -webkit-transition: 0.3s background-color ease, 0.3s box-shadow ease;
  722. transition: 0.3s background-color ease, 0.3s box-shadow ease;
  723. height: 40px;
  724. box-sizing: border-box;
  725. padding: 10px;
  726. }
  727. .tab + label:hover {
  728. box-shadow: 0 1px 0 #f4f4f4 inset;
  729. }
  730. .tab-content {
  731. padding: 10px 15px;
  732. background-color: transparent;
  733. position: absolute;
  734. width: 100%;
  735. z-index: -1;
  736. opacity: 0;
  737. left: 0;
  738. -webkit-transform: translateY(-3px);
  739. -ms-transform: translateY(-3px);
  740. transform: translateY(-3px);
  741. }
  742. .tab-content > p:last-child {
  743. margin-bottom:0;
  744. }
  745. .tab-content > pre {
  746. margin-top: -12px;
  747. margin-left: -15px;
  748. margin-right: -15px;
  749. margin-bottom: -8px;
  750. }
  751. .tab-content > pre > code {
  752. box-shadow: initial;
  753. border: 0;
  754. }
  755. /* #endregion*/
  756. /* #region Breadcrumbs*/
  757. .breadcrumbs ul {
  758. margin: 0;
  759. padding-left: 0;
  760. list-style: none;
  761. list-style-image: none;
  762. }
  763. .breadcrumbs li {
  764. display: inline-block;
  765. }
  766. .breadcrumbs li.breadcrumbs-aside {
  767. float: right;
  768. }
  769. .breadcrumbs li a {
  770. display: inline-block;
  771. }
  772. .breadcrumbs li a:first-child {
  773. padding-left: 0;
  774. }
  775. .breadcrumbs-extra {
  776. margin-bottom: 0;
  777. font-size: 80%;
  778. display: inline-block;
  779. }
  780. /* #endregion*/
  781. /* #region Navigation */
  782. .affix {
  783. position: fixed;
  784. top: 1.618em;
  785. }
  786. .grid-for-nav {
  787. position: absolute;
  788. width: 100%;
  789. height: 100%;
  790. }
  791. .menu a:hover {
  792. text-decoration: none;
  793. }
  794. .menu-vertical header {
  795. height: 32px;
  796. display: inline-block;
  797. line-height: 32px;
  798. padding: 0 1.618em;
  799. display: block;
  800. font-weight: bold;
  801. text-transform: uppercase;
  802. font-size: 80%;
  803. white-space: nowrap;
  804. }
  805. .menu-vertical ul {
  806. margin: 0;
  807. padding: 0;
  808. list-style: none;
  809. list-style-image: none;
  810. }
  811. .menu-vertical ul.tocroot {
  812. padding-left: 15px;
  813. }
  814. .menu-vertical ul.currentrelative {
  815. margin-left: -15px;
  816. margin-bottom: -4px;
  817. padding-bottom: 4px;
  818. padding-left: 15px;
  819. }
  820. .menu-vertical ul.currentrelativeroot {
  821. margin-left: -15px;
  822. margin-bottom: -4px;
  823. padding-bottom: 4px;
  824. padding-left: 15px;
  825. }
  826. .menu-vertical ul.tocroot > li.current {
  827. margin-left: -4px;
  828. padding-left: 4px;
  829. padding-bottom: 3px;
  830. margin-bottom: 10px;
  831. }
  832. .menu-vertical ul.current {
  833. padding-left: 10px;
  834. margin-left: -10px;
  835. padding-bottom: 3px;
  836. }
  837. .menu-vertical li {
  838. list-style: none;
  839. line-height: initial;
  840. }
  841. .menu-vertical li.tocentry {
  842. padding-left: 15px;
  843. }
  844. .menu-vertical li.tocrootentry {
  845. padding-left: 15px;
  846. }
  847. .menu-vertical li.current {
  848. margin-top: 0px;
  849. margin-bottom: 3px;
  850. margin-left: 0;
  851. padding-top: 0px;
  852. }
  853. .menu-vertical li.current > a {
  854. font-weight: bold;
  855. border: none;
  856. }
  857. .menu-vertical a {
  858. line-height: 20px;
  859. position: relative;
  860. border: none;
  861. }
  862. .menu-vertical a:hover {
  863. cursor: pointer;
  864. }
  865. .menu-vertical a:hover, .menu-vertical li.current a:hover, .menu-vertical li.on a:hover, .menu-vertical li.current > a:hover {
  866. text-decoration: underline;
  867. }
  868. .menu-vertical a:active {
  869. cursor: pointer;
  870. }
  871. .menu-vertical span.navigationgroup {
  872. line-height: 23px;
  873. font-weight: bold;
  874. margin-bottom: 3px;
  875. }
  876. .nav-side {
  877. position: absolute;
  878. top: 0;
  879. left: 0;
  880. width: 320px;
  881. overflow: hidden;
  882. min-height: 100%;
  883. background: #343131;
  884. z-index: 200;
  885. height: 100%;
  886. overflow-y: auto;
  887. font-size: 14px;
  888. }
  889. .nav-top {
  890. display: none;
  891. padding: 0.4045em 0.809em;
  892. position: relative;
  893. line-height: 50px;
  894. text-align: center;
  895. font-size: 100%;
  896. *zoom: 1;
  897. }
  898. .nav-top:before, .nav-top:after {
  899. display: table;
  900. content: "";
  901. }
  902. .nav-top:after {
  903. clear: both;
  904. }
  905. .nav-top a {
  906. font-weight: bold;
  907. }
  908. .nav-top img {
  909. margin-right: 12px;
  910. height: 45px;
  911. width: 45px;
  912. padding: 5px;
  913. border-radius: 100%;
  914. }
  915. .nav-top i {
  916. font-size: 30px;
  917. float: left;
  918. cursor: pointer;
  919. }
  920. .nav-content-wrap {
  921. margin-left: 320px;
  922. min-height: 100%;
  923. }
  924. .nav-content {
  925. padding: 1.618em 3.236em;
  926. height: 100%;
  927. max-width: 800px;
  928. margin: auto;
  929. }
  930. .side-nav-search {
  931. z-index: 200;
  932. text-align: center;
  933. padding: 0.809em;
  934. display: block;
  935. margin-bottom: 0.809em;
  936. }
  937. .side-nav-search input[type=text] {
  938. width: 100%;
  939. border-radius: 50px;
  940. padding: 6px 12px;
  941. }
  942. .side-nav-search img {
  943. display: block;
  944. margin: auto auto 0.809em auto;
  945. height: 45px;
  946. width: 45px;
  947. padding: 5px;
  948. border-radius: 100%;
  949. }
  950. .side-nav-search > a, .side-nav-search .dropdown > a {
  951. font-size: 100%;
  952. font-weight: bold;
  953. display: inline-block;
  954. padding: 4px 6px;
  955. margin-bottom: 0.809em;
  956. }
  957. /* #endregion*/
  958. /* #region media queries*/
  959. @media print {
  960. html, body, section {
  961. background: none !important;
  962. }
  963. * {
  964. box-shadow: none !important;
  965. text-shadow: none !important;
  966. filter: none !important;
  967. -ms-filter: none !important;
  968. }
  969. a, a:visited {
  970. text-decoration: underline;
  971. }
  972. footer, .nav-side {
  973. display: none;
  974. }
  975. .nav-content-wrap {
  976. margin-left: 0;
  977. }
  978. img {
  979. max-width: 100% !important;
  980. }
  981. h2, h3 {
  982. page-break-after: avoid;
  983. }
  984. pre, blockquote {
  985. page-break-inside: avoid;
  986. }
  987. thead {
  988. display: table-header-group;
  989. }
  990. tr, img {
  991. page-break-inside: avoid;
  992. }
  993. p, h2, h3 {
  994. orphans: 3;
  995. widows: 3;
  996. }
  997. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
  998. content: "";
  999. }
  1000. @page {
  1001. margin: 0.5cm;
  1002. }
  1003. .breadcrumbs li.breadcrumbs-aside {
  1004. display: none;
  1005. }
  1006. }
  1007. @media only screen and (max-width: 480px) {
  1008. .form input[type="text"] {
  1009. margin-bottom: 0.3em;
  1010. display: block;
  1011. }
  1012. .form label {
  1013. margin-bottom: 0.3em;
  1014. display: block;
  1015. }
  1016. }
  1017. @media screen and (max-width: 480px) {
  1018. .mobile-hide {
  1019. display: none;
  1020. }
  1021. .breadcrumbs-extra {
  1022. display: none;
  1023. }
  1024. .breadcrumbs li.breadcrumbs-aside {
  1025. display: none;
  1026. }
  1027. }
  1028. @media screen and (max-width: 768px) {
  1029. .nav-top {
  1030. display: block;
  1031. }
  1032. .nav-side {
  1033. left: -320px;
  1034. }
  1035. .nav-side.shift {
  1036. width: 85%;
  1037. left: 0;
  1038. }
  1039. .nav-content-wrap {
  1040. margin-left: 0;
  1041. }
  1042. .nav-content-wrap .nav-content {
  1043. padding: 1.618em;
  1044. }
  1045. .nav-content-wrap.shift {
  1046. position: fixed;
  1047. min-width: 100%;
  1048. left: 85%;
  1049. top: 0;
  1050. height: 100%;
  1051. overflow: hidden;
  1052. }
  1053. .tablet-hide {
  1054. display: none;
  1055. }
  1056. }
  1057. @media screen and (min-width: 1400px) {
  1058. .nav-content {
  1059. margin: 0;
  1060. max-width: 1000px;
  1061. }
  1062. }
  1063. /* #endregion */
  1064. /* #region Search results */
  1065. #search-results .search li {
  1066. margin-bottom: 24px;
  1067. border-bottom: solid 1px;
  1068. padding-bottom: 24px;
  1069. }
  1070. #search-results .search li:first-child {
  1071. border-top: solid 1px;
  1072. padding-top: 24px;
  1073. }
  1074. #search-results .search li a {
  1075. font-size: 120%;
  1076. margin-bottom: 12px;
  1077. display: inline-block;
  1078. }
  1079. #search-results .context {
  1080. color: gray;
  1081. font-size: 90%;
  1082. }
  1083. #search-results article h3 {
  1084. margin-top: 23px;
  1085. border-top: 1px solid;
  1086. padding-top: 24px;
  1087. }
  1088. #search-results article:first-child h3 {
  1089. border-top: none;
  1090. }
  1091. #search-query {
  1092. width: 100%;
  1093. border-radius: 50px;
  1094. padding: 6px 12px;
  1095. }
  1096. /* #endregion */