64 lines
1.5 KiB
CSS
64 lines
1.5 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
html {
|
|
font-size: 14px;
|
|
}
|
|
|
|
a {
|
|
@apply cursor-default no-underline !important;
|
|
}
|
|
|
|
button {
|
|
@apply cursor-default focus:outline-none;
|
|
}
|
|
|
|
.markdown {
|
|
@apply prose prose-zinc max-w-none select-text hyphens-auto dark:prose-invert prose-p:mb-2 prose-p:mt-0 prose-p:break-words prose-p:[word-break:break-word] prose-p:last:mb-0 prose-a:break-words prose-a:break-all prose-a:font-normal prose-a:leading-tight prose-a:text-fuchsia-400 prose-a:after:content-['_↗'] hover:prose-a:text-fuchsia-500 prose-blockquote:m-0 prose-pre:whitespace-pre-wrap prose-pre:break-words prose-pre:break-all prose-ol:m-0 prose-ol:mb-1 prose-ul:mb-1 prose-li:leading-tight prose-img:mb-2 prose-img:mt-3 prose-hr:mx-0 prose-hr:my-2;
|
|
}
|
|
|
|
.ProseMirror p.is-empty::before {
|
|
@apply text-zinc-500;
|
|
content: attr(data-placeholder);
|
|
float: left;
|
|
height: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ProseMirror img.ProseMirror-selectednode {
|
|
@apply outline-fuchsia-500;
|
|
}
|
|
|
|
iframe {
|
|
height: auto !important;
|
|
}
|
|
|
|
/* For Webkit-based browsers (Chrome, Safari and Opera) */
|
|
.scrollbar-hide::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* For IE, Edge and Firefox */
|
|
.scrollbar-hide {
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
|
|
.border {
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
span[data-slate-placeholder] {
|
|
@apply top-0;
|
|
}
|
|
|
|
@keyframes loop {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|