html - Modifying content width of the Sphinx theme 'Read the Docs' -


I am using the 'Read Document' Spinks theme for my documents. In the original subject, the following

The content or main layout width is designed to be mobile-friendly. However, for my project I want to widen it a bit more. I do not know HTML and so it appreciates that anyone can give me some clues to increase the width of the content.

  .wy-nav-content {max- You just want to create a stylesheet with  source / _static  with CSS, width: none; }   

or

  .wy-nav-content {max-width: 1200px! Important; }   

Make sure the directory is referred to in the source / conf.py - I believe that there is a line to do this by default, that is,

  # Add any paths containing custom static files (such as a style sheet), relative to this directory. They are copied after the static files created, # so that a file named "default.css" overwrites Biltine "default.css". Create a custom layout in HTML_static_path = ['_static']   

then source / _templates / layout.html and do something to include your stylesheet < / p {{Pathto ("_static / style.css", true)}} "rel ="

  {% layout.html "%}" extends {% block extrahead%} & lt; link href = stylesheet "type =" text / css "& gt; {% endblock%}   

Assume that you have your stylesheet style.css

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -