Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Max1mkasssss committed Aug 22, 2024
2 parents 3ae63ba + 3c8c343 commit 4fd6f9b
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 31 deletions.
Binary file added src/images/modal-photo/Tymur.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/partials/modal-team.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ <h1 class="team__title">People developers</h1>
</div>
<div class="team__card">
<div class="team_photo">
<img src="../images/modal-photo/Tymur.jpg" alt="photo-people" class="team_photo__img">
</div>
<a href="#" target="_blank">
<img src="../images/modal-photo/modal-github.svg" alt="">
Expand Down
2 changes: 1 addition & 1 deletion src/partials/section-gallery.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<section class="gallery-section">
<img src="https://i.postimg.cc/wjQ8SxQ4/gallery.png" alt="gallery">
<img src="https://i.postimg.cc/wjQ8SxQ4/gallery.png" alt="gallery" class="img-gallery">
</section>
4 changes: 4 additions & 0 deletions src/sass/components/_section-gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
width: 90%;
margin: 0 auto;
margin-bottom: 123px;
margin-top: -50px;
}
.img-gallery{
margin-top: -120px;
}
2 changes: 1 addition & 1 deletion src/sass/components/_section-how_its_made.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
margin-left: 50px;
}
.how-its-made-section{
height: 1688px;
height: 2280px;
}
.quantity-list{
display: block;
Expand Down
39 changes: 26 additions & 13 deletions src/sass/components/_team-modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,36 @@ body {
}

.open-modal-button {
margin: -30px;
color: #FEA5BB;
text-transform: uppercase;
text-decoration: none;
border: 2px solid #FEA5BB;
padding: 10px 20px;
width: 150px;
height: 50px;
background-color: #FEA5BB;
font-size: 17px;
font-weight: bold;
background: transparent;
position: relative;
transition: all 1s;
overflow: hidden;
}
.open-modal-button:hover {
color: white;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.open-modal-button::before {
content: '';
position: absolute;
height: 100%;
width: 0%;
top: 0;
left: -40px;
transform: skewX(45deg);
background-color: #FEA5BB;
z-index: -1;
transition: all 1s;
}

.open-modal-button:hover {
background-color: #d6718a;
transform: scale(1.05);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
.open-modal-button:hover::before {
width: 160%;
}

.modal-backdrop {
Expand Down
51 changes: 36 additions & 15 deletions src/sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ body {
margin-left: 50px;
}
.how-its-made-section {
height: 1688px;
height: 2280px;
}
.quantity-list {
display: block;
Expand All @@ -1106,6 +1106,11 @@ body {
width: 90%;
margin: 0 auto;
margin-bottom: 123px;
margin-top: -50px;
}

.img-gallery {
margin-top: -120px;
}

* {
Expand Down Expand Up @@ -1558,23 +1563,38 @@ body {
}

.open-modal-button {
margin: -30px;
color: #FEA5BB;
text-transform: uppercase;
text-decoration: none;
border: 2px solid #FEA5BB;
padding: 10px 20px;
width: 150px;
height: 50px;
background-color: #FEA5BB;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
font-size: 17px;
font-weight: bold;
background: transparent;
position: relative;
transition: all 1s;
overflow: hidden;
}

.open-modal-button:hover {
background-color: #d6718a;
transform: scale(1.05);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
color: white;
}

.open-modal-button::before {
content: "";
position: absolute;
height: 100%;
width: 0%;
top: 0;
left: -40px;
transform: skewX(45deg);
background-color: #FEA5BB;
z-index: -1;
transition: all 1s;
}

.open-modal-button:hover::before {
width: 160%;
}

.modal-backdrop {
Expand Down Expand Up @@ -1757,7 +1777,8 @@ li {
}

.footer {
width: 1280px;
margin: 0 auto;
width: 90%;
height: 247px;
background-color: rgb(255, 245, 246);
}
Expand Down
2 changes: 1 addition & 1 deletion src/sass/main.css.map

Large diffs are not rendered by default.

0 comments on commit 4fd6f9b

Please sign in to comment.