From 09da4c4ff74866b879dfc35b3f46dd4b8ecb3754 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Mon, 3 Feb 2020 15:03:59 +0100 Subject: [PATCH] Feat: Cleaned up positioning on title so it can scroll. --- src/styles/title-animate.scss | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/src/styles/title-animate.scss b/src/styles/title-animate.scss index 8d6be30..20ed554 100644 --- a/src/styles/title-animate.scss +++ b/src/styles/title-animate.scss @@ -1,23 +1,27 @@ body { width: 100%; height: 100%; - position: fixed; -// background-color: #34495e; + color: white; + overflow: auto; } .title-content { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - overflow:hidden; - - font-family: 'Lato', sans-serif; - font-size: 35px; - line-height: 40px; - color: #ecf0f1; + position: relative; + padding-top: 49vh; + padding-bottom: 49vh; &__container { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + overflow:hidden; + + font-family: 'Lato', sans-serif; + font-size: 35px; + line-height: 40px; + color: #ecf0f1; + font-weight: 600; overflow: hidden; height: 40px; -- GitLab