Applying page margins in EPUB with CSS

Recently, pretty much all ebook readers adopted the @page CSS rule (including Adobe Digital Editions), making the proprietary Adobe Page Templates obsolete when trying to set margins.

Therefore, if you want to set a margin of 1.5em, all you need to do is use the following CSS rule:

@page {
    margin: 1.5em;
}