| <!DOCTYPE html> |
| <link rel="author" title="Morten Stenshorne" href="mailto:[email protected]"> |
| <meta name="flags" content="ahem"> |
| <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> |
| <style> |
| :root { |
| print-color-adjust: exact; |
| font: 16px/1 Ahem; |
| } |
| @page { |
| size: 32em 28em; |
| margin: 0; |
| } |
| body { |
| margin: 0; |
| } |
| .grid { |
| display: grid; |
| grid-template-columns: 6em auto 6em; |
| grid-template-rows: 6em auto 6em; |
| height: 100vh; |
| } |
| .vertical-edge { |
| display: flex; |
| } |
| .horizontal-edge { |
| display: flex; |
| flex-flow: column; |
| } |
| </style> |
| <div class="grid"> |
| <div class="corner"></div> |
| <div class="vertical-edge"> |
| <div style="margin-top:20px; margin-bottom:auto; width:4em; background:hotpink;">x</div> |
| <div style="margin-top:40px; margin-bottom:auto; width:12em; background:cyan;">xxxxx</div> |
| <div style="margin-top:60px; margin-bottom:auto; width:4em; background:yellow;">x</div> |
| </div> |
| <div class="corner"></div> |
| <div class="horizontal-edge"></div> |
| <div></div> |
| <div class="horizontal-edge"></div> |
| <div class="corner"></div> |
| <div class="vertical-edge"> |
| <div style="margin-top:20px; margin-bottom:auto; width:7.5em; background:yellow;">xxxxxx</div> |
| <div style="margin-top:40px; margin-bottom:auto; width:5em; background:cyan;">xxxx</div> |
| <div style="margin-top:60px; margin-bottom:auto; margin-left: auto; width:2em; background:hotpink;">x</div> |
| </div> |
| <div class="corner"></div> |
| </div> |