2026-02-26 00:17:23 +08:00
|
|
|
@import "tailwindcss";
|
2026-02-28 13:58:51 +08:00
|
|
|
@plugin "@tailwindcss/typography";
|
|
|
|
|
|
2026-02-28 14:27:54 +08:00
|
|
|
.prose {
|
|
|
|
|
@apply prose-h2:first:mt-0 prose-h3:first:mt-0 prose-h4:first:mt-0 prose-h5:first:mt-0;
|
2026-02-28 13:58:51 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-28 18:15:50 +08:00
|
|
|
/*alert*/
|
|
|
|
|
|
2026-02-28 13:58:51 +08:00
|
|
|
.markdown-alert-title{
|
|
|
|
|
@apply hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-01 14:40:46 +08:00
|
|
|
.markdown-alert-title + *
|
2026-02-28 14:27:54 +08:00
|
|
|
{
|
|
|
|
|
@apply mt-0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-alert {
|
|
|
|
|
@apply px-4 pt-4 rounded mb-4 border;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-28 13:58:51 +08:00
|
|
|
.markdown-alert-note {
|
|
|
|
|
@apply bg-blue-50 border-blue-500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-alert-tip {
|
|
|
|
|
@apply bg-green-50 border-green-500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-alert-important {
|
|
|
|
|
@apply bg-red-50 border-red-500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-alert-warning {
|
|
|
|
|
@apply bg-yellow-50 border-yellow-500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-alert-caution {
|
|
|
|
|
@apply bg-orange-50 border-orange-500;
|
2026-02-28 18:15:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* cols */
|
|
|
|
|
|
|
|
|
|
.cols{ @apply lg:flex lg:gap-4; }
|
|
|
|
|
.col{ @apply lg:flex-1; }
|
|
|
|
|
.col-2{ @apply lg:flex-2; }
|
|
|
|
|
.col-3{ @apply lg:flex-3; }
|
|
|
|
|
.col-4{ @apply lg:flex-4; }
|
|
|
|
|
.col-5{ @apply lg:flex-5; }
|