2021-11-08 15:10:26 +01:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2023-05-21 18:21:46 +02:00
|
|
|
.break-wrap-words {
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2021-11-08 15:10:26 +01:00
|
|
|
.prose {
|
2023-06-16 23:14:25 +02:00
|
|
|
@apply !max-w-5xl scroll-smooth text-gray dark:text-gray-300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prose p {
|
|
|
|
@apply text-justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prose [id]::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 90px;
|
|
|
|
margin-top: -90px;
|
|
|
|
visibility: hidden;
|
2021-11-08 15:10:26 +01:00
|
|
|
}
|
|
|
|
|
2021-11-09 15:14:31 +01:00
|
|
|
.prose a,
|
|
|
|
.prose strong {
|
2021-11-08 15:10:26 +01:00
|
|
|
@apply text-yellow dark:text-yellow-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prose h2,
|
|
|
|
.prose h3,
|
|
|
|
.prose h4,
|
|
|
|
.prose h5,
|
|
|
|
.prose h6 {
|
2021-12-04 15:52:51 +01:00
|
|
|
@apply mt-1 text-gray dark:text-gray-dark;
|
2021-11-08 15:10:26 +01:00
|
|
|
}
|
|
|
|
|
2022-02-23 00:38:50 +01:00
|
|
|
.prose code {
|
|
|
|
color: #ce9178;
|
2021-11-08 15:10:26 +01:00
|
|
|
}
|
2022-02-23 00:38:50 +01:00
|
|
|
.prose :where(code):not(:where([class~='not-prose'] *))::before,
|
|
|
|
.prose :where(code):not(:where([class~='not-prose'] *))::after {
|
|
|
|
content: '';
|
2022-02-22 21:19:42 +01:00
|
|
|
}
|
2022-02-23 00:38:50 +01:00
|
|
|
.shiki {
|
2021-11-08 15:10:26 +01:00
|
|
|
white-space: pre-wrap !important;
|
|
|
|
}
|
2022-02-23 00:38:50 +01:00
|
|
|
code {
|
|
|
|
counter-reset: step;
|
|
|
|
counter-increment: step 0;
|
|
|
|
}
|
|
|
|
code .line::before {
|
|
|
|
content: counter(step);
|
|
|
|
counter-increment: step;
|
|
|
|
width: 1rem;
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: right;
|
|
|
|
color: rgba(133, 133, 133, 0.8);
|
2023-05-21 18:21:46 +02:00
|
|
|
word-wrap: normal;
|
|
|
|
word-break: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.katex .base {
|
|
|
|
display: inline !important;
|
|
|
|
white-space: normal !important;
|
|
|
|
width: 100% !important;
|
2022-02-23 00:38:50 +01:00
|
|
|
}
|