Skip to content

Commit

Permalink
Merge pull request #3 from milenaLtz/master
Browse files Browse the repository at this point in the history
  • Loading branch information
keksobot authored Dec 18, 2024
2 parents 3b7c7b4 + ef60ebc commit a6c0eca
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 13 deletions.
4 changes: 3 additions & 1 deletion source/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ <h2 class="visually-hidden">Адрес и место нахождение на
<footer class="main-footer">
<div class="main-footer__wrapper">
<a class="main-footer__logo-text logo-text" href="index.html">
<img src="./images/footer-logo.svg" alt="логоти сайта кэт энэрджи" width="128" height="24">
<svg class="main-footer__logo" role="img" width="128" height="24" viewBox="0 0 128 24" xmlns="http://www.w3.org/2000/svg">
<use href="../../icons/stack.svg#footer-logo"/>
</svg>
</a>
<div class="main-footer__social social">
<ul class="social__list">
Expand Down
2 changes: 1 addition & 1 deletion source/icons/footer-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,10 @@ <h2 class="visually-hidden">Адрес и место нахождение на
</main>
<footer class="main-footer">
<div class="main-footer__wrapper">
<a class="main-footer__logo-text logo-text" href="#">
<img src="./images/footer-logo.svg" alt="логоти сайта кэт энэрджи" width="128" height="24">
<a class="main-footer__logo-text" href="#">
<svg class="main-footer__logo" role="img" width="128" height="24" viewBox="0 0 128 24" xmlns="http://www.w3.org/2000/svg">
<use href="../../icons/stack.svg#footer-logo"/>
</svg>
</a>
<div class="main-footer__social social">
<ul class="social__list">
Expand Down
14 changes: 9 additions & 5 deletions source/styles/blocks/main-footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@
}
}

.main-footer__logo-text:hover,
.main-footer__logo-text:focus {
opacity: 0.8;
.main-footer__logo {
fill: #111111;
}

.main-footer__logo-text:active {
opacity: 0.6;
.main-footer__logo-text:hover .main-footer__logo,
.main-footer__logo-text:focus .main-footer__logo {
fill: #3e3e3e;
}

.main-footer__logo-text:active .main-footer__logo {
fill: #6b6b6b;
}
2 changes: 1 addition & 1 deletion source/styles/blocks/newsletter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
}

.newsletter__submit-button {
padding: 15px 0;
padding: 15px;
font-size: 20px;
line-height: 26px;
border: none;
Expand Down
3 changes: 1 addition & 2 deletions source/styles/blocks/set.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
}

.set__link:active {
color: rgba(0, 0, 0, 0.7);
opacity: 0.3;
}

.set__link::before {
Expand All @@ -170,6 +170,5 @@
}

.set__link:active::before {
background-color: rgba(0, 0, 0, 0.7);
mask-image: url("../../icons/stack.svg#arrow-hovered");
}
1 change: 0 additions & 1 deletion source/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@import "./common/variables.scss";
@import "./common/mixins.scss";
@import "./common/fonts.scss";
@import "./common/global.scss";
@import "./common/visually-hidden.scss";

/* BLOCKS */
Expand Down

0 comments on commit a6c0eca

Please sign in to comment.