styles.css 15 KB

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