tudat-team / tudat-space

An introduction and guide to tudat-space.
https://tudat-space.readthedocs.io
14 stars 17 forks source link

Set maximum width to website #58

Closed FilippoOggionni closed 2 years ago

FilippoOggionni commented 2 years ago

This was originally proposed by @ggarrett13 some time ago. It is a good idea to avoid that the content gets stretched over width on very wide screens.

I tried with some solutions from this post, but it was not successfully (in particular, setting html_theme_options = {'body_max_width': '70%'} in the conf.py file).

Assigning also @gaffarelj because he knows much more than me about CSS 😎

FilippoOggionni commented 2 years ago

Fixed by 8e226b644148d324123332f2e9b0417e5b739630.

Turns out another solution from the same post linked above worked. Thanks to @ggarrett13 for the suggestion!

FilippoOggionni commented 2 years ago

This is now online. @gaffarelj @DominicDirkx please let me know if you think we should make it wider than the current version (currently set to 1000px here).

gaffarelj commented 2 years ago

Seems perfect to me! The old tudat.tudelft.nl is restricted to 800px, which feels a little to cramped. I think 1000px hits the mark just right.