diff --git a/css/tailwind.css b/css/tailwind.css index 9fcb29d..dd917aa 100644 --- a/css/tailwind.css +++ b/css/tailwind.css @@ -2,10 +2,14 @@ @tailwind components; @tailwind utilities; -.task-list-item:before { +.task-list-item::before { @apply hidden; } +.task-list-item { + @apply list-none; +} + html { scroll-behavior: smooth; } diff --git a/tailwind.config.js b/tailwind.config.js index 8737ee3..1202054 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -62,10 +62,10 @@ module.exports = { paddingBottom: '2px', borderRadius: '0.25rem', }, - 'code:before': { + 'code::before': { content: 'none', }, - 'code:after': { + 'code::after': { content: 'none', }, details: { @@ -77,11 +77,11 @@ module.exports = { borderRadius: '0.25rem', }, hr: { borderColor: theme('colors.gray.200') }, - 'ol li:before': { + 'ol li::marker': { fontWeight: '600', color: theme('colors.gray.500'), }, - 'ul li:before': { + 'ul li::marker': { backgroundColor: theme('colors.gray.500'), }, strong: { color: theme('colors.gray.600') }, @@ -128,11 +128,11 @@ module.exports = { backgroundColor: theme('colors.gray.800'), }, hr: { borderColor: theme('colors.gray.700') }, - 'ol li:before': { + 'ol li::marker': { fontWeight: '600', color: theme('colors.gray.400'), }, - 'ul li:before': { + 'ul li::marker': { backgroundColor: theme('colors.gray.400'), }, strong: { color: theme('colors.gray.100') },