Skip to content
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

BugFix: Made search-index.html page responsive for mobile. #246

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
17 changes: 11 additions & 6 deletions src/css/vocabulary.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ a.more {
/* post component - plural */

.posts {
padding: 0 2rem;
text-align: center;
}

Expand Down Expand Up @@ -219,7 +220,7 @@ main {
}

main > * {
grid-column: 5 / span 3;
grid-column: 5 / span 3 !important;
}

main > header {
Expand Down Expand Up @@ -1556,7 +1557,10 @@ body > footer .license svg {
}

/* search-index context */

.search-form{
padding: 0 2rem;
box-sizing: border-box;
}
.search-index main > header { /* generalize? */
display: block;
padding: 3.7em 0;
Expand Down Expand Up @@ -1588,7 +1592,8 @@ body > footer .license svg {
}

.search-index .search-form form button {
width: 10%;
width: fit-content;
padding: 0.2rem 1rem;

cursor: pointer;
background: black;
Expand Down Expand Up @@ -1828,9 +1833,9 @@ body > footer .license svg {
grid-column: 3 / 10;
}

.search-index main > header:before {
/* .search-index main > header:before {
left: -9.3%;
}
} */
}

@media (max-width: 900px) {
Expand Down Expand Up @@ -1952,7 +1957,7 @@ body > footer .license svg {
}

main > header:before {
left: 0;
left: 0 !important;
}

.posts article figure {
Expand Down