The main.css file had inconsistent whitespacing throughout, including a
mixture of tabs / spaces as well as different intervals of 2 / 4.
This patch brings the formatting to use 2 spaces at a time for each indent,
which is consistent with generally accepted best practices.
This creates a consolidated area to reference all of the notes from
previous releases of PostgreSQL, as current releases only keep the
the notes for that specific major release of PostgreSQL.
From user feedback, the scrolling navigation bar would cause problems with
readability, especially in larger font views. This keeps the navigation bar
pinned to the top, until we can find a way to more easily handle this.
This was an regression introduced by the new styles that affects
readability of nested variables lists (e.g. on the message protocol
page). This brings the look more in line with the previous documentation
styles and should help with readability.
In some situations, this would make it look like some directives
required spaces (e.g. .pgpass file set up), which would be incorrect.
Reported By: Vik Fearing
This patch brings the web-based documentation to match the current styles
on the main postgresql.org website. The CSS supports the generated markup
from the main PostgreSQL documentation and supports the new/old class
that are visible in the documentation (e.g. uppercase classes pre-v10).
Authors: Sarah Conway, Jonathan Katz
The global headers by default were uppercase and at times were challenging to
read. This modification sets the font to be the same throughout the entire site,
and allows the text author to decide whether or not content should be
capitalized.
Author: Sarah Conway
Since we allow markdown, we need to somewhat constrain what it looks
like on the site, so we don't end up with events that have headlines
that are bigger than the actual page headlines.
We can probably do something cleaner for this, but this will do as a
start.
A typo caused the h3.messages class to be larger than the h1.subject class that
was apparent when reading the archives. This makes both the CSS valid as well
as brings a better user experience.
Specifically, the navigation bar now shrinks in height on scroll
and when on devices smaller than 768px. Additionally, the search
box disappears at the 1280px break point to avoid text wrapping.
A JavaScript file was added (main.js) to apply the "compressed"
class when scrolling, which is what provides the menu shrinking.