fix
This commit is contained in:
parent
c419a82561
commit
e31a7fe09e
@ -554,6 +554,511 @@ video {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prose {
|
||||||
|
color: var(--tw-prose-body);
|
||||||
|
max-width: 65ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.25em;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-lead);
|
||||||
|
font-size: 1.25em;
|
||||||
|
line-height: 1.6;
|
||||||
|
margin-top: 1.2em;
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-links);
|
||||||
|
text-decoration: underline;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-bold);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: decimal;
|
||||||
|
margin-top: 1.25em;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
padding-inline-start: 1.625em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: upper-alpha;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: lower-alpha;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: upper-alpha;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: lower-alpha;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: upper-roman;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: lower-roman;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: upper-roman;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: lower-roman;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
list-style-type: disc;
|
||||||
|
margin-top: 1.25em;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
padding-inline-start: 1.625em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
|
||||||
|
font-weight: 400;
|
||||||
|
color: var(--tw-prose-counters);
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
|
||||||
|
color: var(--tw-prose-bullets);
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-headings);
|
||||||
|
font-weight: 600;
|
||||||
|
margin-top: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
border-color: var(--tw-prose-hr);
|
||||||
|
border-top-width: 1px;
|
||||||
|
margin-top: 3em;
|
||||||
|
margin-bottom: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: italic;
|
||||||
|
color: var(--tw-prose-quotes);
|
||||||
|
border-inline-start-width: 0.25rem;
|
||||||
|
border-inline-start-color: var(--tw-prose-quote-borders);
|
||||||
|
quotes: "\201C""\201D""\2018""\2019";
|
||||||
|
margin-top: 1.6em;
|
||||||
|
margin-bottom: 1.6em;
|
||||||
|
padding-inline-start: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
||||||
|
content: open-quote;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
||||||
|
content: close-quote;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-headings);
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 2.25em;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0.8888889em;
|
||||||
|
line-height: 1.1111111;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-weight: 900;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-headings);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.5em;
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
line-height: 1.3333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-weight: 800;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-headings);
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 1.25em;
|
||||||
|
margin-top: 1.6em;
|
||||||
|
margin-bottom: 0.6em;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-weight: 700;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-headings);
|
||||||
|
font-weight: 600;
|
||||||
|
margin-top: 1.5em;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-weight: 700;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
display: block;
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: inherit;
|
||||||
|
color: var(--tw-prose-kbd);
|
||||||
|
box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
|
||||||
|
font-size: 0.875em;
|
||||||
|
border-radius: 0.3125rem;
|
||||||
|
padding-top: 0.1875em;
|
||||||
|
padding-inline-end: 0.375em;
|
||||||
|
padding-bottom: 0.1875em;
|
||||||
|
padding-inline-start: 0.375em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-code);
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 0.875em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
||||||
|
content: "`";
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
||||||
|
content: "`";
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
font-size: 0.875em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-pre-code);
|
||||||
|
background-color: var(--tw-prose-pre-bg);
|
||||||
|
overflow-x: auto;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 0.875em;
|
||||||
|
line-height: 1.7142857;
|
||||||
|
margin-top: 1.7142857em;
|
||||||
|
margin-bottom: 1.7142857em;
|
||||||
|
border-radius: 0.375rem;
|
||||||
|
padding-top: 0.8571429em;
|
||||||
|
padding-inline-end: 1.1428571em;
|
||||||
|
padding-bottom: 0.8571429em;
|
||||||
|
padding-inline-start: 1.1428571em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
background-color: transparent;
|
||||||
|
border-width: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-weight: inherit;
|
||||||
|
color: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
font-family: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
width: 100%;
|
||||||
|
table-layout: auto;
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
font-size: 0.875em;
|
||||||
|
line-height: 1.7142857;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-color: var(--tw-prose-th-borders);
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-headings);
|
||||||
|
font-weight: 600;
|
||||||
|
vertical-align: bottom;
|
||||||
|
padding-inline-end: 0.5714286em;
|
||||||
|
padding-bottom: 0.5714286em;
|
||||||
|
padding-inline-start: 0.5714286em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-color: var(--tw-prose-td-borders);
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
border-bottom-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
border-top-width: 1px;
|
||||||
|
border-top-color: var(--tw-prose-th-borders);
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
text-align: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
color: var(--tw-prose-captions);
|
||||||
|
font-size: 0.875em;
|
||||||
|
line-height: 1.4285714;
|
||||||
|
margin-top: 0.8571429em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose {
|
||||||
|
--tw-prose-body: #374151;
|
||||||
|
--tw-prose-headings: #111827;
|
||||||
|
--tw-prose-lead: #4b5563;
|
||||||
|
--tw-prose-links: #111827;
|
||||||
|
--tw-prose-bold: #111827;
|
||||||
|
--tw-prose-counters: #6b7280;
|
||||||
|
--tw-prose-bullets: #d1d5db;
|
||||||
|
--tw-prose-hr: #e5e7eb;
|
||||||
|
--tw-prose-quotes: #111827;
|
||||||
|
--tw-prose-quote-borders: #e5e7eb;
|
||||||
|
--tw-prose-captions: #6b7280;
|
||||||
|
--tw-prose-kbd: #111827;
|
||||||
|
--tw-prose-kbd-shadows: 17 24 39;
|
||||||
|
--tw-prose-code: #111827;
|
||||||
|
--tw-prose-pre-code: #e5e7eb;
|
||||||
|
--tw-prose-pre-bg: #1f2937;
|
||||||
|
--tw-prose-th-borders: #d1d5db;
|
||||||
|
--tw-prose-td-borders: #e5e7eb;
|
||||||
|
--tw-prose-invert-body: #d1d5db;
|
||||||
|
--tw-prose-invert-headings: #fff;
|
||||||
|
--tw-prose-invert-lead: #9ca3af;
|
||||||
|
--tw-prose-invert-links: #fff;
|
||||||
|
--tw-prose-invert-bold: #fff;
|
||||||
|
--tw-prose-invert-counters: #9ca3af;
|
||||||
|
--tw-prose-invert-bullets: #4b5563;
|
||||||
|
--tw-prose-invert-hr: #374151;
|
||||||
|
--tw-prose-invert-quotes: #f3f4f6;
|
||||||
|
--tw-prose-invert-quote-borders: #374151;
|
||||||
|
--tw-prose-invert-captions: #9ca3af;
|
||||||
|
--tw-prose-invert-kbd: #fff;
|
||||||
|
--tw-prose-invert-kbd-shadows: 255 255 255;
|
||||||
|
--tw-prose-invert-code: #fff;
|
||||||
|
--tw-prose-invert-pre-code: #d1d5db;
|
||||||
|
--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
|
||||||
|
--tw-prose-invert-th-borders: #4b5563;
|
||||||
|
--tw-prose-invert-td-borders: #374151;
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 1.75;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0.375em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0.375em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.75em;
|
||||||
|
margin-bottom: 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.75em;
|
||||||
|
margin-bottom: 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.25em;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
padding-inline-start: 1.625em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-end: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-top: 0.5714286em;
|
||||||
|
padding-inline-end: 0.5714286em;
|
||||||
|
padding-bottom: 0.5714286em;
|
||||||
|
padding-inline-start: 0.5714286em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-end: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.static {
|
.static {
|
||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
@ -696,10 +1201,6 @@ video {
|
|||||||
max-width: 56rem;
|
max-width: 56rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.max-w-prose {
|
|
||||||
max-width: 65ch;
|
|
||||||
}
|
|
||||||
|
|
||||||
.max-w-sm {
|
.max-w-sm {
|
||||||
max-width: 24rem;
|
max-width: 24rem;
|
||||||
}
|
}
|
||||||
@ -1094,6 +1595,255 @@ video {
|
|||||||
transition-duration: 150ms;
|
transition-duration: 150ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.lg\:prose-xl {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
line-height: 1.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 1.2em;
|
||||||
|
line-height: 1.5;
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.6em;
|
||||||
|
margin-bottom: 1.6em;
|
||||||
|
padding-inline-start: 1.0666667em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 2.8em;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0.8571429em;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 1.8em;
|
||||||
|
margin-top: 1.5555556em;
|
||||||
|
margin-bottom: 0.8888889em;
|
||||||
|
line-height: 1.1111111;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 1.5em;
|
||||||
|
margin-top: 1.6em;
|
||||||
|
margin-bottom: 0.6666667em;
|
||||||
|
line-height: 1.3333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.8em;
|
||||||
|
margin-bottom: 0.6em;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 0.9em;
|
||||||
|
border-radius: 0.3125rem;
|
||||||
|
padding-top: 0.25em;
|
||||||
|
padding-inline-end: 0.4em;
|
||||||
|
padding-bottom: 0.25em;
|
||||||
|
padding-inline-start: 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 0.8611111em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 0.9em;
|
||||||
|
line-height: 1.7777778;
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
padding-top: 1.1111111em;
|
||||||
|
padding-inline-end: 1.3333333em;
|
||||||
|
padding-bottom: 1.1111111em;
|
||||||
|
padding-inline-start: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
padding-inline-start: 1.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
padding-inline-start: 1.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.6em;
|
||||||
|
margin-bottom: 0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(.lg\:prose-xl > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.8em;
|
||||||
|
margin-bottom: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(.lg\:prose-xl > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(.lg\:prose-xl > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(.lg\:prose-xl > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(.lg\:prose-xl > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.8em;
|
||||||
|
margin-bottom: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.6em;
|
||||||
|
padding-inline-start: 1.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2.8em;
|
||||||
|
margin-bottom: 2.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 0.9em;
|
||||||
|
line-height: 1.5555556;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-end: 0.6666667em;
|
||||||
|
padding-bottom: 0.8888889em;
|
||||||
|
padding-inline-start: 0.6666667em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-end: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-top: 0.8888889em;
|
||||||
|
padding-inline-end: 0.6666667em;
|
||||||
|
padding-bottom: 0.8888889em;
|
||||||
|
padding-inline-start: 0.6666667em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-start: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
padding-inline-end: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
font-size: 0.9em;
|
||||||
|
line-height: 1.5555556;
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(.lg\:prose-xl > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg\:prose-xl :where(.lg\:prose-xl > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.hover\:border-gray-400:hover {
|
.hover\:border-gray-400:hover {
|
||||||
--tw-border-opacity: 1;
|
--tw-border-opacity: 1;
|
||||||
border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
|
border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
|
||||||
@ -1196,11 +1946,6 @@ video {
|
|||||||
.lg\:pt-16 {
|
.lg\:pt-16 {
|
||||||
padding-top: 4rem;
|
padding-top: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lg\:text-lg {
|
|
||||||
font-size: 1.125rem;
|
|
||||||
line-height: 1.75rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
@ -4,19 +4,6 @@ module.exports = {
|
|||||||
content: ["./src/app/views/**/*.{zmpl,html,js}", "./src/main.zig"],
|
content: ["./src/app/views/**/*.{zmpl,html,js}", "./src/main.zig"],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
typography: ({ theme }) => ({
|
|
||||||
DEFAULT: {
|
|
||||||
css: {
|
|
||||||
color: theme('colors.gray.800'),
|
|
||||||
a: { color: theme('colors.blue.600') },
|
|
||||||
pre: { backgroundColor: theme('colors.gray.100') },
|
|
||||||
blockquote: {
|
|
||||||
borderLeftColor: theme('colors.yellow.400'),
|
|
||||||
fontStyle: 'italic',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
colors: {
|
colors: {
|
||||||
win7: {
|
win7: {
|
||||||
bg: '#eaf3ff', // Background base
|
bg: '#eaf3ff', // Background base
|
||||||
|
Loading…
x
Reference in New Issue
Block a user