summaryrefslogtreecommitdiffstats
path: root/core/css/guest.css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-22 15:34:40 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-22 15:34:40 +0100
commitec8c7d612dd692bcbbfe04c22f15c35424554277 (patch)
tree3d064ed976b910d7e1b4b0a13f2f5f7253bdf505 /core/css/guest.css
parent968da5ef23efa722163c0d5250d82a39367a1571 (diff)
downloadnextcloud-server-ec8c7d612dd692bcbbfe04c22f15c35424554277.tar.gz
nextcloud-server-ec8c7d612dd692bcbbfe04c22f15c35424554277.zip
Use flex for guest full screen alignment
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/guest.css')
-rw-r--r--core/css/guest.css17
1 files changed, 9 insertions, 8 deletions
diff --git a/core/css/guest.css b/core/css/guest.css
index 9c223dfc085..3b618bf7f79 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -60,6 +60,13 @@ h3 {
}
/* Global content */
+body {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
#header .logo {
background-image: url('../img/logo.svg?v=1');
background-repeat: no-repeat;
@@ -77,15 +84,8 @@ h3 {
max-height: 200px;
}
.wrapper {
- min-height: 100%;
- margin: 0 auto -70px;
width: 300px;
-}
-.v-align {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
+ margin-top: auto;
}
/* Default FORM */
@@ -723,6 +723,7 @@ img.icon-loading-small-dark, object.icon-loading-small-dark, video.icon-loading-
footer,
.push {
height: 70px;
+ margin-top: auto;
}
footer .info a {