Skip to content

Commit e5159dd

Browse files
committed
Format error page HTML files with prettier
1 parent 35711c7 commit e5159dd

File tree

7 files changed

+533
-546
lines changed

7 files changed

+533
-546
lines changed
Lines changed: 92 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,95 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
4-
<head>
5-
<title>Python Discord • Error</title>
6-
7-
<meta charset="UTF-8">
8-
9-
<link rel="preconnect" href="https://fonts.gstatic.com">
10-
<link href="https://fonts.googleapis.com/css2?family=Hind:wght@400;600&display=swap" rel="stylesheet">
11-
12-
<style>
13-
html {
14-
height: 100%;
15-
}
16-
17-
body {
18-
background-color: #7289DA;
19-
background-image: url("https://raw.githubusercontent.com/python-discord/branding/master/logos/banner_pattern/banner_pattern.svg");
20-
background-size: 128px;
21-
font-family: "Hind", "Helvetica", "Arial", sans-serif;
22-
display: flex;
23-
align-items: center;
24-
justify-content: center;
25-
height: 100%;
26-
}
27-
28-
h1,
29-
p {
30-
color: black;
31-
padding: 0;
32-
margin: 0;
33-
}
34-
35-
h1 {
36-
margin-bottom: 15px;
37-
font-size: 26px;
38-
}
39-
40-
p {
41-
line-height: 125%;
42-
}
43-
44-
a {
45-
color: #7289DA;
46-
}
47-
48-
.error-box {
49-
display: flex;
50-
flex-direction: column;
51-
max-width: 512px;
52-
background-color: white;
53-
border-radius: 20px;
54-
overflow: hidden;
55-
box-shadow: 5px 7px 40px rgba(0, 0, 0, 0.432);
56-
}
57-
58-
.logo-box {
59-
display: flex;
60-
justify-content: center;
61-
height: 80px;
62-
padding: 15px;
63-
background-color: #758ad4;
64-
}
65-
66-
.content-box {
67-
padding: 25px;
68-
}
69-
70-
.cferror_details {
71-
list-style-type: none !important;
72-
background-color: #EEE;
73-
border-radius: 10px;
74-
padding: 20px;
75-
margin: 0;
76-
margin-top: 25px;
77-
}
78-
79-
li {
80-
font-family: monospace;
81-
}
82-
</style>
83-
</head>
84-
85-
<body>
86-
<div class="error-box">
87-
<div class="logo-box">
88-
<img
89-
src="https://raw.githubusercontent.com/python-discord/branding/b67897df93e572c1576a9026eb78c785a794d226/logos/logo_banner/logo_site_banner.svg"
90-
alt="Python Discord banner" />
3+
<head>
4+
<title>Python Discord • Error</title>
5+
6+
<meta charset="UTF-8" />
7+
8+
<link rel="preconnect" href="https://fonts.gstatic.com" />
9+
<link href="https://fonts.googleapis.com/css2?family=Hind:wght@400;600&display=swap" rel="stylesheet" />
10+
11+
<style>
12+
html {
13+
height: 100%;
14+
}
15+
16+
body {
17+
background-color: #7289da;
18+
background-image: url("https://raw.githubusercontent.com/python-discord/branding/master/logos/banner_pattern/banner_pattern.svg");
19+
background-size: 128px;
20+
font-family: "Hind", "Helvetica", "Arial", sans-serif;
21+
display: flex;
22+
align-items: center;
23+
justify-content: center;
24+
height: 100%;
25+
}
26+
27+
h1,
28+
p {
29+
color: black;
30+
padding: 0;
31+
margin: 0;
32+
}
33+
34+
h1 {
35+
margin-bottom: 15px;
36+
font-size: 26px;
37+
}
38+
39+
p {
40+
line-height: 125%;
41+
}
42+
43+
a {
44+
color: #7289da;
45+
}
46+
47+
.error-box {
48+
display: flex;
49+
flex-direction: column;
50+
max-width: 512px;
51+
background-color: white;
52+
border-radius: 20px;
53+
overflow: hidden;
54+
box-shadow: 5px 7px 40px rgba(0, 0, 0, 0.432);
55+
}
56+
57+
.logo-box {
58+
display: flex;
59+
justify-content: center;
60+
height: 80px;
61+
padding: 15px;
62+
background-color: #758ad4;
63+
}
64+
65+
.content-box {
66+
padding: 25px;
67+
}
68+
69+
.cferror_details {
70+
list-style-type: none !important;
71+
background-color: #eee;
72+
border-radius: 10px;
73+
padding: 20px;
74+
margin: 0;
75+
margin-top: 25px;
76+
}
77+
78+
li {
79+
font-family: monospace;
80+
}
81+
</style>
82+
</head>
83+
84+
<body>
85+
<div class="error-box">
86+
<div class="logo-box">
87+
<img
88+
src="https://raw.githubusercontent.com/python-discord/branding/b67897df93e572c1576a9026eb78c785a794d226/logos/logo_banner/logo_site_banner.svg"
89+
alt="Python Discord banner"
90+
/>
91+
</div>
92+
<div class="content-box">::CLOUDFLARE_ERROR_1000S_BOX::</div>
9193
</div>
92-
<div class="content-box">
93-
::CLOUDFLARE_ERROR_1000S_BOX::
94-
</div>
95-
</div>
96-
</body>
97-
94+
</body>
9895
</html>
Lines changed: 92 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,95 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
4-
<head>
5-
<title>Python Discord • Internal Server Error</title>
6-
7-
<meta charset="UTF-8">
8-
9-
<link rel="preconnect" href="https://fonts.gstatic.com">
10-
<link href="https://fonts.googleapis.com/css2?family=Hind:wght@400;600&display=swap" rel="stylesheet">
11-
12-
<style>
13-
html {
14-
height: 100%;
15-
}
16-
17-
body {
18-
background-color: #7289DA;
19-
background-image: url("https://raw.githubusercontent.com/python-discord/branding/master/logos/banner_pattern/banner_pattern.svg");
20-
background-size: 128px;
21-
font-family: "Hind", "Helvetica", "Arial", sans-serif;
22-
display: flex;
23-
align-items: center;
24-
justify-content: center;
25-
height: 100%;
26-
}
27-
28-
h1,
29-
p {
30-
color: black;
31-
padding: 0;
32-
margin: 0;
33-
}
34-
35-
h1 {
36-
margin-bottom: 15px;
37-
font-size: 26px;
38-
}
39-
40-
p {
41-
line-height: 125%;
42-
}
43-
44-
a {
45-
color: #7289DA;
46-
}
47-
48-
.error-box {
49-
display: flex;
50-
flex-direction: column;
51-
max-width: 512px;
52-
background-color: white;
53-
border-radius: 20px;
54-
overflow: hidden;
55-
box-shadow: 5px 7px 40px rgba(0, 0, 0, 0.432);
56-
}
57-
58-
.logo-box {
59-
display: flex;
60-
justify-content: center;
61-
height: 80px;
62-
padding: 15px;
63-
background-color: #758ad4;
64-
}
65-
66-
.content-box {
67-
padding: 25px;
68-
}
69-
70-
.cferror_details {
71-
list-style-type: none !important;
72-
background-color: #EEE;
73-
border-radius: 10px;
74-
padding: 20px;
75-
margin: 0;
76-
margin-top: 25px;
77-
}
78-
79-
li {
80-
font-family: monospace;
81-
}
82-
</style>
83-
</head>
84-
85-
<body>
86-
<div class="error-box">
87-
<div class="logo-box">
88-
<img
89-
src="https://raw.githubusercontent.com/python-discord/branding/b67897df93e572c1576a9026eb78c785a794d226/logos/logo_banner/logo_site_banner.svg"
90-
alt="Python Discord banner" />
3+
<head>
4+
<title>Python Discord • Internal Server Error</title>
5+
6+
<meta charset="UTF-8" />
7+
8+
<link rel="preconnect" href="https://fonts.gstatic.com" />
9+
<link href="https://fonts.googleapis.com/css2?family=Hind:wght@400;600&display=swap" rel="stylesheet" />
10+
11+
<style>
12+
html {
13+
height: 100%;
14+
}
15+
16+
body {
17+
background-color: #7289da;
18+
background-image: url("https://raw.githubusercontent.com/python-discord/branding/master/logos/banner_pattern/banner_pattern.svg");
19+
background-size: 128px;
20+
font-family: "Hind", "Helvetica", "Arial", sans-serif;
21+
display: flex;
22+
align-items: center;
23+
justify-content: center;
24+
height: 100%;
25+
}
26+
27+
h1,
28+
p {
29+
color: black;
30+
padding: 0;
31+
margin: 0;
32+
}
33+
34+
h1 {
35+
margin-bottom: 15px;
36+
font-size: 26px;
37+
}
38+
39+
p {
40+
line-height: 125%;
41+
}
42+
43+
a {
44+
color: #7289da;
45+
}
46+
47+
.error-box {
48+
display: flex;
49+
flex-direction: column;
50+
max-width: 512px;
51+
background-color: white;
52+
border-radius: 20px;
53+
overflow: hidden;
54+
box-shadow: 5px 7px 40px rgba(0, 0, 0, 0.432);
55+
}
56+
57+
.logo-box {
58+
display: flex;
59+
justify-content: center;
60+
height: 80px;
61+
padding: 15px;
62+
background-color: #758ad4;
63+
}
64+
65+
.content-box {
66+
padding: 25px;
67+
}
68+
69+
.cferror_details {
70+
list-style-type: none !important;
71+
background-color: #eee;
72+
border-radius: 10px;
73+
padding: 20px;
74+
margin: 0;
75+
margin-top: 25px;
76+
}
77+
78+
li {
79+
font-family: monospace;
80+
}
81+
</style>
82+
</head>
83+
84+
<body>
85+
<div class="error-box">
86+
<div class="logo-box">
87+
<img
88+
src="https://raw.githubusercontent.com/python-discord/branding/b67897df93e572c1576a9026eb78c785a794d226/logos/logo_banner/logo_site_banner.svg"
89+
alt="Python Discord banner"
90+
/>
91+
</div>
92+
<div class="content-box">::CLOUDFLARE_ERROR_500S_BOX::</div>
9193
</div>
92-
<div class="content-box">
93-
::CLOUDFLARE_ERROR_500S_BOX::
94-
</div>
95-
</div>
96-
</body>
97-
94+
</body>
9895
</html>

0 commit comments

Comments
 (0)