diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-08 10:32:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-08 10:58:05 +0200 |
commit | c0e3d9ff9019fc3af9791bd20e1430724b2a043a (patch) | |
tree | c43204bf44440eda4775fd1c3355f69bfeecb76e /client/src/app/+error-page/error-page.component.scss | |
parent | c482d2b7a6c59867973291f3ea3eca7d2db87d2a (diff) | |
download | PeerTube-c0e3d9ff9019fc3af9791bd20e1430724b2a043a.tar.gz PeerTube-c0e3d9ff9019fc3af9791bd20e1430724b2a043a.tar.zst PeerTube-c0e3d9ff9019fc3af9791bd20e1430724b2a043a.zip |
Rename not fount page to error page
Diffstat (limited to 'client/src/app/+error-page/error-page.component.scss')
-rw-r--r-- | client/src/app/+error-page/error-page.component.scss | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/client/src/app/+error-page/error-page.component.scss b/client/src/app/+error-page/error-page.component.scss new file mode 100644 index 000000000..4e12e8c78 --- /dev/null +++ b/client/src/app/+error-page/error-page.component.scss | |||
@@ -0,0 +1,45 @@ | |||
1 | @use '_variables' as *; | ||
2 | @use '_mixins' as *; | ||
3 | |||
4 | .root { | ||
5 | @include margin-left(auto); | ||
6 | @include margin-right(auto); | ||
7 | |||
8 | height: 100%; | ||
9 | text-align: center; | ||
10 | padding-top: 150px; | ||
11 | display: flex; | ||
12 | justify-content: center; | ||
13 | flex-direction: column-reverse; | ||
14 | |||
15 | .box { | ||
16 | text-align: start; | ||
17 | font-size: 120%; | ||
18 | padding: 0 15px; | ||
19 | } | ||
20 | |||
21 | img { | ||
22 | @include margin-left(auto); | ||
23 | |||
24 | width: 220px; | ||
25 | height: auto; | ||
26 | } | ||
27 | |||
28 | @media screen and (max-width: $mobile-view) { | ||
29 | img { | ||
30 | @include margin-right(auto); | ||
31 | } | ||
32 | } | ||
33 | |||
34 | @media screen and (min-width: $mobile-view) { | ||
35 | width: 400px; | ||
36 | } | ||
37 | |||
38 | @media screen and (max-height: 600px) { | ||
39 | padding-top: 50px; | ||
40 | |||
41 | img { | ||
42 | width: 160px; | ||
43 | } | ||
44 | } | ||
45 | } | ||