Added color transitions for dark/light.
This commit is contained in:
parent
34e8ae9d29
commit
78c5c759af
1 changed files with 5 additions and 8 deletions
|
|
@ -55,10 +55,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@apply dark:bg-gray-900;
|
@apply duration-700 transition-colors;
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
@apply dark:bg-gray-900;
|
@apply dark:bg-gray-900;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -118,7 +115,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
#notes-list {
|
#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 {
|
#notes-list > ul {
|
||||||
|
|
@ -138,7 +135,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
#notes-list ul > li > hgroup {
|
#notes-list ul > li > hgroup {
|
||||||
@apply grow p-4;
|
@apply grow p-4 transition-colors duration-500;
|
||||||
h2 > a {
|
h2 > a {
|
||||||
@apply font-bold text-2xl;
|
@apply font-bold text-2xl;
|
||||||
}
|
}
|
||||||
|
|
@ -165,7 +162,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
article#notes-page {
|
article#notes-page {
|
||||||
@apply pt-4 text-xl;
|
@apply pt-4 text-xl duration-500 transition-colors;
|
||||||
@apply dark:text-gray-200;
|
@apply dark:text-gray-200;
|
||||||
hgroup h1 {
|
hgroup h1 {
|
||||||
@apply font-bold mt-8 mb-8 text-3xl lg:text-6xl;
|
@apply font-bold mt-8 mb-8 text-3xl lg:text-6xl;
|
||||||
|
|
@ -271,7 +268,7 @@ article#notes-page {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav#pagination {
|
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 {
|
nav#pagination {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue