diff options
author | Wolfgang Müller | 2021-06-16 14:41:00 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-06-16 14:41:00 +0200 |
commit | 8d62f42cda3fb202d5bb873f87d2f8a645a7003f (patch) | |
tree | b9792fd0020254df0d97202e8d51d17cb9cbc748 /content/12 | |
parent | 00a186d12a2ad530a39fafe726150d67a212ecbf (diff) | |
download | zunzuncito-8d62f42cda3fb202d5bb873f87d2f8a645a7003f.tar.gz |
Use CSS to add spacers
Currently, we pad certain elements with manual interpunct spacers that
are defined in the templates themselves. This is suboptimal for a number
of reasons. Templates should be used for textual or semantic data, not
presentation. Additionally, we have no good control over how whitespace
characters will end up being rendered. Adding or deleting spacers is a
nightmare.
To fix this, use CSS to render spacers instead. To that end, introduce a
couple of HTML elements in the top banner and keep supplementary links
in a list inside a <nav> element. Add a spacer mixin that can be applied
to any element that needs it.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions