This commit is contained in:
2024-06-02 13:31:19 +02:00
parent 9d547bcdf2
commit 443081e086
67 changed files with 623 additions and 4282 deletions

View File

@ -3,44 +3,3 @@
@import "tailwindcss/utilities";
/* This file is for your main application CSS */
body {
@apply bg-base-300 text-[14pt] leading-8 overflow-x-hidden;
}
.post {
@apply bg-base-200 shadow-md rounded-md mb-4;
@apply grid grid-cols-[1fr] grid-rows-[min-content_1fr_auto];
@apply sm:grid-cols-[13em_auto] sm:grid-rows-[1fr_auto];
}
.post :where(article, .userinfo) {
@apply p-4 pb-0 sm:pb-4;
}
.post .bbc-block {
@apply bg-base-300 p-4 py-2 border-l-2 border-secondary rounded w-full;
}
.post .bbc-block h4 {
@apply text-sm mb-2;
}
.post .bbc-spoiler { @apply bg-black text-black; }
.post .bbc-spoiler img { @apply invisible; }
.post .bbc-spoiler:hover { @apply text-inherit bg-inherit; }
.post .bbc-spoiler:hover img { @apply visible; }
.post .sa-smilie { @apply inline; }
.post iframe {
@apply w-full bg-[brown];
}
.post .code { @apply mockup-code border-l-0; }
.post .code:before { @apply -ml-[2ch]; }
.post .code pre:before { @apply mr-0; }
.post .code h5 { @apply hidden; }
.post a[href] { @apply link; }
.post .editedby { @apply text-sm italic opacity-70 mt-4; }
.post .title :where(img[src*="gangtags"]) + * {
@apply mb-1;
}
.pagination a svg {
@apply h-5;
}