From 3b6f9ae930fa46243dc6dac7bdafce2095720f7d Mon Sep 17 00:00:00 2001 From: ifraimka Date: Thu, 7 Nov 2024 16:35:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D1=81=D1=82=D0=B8?= =?UTF-8?q?=D0=BB=D0=B5=D0=B9=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Projects/ProjectCard.styles.scss | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/src/components/Projects/ProjectCard.styles.scss b/src/components/Projects/ProjectCard.styles.scss index c601076..c2833fc 100644 --- a/src/components/Projects/ProjectCard.styles.scss +++ b/src/components/Projects/ProjectCard.styles.scss @@ -1,32 +1,34 @@ @import "../../assets/styles/theme.scss"; -.card { - display: block; - position: relative; - height: 250px; +.project-list { + .card { + display: block; + position: relative; + height: 250px; - border-width: 1px; - border-style: solid; - border-color: transparent; + border-width: 1px; + border-style: solid; + border-color: transparent; - .image { - width: 100%; - height: 100%; - object-fit: cover; - border-radius: 8px; - } + .image { + width: 100%; + height: 100%; + object-fit: cover; + border-radius: 8px; + } - .label { - position: absolute; - left: 22px; - bottom: 16px; + .label { + position: absolute; + left: 22px; + bottom: 16px; - padding: 2px; - border-radius: 4px; + padding: 2px; + border-radius: 4px; - font-size: 20px; - font-weight: 500; - line-height: 24px; - color: $text-card-project; + font-size: 20px; + font-weight: 500; + line-height: 24px; + color: $text-card-project; + } } } \ No newline at end of file