styles.css 14 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052
  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. }
  524. .file-tree > ul {
  525. padding-left: 0;
  526. overflow-x: auto;
  527. }
  528. .file-tree li {
  529. background: #fff;
  530. position: relative;
  531. white-space: nowrap;
  532. }
  533. .file-tree li + li {
  534. margin-top: 0;
  535. }
  536. .file-tree li:not(:last-child) > ul::before {
  537. 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';
  538. position: absolute;
  539. left: 0;
  540. top: 0;
  541. bottom: 0;
  542. width: 1em;
  543. white-space: normal;
  544. }
  545. .file-tree li::before {
  546. content: '\251C\2500\2500\0020';
  547. }
  548. .file-tree li:last-child::before {
  549. content: '\2514\2500\2500\0020';
  550. }
  551. /* Expandable sections */
  552. .expandable-section {
  553. border-top: 1px solid;
  554. border-bottom: 1px solid;
  555. padding: 0.75rem 0;
  556. }
  557. [id^="js-expandable-"] {
  558. margin: 0;
  559. padding: 1.5rem 0 0.75rem;
  560. }
  561. @media screen {
  562. .expandable-section + .expandable-section {
  563. margin-top: 0;
  564. border-top: 0;
  565. }
  566. }
  567. [data-expands] {
  568. text-align: left;
  569. color: #111;
  570. border: 0;
  571. background: none;
  572. width: 100%;
  573. padding: 0;
  574. margin: 0;
  575. display: flex;
  576. align-items: center;
  577. justify-content: space-between;
  578. cursor: pointer;
  579. }
  580. [data-expands] svg {
  581. margin-top: 0;
  582. width: 1em;
  583. height: 1em;
  584. }
  585. [data-expands][aria-expanded="true"] svg .up-strut {
  586. display: none;
  587. }
  588. [data-expands]:focus {
  589. outline: none;
  590. }
  591. p:empty {
  592. display: none;
  593. }
  594. *:not(p) + p:empty + p {
  595. margin-top: 2.25rem;
  596. }
  597. /* WCAG and principles */
  598. .wcag ul li {
  599. font-size: 0.85em;
  600. }
  601. .principles p {
  602. font-size: 0.85rem;
  603. margin-top: 0.75rem;
  604. }
  605. .principles.with-desc > li + li,
  606. .wcag.with-desc > li + li {
  607. border-top: 1px solid;
  608. margin-top: 0.75rem;
  609. padding-top: 0.75rem;
  610. }
  611. /* Site errors */
  612. .site-error {
  613. padding: 1.5rem;
  614. background: #efefef;
  615. }
  616. .site-error strong {
  617. color: #C83737;
  618. }
  619. /* SVG icons */
  620. a svg, button svg, h1 svg {
  621. height: 0.75em;
  622. width: auto;
  623. margin-right: 0.25em;
  624. }
  625. h1 svg, li > svg, h2 a svg {
  626. height: 1em;
  627. vertical-align: middle;
  628. }
  629. h1 svg {
  630. margin-right: 0;
  631. }
  632. .print {
  633. white-space: nowrap;
  634. }
  635. .svg-outer {
  636. width: 0.75em;
  637. display: inline-block;
  638. vertical-align: middle;
  639. }
  640. /* Color palettes */
  641. .colors {
  642. display: flex;
  643. height: 5rem;
  644. margin: -0.25rem;
  645. list-style: none;
  646. flex-wrap: nowrap;
  647. }
  648. .colors li {
  649. margin: 0.25rem;
  650. flex: 1 0 auto;
  651. position: relative;
  652. }
  653. .colors span {
  654. line-height: 1;
  655. background-color: #111;
  656. color: #fff;
  657. font-size: 0.75rem;
  658. padding: 0.25rem;
  659. position: absolute;
  660. bottom: 0.25rem;
  661. right: 0.25rem;
  662. }
  663. /* cross references */
  664. .pattern-link {
  665. font-weight: bold;
  666. }
  667. /* inline demos */
  668. [id^="js-demo-"] {
  669. all: initial;
  670. display: block;
  671. }
  672. /* Section links */
  673. .h2-container {
  674. position: relative;
  675. font-size: 1.66rem;
  676. }
  677. .h2-container a {
  678. position: absolute;
  679. margin-top: 0;
  680. top: 0;
  681. line-height: 1;
  682. left: -1em;
  683. border: 0;
  684. }
  685. /* Single page layout */
  686. .wrapper.print-version .main-and-footer {
  687. margin-left: 0;
  688. }
  689. .wrapper.print-version .intro-and-nav {
  690. position: static;
  691. border: 0;
  692. width: auto;
  693. text-align: center;
  694. display: flex;
  695. align-items: center;
  696. justify-content: center;
  697. }
  698. .wrapper.print-version main {
  699. min-height: 0;
  700. }
  701. .wrapper.print-version .library-desc {
  702. font-size: 1rem;
  703. }
  704. .wrapper.print-version .intro-and-nav > div {
  705. height: auto;
  706. }
  707. .wrapper.print-version #patterns-list {
  708. margin-left: 0;
  709. margin-top: 1.5rem;
  710. display: block;
  711. }
  712. .wrapper.print-version .toc {
  713. font-size: 1rem;
  714. }
  715. .wrapper.print-version .toc h2 {
  716. font-size: 1.66rem;
  717. }
  718. .wrapper.print-version #patterns-list h3 {
  719. font-size: 1.25rem;
  720. }
  721. .pattern-section:not(:last-child) {
  722. padding-bottom: 2.25rem;
  723. border-bottom: 2px solid;
  724. }
  725. .pattern-section h1 {
  726. padding: 0 !important;
  727. }
  728. @media screen and (max-width: 45em) {
  729. [role="banner"] {
  730. position: static;
  731. width: auto;
  732. height: auto;
  733. }
  734. .intro {
  735. text-align: center;
  736. }
  737. .intro-and-nav > div {
  738. padding: 1.5rem;
  739. }
  740. .main-and-footer {
  741. margin: 0;
  742. }
  743. .patterns h3 {
  744. font-size: 1.125rem;
  745. border-top: 4px solid;
  746. border-bottom: 4px solid;
  747. padding: 0.75rem 0;
  748. }
  749. .patterns li:not(.pattern) {
  750. margin-top: 0;
  751. }
  752. .patterns ul ul {
  753. margin: 0;
  754. }
  755. .patterns li {
  756. margin-top: 0;
  757. }
  758. .pattern {
  759. font-size: 1rem;
  760. }
  761. .pattern a {
  762. padding: 0.75rem 0;
  763. }
  764. .pattern [aria-current] {
  765. background-image: none;
  766. }
  767. .pattern + .pattern {
  768. border-top: 1px solid;
  769. margin-top: 0;
  770. }
  771. #menu-button {
  772. display: block;
  773. }
  774. #patterns-list {
  775. display: none;
  776. }
  777. [aria-expanded="true"] + #patterns-list {
  778. display: block;
  779. }
  780. .tested th, .tested td {
  781. display: block;
  782. }
  783. .tested td + td {
  784. border-top: 0;
  785. }
  786. }
  787. @media print {
  788. .wrapper:not(.print-version) .intro-and-nav,
  789. .wrapper:not(.print-version) [role="contentinfo"] {
  790. display: none;
  791. }
  792. .main-and-footer {
  793. margin-left: 0;
  794. }
  795. a {
  796. border: 0;
  797. }
  798. main a::after {
  799. content:" (" attr(href) ")";
  800. word-break: break-word;
  801. }
  802. main nav a::after {
  803. content: '';
  804. }
  805. .cmd {
  806. background: #fff;
  807. color: #111;
  808. }
  809. pre code {
  810. white-space: pre-wrap !important;
  811. }
  812. .line-numbers .line-numbers-rows {
  813. display: none;
  814. }
  815. .line-numbers code {
  816. padding-left: 0;
  817. }
  818. .expandable-section {
  819. border: 0;
  820. padding: 0;
  821. }
  822. .expandable-section + p {
  823. margin-top: 0.75rem;
  824. }
  825. [id^="js-expandable-"] {
  826. display: block;
  827. }
  828. [data-expands] svg {
  829. display: none;
  830. }
  831. main *:not(.with-desc) {
  832. page-break-inside: avoid;
  833. }
  834. .note.warning {
  835. border-left: 0.5rem solid;
  836. background: none;
  837. }
  838. }