4 changed files with 113 additions and 61 deletions
@ -0,0 +1,3 @@ |
|||||||
|
@tailwind base; |
||||||
|
@tailwind components; |
||||||
|
@tailwind utilities; |
||||||
@ -0,0 +1,103 @@ |
|||||||
|
@layer components { |
||||||
|
/* AsciiDoc content */ |
||||||
|
.note-leather p a { |
||||||
|
@apply underline hover:text-primary-500 dark:hover:text-primary-400; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather section p { |
||||||
|
@apply w-full; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather section p table { |
||||||
|
@apply w-full table-fixed space-x-2 space-y-2; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather section p table td { |
||||||
|
@apply p-2; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather section p table td .content:has(> .imageblock) { |
||||||
|
@apply flex flex-col items-center; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .imageblock { |
||||||
|
@apply flex flex-col space-y-2; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .imageblock .content { |
||||||
|
@apply flex justify-center; |
||||||
|
} |
||||||
|
.note-leather .imageblock .title { |
||||||
|
@apply text-center; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .imageblock.left .content { |
||||||
|
@apply justify-start; |
||||||
|
} |
||||||
|
.note-leather .imageblock.left .title { |
||||||
|
@apply text-left; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .imageblock.right .content { |
||||||
|
@apply justify-end; |
||||||
|
} |
||||||
|
.note-leather .imageblock.right .title { |
||||||
|
@apply text-right; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather section p table td .literalblock { |
||||||
|
@apply my-2 p-2 border rounded border-gray-400 dark:border-gray-600; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .literalblock pre { |
||||||
|
@apply p-3 text-wrap break-words; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .listingblock pre { |
||||||
|
@apply overflow-x-auto; |
||||||
|
} |
||||||
|
|
||||||
|
/* lists */ |
||||||
|
.note-leather .ulist ul { |
||||||
|
@apply space-y-1 list-disc list-inside; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .olist ol { |
||||||
|
@apply space-y-1 list-inside; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather ol.arabic { |
||||||
|
@apply list-decimal; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather ol.loweralpha { |
||||||
|
@apply list-lower-alpha; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather ol.upperalpha { |
||||||
|
@apply list-upper-alpha; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather li ol, |
||||||
|
.note-leather li ul { |
||||||
|
@apply ps-5 my-2; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather li p { |
||||||
|
@apply inline; |
||||||
|
} |
||||||
|
|
||||||
|
/* blockquote */ |
||||||
|
.note-leather .quoteblock { |
||||||
|
@apply p-4 my-4 border-s-4 rounded border-primary-300 bg-primary-50 dark:border-primary-500 dark:bg-primary-700; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .quoteblock .attribution { |
||||||
|
@apply mt-3 italic; |
||||||
|
} |
||||||
|
|
||||||
|
.note-leather .quoteblock cite { |
||||||
|
@apply text-sm; |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
Loading…
Reference in new issue