2022-12-14 09:01:09 -08:00
|
|
|
[data-markup] {
|
|
|
|
@apply whitespace-pre-wrap;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] p {
|
2022-11-03 12:57:33 -07:00
|
|
|
@apply mb-4 whitespace-pre-wrap;
|
2022-09-30 11:15:37 -07:00
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] p:last-child {
|
2022-11-03 12:57:33 -07:00
|
|
|
@apply mb-0;
|
2022-09-30 11:15:37 -07:00
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] a {
|
2022-09-30 11:15:37 -07:00
|
|
|
@apply text-primary-600 dark:text-accent-blue hover:underline;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] strong {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply font-bold;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] em {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply italic;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] ul,
|
|
|
|
[data-markup] ol {
|
2022-11-03 12:57:33 -07:00
|
|
|
@apply pl-10 mb-4;
|
2022-09-30 10:59:19 -07:00
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] ul {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply list-disc list-outside;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] ol {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply list-decimal list-outside;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] blockquote {
|
2022-11-03 12:57:33 -07:00
|
|
|
@apply py-1 pl-4 mb-4 border-l-4 border-solid border-gray-400 text-gray-500 dark:text-gray-400;
|
2022-09-30 10:59:19 -07:00
|
|
|
}
|
|
|
|
|
2022-12-01 05:17:46 -08:00
|
|
|
[data-markup] code,
|
|
|
|
[data-markup] pre {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply cursor-text font-mono;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] p > code,
|
|
|
|
[data-markup] pre {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply bg-gray-100 dark:bg-primary-800;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Inline code */
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] p > code {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply py-0.5 px-1 rounded-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code block */
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] pre {
|
2022-11-03 12:57:33 -07:00
|
|
|
@apply py-2 px-3 mb-4 leading-6 overflow-x-auto rounded-md break-all;
|
2022-09-30 10:59:19 -07:00
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] pre:last-child {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply mb-0;
|
|
|
|
}
|
|
|
|
|
2022-11-25 14:19:32 -08:00
|
|
|
/* Emojis */
|
|
|
|
[data-markup] img.emojione {
|
2022-12-02 12:15:59 -08:00
|
|
|
@apply w-5 h-5 m-0;
|
2022-11-25 14:19:32 -08:00
|
|
|
}
|
|
|
|
|
2023-07-20 16:13:42 -07:00
|
|
|
/* Markdown inline images (Pleroma) */
|
2022-11-26 15:05:19 -08:00
|
|
|
[data-markup] img:not(.emojione) {
|
2023-07-21 11:26:42 -07:00
|
|
|
@apply max-h-[500px] mx-auto rounded-sm;
|
2022-09-30 10:59:19 -07:00
|
|
|
}
|
|
|
|
|
2022-09-30 11:15:37 -07:00
|
|
|
/* User setting to underline links */
|
2022-11-19 16:13:27 -08:00
|
|
|
body.underline-links [data-markup] a {
|
2022-09-30 11:15:37 -07:00
|
|
|
@apply underline;
|
|
|
|
}
|
|
|
|
|
2022-11-25 14:19:32 -08:00
|
|
|
[data-markup].big-emoji img.emojione {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply inline w-9 h-9 p-1;
|
|
|
|
}
|
|
|
|
|
2022-11-19 16:13:27 -08:00
|
|
|
[data-markup] .status-link {
|
2022-09-30 10:59:19 -07:00
|
|
|
@apply hover:underline text-primary-600 dark:text-accent-blue hover:text-primary-800 dark:hover:text-accent-blue;
|
|
|
|
}
|
2023-06-07 09:35:41 -07:00
|
|
|
|
|
|
|
[data-markup] .invisible {
|
|
|
|
font-size: 0 !important;
|
|
|
|
line-height: 0 !important;
|
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-markup] .invisible img,
|
|
|
|
[data-markup] .invisible svg {
|
|
|
|
margin: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 0 !important;
|
|
|
|
height: 0 !important;
|
|
|
|
}
|