mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02:00
Improve wording on error pages.
This commit is contained in:
@@ -10,7 +10,6 @@ block content
|
||||
alt="Not found"
|
||||
)
|
||||
.error-details
|
||||
h1.error-code 404
|
||||
p.error-status Not found
|
||||
p.error-description #{translate("cant_find_page")}
|
||||
a.error-btn(href="/") Home
|
||||
@@ -16,9 +16,8 @@ html.full-height(itemscope, itemtype='http://schema.org/Product')
|
||||
alt="Error"
|
||||
)
|
||||
.error-details
|
||||
h1.error-code 500
|
||||
p.error-status Ooops
|
||||
p.error-description Looks like something went wrong
|
||||
p.error-status Something went wrong, sorry.
|
||||
p.error-description Our staff are probably looking into this, but if it continues, please contact us at #{settings.adminEmail}
|
||||
a.error-btn(href="/") Home
|
||||
//- .content
|
||||
//- .container
|
||||
|
||||
@@ -56,17 +56,9 @@
|
||||
flex: 0 1 50%;
|
||||
padding: @line-height-computed * 2;
|
||||
}
|
||||
.error-code {
|
||||
font-family: @font-family-sans-serif;
|
||||
font-size: @font-size-h1 * 4;
|
||||
font-weight: 800;
|
||||
color: @red;
|
||||
margin-bottom: @line-height-computed;
|
||||
}
|
||||
.error-status {
|
||||
font-family: @font-family-serif;
|
||||
margin-bottom: (@line-height-computed / 4);
|
||||
line-height: 1;
|
||||
color: @gray-dark;
|
||||
font-size: @font-size-h1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user