diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..c98cb2f --- /dev/null +++ b/next.config.js @@ -0,0 +1,5 @@ +module.exports = { + webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { + return config; + }, +}; diff --git a/pages/articles/article.module.css b/pages/articles/article.module.css index 8a52830..284436c 100644 --- a/pages/articles/article.module.css +++ b/pages/articles/article.module.css @@ -95,6 +95,9 @@ @apply bg-green-800 bg-opacity-20 text-green-400; } } + code:global(.hljs) { + @apply text-sm; + } :global { :not(:global(.dark)) & { diff --git a/pages/index.module.css b/pages/index.module.css index 211ac9e..3ce7476 100644 --- a/pages/index.module.css +++ b/pages/index.module.css @@ -6,20 +6,20 @@ .item { @apply my-2 mx-4 px-4 overflow-hidden; @apply rounded-md shadow-sm hover:shadow; - @apply bg-gray-50 hover:bg-white; + @apply bg-gray-50 hover:bg-white cursor-pointer; :global(.dark) & { @apply bg-gray-800; } - + .title { - @apply text-lg my-4; + @apply text-xl my-4; } .description { - @apply text-sm text-gray-600 leading-6 my-4; + @apply text-base text-gray-600 leading-6 my-4 font-light; - :global(.dark) & { - @apply text-gray-400; - } + :global(.dark) & { + @apply text-gray-400; + } } }