diff --git a/04-lection2/01-histogram/histogram.css b/04-lection2/01-histogram/histogram.css index 4b51585..2d76fc2 100644 --- a/04-lection2/01-histogram/histogram.css +++ b/04-lection2/01-histogram/histogram.css @@ -25,12 +25,14 @@ opacity: 0.8; line-height: 1.5; padding-bottom: 6px; + color: var(--black); } .histogram__value { font-family: 'Inter', sans-serif; font-size: 20px; line-height: 1.3; + color: var(--black); } .histogram__link { diff --git a/components/card/card.css b/components/card/card.css index 3c9ffba..b3d7dd6 100644 --- a/components/card/card.css +++ b/components/card/card.css @@ -6,12 +6,9 @@ background-color: var(--white); border-radius: 12px; box-shadow: 0px 2px 4px 0px rgba(33, 36, 41, 0.05); - flex: 1 1 calc(33.333% - 30px); - /* min-width: 350px; */ - width: auto; + min-width: 350px; min-height: 367px; - height: auto; - pointer-events: none; + text-decoration: none; } .card__preview { @@ -21,6 +18,7 @@ align-items: center; width: 100%; flex-grow: 1; + pointer-events: none; } .card__title { @@ -37,13 +35,7 @@ @media screen and (max-width: 1024px) { .card { - flex: 1 1 calc(50% - 20px); - } -} - -@media screen and (max-width: 768px) { - .card { - flex: 1 1 calc(100% - 10px); + flex: 1 1 50%; } } diff --git a/index.html b/index.html index d49f278..faa965a 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@