diff --git a/core/themes/seven/install-page.css b/core/themes/seven/install-page.css index 0d223f00977c578f0ae66edd8af6ed53e3ddefb7..42d3ea24148a4b1ba0be67b89bfd9b2e207e7f70 100644 --- a/core/themes/seven/install-page.css +++ b/core/themes/seven/install-page.css @@ -27,28 +27,24 @@ body.install-page { background: none; } @media all and (min-width: 48em) { /* 768px */ + html { + display: table; + } + body { + display: table-cell; + padding: 1em 0; + vertical-align: middle; + } html, body { - height: 100%; - text-align: center; - white-space: nowrap; margin: 0; - } - body:before { - content: ''; - display: inline-block; + width: 100%; height: 100%; - width: 0; - vertical-align: middle; - margin-right: -0.35em; } body.install-page #page { - display: inline-block; - vertical-align: middle; - text-align: left; - white-space: normal; - border-radius: 5px; - width: 75%; + margin: 0 auto; max-width: 770px; + width: 75%; + border-radius: 5px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } body.install-page #content {