From 8bd9290b3c8d7ddf488bca4b4f8930c7b6d4e8dd Mon Sep 17 00:00:00 2001 From: Aswin V Date: Thu, 24 Feb 2022 23:41:56 +0530 Subject: [PATCH] Refactor styles --- pages/index.tsx | 17 +++-------------- styles/globals.css | 3 ++- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index a202d40..85d7c0d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -36,28 +36,17 @@ const Home: React.FC<{ metadata: IdPMetadata }> = ({ metadata }) => {
- +
- +
- +
diff --git a/styles/globals.css b/styles/globals.css index 2cf8478..ab576b3 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -27,7 +27,8 @@ a { .button { @apply block px-4 py-2 font-semibold leading-8 text-white rounded-lg shadow-md bg-indigo-500 hover:bg-indigo-600 focus:outline-none focus:ring-4 focus:ring-indigo-300 focus:ring-opacity-100; } + .input { - @apply border-2 border-solid border-[#8b8a8b] leading-10 px-4 py-2 rounded-md focus:border-[#5a5dbb] focus:outline-none; + @apply px-3 py-1 text-base leading-8 text-gray-700 transition-colors duration-200 ease-in-out bg-gray-100 bg-opacity-50 border border-gray-300 rounded-md outline-none focus:ring-2 focus:ring-indigo-300 focus:bg-transparent focus:border-indigo-500; } }