styles.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893
  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. border: 1px solid #111;
  193. }
  194. .tested tr {
  195. display: flex;
  196. flex-flow: row wrap;
  197. }
  198. .tested td, .tested th {
  199. vertical-align: middle;
  200. overflow: hidden;
  201. flex: 1 0 auto;
  202. border: 1px solid #111;
  203. }
  204. .tested th {
  205. width: 100%;
  206. background-color: #111;
  207. color: #fff;
  208. outline-color: #111;
  209. }
  210. .tested img {
  211. max-width: 3rem;
  212. }
  213. .tested span {
  214. display: block;
  215. margin: 0;
  216. }
  217. .tested .additional {
  218. font-size: 0.85rem;
  219. }
  220. caption {
  221. font-size: 1.125rem;
  222. padding-bottom: 0.25rem;
  223. font-style: italic;
  224. }
  225. /* Page structure */
  226. .wrapper {
  227. position: relative;
  228. margin-top: 0;
  229. overflow-x: hidden;
  230. }
  231. .intro-and-nav {
  232. font-size: 0.8rem;
  233. width: 15rem;
  234. height: 100vh;
  235. position: fixed;
  236. top: 0;
  237. left: 0;
  238. border-right: 2px solid;
  239. }
  240. .intro-and-nav > div {
  241. padding: 2.25rem;
  242. display: flex;
  243. flex-direction: column;
  244. height: 100%;
  245. }
  246. .intro {
  247. flex: 1 0 auto;
  248. }
  249. .patterns {
  250. flex: 1 1 auto;
  251. }
  252. .logo {
  253. border: 0;
  254. }
  255. .logo img {
  256. width: 100%;
  257. max-width: 12rem;
  258. }
  259. .library-desc {
  260. margin-top: 0.5rem;
  261. margin-left: auto;
  262. margin-right: auto;
  263. max-width: 25rem;
  264. }
  265. .main-and-footer {
  266. margin-left: 15rem;
  267. }
  268. .main-and-footer > div {
  269. max-width: 40rem;
  270. margin: 0 auto;
  271. padding: 2.25rem;
  272. }
  273. [role="contentinfo"] {
  274. font-size: 0.85rem;
  275. margin-top: 4rem;
  276. text-align: center;
  277. }
  278. /* Patterns navigation */
  279. .patterns {
  280. overflow: auto;
  281. margin-top: 1.5rem;
  282. }
  283. .patterns * {
  284. margin-top: 0;
  285. }
  286. .patterns h3 {
  287. font-size: 1rem;
  288. }
  289. .patterns h3 + ul {
  290. margin-top: 0.75rem;
  291. }
  292. .patterns li {
  293. line-height: 1.125;
  294. list-style: none;
  295. }
  296. .patterns li + li {
  297. margin-top: 0.75rem;
  298. }
  299. .patterns ul ul {
  300. margin-left: 0.75rem;
  301. }
  302. .pattern a {
  303. border: 0;
  304. display: flex;
  305. flex-wrap: nowrap;
  306. align-items: baseline;
  307. font-weight: bold;
  308. }
  309. .pattern a:focus {
  310. outline: none;
  311. }
  312. .pattern span {
  313. margin-left: 0.125rem;
  314. }
  315. .pattern [aria-current] {
  316. background-color: #111;
  317. background-image: url(images/arrow_effect.svg);
  318. background-position: 98% center;
  319. background-size: 125%;
  320. background-repeat: no-repeat;
  321. color: #fff;
  322. padding: 0.5em 1em 0.5em;
  323. }
  324. /* menu button */
  325. #menu-button {
  326. display: none;
  327. width: 100%;
  328. text-align: center;
  329. }
  330. #menu-button:focus {
  331. outline: none;
  332. box-shadow: inset 0 0 0 0.25rem #ccc;
  333. }
  334. /* Tables of contents */
  335. .toc {
  336. font-size: 0.85rem;
  337. border: 1px solid;
  338. padding: 1.5rem;
  339. }
  340. .toc h2 {
  341. font-size: 1rem;
  342. }
  343. .toc ol {
  344. margin-left: 0.75rem;
  345. margin-top: 0.5rem;
  346. }
  347. /* Pattern lists */
  348. .patterns-list {
  349. list-style: none;
  350. margin-left: 0;
  351. }
  352. .patterns-list h2 {
  353. font-size: 1.25rem;
  354. }
  355. .patterns-list li + li {
  356. margin-top: 1rem;
  357. padding-top: 1rem;
  358. border-top: 2px solid;
  359. }
  360. .patterns-list a {
  361. border: 0;
  362. }
  363. /* Tags */
  364. .tags {
  365. margin-top: 0;
  366. font-size: 0.85rem;
  367. }
  368. .tags * {
  369. display: inline;
  370. margin: 0;
  371. }
  372. .tags strong {
  373. margin-right: 0.25rem;
  374. }
  375. .tags li {
  376. white-space: nowrap;
  377. margin: 0 0.25rem 0 0;
  378. }
  379. /* Notes and warnings */
  380. .note {
  381. border-left: 0.5rem solid;
  382. font-size: 0.85rem;
  383. }
  384. .note svg {
  385. height: 2.25rem;
  386. width: 2.25rem;
  387. }
  388. .note > div {
  389. margin-left: 0.75rem;
  390. }
  391. .note > div > img:first-child {
  392. height: 1.5rem;
  393. }
  394. .note > div >:first-child + * {
  395. margin-top: 0;
  396. }
  397. .note.warning {
  398. border-left: 0;
  399. background-image: url(images/stripe.svg);
  400. background-size: 0.5rem auto;
  401. background-repeat: repeat-y;
  402. }
  403. .note.warning > div {
  404. margin-left: 1.25rem;
  405. }
  406. /* Tick lists */
  407. .ticks li {
  408. list-style: none;
  409. position: relative;
  410. }
  411. .ticks li::before {
  412. content: '';
  413. display: inline-block;
  414. width: 1rem;
  415. height: 1rem;
  416. margin-right: 0.25rem;
  417. background-image: url(images/icon-tick.svg);
  418. background-size: 100% auto;
  419. position: absolute;
  420. left: -1.25rem;
  421. top: 0.25rem;
  422. }
  423. /* Figures */
  424. figure {
  425. text-align: center;
  426. }
  427. figcaption {
  428. font-size: 0.85rem;
  429. font-style: italic;
  430. margin-top: 0.5rem;
  431. }
  432. main {
  433. display: block;
  434. counter-reset: fig;
  435. min-height: 100vh;
  436. }
  437. figcaption::before {
  438. counter-increment: fig;
  439. content: 'Figure ' counter(fig) ':\0020';
  440. font-weight: bold;
  441. }
  442. /* Code blocks */
  443. pre[class*=language-] {
  444. background: none;
  445. margin-top: 2.25rem;
  446. margin-bottom: 0;
  447. overflow-y: hidden;
  448. overflow-x: auto;
  449. }
  450. code[class*="language-"], pre[class*="language-"] {
  451. text-shadow: none;
  452. }
  453. pre[class*=language-][data-line] {
  454. padding: 1em 0 0 2.25rem;
  455. }
  456. pre[class*=language-] code * {
  457. margin-top: 0 !important;
  458. }
  459. [data-codeblock-shortcode] {
  460. display: inline-block;
  461. margin-top: -1rem;
  462. }
  463. .token.property,
  464. .token.tag,
  465. .token.boolean,
  466. .token.number,
  467. .token.constant,
  468. .token.symbol,
  469. .token.deleted {
  470. color: #888;
  471. }
  472. .token.selector,
  473. .token.attr-name,
  474. .token.string,
  475. .token.char,
  476. .token.builtin,
  477. .token.inserted,
  478. .token.important {
  479. color: #111;
  480. }
  481. .token.operator,
  482. .token.entity,
  483. .token.url,
  484. .language-css .token.string,
  485. .style .token.string {
  486. color: #333;
  487. background: none;
  488. }
  489. .token.atrule,
  490. .token.attr-value,
  491. .token.keyword {
  492. color: #666;
  493. }
  494. .token.function {
  495. color: #888;
  496. }
  497. .line-numbers code {
  498. padding-left: 3rem;
  499. margin-top: -1rem;
  500. overflow-x: visible;
  501. overflow-y: hidden;
  502. }
  503. .line-numbers {
  504. padding: 1.5rem !important;
  505. overflow-x: auto;
  506. }
  507. .line-numbers .line-numbers-rows {
  508. margin-left: 2.25rem;
  509. left: -3.5em;
  510. top: 1.25rem;
  511. color: #111;
  512. border-color: #111;
  513. }
  514. .line-numbers-rows > span:before {
  515. color: inherit;
  516. }
  517. /* file tree lists */
  518. .file-tree {
  519. overflow-x: auto;
  520. }
  521. .file-tree ul {
  522. font-family: Courier, monospace;
  523. margin: 0;
  524. padding: 0;
  525. padding-left: 3rem;
  526. list-style: none;
  527. line-height: 1.25;
  528. position: relative;
  529. }
  530. .file-tree > ul {
  531. padding-left: 0;
  532. overflow-x: auto;
  533. overflow-y: hidden;
  534. }
  535. .file-tree li {
  536. background: #fff;
  537. position: relative;
  538. white-space: nowrap;
  539. }
  540. .file-tree li + li {
  541. margin-top: 0;
  542. }
  543. .file-tree li:not(:last-child) > ul::before {
  544. 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';
  545. position: absolute;
  546. left: 0;
  547. top: 0;
  548. bottom: 0;
  549. width: 1em;
  550. white-space: normal;
  551. }
  552. .file-tree li::before {
  553. content: '\251C\2500\2500\0020';
  554. }
  555. .file-tree li:last-child::before {
  556. content: '\2514\2500\2500\0020';
  557. }
  558. /* Expandable sections */
  559. .expandable-section {
  560. border-top: 1px solid;
  561. border-bottom: 1px solid;
  562. padding: 0.75rem 0;
  563. }
  564. [id^="js-expandable-"] {
  565. margin: 0;
  566. padding: 1.5rem 0 0.75rem;
  567. }
  568. @media screen {
  569. .expandable-section + .expandable-section {
  570. margin-top: 0;
  571. border-top: 0;
  572. }
  573. }
  574. [data-expands] {
  575. text-align: left;
  576. color: #111;
  577. border: 0;
  578. background: none;
  579. width: 100%;
  580. padding: 0;
  581. margin: 0;
  582. display: flex;
  583. align-items: center;
  584. justify-content: space-between;
  585. cursor: pointer;
  586. }
  587. [data-expands] svg {
  588. margin-top: 0;
  589. width: 1em;
  590. height: 1em;
  591. }
  592. [data-expands][aria-expanded="true"] svg .up-strut {
  593. display: none;
  594. }
  595. [data-expands]:focus {
  596. outline: none;
  597. }
  598. p:empty {
  599. display: none;
  600. }
  601. *:not(p) + p:empty + p {
  602. margin-top: 2.25rem;
  603. }
  604. /* WCAG and principles */
  605. .wcag li {
  606. font-size: 0.85em;
  607. }
  608. .principles p {
  609. font-size: 0.85rem;
  610. margin-top: 0.75rem;
  611. }
  612. .principles.with-desc > li + li,
  613. .wcag.with-desc > li + li {
  614. border-top: 1px solid;
  615. margin-top: 0.75rem;
  616. padding-top: 0.75rem;
  617. }
  618. /* Site errors */
  619. .site-error {
  620. padding: 1.5rem;
  621. background: #efefef;
  622. }
  623. .site-error strong {
  624. color: #C83737;
  625. }
  626. /* SVG icons */
  627. a svg,
  628. button svg,
  629. h1 svg,
  630. th svg {
  631. height: 0.75em;
  632. width: auto;
  633. margin-right: 0.25em;
  634. }
  635. h1 svg,
  636. li > svg,
  637. h2 a svg {
  638. height: 1em;
  639. width: auto;
  640. vertical-align: middle;
  641. }
  642. h1 svg {
  643. margin-right: 0;
  644. }
  645. .print {
  646. white-space: nowrap;
  647. font-style: normal;
  648. }
  649. .svg-outer {
  650. width: 0.75em;
  651. display: inline-block;
  652. vertical-align: middle;
  653. }
  654. /* Color palettes */
  655. .colors {
  656. display: flex;
  657. height: 5rem;
  658. margin: -0.25rem;
  659. list-style: none;
  660. flex-wrap: nowrap;
  661. }
  662. .colors li {
  663. margin: 0.25rem;
  664. flex: 1 0 auto;
  665. position: relative;
  666. }
  667. .colors span {
  668. line-height: 1;
  669. background-color: #111;
  670. color: #fff;
  671. font-size: 0.75rem;
  672. padding: 0.25rem;
  673. position: absolute;
  674. bottom: 0.25rem;
  675. right: 0.25rem;
  676. }
  677. /* cross references */
  678. .pattern-link {
  679. font-weight: bold;
  680. }
  681. /* inline demos */
  682. .demo-inner {
  683. border-top: 1px solid;
  684. border-bottom: 1px solid;
  685. padding: 1.5rem 0 0;
  686. text-align: right;
  687. }
  688. [id^="js-demo-"] {
  689. all: initial;
  690. display: block;
  691. }
  692. /* Section links */
  693. .h2-container {
  694. position: relative;
  695. font-size: 1.66rem;
  696. }
  697. .h2-container a {
  698. position: absolute;
  699. margin-top: 0;
  700. top: 0;
  701. line-height: 1;
  702. left: -1em;
  703. border: 0;
  704. }
  705. /* Single page layout */
  706. .wrapper.print-version .main-and-footer {
  707. margin-left: 0;
  708. }
  709. .wrapper.print-version .intro-and-nav {
  710. position: static;
  711. border: 0;
  712. width: auto;
  713. text-align: center;
  714. display: flex;
  715. align-items: center;
  716. justify-content: center;
  717. }
  718. .wrapper.print-version main {
  719. min-height: 0;
  720. }
  721. .wrapper.print-version .library-desc {
  722. font-size: 1rem;
  723. }
  724. .wrapper.print-version .intro-and-nav > div {
  725. height: auto;
  726. }
  727. .wrapper.print-version #patterns-list {
  728. margin-left: 0;
  729. margin-top: 1.5rem;
  730. display: block;
  731. }
  732. .wrapper.print-version .toc {
  733. font-size: 1rem;
  734. }
  735. .wrapper.print-version .toc h2 {
  736. font-size: 1.66rem;
  737. }
  738. .wrapper.print-version #patterns-list h3 {
  739. font-size: 1.25rem;
  740. }
  741. .wrapper.print-version .patterns {
  742. margin-top: 0;
  743. }
  744. .pattern-section:not(:last-child) {
  745. padding-bottom: 2.25rem;
  746. border-bottom: 2px solid;
  747. }
  748. .pattern-section h1 {
  749. padding: 0 !important;
  750. }
  751. @media screen and (max-width: 45em) {
  752. [role="banner"] {
  753. position: static;
  754. width: auto;
  755. height: auto;
  756. }
  757. .intro {
  758. text-align: center;
  759. }
  760. .intro-and-nav > div {
  761. padding: 1.5rem;
  762. }
  763. .main-and-footer {
  764. margin: 0;
  765. }
  766. .patterns h3 {
  767. font-size: 1.125rem;
  768. border-top: 4px solid;
  769. border-bottom: 4px solid;
  770. padding: 0.75rem 0;
  771. }
  772. .patterns li:not(.pattern) {
  773. margin-top: 0;
  774. }
  775. .patterns ul ul {
  776. margin: 0;
  777. }
  778. .patterns li {
  779. margin-top: 0;
  780. }
  781. .pattern {
  782. font-size: 1rem;
  783. }
  784. .pattern a {
  785. padding: 0.75rem 0;
  786. }
  787. .pattern [aria-current] {
  788. background-image: none;
  789. }
  790. .pattern + .pattern {
  791. border-top: 1px solid;
  792. margin-top: 0;
  793. }
  794. #menu-button {
  795. display: block;
  796. }
  797. #patterns-list {
  798. display: none;
  799. }
  800. .toc-link {
  801. display: none;
  802. }
  803. [aria-expanded="true"] + #patterns-list {
  804. display: block;
  805. }
  806. code {
  807. word-break: break-all;
  808. }
  809. }
  810. @media print {
  811. .wrapper:not(.print-version) .intro-and-nav,
  812. .wrapper:not(.print-version) [role="contentinfo"] {
  813. display: none;
  814. }
  815. .main-and-footer {
  816. margin-left: 0;
  817. }
  818. a {
  819. border: 0;
  820. }
  821. main a::after {
  822. content: " (" attr(href) ")";
  823. word-break: break-word;
  824. }
  825. main nav a::after {
  826. content: '';
  827. }
  828. .cmd code {
  829. background: #fff;
  830. color: #111;
  831. }
  832. pre code {
  833. white-space: pre-wrap !important;
  834. }
  835. .line-numbers .line-numbers-rows {
  836. display: none;
  837. }
  838. .line-numbers code {
  839. padding-left: 0;
  840. }
  841. .expandable-section {
  842. border: 0;
  843. padding: 0;
  844. }
  845. .expandable-section + p {
  846. margin-top: 0.75rem;
  847. }
  848. [id^="js-expandable-"] {
  849. display: block;
  850. }
  851. [data-expands] svg {
  852. display: none;
  853. }
  854. main *:not(.with-desc) {
  855. page-break-inside: avoid;
  856. }
  857. .note.warning {
  858. border-left: 0.5rem solid;
  859. background: none;
  860. }
  861. }
  862. @media (-ms-high-contrast: active) {
  863. img[src*=".svg"] {
  864. background: #fff;
  865. padding: 0.5rem;
  866. }
  867. .ticks li::before {
  868. content: '✓';
  869. background: none;
  870. width: auto;
  871. top: 0;
  872. }
  873. }