This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
abunchtell
/
mastodon
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Activity
Преглед изворни кода
Fix styles of error pages (
#5335
)
Signed-off-by: Lynx Kotoura <admin@sanin.link> Signed-off-by: Lynx Kotoura <admin@sanin.link>
master
Lynx Kotoura
пре 6 година
committed by
Eugen Rochko
родитељ
27101f1beb
комит
07ea625cb2
1 измењених фајлова
са
22 додато
и
14 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+22
-14
app/javascript/styles/basics.scss
+ 22
- 14
app/javascript/styles/basics.scss
Прегледај датотеку
@@ -29,8 +29,7 @@ body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", mastodon-font-sans-serif, sans-serif;
}
&.app-body,
&.error {
&.app-body {
position: fixed;
width: 100%;
height: 100%;
@@ -70,25 +69,34 @@ body {
}
&.error {
position: absolute;
text-align: center;
color: $ui-primary-color;
padding: 20px;
background: $ui-base-color;
width: 100%;
height: 100%;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
.dialog img {
display: block;
max-width: 470px;
width: 100%;
height: auto;
margin-top: -120px;
}
.dialog {
vertical-align: middle;
margin: 20px;
img {
display: block;
max-width: 470px;
width: 100%;
height: auto;
margin-top: -120px;
}
.dialog h1 {
font-size: 20px;
line-height: 28px;
font-weight: 400;
h1 {
font-size: 20px;
line-height: 28px;
font-weight: 400;
}
}
}
}
Write
Preview
Loading…
Откажи
Сачувај