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

Narrower sidebar #42

Open
lars-hellstrom opened this issue Sep 7, 2017 · 2 comments
Open

Narrower sidebar #42

lars-hellstrom opened this issue Sep 7, 2017 · 2 comments

Comments

@lars-hellstrom
Copy link
Contributor

I think the sidebar should be narrower. (This is probably related to #15.)

To be more precise, the current sidebar eats up too much of the screen width. That doesn't matter much for short pages, but for long pages the difference to the old openmath.org layout is considerable.

In particular, I've been looking at the Technical Overview. When viewed with
the old openmath.org layout, it reads quite well – the reader can see that this page contains interesting content. When viewed with the new OpenMath.github.io layout, the reader is instead bogged down in some rather uninteresting initial paragraphs about "Why XML?". (My browser doesn't include the sidebar in those PDFs for some reason, but here is a screendump
screendump
of what it looks like; the PDF pagination is fairly close to the screen pagination.

There are probably other factors – such as font and font size – contributing to the difference, but I can't shake the impression that the sidebar is eating more than a third of the window, and contributing very little beyond the first screenful of actual page contents.

The CDs aren't hurt as much by this, probably because the main content has a fixed width or something, but I still find myself scrolling right as the first thing I do when I open one of those pages, simply because that gets the (mostly empty) "sidebar column" off my screen.

@kohlhase
Copy link
Member

I agree with this sentiment. I made the fonts a little smaller; maybe that helps.

@davidcarlisle
Copy link
Member

the relative width of sidebar and main text are not controlled by the fonts but by (as far as I can tell)
public/css/hyde.css having

width: 18rem; for the sidebar

and

max-width: 38rem; for the content.

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

3 participants