sforkowany z mirror/soapbox
StatusContent: fix markdown styles
rodzic
190829fd09
commit
04c4475083
|
@ -15,7 +15,7 @@
|
|||
|
||||
ul,
|
||||
ol {
|
||||
margin-left: 20px;
|
||||
@apply pl-10;
|
||||
}
|
||||
|
||||
ul {
|
||||
|
@ -27,9 +27,7 @@
|
|||
}
|
||||
|
||||
blockquote {
|
||||
padding: 5px 0 5px 15px;
|
||||
border-left: 3px solid hsla(var(--primary-text-color_hsl), 0.4);
|
||||
color: var(--primary-text-color--faint);
|
||||
@apply py-1 pl-4 border-l-4 border-solid border-gray-400 text-gray-500 dark:text-gray-400;
|
||||
}
|
||||
|
||||
code {
|
||||
|
@ -37,10 +35,14 @@
|
|||
cursor: text;
|
||||
}
|
||||
|
||||
p > code,
|
||||
pre {
|
||||
@apply bg-gray-100 dark:bg-slate-900;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
p > code {
|
||||
padding: 2px 4px;
|
||||
background-color: var(--background-color);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
|
@ -52,7 +54,6 @@
|
|||
padding: 8px 12px;
|
||||
margin-bottom: 20px;
|
||||
word-break: break-all;
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
|
||||
/* Markdown images */
|
||||
|
|
Ładowanie…
Reference in New Issue