nginx-error-pages #45

Merged
kunsi merged 6 commits from nginx-error-pages into main 2021-08-07 20:10:02 +00:00
3 changed files with 9 additions and 9 deletions
Showing only changes of commit e8d1582ed4 - Show all commits

View file

@ -77,7 +77,7 @@ server {
root /var/www/; root /var/www/;
internal; internal;
} }
error_page 500 502 503 504 /error.html; error_page 500 502 503 504 /error.html;
location = /error.html { location = /error.html {
root /var/www/; root /var/www/;

View file

@ -36,23 +36,23 @@
background-color: var(--bg-color); background-color: var(--bg-color);
} }
.header{ .header{
border-bottom-width: 10px; border-bottom-width: 10px;
border-bottom-style: solid; border-bottom-style: solid;
border-bottom-color: var(--line-color); border-bottom-color: var(--line-color);
padding-bottom: 1em padding-bottom: 1em
} }
h1{ h1{
vertical-align: middle; vertical-align: middle;
margin: 0 auto; margin: 0 auto;
width: var(--page-width); width: var(--page-width);
} }
.emoji{ .emoji{
vertical-align: middle; vertical-align: middle;
font-size: 3em; font-size: 3em;
margin-right: 0.5em; margin-right: 0.5em;
} }
.text{ .text{
margin: 1em auto; margin: 1em auto;
width: var(--page-width); width: var(--page-width);
font-size: 1.5em; font-size: 1.5em;
} }

View file

@ -36,23 +36,23 @@
background-color: var(--bg-color); background-color: var(--bg-color);
} }
.header{ .header{
border-bottom-width: 10px; border-bottom-width: 10px;
border-bottom-style: solid; border-bottom-style: solid;
border-bottom-color: var(--line-color); border-bottom-color: var(--line-color);
padding-bottom: 1em padding-bottom: 1em
} }
h1{ h1{
vertical-align: middle; vertical-align: middle;
margin: 0 auto; margin: 0 auto;
width: var(--page-width); width: var(--page-width);
} }
.emoji{ .emoji{
vertical-align: middle; vertical-align: middle;
font-size: 3em; font-size: 3em;
margin-right: 0.5em; margin-right: 0.5em;
} }
.text{ .text{
margin: 1em auto; margin: 1em auto;
width: var(--page-width); width: var(--page-width);
font-size: 1.5em; font-size: 1.5em;
} }