mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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 <erik.faye-lund@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
130400b904
commit
5ffe4879b6
1 changed files with 3 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue