style: Improve card styling and background color

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-10 14:20:43 +08:00
1 parent 848699e2f6
commit e2bdf1e858
4 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<div class="pb-3 lg:pb-0 xl:pb-1 rounded-sm hover:shadow-xl bg-gray-200"> <div class="pb-3 lg:pb-0 xl:pb-1 rounded-card bg-white shadow-[0px_4px_30px_rgba(0,0,0,0.08)]">
<div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64"> <div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64">
<a> <a>
<div class="flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-indigo-700 text-white tracking-tighter"> <div class="flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-indigo-700 text-white tracking-tighter">
+1 -1
View File
@@ -1,5 +1,5 @@
<!--card featured post--> <!--card featured post-->
<div class="pb-3 lg:pb-0 xl:pb-1 rounded-sm hover:shadow-xl bg-indigo-700"> <div class="pb-3 lg:pb-0 xl:pb-1 rounded-card bg-indigo-700 shadow-[0px_4px_30px_rgba(0,0,0,0.08)]">
<div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64"> <div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64">
<a href="#"> <a href="#">
<div class="flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-indigo-700 text-white tracking-tighter"> <div class="flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-indigo-700 text-white tracking-tighter">
+1 -1
View File
@@ -7,7 +7,7 @@
{% include nav.liquid %} {% include nav.liquid %}
<main> <main class="bg-gray-100">
<!-- overlay --> <!-- overlay -->
<span class="opacity-75 fixed inset-0 z-40 bg-indigo-900 hidden overflow-hidden" <span class="opacity-75 fixed inset-0 z-40 bg-indigo-900 hidden overflow-hidden"
id="collapse-overlay"></span> id="collapse-overlay"></span>
+4 -1
View File
@@ -30,7 +30,7 @@ module.exports = {
}, },
colors: { colors: {
gray: { gray: {
'100': '#F7FAFC', '100': '#F2F3FB',
'200': '#EDF2F7', '200': '#EDF2F7',
'300': '#E2E8F0', '300': '#E2E8F0',
'400': '#CBD5E0', '400': '#CBD5E0',
@@ -52,6 +52,9 @@ module.exports = {
}, },
}, },
}, },
borderRadius: {
card: '10px',
},
spacing: { spacing: {
px: '1px', px: '1px',
'0': '0', '0': '0',