From 87800d80c866f9c895d4bc74d39d0ee40984f1a2 Mon Sep 17 00:00:00 2001 From: twanariens Date: Tue, 18 May 2021 22:55:06 +0200 Subject: [PATCH] Smaller menu for mobile devices. Made custom logo idiot proof --- .../landingpage/landingpage.component.html | 17 +++--- .../landingpage/landingpage.component.scss | 57 +++++++++++++++---- .../src/app/login/login.component.html | 2 +- .../src/app/login/login.component.scss | 5 ++ .../src/app/my-nav/my-nav.component.scss | 17 ++++++ 5 files changed, 79 insertions(+), 19 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.html b/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.html index 90e1cb599..abad6473f 100644 --- a/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.html +++ b/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.html @@ -3,12 +3,15 @@
-
+
- +
-
- + +
@@ -39,11 +42,11 @@

+
+ +
-
- -
diff --git a/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.scss b/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.scss index e05400aff..7eb4a4b3c 100644 --- a/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.scss +++ b/src/Ombi/ClientApp/src/app/landingpage/landingpage.component.scss @@ -1,10 +1,14 @@ - - .small-middle-container{ - margin: auto; - width: 75%; - padding-top: 15%; +@import "~styles/variables.scss"; +.small-middle-container{ + height:100vh; } +.row{ + display:flex; + align-items: center; + justify-content: center; + height:100vh; +} @media only screen and (max-width: 992px) { div.centered { @@ -32,12 +36,6 @@ div.bg { position: fixed; } -.vcenter { - display: inline-block; - vertical-align: middle; - float: none; -} - .online{ color:lightgreen; } @@ -61,4 +59,41 @@ span, b, i, p { ::ng-deep body { background-color:#303030 !important; +} + +.logo{ + font:700 6em 'Montserrat', sans-serif; + text-align:center; + text-transform: uppercase; + color: $ombi-active; + padding:40px 20px; + white-space: normal; +} + +@media (max-width: 1000px) { + .logo{ + font:700 5em 'Montserrat', sans-serif; + } +} + +@media (max-width: 800px) { + .logo{ + font:700 4em 'Montserrat', sans-serif; + } +} + +@media (max-width: 767px) { + .vcenter{ + text-align:center; + } +} + +.logo-img{ + max-width:420px; + max-height:420px; +} + +.logo-container{ + display:flex; + justify-content: center; } \ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/login/login.component.html b/src/Ombi/ClientApp/src/app/login/login.component.html index 62dcc7d30..c0932999b 100644 --- a/src/Ombi/ClientApp/src/app/login/login.component.html +++ b/src/Ombi/ClientApp/src/app/login/login.component.html @@ -8,7 +8,7 @@

OMBI

{{customizationSettings.applicationName}}

- +