Skip to content

Commit

Permalink
Fix(CSS) Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorSvertoka committed Jan 19, 2024
1 parent 572e89f commit ef831be
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/css/layout/04-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@
gap: 187px;
}
}

.privacy-policy__text {
display: flex;
gap: 8px;
Expand Down
7 changes: 3 additions & 4 deletions src/css/layout/05-modal-exercise.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
/* modal-exercises styles */
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;

z-index: 100;
display: flex;
justify-content: center;
align-items: center;

z-index: 1;

width: 100%;
height: 100%;
backdrop-filter: blur(3px);
Expand Down Expand Up @@ -190,10 +186,12 @@
background-color: rgba(244, 244, 244, 0.2);
content: '';
}

.modal-exercises__list::before {
top: -10px;
left: 0;
}

.modal-exercises__list::after {
bottom: -10px;
left: 0;
Expand Down Expand Up @@ -254,6 +252,7 @@
line-height: 1.28;
border-radius: 30px;
}

@media screen and (max-width: 767px) {
.modal-exercises__btn {
width: 100%;
Expand Down
2 changes: 0 additions & 2 deletions src/css/layout/06-modal-rating.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* modal-rating styles */

.rating-container {
position: relative;
display: flex;
Expand Down
3 changes: 3 additions & 0 deletions src/css/layout/08-scroll-up.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@
margin: 0;
z-index: 90;
}

@media screen and (min-width: 768px) {
.scroll__go-top {
width: 60px;
height: 60px;
}
}

.scroll__go-top:hover,
.scroll__go-top:focus {
background: #f4f4f4;
Expand Down Expand Up @@ -51,6 +53,7 @@
height: 25px;
}
}

.scroll__go-top:hover .scroll__icon,
.scroll__go-top:focus .scroll__icon {
fill: #242424;
Expand Down
4 changes: 0 additions & 4 deletions src/css/layout/10-favorites.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* favorites styles */

.favorites__title {
margin-bottom: 20px;
font-weight: 400;
Expand Down Expand Up @@ -348,8 +346,6 @@
}
}

/* Favorites section card styles */

.favorites__list {
display: flex;
flex-direction: column;
Expand Down
4 changes: 1 addition & 3 deletions src/css/layout/11-modal-bmi.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@
transform: rotate(270deg);
}

/* BMI */

.bmi__bmi-title {
text-align: center;
font-size: 20px;
Expand Down Expand Up @@ -187,4 +185,4 @@

.bmi__info-result {
font-size: 20px;
}
}

0 comments on commit ef831be

Please sign in to comment.