theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.com/
MIT License
1.09k stars 1.12k forks source link

Decrease the top margin a bit #619

Open melroy89 opened 1 year ago

melroy89 commented 1 year ago

Decrease the top margin of the side panel on large displays from mt6 to mt3.

Especially having table of contents enabled (toc: true) the content of the side panel is not easily identified as such. Actually the TOC is almost off the screen.. :\

So less ideal. In my case people should detect the table of contents easier.

For reference, I'm using a 1920x1080 panel.

netlify[bot] commented 1 year ago

Deploy Preview for gohugo-ananke-theme-demo canceled.

Name Link
Latest commit afde5e014f658780d0d7c3b5e4d2abcbab50be2d
Latest deploy log https://app.netlify.com/sites/gohugo-ananke-theme-demo/deploys/63dda87a283b720008645a27
melroy89 commented 1 year ago

Or maybe even better, remove this mt6-l all together.

regisphilibert commented 7 months ago

@budparr this is some design consideration.

ramiro commented 2 months ago

Wouldn't it be better to make the whole aside right side lateral block conditional on the toc front matter option actually being enabled?

If, in the demo site, you compare a blog post (e.g. Chapter VI: Esmeralda) with the About page on a medium sized computer display (no need for it to be any of the very high DPI panels available now) you can see the former's body is placed too to the left with too much white space on the right and in comparison the latter looks more pleasantly centered on the screen.

melroy89 commented 2 months ago

Wouldn't it be better to make the whole aside right side lateral block conditional on the toc front matter option actually being enabled?

If, in the demo site, you compare a blog post (e.g. Chapter VI: Esmeralda) with the About page on a medium sized computer display (no need for it to be any of the very high DPI panels available now) you can see the former's body is placed too to the left with too much white space on the right and in comparison the latter looks more pleasantly centered on the screen.

Both yes. this PR is mainly about the top, but sure also the centering is an issue, when you don't enabled the toc.