Skip to content

Commit

Permalink
hover opacity in some links
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelitodev committed Jun 2, 2021
1 parent fa58b3b commit 129a91e
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions css/food-links.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
border: none;
}

.food-link article > a > button:hover {
background-color: var(--hover-red);
}

.food-link-img {
position: absolute;
bottom: 25px;
Expand Down
4 changes: 4 additions & 0 deletions css/food-lover.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
border: none;
}

.food-lover article > a > button:hover {
background-color: var(--hover-red);
}

.food-lover img {
width: 100%;
}
Expand Down
8 changes: 8 additions & 0 deletions css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ footer {
padding: 100px 0px;
}

footer a {
color: var(--text);
}

footer a:hover {
color: var(--dark-gray);
}

.cities {
display: flex;
flex-direction: column;
Expand Down
4 changes: 4 additions & 0 deletions css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ ul {
.header-menu a {
text-decoration: none;
font-family: "SulSans", sans-serif;
color: var(--text);
}

.header-menu a:hover {
color: var(--dark-gray);
}

Expand Down
4 changes: 4 additions & 0 deletions css/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
background-color: var(--red-default);
}

.card-option:not(.card-option:hover) {
opacity: 0.9;
}

.card-option:last-child {
background-color: var(--green-market);
}
Expand Down
4 changes: 4 additions & 0 deletions css/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
border: none;
}

.button-search:hover {
background-color: var(--dark-red);
}

@media screen and (max-width: 900px) {
.title-search {
width: 90%;
Expand Down

0 comments on commit 129a91e

Please sign in to comment.