generated from goitacademy/vanilla-app-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from ElizabethBil/feature/testimonials
Feature/testimonials
- Loading branch information
Showing
8 changed files
with
103 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,97 @@ | ||
@media screen and (min-width: 768px) {} | ||
/* убрати рамку після виконання роботи */ | ||
* { | ||
outline: 1px solid tomato; | ||
} | ||
|
||
@media screen and (min-width: 1280px) {} | ||
@media screen and (min-width: 375px) { | ||
.testimonials-title { | ||
margin-bottom: 31px; | ||
text-align: left; | ||
} | ||
|
||
@media screen and (min-width: 1440px) {} | ||
.testimonials-list .testimonials-list-item:not(:first-child) { | ||
display: none; | ||
} | ||
.testimonials-list-container { | ||
display: flex; | ||
padding: 0px 18px 18px 18px; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 32px; | ||
} | ||
.testimonials-list-card-container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 8px; | ||
} | ||
.testimonials-list-title { | ||
color: #fcf9f9; | ||
text-align: center; | ||
font-size: 20px; | ||
font-weight: 600; | ||
line-height: 1.5; | ||
margin-top: 20px; | ||
} | ||
.testimonials-list-text { | ||
font-size: 14px; | ||
font-weight: 400; | ||
text-align: center; | ||
width: 291px; | ||
} | ||
.testimonials-list-item { | ||
display: flex; | ||
padding-top: 24px; | ||
flex-wrap: wrap; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 32px; | ||
|
||
position: relative; | ||
box-shadow: 0px 2px 32px 4px rgba(18, 20, 23, 0.02); | ||
border-radius: 4px; | ||
border: 1px solid rgba(252, 249, 249, 0.1); | ||
} | ||
.testimonials-list-img { | ||
position: absolute; | ||
top: -24px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.testimonials-title { | ||
margin-bottom: 64px; | ||
text-align: left; | ||
} | ||
.testimonials-list .testimonials-list-item:not(:first-child) { | ||
display: flex; | ||
} | ||
.testimonials-list .testimonials-list-item:last-child { | ||
display: none; | ||
} | ||
|
||
.testimonials-list { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
gap: 32px; | ||
} | ||
.testimonials-list-text { | ||
font-size: 16px; | ||
font-weight: 400; | ||
text-align: center; | ||
width: 300px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1280px) { | ||
.testimonials-list .testimonials-list-item:not(:first-child) { | ||
display: flex; | ||
} | ||
.testimonials-list-text { | ||
width: 307px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1440px) { | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<section class="testimonials-section"> | ||
<section class="testimonials-section section"> | ||
<div class="container testimonials-container"> | ||
<h2 class="testimonials-title">Testimonials</h2> | ||
<h2 class="testimonials-title section-title">Testimonials</h2> | ||
<ul class="testimonials-list"> | ||
<li class="testimonials-list-item"> | ||
<div class="testimonials-list-container"> | ||
<img | ||
class="testimonials-list-img" | ||
srcset="./images/testimonials-img/[email protected] 2x" | ||
src="./images/testimonials-img/img-1.jpg" | ||
srcset="../img/testimonials/[email protected] 2x" | ||
src="../img/testimonials/img-1.jpg" | ||
alt="Maria Tkachuk" | ||
width="64" | ||
/> | ||
|
@@ -27,8 +27,8 @@ <h3 class="testimonials-list-title">Maria Tkachuk</h3> | |
<div class="testimonials-list-container"> | ||
<img | ||
class="testimonials-list-img" | ||
srcset="./images/testimonials-img/[email protected] 2x" | ||
src="./images/testimonials-img/img-2.jpg" | ||
srcset="../img/testimonials/[email protected] 2x" | ||
src="../img/testimonials/img-2.jpg" | ||
alt="Sergey Rybachok" | ||
width="64" | ||
/> | ||
|
@@ -48,8 +48,8 @@ <h3 class="testimonials-list-title">Sergey Rybachok</h3> | |
<div class="testimonials-list-container"> | ||
<img | ||
class="testimonials-list-img" | ||
srcset="./images/testimonials-img/[email protected] 2x" | ||
src="./images/testimonials-img/img-3.jpg" | ||
srcset="../img/testimonials/[email protected] 2x" | ||
src="../img/testimonials/img-3.jpg" | ||
alt="Natalia Chatuk" | ||
width="64" | ||
/> | ||
|