]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+page-not-found/page-not-found.component.scss
Move to sass module
[github/Chocobozzz/PeerTube.git] / client / src / app / +page-not-found / page-not-found.component.scss
index 660f4c3b8a8b9209bb7e30a1ec7fbcde1697796a..efb81ff004254ee3d80080d142cd7b6674ff1f85 100644 (file)
@@ -1,17 +1,50 @@
+@use '_variables' as *;
+@use '_mixins' as *;
+
 .root {
+  @include margin-left(auto);
+  @include margin-right(auto);
+
   height: 100%;
-  width: 100%;
   text-align: center;
   padding-top: 150px;
+  display: flex;
+  justify-content: center;
+  flex-direction: column-reverse;
+
+  .box {
+    text-align: start;
+    font-size: 120%;
+    padding: 0 15px;
+  }
 
   img {
-    margin-bottom: 75px;
+    @include margin-left(auto);
+
     width: 220px;
     height: auto;
   }
 
-  .text {
-    font-size: 30px;
+  @media screen and (max-width: $mobile-view) {
+    img {
+      @include margin-right(auto);
+    }
+  }
+
+  @media screen and (min-width: $mobile-view) {
+    width: 400px;
+  }
+
+  @media screen and (min-width: #{breakpoint(lg)}) {
+    width: 600px;
+  }
+
+  @media screen and (min-width: #{breakpoint(xl)}) {
+    width: 700px;
+  }
+
+  @media screen and (min-width: #{breakpoint(xxl)}) {
+    width: 800px;
   }
 
   @media screen and (max-height: 600px) {