Skip to content

Commit

Permalink
Merge pull request #60 from ViktorSvertoka/paginationstyles
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorSvertoka authored Dec 19, 2023
2 parents a51db23 + b25e74c commit fd0dde8
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 9 deletions.
8 changes: 8 additions & 0 deletions src/css/layout/03-exercises.css
Original file line number Diff line number Diff line change
Expand Up @@ -505,12 +505,20 @@
}
.aside__container {
width: 100%;
padding-top: 80px;
}
@media screen and (min-width: 768px) {
.aside__container {
padding-top: 64px;
}
}
@media screen and (min-width: 1440px) {
.aside__container {
width: 444px;
padding-top: 0;
}
}

/* Aside Block */
.aside__container {
height: 100%;
Expand Down
6 changes: 6 additions & 0 deletions src/css/layout/04-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
}
}

@media screen and (min-width: 1440px) {
.footer__container {
margin-top: 68px;
}
}

.footer__logo {
fill: var(--color-white);
}
Expand Down
41 changes: 32 additions & 9 deletions src/css/utils/command.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,45 @@ body {
}
}

#pagination-number {
#pagination-numbers {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
align-items: center;
justify-content: center;
gap: 8px;
}

.pagination-button {
background-color: transparent;
font-size: 24px;
font-weight: 400;
line-height: 32px;
letter-spacing: 0.96px;
padding: 0;
border: none;
color: #d4d4d4;
background-color: transparent;
transition: all var(--transition-dur-and-func);
}

.active-btn {
display: flex;
align-items: center;
justify-content: center;
width: 31px;
height: 31px;
font-size: 20px;
font-weight: 400;
line-height: 20px;
letter-spacing: 0.8px;
border-radius: 50%;
border: 1px solid var(--color-black);
color: var(--color-black);
background-color: transparent;
width: 32px;
padding: 5px 12px;
border-radius: 18px;
border: 1px solid #242424;
transition: all var(--transition-dur-and-func);
}

.pagination-button:hover,
.pagination-button:focus,
.active-btn:hover,
.active-btn:focus {
transform: scale(1.05);
}

0 comments on commit fd0dde8

Please sign in to comment.