It was bound to happen. Now besides coffee stains, you can also add wine stains to your LaTeX document!
wine.sty is actually Hanno Rein's coffee4.sty, with all the 'coffee' replaced by 'wine' in the code, and replaced colour definitions.
The package provides an environment for coloured and framed text boxes with a heading line. Optionally, such a box may be split in an upper and a lower part; thus the package may be used for the setting of LaTeX examples where one part of the box displays the source code and the other part shows the output. Another common use case is the setting of theorems. The package supports saving and reuse of source code and text parts.
An example exam paper based on the exam class, which provides commands for:
creating regular, multiple-choice and essay questions;
showing answers for multiple-choice questions;
points per question counting.
This example was originally published on ShareLaTeX and subsequently moved to Overleaf in November 2019.