style: Improve card styling and background color
This commit is contained in:
1 parent
848699e2f6
commit
e2bdf1e858
4 files changed
+7
-4
No files matched your search
@@ -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">
|
||||
<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">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!--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">
|
||||
<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">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
{% include nav.liquid %}
|
||||
|
||||
<main>
|
||||
<main class="bg-gray-100">
|
||||
<!-- overlay -->
|
||||
<span class="opacity-75 fixed inset-0 z-40 bg-indigo-900 hidden overflow-hidden"
|
||||
id="collapse-overlay"></span>
|
||||
|
||||
+4
-1
@@ -30,7 +30,7 @@ module.exports = {
|
||||
},
|
||||
colors: {
|
||||
gray: {
|
||||
'100': '#F7FAFC',
|
||||
'100': '#F2F3FB',
|
||||
'200': '#EDF2F7',
|
||||
'300': '#E2E8F0',
|
||||
'400': '#CBD5E0',
|
||||
@@ -52,6 +52,9 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
borderRadius: {
|
||||
card: '10px',
|
||||
},
|
||||
spacing: {
|
||||
px: '1px',
|
||||
'0': '0',
|
||||
|
||||
Reference in new issue
Block a user