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

[Fix] Mobile responsiveness issues in search-index.html #150

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
24 changes: 22 additions & 2 deletions src/css/vocabulary.css
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ body > footer .license svg {

.search-index .search-form form input {
flex: 1;
width: 100%;
/* width: 100%; */
height: 4em;
padding: .2em 1em;

Expand Down Expand Up @@ -1831,6 +1831,10 @@ body > footer .license svg {
flex-wrap: wrap;
}

main > .posts {
grid-column: 4 / span 5;
}

main article.posts.related ul {
grid-template-columns: 1fr 1fr;
}
Expand Down Expand Up @@ -1946,15 +1950,27 @@ body > footer .license svg {
margin-bottom: 5em;
}

main > header > *{
margin: 0 var(--vocabulary-page-edges-space);
}

main > header h1{
width: auto;
}

main > header:before {
left: 0;
}

.posts article figure {
.posts .post figure {
width: 100%;
flex: initial;
}

.posts .post{
margin: 0 var(--vocabulary-page-edges-space);
}

.team-index main > header {
padding: 0 5%;
}
Expand Down Expand Up @@ -1991,6 +2007,10 @@ body > footer .license svg {
main nav.pagination ol li {
line-height: 250%;
}

.search-index main > header:before {
left: 0;
}
}

@media (max-width: 580px) {
Expand Down