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

html layout: frame width/alignment and font size #353

Open
falkmielke opened this issue Jan 21, 2025 · 0 comments
Open

html layout: frame width/alignment and font size #353

falkmielke opened this issue Jan 21, 2025 · 0 comments

Comments

@falkmielke
Copy link
Contributor

I would suggest to update the site settings, namely the width of the main frame and/or font size.
This probably requires wrangling on the Hugo/CSS side.

In desktop computer browsers, tutorials and articles appear shifted to the left side; the frame just covers about half of the screen.
Font size is slightly increased, which leads to the odd situation that there are only 67 characters displayed in code boxes.

Image

I suspect that this is beneficial for mobile compatibility; and large fonts might improve accessibility. However, it is a waste of space on regular computer screens. The font size in code blocks complicates reading code.

For comparison, refer to a plain vanilla quarto html export. I do not think that the main frame is actually that much wider. However, it is centered, and font size is normal. Some websites offer font size adjustment options.

If a general overhaul is required, this might be tackled together with the floating TOC (issue 215).

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

No branches or pull requests

1 participant