styles.css 15 KB

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