1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

feat: add blog (#320)

This commit is contained in:
Divlo
2021-11-08 15:10:26 +01:00
parent 1505b81233
commit bcb184e49c
19 changed files with 5002 additions and 256 deletions

34
styles/global.css Normal file
View File

@ -0,0 +1,34 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
#__next {
@apply flex flex-col h-screen;
}
.prose {
@apply text-gray dark:text-gray-dark !max-w-4xl;
}
.prose a {
@apply text-yellow dark:text-yellow-dark;
}
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
@apply text-gray dark:text-gray-dark mt-1;
}
.prose code {
color: hsl(286, 60%, 67%);
}
code[class*='language-'],
pre[class*='language-'] {
white-space: pre-wrap !important;
word-break: break-word !important;
word-wrap: normal;
}