From 21207ae84ad1140848a3692f21db19854505472c Mon Sep 17 00:00:00 2001 From: Sumita Canopas Date: Fri, 27 Oct 2023 16:16:12 +0530 Subject: [PATCH] Fix css in services page --- nuxt-frontend/assets/css/global.css | 48 +++++++++++++++++++ .../services/WhatWeOfferDesktop.vue | 4 +- .../components/services/WhatWeOfferMobile.vue | 4 +- 3 files changed, 52 insertions(+), 4 deletions(-) diff --git a/nuxt-frontend/assets/css/global.css b/nuxt-frontend/assets/css/global.css index 6b5719bd4..d680c3f3b 100644 --- a/nuxt-frontend/assets/css/global.css +++ b/nuxt-frontend/assets/css/global.css @@ -188,6 +188,54 @@ .gradient-border-btn:hover > span > span { @apply text-white; } + + .header-1 { + @apply font-opensans-bold tracking-[-0.08rem] xl:tracking-[-0.15rem] text-[2rem] leading-[2.6rem] md:text-[2.875rem] md:leading-[3.688rem] xl:text-[3.75rem] xl:leading-[4.875rem]; + } + + .header-2 { + @apply font-opensans-bold tracking-[-0.08rem] xl:tracking-[-0.12rem] text-[1.5rem] leading-[2.25rem] md:text-[2.25rem] md:leading-[2.938rem] xl:text-[3rem] xl:leading-[3.9rem]; + } + + .header-3 { + @apply font-opensans-semibold tracking-[-0.08rem] text-[1.25rem] leading-[1.875rem] md:text-[1.625rem] md:leading-[2.313rem] xl:text-[2rem] xl:leading-[3rem]; + } + + .sub-h1-regular { + @apply text-[1.125rem] leading-[1.688rem] md:text-[1.313rem] md:leading-[1.813rem] xl:text-[1.5rem] xl:leading-[2.25rem] font-inter-regular; + } + + .sub-h1-semibold { + @apply text-[1.125rem] leading-[1.688rem] md:text-[1.313rem] md:leading-[1.813rem] xl:text-[1.5rem] xl:leading-[2.25rem] font-inter-semibold; + } + + .sub-h2-medium { + @apply xl:text-[1.375rem] xl:leading-[2.063rem] font-inter-medium; + } + + .sub-h3-regular { + @apply text-base xl:text-[1.25rem] xl:leading-[1.875rem] font-inter-regular; + } + + .sub-h3-medium { + @apply text-base xl:text-[1.25rem] xl:leading-[1.875rem] font-inter-medium; + } + + .sub-h3-semibold { + @apply text-base xl:text-[1.25rem] xl:leading-[1.875rem] font-inter-semibold; + } + + .sub-h4-regular { + @apply font-inter-regular text-[0.75rem] leading-[1.125rem] xl:text-[1.125rem] xl:leading-[1.688rem]; + } + + .sub-h4-semibold { + @apply font-inter-semibold text-[0.75rem] leading-[1.125rem] xl:text-[1.125rem] xl:leading-[1.688rem]; + } + + .primary-btn { + @apply h-12 mx-auto flex w-max items-center rounded-xl py-3 px-6 text-center; + } } @tailwind utilities; diff --git a/nuxt-frontend/components/services/WhatWeOfferDesktop.vue b/nuxt-frontend/components/services/WhatWeOfferDesktop.vue index d94c1167a..06b04aba8 100644 --- a/nuxt-frontend/components/services/WhatWeOfferDesktop.vue +++ b/nuxt-frontend/components/services/WhatWeOfferDesktop.vue @@ -17,9 +17,9 @@ >