styles.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056
  1. /* fonts */
  2. @font-face {
  3. font-family: 'PT Sans';
  4. src: url('fonts/pt_sans-web-bold.woff2') format('woff2'),
  5. url('fonts/pt_sans-web-bold.woff') format('woff');
  6. font-weight: bold;
  7. font-style: normal;
  8. }
  9. @font-face {
  10. font-family: 'PT Sans';
  11. src: url('fonts/pt_sans-web-italic.woff2') format('woff2'),
  12. url('fonts/pt_sans-web-italic.woff') format('woff');
  13. font-weight: normal;
  14. font-style: italic;
  15. }
  16. @font-face {
  17. font-family: 'PT Sans';
  18. src: url('fonts/pt_sans-web-regular.woff2') format('woff2'),
  19. url('fonts/pt_sans-web-regular.woff') format('woff');
  20. font-weight: normal;
  21. font-style: normal;
  22. }
  23. @font-face {
  24. font-family: 'Miriam Libre';
  25. src: url('fonts/miriamlibre-bold.woff2') format('woff2'),
  26. url('fonts/miriamlibre-bold.woff') format('woff');
  27. font-weight: bold;
  28. font-style: normal;
  29. }
  30. *, *::before, *::after {
  31. font-family: inherit;
  32. color: inherit;
  33. margin: 0;
  34. padding: 0;
  35. box-sizing: border-box;
  36. }
  37. html {
  38. font-size: calc(1em + 0.33vw);
  39. font-family: PT Sans, sans-serif;
  40. line-height: 1.5;
  41. color: #111;
  42. }
  43. * + * {
  44. margin-top: 2.25rem;
  45. }
  46. br,
  47. dt,
  48. dd,
  49. th,
  50. td,
  51. option,
  52. [hidden] + *,
  53. li + li,
  54. body,
  55. .main-and-footer {
  56. margin-top: 0;
  57. }
  58. p + p {
  59. margin-top: 0.75rem;
  60. }
  61. a {
  62. text-decoration: none;
  63. border-bottom: 1px solid;
  64. }
  65. abbr {
  66. text-decoration: none;
  67. cursor: help;
  68. border-bottom: 1px dashed;
  69. }
  70. img {
  71. max-width: 100%;
  72. }
  73. p img {
  74. margin: 0.75rem 0;
  75. }
  76. figure p img {
  77. margin: 0;
  78. }
  79. :focus:not([tabindex="-1"]),
  80. [data-expands]:focus svg,
  81. .patterns a:focus .text {
  82. outline: 3px solid #ccc;
  83. outline-offset: 2px;
  84. }
  85. /* fix for IE :( */
  86. [tabindex="-1"]:focus,
  87. div:not([tabindex]):focus {
  88. outline: none;
  89. }
  90. /* skip link */
  91. [href="#main"] {
  92. display: block;
  93. width: 100%;
  94. padding: 0.75rem;
  95. color: #fff;
  96. background: #000;
  97. position: absolute;
  98. top: -3rem;
  99. text-align: center;
  100. z-index: 1;
  101. }
  102. [href="#main"]:focus {
  103. top: 0;
  104. outline: none;
  105. }
  106. /* text styles */
  107. h1, h2, h3, h4 {
  108. font-family: Miriam Libre, serif;
  109. line-height: 1.125;
  110. }
  111. h1 {
  112. font-size: 2rem;
  113. }
  114. h2 {
  115. font-size: 1.66rem;
  116. }
  117. h3 {
  118. font-size: 1.25rem;
  119. }
  120. h4, h5 {
  121. font-size: 1rem;
  122. font-family: PT Sans, sans-serif;
  123. }
  124. h5 {
  125. font-size: 0.85rem;
  126. text-transform: uppercase;
  127. }
  128. kbd {
  129. line-height: 1;
  130. font-size: 0.66rem;
  131. padding: 0.1rem 0.33rem;
  132. border-radius: 0.25rem;
  133. border: 2px solid;
  134. box-shadow: 0.125rem 0.125rem 0 #111;
  135. vertical-align: 0.33em;
  136. }
  137. pre, .file-tree {
  138. overflow-x: auto;
  139. padding: 1.5rem;
  140. border: 1px solid;
  141. }
  142. code {
  143. font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  144. font-size: 0.85em;
  145. }
  146. .cmd {
  147. padding: 0.75rem;
  148. background: #111;
  149. }
  150. .cmd code {
  151. color: #fff;
  152. white-space: nowrap;
  153. }
  154. .cmd code::before {
  155. content: '$';
  156. font-weight: bold;
  157. padding-right: 0.25em;
  158. }
  159. /* Lists */
  160. main ul, main ol {
  161. margin-left: 2.25rem;
  162. }
  163. main li + li {
  164. margin-top: 0.5rem;
  165. }
  166. main ul ul {
  167. margin-top: 0;
  168. }
  169. /* Buttons */
  170. button {
  171. font-size: 1.25rem;
  172. font-family: inherit;
  173. font-weight: inherit;
  174. background: #111;
  175. color: #fff;
  176. padding: 0.75rem;
  177. border: 0;
  178. }
  179. /* Tables */
  180. table {
  181. text-align: left;
  182. table-layout: fixed;
  183. width: 100%;
  184. border-collapse: collapse;
  185. }
  186. th, td {
  187. border: 2px solid;
  188. padding: 0.5rem;
  189. line-height: 1.25;
  190. margin: 0;
  191. }
  192. th {
  193. font-weight: bold;
  194. }
  195. th:empty {
  196. border: 0;
  197. }
  198. /* Tested using... table */
  199. .tested {
  200. text-align: center;
  201. }
  202. .tested td {
  203. vertical-align: top;
  204. overflow: hidden;
  205. }
  206. .tested th {
  207. background-color: #111;
  208. border-color: #111;
  209. color: #fff;
  210. }
  211. .tested img {
  212. max-width: 3rem;
  213. }
  214. .tested span {
  215. display: block;
  216. margin: 0;
  217. }
  218. .tested .additional {
  219. font-size: 0.85rem;
  220. }
  221. caption {
  222. font-size: 1.125rem;
  223. padding-bottom: 0.25rem;
  224. font-style: italic;
  225. }
  226. /* Page structure */
  227. .wrapper {
  228. position: relative;
  229. margin-top: 0;
  230. overflow-x: hidden;
  231. }
  232. .intro-and-nav {
  233. font-size: 0.85rem;
  234. width: 15rem;
  235. height: 100vh;
  236. position: fixed;
  237. top: 0;
  238. left: 0;
  239. border-right: 2px solid;
  240. }
  241. .intro-and-nav > div {
  242. padding: 2.25rem;
  243. display: flex;
  244. flex-direction: column;
  245. height: 100%;
  246. }
  247. .logo {
  248. border: 0;
  249. }
  250. .logo img {
  251. width: 100%;
  252. max-width: 12rem;
  253. }
  254. .library-desc {
  255. font-style: italic;
  256. margin-top: 0.5rem;
  257. margin-left: auto;
  258. margin-right: auto;
  259. max-width: 30rem;
  260. }
  261. .main-and-footer {
  262. margin-left: 15rem;
  263. }
  264. .main-and-footer > div {
  265. max-width: 40rem;
  266. margin: 0 auto;
  267. padding: 2.25rem;
  268. }
  269. [role="contentinfo"] {
  270. font-size: 0.85rem;
  271. margin-top: 4rem;
  272. text-align: center;
  273. }
  274. /* Patterns navigation */
  275. .patterns {
  276. overflow: auto;
  277. margin-top: 1.5rem;
  278. }
  279. .patterns * {
  280. margin-top: 0;
  281. }
  282. .patterns h3 {
  283. font-size: 1rem;
  284. }
  285. .patterns h3 + ul {
  286. margin-top: 0.75rem;
  287. }
  288. .patterns li {
  289. line-height: 1.125;
  290. list-style: none;
  291. }
  292. .patterns li + li {
  293. margin-top: 0.75rem;
  294. }
  295. .patterns ul ul {
  296. margin-left: 0.75rem;
  297. }
  298. .pattern a {
  299. border: 0;
  300. display: flex;
  301. flex-wrap: nowrap;
  302. align-items: baseline;
  303. font-weight: bold;
  304. }
  305. .pattern a:focus {
  306. outline: none;
  307. }
  308. .pattern a:focus span {
  309. outline:
  310. }
  311. .pattern span {
  312. margin-left: 0.125rem;
  313. }
  314. .pattern [aria-current] {
  315. background-color: #111;
  316. background-image: url(images/arrow_effect.svg);
  317. background-position: right center;
  318. background-size: 125%;
  319. background-repeat: no-repeat;
  320. color: #fff;
  321. padding: 0.5em 1em 0.5em;
  322. }
  323. /* menu button */
  324. #menu-button {
  325. display: none;
  326. width: 100%;
  327. text-align: center;
  328. }
  329. #menu-button:focus {
  330. outline: none;
  331. box-shadow: inset 0 0 0 0.25rem #ccc;
  332. }
  333. /* Tables of contents */
  334. .toc {
  335. font-size: 0.85rem;
  336. border: 1px solid;
  337. padding: 1.5rem;
  338. }
  339. .toc h2 {
  340. font-size: 1rem;
  341. }
  342. .toc ol {
  343. margin-left: 0.75rem;
  344. margin-top: 0.5rem;
  345. }
  346. /* Pattern lists */
  347. .patterns-list {
  348. list-style: none;
  349. margin-left: 0;
  350. }
  351. .patterns-list h2 {
  352. font-size: 1.25rem;
  353. }
  354. .patterns-list li + li {
  355. margin-top: 1rem;
  356. padding-top: 1rem;
  357. border-top: 2px solid;
  358. }
  359. .patterns-list a {
  360. border: 0;
  361. }
  362. /* Tags */
  363. .tags {
  364. margin-top: 0;
  365. font-size: 0.85rem;
  366. }
  367. .tags * {
  368. display: inline;
  369. margin: 0;
  370. }
  371. .tags strong {
  372. margin-right: 0.25rem;
  373. }
  374. .tags li {
  375. white-space: nowrap;
  376. margin: 0 0.25rem 0 0;
  377. }
  378. /* Notes and warnings */
  379. .note {
  380. border-left: 0.5rem solid;
  381. font-size: 0.85rem;
  382. }
  383. .note svg {
  384. height: 2.25rem;
  385. width: auto;
  386. }
  387. .note > div {
  388. margin-left: 0.75rem;
  389. }
  390. .note > div > img:first-child {
  391. height: 1.5rem;
  392. }
  393. .note > div > :first-child + * {
  394. margin-top: 0;
  395. }
  396. .note.warning {
  397. border-left: 0;
  398. background-image: url(images/stripe.svg);
  399. background-size: 0.5rem auto;
  400. background-repeat: repeat-y;
  401. }
  402. .note.warning > div {
  403. margin-left: 1.25rem;
  404. }
  405. /* Tick lists */
  406. .ticks li {
  407. list-style: none;
  408. position: relative;
  409. }
  410. .ticks li::before {
  411. content: '';
  412. display: inline-block;
  413. width: 1rem;
  414. height: 1rem;
  415. margin-right: 0.25rem;
  416. background-image: url(images/icon-tick.svg);
  417. background-size: 100% auto;
  418. position: absolute;
  419. left: -1.25rem;
  420. top: 0.25rem;
  421. }
  422. /* Figures */
  423. figure {
  424. text-align: center;
  425. }
  426. figcaption {
  427. font-size: 0.85rem;
  428. font-style: italic;
  429. margin-top: 0.5rem;
  430. }
  431. main {
  432. display: block;
  433. counter-reset: fig;
  434. min-height: 100vh;
  435. }
  436. figcaption::before {
  437. counter-increment: fig;
  438. content: 'Figure ' counter(fig) ':\0020';
  439. font-weight: bold;
  440. }
  441. /* Code blocks */
  442. pre[class*=language-] {
  443. background: none;
  444. margin-top: 2.25rem;
  445. margin-bottom: 0;
  446. overflow-y: hidden;
  447. overflow-x: auto;
  448. }
  449. pre[class*=language-][data-line] {
  450. padding: 1em 0 0 2.25rem;
  451. }
  452. pre[class*=language-] code * {
  453. margin-top: 0 !important;
  454. }
  455. [data-codeblock-shortcode] {
  456. display: block;
  457. margin-top: -1rem;
  458. }
  459. .token.property,
  460. .token.tag,
  461. .token.boolean,
  462. .token.number,
  463. .token.constant,
  464. .token.symbol,
  465. .token.deleted {
  466. color: #888;
  467. }
  468. .token.selector,
  469. .token.attr-name,
  470. .token.string,
  471. .token.char,
  472. .token.builtin,
  473. .token.inserted {
  474. color: #111;
  475. }
  476. .token.operator,
  477. .token.entity,
  478. .token.url,
  479. .language-css .token.string,
  480. .style .token.string {
  481. color: #333;
  482. background: none;
  483. }
  484. .token.atrule,
  485. .token.attr-value,
  486. .token.keyword {
  487. color: #666;
  488. }
  489. .token.function {
  490. color: #888;
  491. }
  492. .line-numbers code {
  493. padding-left: 3rem;
  494. margin-top: -1rem;
  495. overflow-x: auto;
  496. overflow-y: hidden;
  497. }
  498. .line-numbers {
  499. padding: 1.5rem !important;
  500. }
  501. .line-numbers .line-numbers-rows {
  502. margin-left: 2.25rem;
  503. left: -3.5em;
  504. top: 1.25rem;
  505. color: #111;
  506. border-color: #111;
  507. }
  508. .line-numbers-rows > span:before {
  509. color: inherit;
  510. }
  511. /* file tree lists */
  512. .file-tree {
  513. overflow-x: auto;
  514. }
  515. .file-tree ul {
  516. font-family: Courier, monospace;
  517. margin: 0;
  518. padding: 0;
  519. padding-left: 3rem;
  520. list-style: none;
  521. line-height: 1.25;
  522. position: relative;
  523. overflow: hidden;
  524. }
  525. .file-tree > ul {
  526. padding-left: 0;
  527. }
  528. .file-tree li:not(:last-child) > ul::before {
  529. content: '\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020';
  530. position: absolute;
  531. left: 0;
  532. top: 0;
  533. bottom: 0;
  534. width: 1em;
  535. }
  536. .file-tree li {
  537. background: #fff;
  538. position: relative;
  539. white-space: nowrap;
  540. }
  541. .file-tree li + li {
  542. margin-top: 0;
  543. }
  544. .file-tree li::before {
  545. content: '\251C\2500\2500\0020';
  546. }
  547. .file-tree li:last-child::before {
  548. content: '\2514\2500\2500\0020';
  549. }
  550. .file-tree li::before,
  551. .file-tree ul::before {
  552. white-space: normal;
  553. }
  554. /* Expandable sections */
  555. .expandable-section {
  556. border-top: 1px solid;
  557. border-bottom: 1px solid;
  558. padding: 0.75rem 0;
  559. }
  560. [id^="js-expandable-"] {
  561. margin: 0;
  562. padding: 1.5rem 0 0.75rem;
  563. }
  564. @media screen {
  565. .expandable-section + .expandable-section {
  566. margin-top: 0;
  567. border-top: 0;
  568. }
  569. }
  570. [data-expands] {
  571. text-align: left;
  572. color: #111;
  573. border: 0;
  574. background: none;
  575. width: 100%;
  576. padding: 0;
  577. margin: 0;
  578. display: flex;
  579. align-items: center;
  580. justify-content: space-between;
  581. cursor: pointer;
  582. }
  583. [data-expands] svg {
  584. margin-top: 0;
  585. width: 1em;
  586. height: 1em;
  587. }
  588. [data-expands][aria-expanded="true"] svg .up-strut {
  589. display: none;
  590. }
  591. [data-expands]:focus {
  592. outline: none;
  593. }
  594. p:empty {
  595. display: none;
  596. }
  597. *:not(p) + p:empty + p {
  598. margin-top: 2.25rem;
  599. }
  600. /* WCAG and principles */
  601. .wcag ul li {
  602. font-size: 0.85em;
  603. }
  604. .principles p {
  605. font-size: 0.85rem;
  606. margin-top: 0.75rem;
  607. }
  608. .principles.with-desc > li + li,
  609. .wcag.with-desc > li + li {
  610. border-top: 1px solid;
  611. margin-top: 0.75rem;
  612. padding-top: 0.75rem;
  613. }
  614. /* Site errors */
  615. .site-error {
  616. padding: 1.5rem;
  617. background: #efefef;
  618. }
  619. .site-error strong {
  620. color: #C83737;
  621. }
  622. /* SVG icons */
  623. a svg, button svg, h1 svg {
  624. height: 0.75em;
  625. width: auto;
  626. margin-right: 0.25em;
  627. }
  628. h1 svg, li > svg, h2 a svg {
  629. height: 1em;
  630. vertical-align: middle;
  631. }
  632. h1 svg {
  633. margin-right: 0;
  634. }
  635. .print {
  636. white-space: nowrap;
  637. }
  638. .svg-outer {
  639. width: 0.75em;
  640. display: inline-block;
  641. vertical-align: middle;
  642. }
  643. /* Color palettes */
  644. .colors {
  645. display: flex;
  646. height: 5rem;
  647. margin: -0.25rem;
  648. list-style: none;
  649. flex-wrap: nowrap;
  650. }
  651. .colors li {
  652. margin: 0.25rem;
  653. flex: 1 0 auto;
  654. position: relative;
  655. }
  656. .colors span {
  657. line-height: 1;
  658. background-color: #111;
  659. color: #fff;
  660. font-size: 0.75rem;
  661. padding: 0.25rem;
  662. position: absolute;
  663. bottom: 0.25rem;
  664. right: 0.25rem;
  665. }
  666. /* cross references */
  667. .pattern-link {
  668. font-weight: bold;
  669. }
  670. /* inline demos */
  671. [id^="js-demo-"] {
  672. all: initial;
  673. display: block;
  674. }
  675. /* Section links */
  676. .h2-container {
  677. position: relative;
  678. font-size: 1.66rem;
  679. }
  680. .h2-container a {
  681. position: absolute;
  682. margin-top: 0;
  683. top: 0;
  684. line-height: 1;
  685. left: -1em;
  686. border: 0;
  687. }
  688. /* Single page layout */
  689. .wrapper.print-version .main-and-footer {
  690. margin-left: 0;
  691. }
  692. .wrapper.print-version .intro-and-nav {
  693. position: static;
  694. border: 0;
  695. width: auto;
  696. text-align: center;
  697. display: flex;
  698. align-items: center;
  699. justify-content: center;
  700. }
  701. .wrapper.print-version main {
  702. min-height: 0;
  703. }
  704. .wrapper.print-version .library-desc {
  705. font-size: 1rem;
  706. }
  707. .wrapper.print-version .intro-and-nav > div {
  708. height: auto;
  709. }
  710. .wrapper.print-version #patterns-list {
  711. margin-left: 0;
  712. margin-top: 1.5rem;
  713. display: block;
  714. }
  715. .wrapper.print-version .toc {
  716. font-size: 1rem;
  717. }
  718. .wrapper.print-version .toc h2 {
  719. font-size: 1.66rem;
  720. }
  721. .wrapper.print-version #patterns-list h3 {
  722. font-size: 1.25rem;
  723. }
  724. .pattern-section:not(:last-child) {
  725. padding-bottom: 2.25rem;
  726. border-bottom: 2px solid;
  727. }
  728. .pattern-section h1 {
  729. padding: 0 !important;
  730. }
  731. @media screen and (max-width: 45em) {
  732. [role="banner"] {
  733. position: static;
  734. width: auto;
  735. height: auto;
  736. }
  737. .intro {
  738. text-align: center;
  739. }
  740. .intro-and-nav > div {
  741. padding: 1.5rem;
  742. }
  743. .main-and-footer {
  744. margin: 0;
  745. }
  746. .patterns h3 {
  747. font-size: 1.125rem;
  748. border-top: 4px solid;
  749. border-bottom: 4px solid;
  750. padding: 0.75rem 0;
  751. }
  752. .patterns li:not(.pattern) {
  753. margin-top: 0;
  754. }
  755. .patterns ul ul {
  756. margin: 0;
  757. }
  758. .patterns li {
  759. margin-top: 0;
  760. }
  761. .pattern {
  762. font-size: 1rem;
  763. }
  764. .pattern a {
  765. padding: 0.75rem 0;
  766. }
  767. .pattern [aria-current] {
  768. background-image: none;
  769. }
  770. .pattern + .pattern {
  771. border-top: 1px solid;
  772. margin-top: 0;
  773. }
  774. #menu-button {
  775. display: block;
  776. }
  777. #patterns-list {
  778. display: none;
  779. }
  780. [aria-expanded="true"] + #patterns-list {
  781. display: block;
  782. }
  783. .tested th, .tested td {
  784. display: block;
  785. }
  786. .tested td + td {
  787. border-top: 0;
  788. }
  789. }
  790. @media print {
  791. .wrapper:not(.print-version) .intro-and-nav,
  792. .wrapper:not(.print-version) [role="contentinfo"] {
  793. display: none;
  794. }
  795. .main-and-footer {
  796. margin-left: 0;
  797. }
  798. a {
  799. border: 0;
  800. }
  801. main a::after {
  802. content:" (" attr(href) ")";
  803. word-break: break-word;
  804. }
  805. main nav a::after {
  806. content: '';
  807. }
  808. .cmd {
  809. background: #fff;
  810. color: #111;
  811. }
  812. pre code {
  813. white-space: pre-wrap !important;
  814. }
  815. .line-numbers .line-numbers-rows {
  816. display: none;
  817. }
  818. .line-numbers code {
  819. padding-left: 0;
  820. }
  821. .expandable-section {
  822. border: 0;
  823. padding: 0;
  824. }
  825. .expandable-section + p {
  826. margin-top: 0.75rem;
  827. }
  828. [id^="js-expandable-"] {
  829. display: block;
  830. }
  831. [data-expands] svg {
  832. display: none;
  833. }
  834. main *:not(.with-desc) {
  835. page-break-inside: avoid;
  836. }
  837. .note.warning {
  838. border-left: 0.5rem solid;
  839. background: none;
  840. }
  841. }