Books often use special environments to display examples, theoretical details, notes, etc.
Here is one example:
Do you know any website that collects templates for this kind of special environments (something similar to "beamer theme gallery" but for "notes environments")?