Skip to content
Snippets Groups Projects
Commit 52de9227 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2032895 by balsama, yannickoo, corbacho, Kendall Totten: Follow-up use...

Issue #2032895 by balsama, yannickoo, corbacho, Kendall Totten: Follow-up use better technique for vertical centering.
parent f1ec2386
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment