Frontend: API doc layout improvements.

  * Better margins.
  * Method in upper case.
  * Examples distinguished.