RunestoneInteractive / RunestoneComponents

Packaging of the Runestone tools for publishing educational materials using github pages
http://runestoneinteractive.org
Other
101 stars 225 forks source link

Style docutil 17 adjustments #1311

Closed ascholerChemeketa closed 2 years ago

ascholerChemeketa commented 2 years ago

Suggested changes to handle basic width formatting for docutils 17.1

ascholerChemeketa commented 2 years ago

Not a 100% visual match for old styling.

Tries to keep two container widths - standard narrow width for content that is for reading and a wider width for content that wants more space like Parsons and active code.

Also allows for better overriding of default widths. Most directives now will accept :class: full-width which will cause something that otherwise would be narrow (like a note) to take on the wider width.

Tested with RunestoneOverview and RunestoneComponents (quick flip through random selection of pages).

bnmnetp commented 2 years ago

Closing manually as it is merged.