diff --git a/themes/coo/layout/_partial/header.ejs b/themes/coo/layout/_partial/header.ejs index a61008c..1ef62a8 100644 --- a/themes/coo/layout/_partial/header.ejs +++ b/themes/coo/layout/_partial/header.ejs @@ -5,7 +5,7 @@ <%- partial('index/logo', {icon: true}) %>
@@ -23,25 +23,25 @@ <% if (postPage) { %> <% } %> - " target="_blank"> " target="_blank"> diff --git a/themes/coo/layout/_partial/index/request.ejs b/themes/coo/layout/_partial/index/request.ejs index ad33114..4fef4f1 100644 --- a/themes/coo/layout/_partial/index/request.ejs +++ b/themes/coo/layout/_partial/index/request.ejs @@ -10,11 +10,11 @@

+ class="inline-flex text-slate-50 dark:text-slate-300 bg-emerald-500 dark:bg-opacity-80 self-center md:self-auto border-0 py-2 px-6 focus:outline-none hover:shadow-xl hover:bg-emerald-600 rounded-full text-lg fadeIn"> Request cheatsheet + class="mt-6 md:mt-0 md:ml-4 inline-flex text-slate-700 dark:text-slate-300 bg-slate-300 dark:bg-slate-800 self-center md:self-auto border-0 py-2 px-6 focus:outline-none hover:shadow-xl hover:bg-slate-400 rounded-full text-lg fadeIn"> I have a cheatsheet
diff --git a/themes/coo/layout/_partial/post/popular_card.ejs b/themes/coo/layout/_partial/post/popular_card.ejs index 8093bcb..1ab10f6 100644 --- a/themes/coo/layout/_partial/post/popular_card.ejs +++ b/themes/coo/layout/_partial/post/popular_card.ejs @@ -1,5 +1,5 @@ + class="group flex items-center p-3 bg-slate-50 rounded-lg hover:shadow dark:bg-slate-900 hover:bg-emerald-500 fadeIn">

<%= post.title %> Cheatsheet diff --git a/themes/coo/layout/_partial/share.ejs b/themes/coo/layout/_partial/share.ejs index 29887df..79abbfa 100644 --- a/themes/coo/layout/_partial/share.ejs +++ b/themes/coo/layout/_partial/share.ejs @@ -1,11 +1,7 @@ - - " target="_blank"> - " target="_blank"> - " target="_blank"> - " target="_blank"> - " target="_blank"> - \ No newline at end of file +

\ No newline at end of file diff --git a/themes/coo/source/css/components/layer.css b/themes/coo/source/css/components/layer.css index 97f272b..08da839 100644 --- a/themes/coo/source/css/components/layer.css +++ b/themes/coo/source/css/components/layer.css @@ -6,6 +6,10 @@ .closeAnimation { animation: 200ms cubic-bezier(0.4, 0, 1, 1) 0s 1 normal both running closeAnimation; } + + .fadeIn { + @apply animate-in fade-in duration-100; + } } diff --git a/themes/coo/source/css/style.tailwindcss b/themes/coo/source/css/style.tailwindcss index 62f9ca8..2031d42 100644 --- a/themes/coo/source/css/style.tailwindcss +++ b/themes/coo/source/css/style.tailwindcss @@ -45,9 +45,9 @@ html.scrollbar { } .home .card { - @apply p-4 flex items-center rounded-lg shadow-sm cursor-pointer text-slate-800 bg-opacity-60; + @apply p-4 flex items-center rounded-lg shadow-sm cursor-pointer text-slate-800 bg-opacity-60 fadeIn; @apply dark:text-slate-300 dark:bg-opacity-50; - @apply hover:text-slate-100 hover:bg-opacity-100 hover:shadow-lg; + @apply hover:text-slate-50/90 hover:bg-opacity-100 hover:shadow-xl; } .home .card > i { diff --git a/themes/coo/source/js/main.js b/themes/coo/source/js/main.js index f2a8507..172815f 100644 --- a/themes/coo/source/js/main.js +++ b/themes/coo/source/js/main.js @@ -424,7 +424,7 @@ window.addEventListener('load', () => { if (tagStr !== "") { tagsHTML = `
${tagStr}` } - liHtml += `
  • + liHtml += `