Skip to content

feat: fix screen responsiveness #491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,26 @@ div[class^="sidebar_"] .button svg {

/* Pagination */
.pagination-nav {
@apply flex flex-col items-start justify-center space-x-0 space-y-5 md:flex-row md:space-x-10 md:space-y-0;
@apply flex flex-row items-center justify-between space-x-5;
}
.pagination-nav__item {
@apply w-full max-w-md;
@apply flex-grow;
}
.pagination-nav__link {
@apply flex-grow transform rounded-lg border-0 bg-[color:var(--ifm-card-background-color)] p-5 text-lg shadow-lg transition-transform hover:scale-105;
@apply flex flex-col items-center justify-center rounded-lg border-0 bg-[color:var(--ifm-card-background-color)] p-5 text-lg shadow-lg overflow-hidden transition-transform hover:scale-105;
width: 100%;
max-width: 48%;
text-align: center;
}

/*proactively styling for the button text here*/

.pagination-nav_link span:frst-child{
@apply text-sm font-bold mb-1;/*smaller, bold font for previous or next*/
}

.pagination-nav_link span:last-child{
@apply text-base text-ellipsis whitespace-nowrap overflow-hidden;
}

/* Navbar */
Expand Down