|
1 | 1 | .content {
|
2 | 2 | :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
3 |
| - @apply mt-2 text-4xl font-bold tracking-tight text-slate-900 dark:text-slate-100; |
| 3 | + @apply hx-mt-2 hx-text-4xl hx-font-bold hx-tracking-tight hx-text-slate-900 dark:hx-text-slate-100; |
4 | 4 | }
|
5 | 5 | :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
6 |
| - @apply font-semibold tracking-tight text-slate-900 dark:text-slate-100 mt-10 border-b pb-1 text-3xl border-neutral-200/70 contrast-more:border-neutral-400 dark:border-primary-100/10 contrast-more:dark:border-neutral-400; |
| 6 | + @apply hx-font-semibold hx-tracking-tight hx-text-slate-900 dark:hx-text-slate-100 hx-mt-10 hx-border-b hx-pb-1 hx-text-3xl hx-border-neutral-200/70 contrast-more:hx-border-neutral-400 dark:hx-border-primary-100/10 contrast-more:dark:hx-border-neutral-400; |
7 | 7 | }
|
8 | 8 | :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
9 |
| - @apply font-semibold tracking-tight text-slate-900 dark:text-slate-100 mt-8 text-2xl; |
| 9 | + @apply hx-font-semibold hx-tracking-tight hx-text-slate-900 dark:hx-text-slate-100 hx-mt-8 hx-text-2xl; |
10 | 10 | }
|
11 | 11 | :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
12 |
| - @apply font-semibold tracking-tight text-slate-900 dark:text-slate-100 mt-8 text-xl; |
| 12 | + @apply hx-font-semibold hx-tracking-tight hx-text-slate-900 dark:hx-text-slate-100 hx-mt-8 hx-text-xl; |
13 | 13 | }
|
14 | 14 | :where(h5):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
15 |
| - @apply font-semibold tracking-tight text-slate-900 dark:text-slate-100 mt-8 text-lg; |
| 15 | + @apply hx-font-semibold hx-tracking-tight hx-text-slate-900 dark:hx-text-slate-100 hx-mt-8 hx-text-lg; |
16 | 16 | }
|
17 | 17 | :where(h6):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
18 |
| - @apply font-semibold tracking-tight text-slate-900 dark:text-slate-100 mt-8 text-base; |
| 18 | + @apply hx-font-semibold hx-tracking-tight hx-text-slate-900 dark:hx-text-slate-100 hx-mt-8 hx-text-base; |
19 | 19 | }
|
20 | 20 | :where(p):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
21 |
| - @apply mt-6 leading-7 first:mt-0; |
| 21 | + @apply hx-mt-6 hx-leading-7 first:hx-mt-0; |
22 | 22 | }
|
23 | 23 | :where(a):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
24 |
| - @apply text-primary-600 underline decoration-from-font [text-underline-position:from-font]; |
| 24 | + @apply hx-text-primary-600 hx-underline hx-decoration-from-font [text-underline-position:from-font]; |
25 | 25 | }
|
26 | 26 | :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
27 |
| - @apply mt-6 border-gray-300 italic text-gray-700 dark:border-gray-700 dark:text-gray-400 first:mt-0 ltr:border-l-2 ltr:pl-6 rtl:border-r-2 rtl:pr-6; |
| 27 | + @apply hx-mt-6 hx-border-gray-300 hx-italic hx-text-gray-700 dark:hx-border-gray-700 dark:hx-text-gray-400 first:hx-mt-0 ltr:hx-border-l-2 ltr:hx-pl-6 rtl:hx-border-r-2 rtl:hx-pr-6; |
28 | 28 | }
|
29 | 29 | :where(pre):not(:where(.code-block pre, [class~=not-prose],[class~=not-prose] *)) {
|
30 |
| - @apply bg-primary-700/5 mb-4 overflow-x-auto rounded-xl font-medium subpixel-antialiased dark:bg-primary-300/10 text-[.9em] contrast-more:border contrast-more:border-primary-900/20 contrast-more:contrast-150 contrast-more:dark:border-primary-100/40 py-4; |
| 30 | + @apply hx-bg-primary-700/5 hx-mb-4 hx-overflow-x-auto hx-rounded-xl hx-font-medium hx-subpixel-antialiased dark:hx-bg-primary-300/10 hx-text-[.9em] contrast-more:hx-border contrast-more:hx-border-primary-900/20 contrast-more:hx-contrast-150 contrast-more:dark:hx-border-primary-100/40 hx-py-4; |
31 | 31 | }
|
32 | 32 | :where(code):not(:where(.code-block code, [class~=not-prose],[class~=not-prose] *)) {
|
33 |
| - @apply border-black border-opacity-[0.04] bg-opacity-[0.03] bg-black break-words rounded-md border py-0.5 px-[.25em] text-[.9em] dark:border-white/10 dark:bg-white/10; |
| 33 | + @apply hx-border-black hx-border-opacity-[0.04] hx-bg-opacity-[0.03] hx-bg-black hx-break-words hx-rounded-md hx-border hx-py-0.5 hx-px-[.25em] hx-text-[.9em] dark:hx-border-white/10 dark:hx-bg-white/10; |
34 | 34 | }
|
35 | 35 | :where(table):not(:where(.code-block table, [class~=not-prose],[class~=not-prose] *)) {
|
36 |
| - @apply block overflow-x-auto mt-6 p-0 first:mt-0; |
| 36 | + @apply hx-block hx-overflow-x-auto hx-mt-6 hx-p-0 first:hx-mt-0; |
37 | 37 |
|
38 | 38 | tr {
|
39 |
| - @apply m-0 border-t border-gray-300 p-0 dark:border-gray-600 even:bg-gray-100 even:dark:bg-gray-600/20; |
| 39 | + @apply hx-m-0 hx-border-t hx-border-gray-300 hx-p-0 dark:hx-border-gray-600 even:hx-bg-gray-100 even:dark:hx-bg-gray-600/20; |
40 | 40 | }
|
41 | 41 | th {
|
42 |
| - @apply m-0 border border-gray-300 px-4 py-2 font-semibold dark:border-gray-600; |
| 42 | + @apply hx-m-0 hx-border hx-border-gray-300 hx-px-4 hx-py-2 hx-font-semibold dark:hx-border-gray-600; |
43 | 43 | }
|
44 | 44 | td {
|
45 |
| - @apply m-0 border border-gray-300 px-4 py-2 dark:border-gray-600; |
| 45 | + @apply hx-m-0 hx-border hx-border-gray-300 hx-px-4 hx-py-2 dark:hx-border-gray-600; |
46 | 46 | }
|
47 | 47 | }
|
48 | 48 | :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
49 |
| - @apply mt-6 list-decimal first:mt-0 ltr:ml-6 rtl:mr-6; |
| 49 | + @apply hx-mt-6 hx-list-decimal first:hx-mt-0 ltr:hx-ml-6 rtl:hx-mr-6; |
50 | 50 | li {
|
51 |
| - @apply my-2; |
| 51 | + @apply hx-my-2; |
52 | 52 | }
|
53 | 53 | }
|
54 | 54 | :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
55 |
| - @apply mt-6 list-disc first:mt-0 ltr:ml-6 rtl:mr-6; |
| 55 | + @apply hx-mt-6 hx-list-disc first:hx-mt-0 ltr:hx-ml-6 rtl:hx-mr-6; |
56 | 56 | li {
|
57 |
| - @apply my-2; |
| 57 | + @apply hx-my-2; |
58 | 58 | }
|
59 | 59 | }
|
60 |
| - /* This CSS rule targets the first nested unordered (ul) or ordered (ol) list |
61 |
| - inside the list item (li) of any parent ul or ol. |
| 60 | + /* This CSS rule targets the first nested unordered (ul) or ordered (ol) list |
| 61 | + inside the list item (li) of any parent ul or ol. |
62 | 62 | The rule sets the top margin of the selected list to zero. */
|
63 | 63 | :where(ul, ol) > li > :where(ul, ol):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
64 |
| - @apply mt-0; |
| 64 | + @apply hx-mt-0; |
65 | 65 | }
|
66 | 66 | :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
67 |
| - @apply border-black border-opacity-[0.04] bg-opacity-[0.03] bg-black break-words rounded-md border py-0.5 px-[.25em] text-[.9em] dark:border-white/10 dark:bg-white/10; |
| 67 | + @apply hx-border-black hx-border-opacity-[0.04] hx-bg-opacity-[0.03] hx-bg-black hx-break-words hx-rounded-md hx-border hx-py-0.5 hx-px-[.25em] hx-text-[.9em] dark:hx-border-white/10 dark:hx-bg-white/10; |
68 | 68 | }
|
69 | 69 | :where(pre.mermaid):not(:where(.code-block pre, [class~=not-prose],[class~=not-prose] *)) {
|
70 |
| - @apply bg-transparent rounded-none dark:bg-transparent; |
| 70 | + @apply hx-bg-transparent hx-rounded-none dark:hx-bg-transparent; |
71 | 71 | }
|
72 | 72 | :where(img):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
73 |
| - @apply mx-auto my-4 rounded-md; |
| 73 | + @apply hx-mx-auto hx-my-4 hx-rounded-md; |
74 | 74 | }
|
75 | 75 | :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
76 | 76 | figcaption {
|
77 |
| - @apply text-sm text-gray-500 dark:text-gray-400 mt-2 block text-center; |
| 77 | + @apply hx-text-sm hx-text-gray-500 dark:hx-text-gray-400 hx-mt-2 hx-block hx-text-center; |
78 | 78 | }
|
79 | 79 | }
|
80 | 80 | .footnotes {
|
81 |
| - @apply mt-12 text-sm; |
| 81 | + @apply hx-mt-12 hx-text-sm; |
82 | 82 | }
|
83 | 83 | }
|
84 | 84 |
|
85 | 85 | .subheading-anchor {
|
86 |
| - @apply opacity-0 transition-opacity ltr:ml-1 rtl:mr-1; |
| 86 | + @apply hx-opacity-0 hx-transition-opacity ltr:hx-ml-1 rtl:hx-mr-1; |
87 | 87 |
|
88 | 88 | span:target + &,
|
89 | 89 | :hover > &,
|
90 | 90 | &:focus {
|
91 |
| - @apply opacity-100; |
| 91 | + @apply hx-opacity-100; |
92 | 92 | }
|
93 | 93 |
|
94 | 94 | span + &,
|
95 | 95 | :hover > & {
|
96 |
| - @apply !no-underline; |
| 96 | + @apply !hx-no-underline; |
97 | 97 | }
|
98 | 98 |
|
99 | 99 | &:after {
|
100 |
| - @apply content-['#'] px-1; |
101 |
| - @apply text-gray-300 dark:text-neutral-700; |
| 100 | + @apply hx-content-['#'] hx-px-1; |
| 101 | + @apply hx-text-gray-300 dark:hx-text-neutral-700; |
102 | 102 | span:target + & {
|
103 |
| - @apply text-gray-400; |
104 |
| - @apply dark:text-neutral-500; |
| 103 | + @apply hx-text-gray-400; |
| 104 | + @apply dark:hx-text-neutral-500; |
105 | 105 | }
|
106 | 106 | }
|
107 | 107 | }
|
108 | 108 |
|
109 | 109 | article details > summary {
|
110 | 110 | &::-webkit-details-marker {
|
111 |
| - @apply hidden; |
| 111 | + @apply hx-hidden; |
112 | 112 | }
|
113 | 113 | &::before {
|
114 |
| - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E"); |
| 114 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='hx-h-5 hx-w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E"); |
115 | 115 | height: 1.2em;
|
116 | 116 | width: 1.2em;
|
117 | 117 | vertical-align: -4px;
|
|
0 commit comments