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

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