Layout fixes for the manual.

* Resize the logo to fix rendering in Firefox.
* Wrap the book title in a separate element for styling.
* Make the version switcher less confusing.
* Default to hide the TOC on smaller screens.
Merge pull request #2558 from nawroth/manual-layout

 Layout fixes for the manual.
Add support for hexadecimal literals

Resolves #2564