diff options
author | Erik Faye-Lund <[email protected]> | 2019-04-17 14:46:00 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-05-02 08:45:57 +0000 |
commit | 5ffe4879b6aec4908a1e8381064325a7d962fbb3 (patch) | |
tree | 95617f8aa0260c3130e57cc37eda2b72a94b4214 /docs/mesa.css | |
parent | 130400b9042217141ba243d97be7bc5dc2f543bb (diff) |
docs: simplify css-centering
With "display: flex;" we can make this a bit more automatic, not
requiring a bunch of values to be of specific values to get the right
centering.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'docs/mesa.css')
-rw-r--r-- | docs/mesa.css | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/mesa.css b/docs/mesa.css index 06e94c5f087..d625f618e4c 100644 --- a/docs/mesa.css +++ b/docs/mesa.css @@ -44,13 +44,12 @@ iframe { .header { background: url('gears.png') 15px no-repeat, black url('gears.png') right no-repeat; height: 80px; + display: flex; + text-align: center; } .header h1 { color: white; font: x-large sans-serif; - text-align: center; - height: 50px; - margin: 0; - padding-top: 30px; + margin: auto; } |