Skip to content

Commit

Permalink
third fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gabai62 committed Nov 2, 2024
1 parent 394f926 commit db3fa0f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
16 changes: 8 additions & 8 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
>
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down Expand Up @@ -147,7 +147,7 @@ <h2 class="card__title">
<div class="card">
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down Expand Up @@ -185,7 +185,7 @@ <h2 class="card__title">
<div class="card">
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down Expand Up @@ -223,7 +223,7 @@ <h2 class="card__title">
<div class="card">
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down Expand Up @@ -261,7 +261,7 @@ <h2 class="card__title">
<div class="card">
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down Expand Up @@ -299,7 +299,7 @@ <h2 class="card__title">
<div class="card">
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down Expand Up @@ -337,7 +337,7 @@ <h2 class="card__title">
<div class="card">
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down Expand Up @@ -375,7 +375,7 @@ <h2 class="card__title">
<div class="card">
<img
src="./images/imac.jpeg"
alt="iMac A1419"
alt="Image of iMac A1419"
class="card__image"
/>

Expand Down
10 changes: 5 additions & 5 deletions src/styles/blocks/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
margin-top: 40px;
}

&:hover &__title {
color: $title-hover-color;
}

&__image {
align-self: center;

Expand Down Expand Up @@ -112,9 +108,13 @@
line-height: 16px;

&:hover {
color: #00acdc;
color: $button-text-hover-color;
background-color: $button-hover-color;
border: 1px solid $button-main-color;
}
}
}

.card:hover .card__title {
color: $title-hover-color;
}
1 change: 1 addition & 0 deletions src/styles/utils/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $main-text-color: #060b35;
$secondary-text-color: #616070;
$button-main-color: #00acdc;
$button-hover-color: #fff;
$button-text-hover-color: #00acdc;
$nav-link-color: #060b35;
$nav-link-hover-color: #00acdc;
$transition-speed: 300ms;
Expand Down

0 comments on commit db3fa0f

Please sign in to comment.