diff --git a/src/styles/global.css b/src/styles/global.css index e41f578..941d0c6 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -55,10 +55,7 @@ } body { - @apply dark:bg-gray-900; -} - -body { + @apply duration-700 transition-colors; @apply dark:bg-gray-900; } @@ -118,7 +115,7 @@ footer { } #notes-list { - @apply mx-auto lg:max-w-7xl xl:max-w-7xl 2xl:max-w-7xl; + @apply mx-auto lg:max-w-7xl xl:max-w-7xl 2xl:max-w-7xl transition-colors duration-500; } #notes-list > ul { @@ -138,7 +135,7 @@ footer { } #notes-list ul > li > hgroup { - @apply grow p-4; + @apply grow p-4 transition-colors duration-500; h2 > a { @apply font-bold text-2xl; } @@ -165,7 +162,7 @@ footer { } article#notes-page { - @apply pt-4 text-xl; + @apply pt-4 text-xl duration-500 transition-colors; @apply dark:text-gray-200; hgroup h1 { @apply font-bold mt-8 mb-8 text-3xl lg:text-6xl; @@ -271,7 +268,7 @@ article#notes-page { } nav#pagination { - @apply flex items-center justify-center mt-6 mb-6 text-xl; + @apply flex items-center justify-center mt-6 mb-6 text-xl transition-colors duration-500; } nav#pagination {