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 d625f61..0d0b915 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;
 }