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

Reduce footer margin only for desktop #106

Merged
merged 1 commit into from
Feb 16, 2023
Merged
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
7 changes: 6 additions & 1 deletion python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ table.footnote, table.footnote td {

div.footer {
line-height: 150%;
margin-top: -2em;
text-align: right;
width: auto;
margin-right: 10px;
Expand Down Expand Up @@ -522,3 +521,9 @@ dl > dt span ~ em {
overflow-x: auto;
}
}

@media (min-width: 1024px) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this in landscape mode (assuming that's supported)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a narrow landscape mode (iPhone SE):

image

And a wide landscape mode (iPad Air):

image

div.footer {
margin-top: -2em;
}
}