docs: do not hard-code header-height
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 17 Apr 2019 12:52:41 +0000 (14:52 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 2 May 2019 08:45:57 +0000 (08:45 +0000)
It's generally nicer to do this in terms of em units, as that scales
better with text-sizes, if we ever decide to change them.

The result is slightly larger than before, but only by a couple of
pixels.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
docs/mesa.css

index d625f618e4c3ea984885c8bf4155f103fedb4118..0d0b9156fda5beb5db432567c34399ce06f42941 100644 (file)
@@ -43,7 +43,7 @@ iframe {
 
 .header {
        background: url('gears.png') 15px no-repeat, black url('gears.png') right no-repeat;
-       height: 80px;
+       padding: 2em;
        display: flex;
        text-align: center;
 }