Skip to content

Commit

Permalink
Fixed Feed
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanMartseniuk committed Jul 7, 2023
1 parent b9adb43 commit 3279c84
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
9 changes: 9 additions & 0 deletions css/adaptive.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,15 @@
justify-content: center;
gap: 50px;
}
.feed__container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.feed_title {
text-align: center;
}
}
@media (max-width: 479.98px) {
.intro__suptitle {
Expand Down
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ body {
padding-bottom: 200px;
}

.feeg_title {
.feed_title {
color: #000;
font-size: 40px;
font-family: Manrope;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ <h2>8 Room</h2>
</section>
<section class="feed">
<div class="feed__container">
<h1 class="feeg_title">Loved by businesses, and individuals across the globe.</h1>
<h1 class="feed_title">Loved by businesses, and individuals across the globe.</h1>
<div class="feed__main main-feed">
<div class="main-feed__item item-main-feed">
<div class="item-main-feed__stars"><img src="img/feed/04.png" alt=""></div>
Expand Down
11 changes: 11 additions & 0 deletions scss/adaptive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,17 @@
justify-content: center;
gap: 50px;
}

.feed__container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.feed_title {
text-align: center;
}
}
@media (max-width: 479.98px) {
.intro__suptitle {
Expand Down
2 changes: 1 addition & 1 deletion scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ body {
}
.feed__container {
}
.feeg_title {
.feed_title {
color: #000;
font-size: 40px;
font-family: Manrope;
Expand Down

0 comments on commit 3279c84

Please sign in to comment.