Skip to content

Commit

Permalink
add museum rev1
Browse files Browse the repository at this point in the history
  • Loading branch information
OksanaGrygorchuk committed Jan 15, 2025
1 parent 242e990 commit 99c81fb
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 2 deletions.
Binary file added src/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>Museum</title>
<title>NAMU</title>
<link
rel="icon"
type="image/png"
href="../src/images/favicon.png"
/>
<link
rel="stylesheet"
href="./styles/main.scss"
Expand Down
15 changes: 15 additions & 0 deletions src/styles/blocks/contacts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,31 @@
&__address {
color: $white-color;
text-decoration: none;
transition-duration: $effect-duration;

&:hover {
color: $main-color;
}
}

&__phone {
color: $white-color;
text-decoration: none;
transition-duration: $effect-duration;

&:hover {
color: $main-color;
}
}

&__email {
color: $white-color;
text-decoration: none;
transition-duration: $effect-duration;

&:hover {
color: $main-color;
}
}

&__media {
Expand Down
5 changes: 5 additions & 0 deletions src/styles/blocks/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@
font-weight: 400;
line-height: 24px;
text-align: left;
transition-duration: $effect-duration;

&:hover {
color: $main-color;
}
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/styles/blocks/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
opacity: 0;
pointer-events: none;
z-index: 1;
overflow: auto;
overflow: hidden;
transition-duration: $effect-duration;

@include on-tablet {
background-image: url(/src/images/Portrait_menu.svg);
Expand Down
5 changes: 5 additions & 0 deletions src/styles/blocks/nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
&__link {
color: $white-color;
text-decoration: none;
transition-duration: $effect-duration;

&--line {
display: block;
Expand All @@ -49,5 +50,9 @@
padding-bottom: 60px;
}
}

&:hover {
color: $main-color;
}
}
}
2 changes: 2 additions & 0 deletions src/styles/blocks/news.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@
object-position: top;
}
}

@include hover-scale;
}

&__period {
Expand Down

0 comments on commit 99c81fb

Please sign in to comment.