mirror of
https://github.com/hunvreus/basecoat.git
synced 2026-11-11 20:58:18 +00:00
76 lines
1.5 KiB
CSS
76 lines
1.5 KiB
CSS
/* HTMX */
|
|
.htmx-indicator {
|
|
@apply invisible opacity-0 transition-discrete transition-all;
|
|
}
|
|
.htmx-indicator:not(.htmx-request) {
|
|
@apply hidden;
|
|
}
|
|
.htmx-request,
|
|
.htmx-request.htmx-indicator {
|
|
@apply visible opacity-100;
|
|
}
|
|
|
|
.content {
|
|
> h2 {
|
|
@apply mt-16 mb-6 scroll-m-22 border-b pb-4 text-xl font-semibold tracking-tight first:mt-0;
|
|
}
|
|
> h3 {
|
|
@apply mt-8 mb-6 scroll-m-22 text-lg font-semibold tracking-tight;
|
|
}
|
|
> h4 {
|
|
@apply my-6 scroll-m-22 font-semibold tracking-tight;
|
|
}
|
|
.prose {
|
|
@apply my-6;
|
|
|
|
a {
|
|
@apply font-medium underline underline-offset-4;
|
|
}
|
|
code:not(pre > code) {
|
|
@apply relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm;
|
|
}
|
|
blockquote {
|
|
@apply border-l-4 border-border pl-4;
|
|
}
|
|
ol {
|
|
@apply list-decimal ml-6;
|
|
}
|
|
ul {
|
|
@apply list-disc ml-6;
|
|
}
|
|
ol,
|
|
ul {
|
|
li {
|
|
@apply mt-2;
|
|
}
|
|
}
|
|
b,
|
|
strong {
|
|
@apply font-semibold;
|
|
}
|
|
> p,
|
|
> blockquote,
|
|
> ul,
|
|
> ol,
|
|
> dl,
|
|
> table,
|
|
> pre,
|
|
> p {
|
|
@apply my-6;
|
|
}
|
|
> *:first-child {
|
|
@apply !mt-0;
|
|
}
|
|
> *:last-child {
|
|
@apply !mb-0;
|
|
}
|
|
}
|
|
.step {
|
|
counter-increment: step;
|
|
}
|
|
.step:before {
|
|
@apply md:absolute w-8 h-8 md:w-9 md:h-9 bg-muted rounded-full font-mono font-medium text-center text-base inline-flex items-center justify-center -indent-px border-4 mr-2 border-background;
|
|
@apply md:ml-[-50px] md:mt-[-4px];
|
|
content: counter(step);
|
|
}
|
|
} |