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

mw-headline padding-top obscures h3 links on small screens / mobile #80

Open
badshah400 opened this issue May 14, 2017 · 2 comments
Open

Comments

@badshah400
Copy link

Thanks for this really awesome theme!

The mw-headline padding-top of 103px obscures h3 links making them unclickable. Changing the padding-top to 10px and margin-top to -10px seems to fix this (see line#478 in style.css):

@media (max-width: 979px) {
	body { padding-top: 103px; }

	.mw-headline {
		margin-top: -103px;
		padding-top: 103px;
	}

For a demo, try to click on the link "1. Gauge invariance, relation with GR, large transformations, Wilson loop." on this page:
http://www.theo.phys.ulg.ac.be/wiki/Astro-particules
from a mobile or by resizing your browser so that the md size theme kicks in. The links can't be clicked.

These modifications were introduced as part of commit a5ddee3, but simply keeping body { padding-top: 103px; } should be enough to prevent the title from slipping under the navbar (seems to work in my case, where I have changed the mw-headline padding-top to 10px from 103px but left the body padding-top unaltered).

Thanks for any help or suggestions.

@badshah400
Copy link
Author

Seems to be similar to Issue #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@badshah400 and others