]> 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 53b6142e15b4eaf5a19f5cf4a9bbb346179f23d3..efb81ff004254ee3d80080d142cd7b6674ff1f85 100644 (file)
@@ -1,8 +1,57 @@
-div {
+@use '_variables' as *;
+@use '_mixins' as *;
+
+.root {
+  @include margin-left(auto);
+  @include margin-right(auto);
+
   height: 100%;
-  width: 100%;
   text-align: center;
-  margin-top: 150px;
+  padding-top: 150px;
+  display: flex;
+  justify-content: center;
+  flex-direction: column-reverse;
+
+  .box {
+    text-align: start;
+    font-size: 120%;
+    padding: 0 15px;
+  }
+
+  img {
+    @include margin-left(auto);
+
+    width: 220px;
+    height: auto;
+  }
+
+  @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) {
+    padding-top: 50px;
 
-  font-size: 32px;
-}
\ No newline at end of file
+    img {
+      width: 160px;
+    }
+  }
+}