From 1d1a8846fc861ffb8c28f0f0a0faf9b26d20646b Mon Sep 17 00:00:00 2001 From: pornoiya Date: Sun, 13 Aug 2023 00:30:37 +0300 Subject: [PATCH] kegels --- client/components/MainPage/Card/Card.module.css | 17 +++++++++++++++-- client/components/MainPage/Card/Card.tsx | 1 - client/components/MainPage/MainPage.module.css | 5 +++++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/client/components/MainPage/Card/Card.module.css b/client/components/MainPage/Card/Card.module.css index 6f74bf56..c5a7faa7 100644 --- a/client/components/MainPage/Card/Card.module.css +++ b/client/components/MainPage/Card/Card.module.css @@ -81,6 +81,18 @@ .Card { padding: 16px; } + + .CardTitle { + font-size: clamp(16px, 20px, 20px); + } + + .CardBottomCapture { + font-size: 20px; + } + + .CardBottomCapture_NoSubtitle { + font-size: 34px; + } } @media screen and (min-width: 768px) { @@ -94,7 +106,7 @@ } .CardBottomCapture_NoSubtitle { - font-size: 50px; + font-size: 48px; } .CardTitle { @@ -117,6 +129,7 @@ } .CardSubtitle { - font-size: clamp(20px, 1.3vw, 24px); + font-size: clamp(16px, 16px, 24px); + line-height: 22px; } } diff --git a/client/components/MainPage/Card/Card.tsx b/client/components/MainPage/Card/Card.tsx index a18135a9..7d214577 100644 --- a/client/components/MainPage/Card/Card.tsx +++ b/client/components/MainPage/Card/Card.tsx @@ -1,6 +1,5 @@ import classNames from 'classnames/bind'; import { CardProps } from './Card.types'; - import styles from './Card.module.css'; import t from 'utils/typograph'; import React from "react"; diff --git a/client/components/MainPage/MainPage.module.css b/client/components/MainPage/MainPage.module.css index 9c3b9423..8572fe7d 100644 --- a/client/components/MainPage/MainPage.module.css +++ b/client/components/MainPage/MainPage.module.css @@ -82,7 +82,12 @@ .MainPageLogo { font-size: 20px; + line-height: 20px; margin-bottom: 32px; + margin-top: 20px; + align-content: center; + justify-content: center; + font-weight: 400; } }