-
-
Notifications
You must be signed in to change notification settings - Fork 308
/
simple_error_template.html
87 lines (73 loc) · 1.78 KB
/
simple_error_template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex">
<title>$title</title>
<!-- Styles -->
<style>
html,
body {
background-color: #1d1d1d;
color: #777777;
font-family: sans-serif;
font-weight: 100;
height: 100vh;
margin: 0;
}
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
flex-flow: row wrap;
justify-content: center;
align-content: center;
}
.position-ref {
position: relative;
}
.code {
font-size: 36px;
border-right: 2px solid;
padding: 0 15px 0 15px;
text-align: center;
color: #bbbbbb;
}
.message {
font-size: 18px;
text-align: left;
}
code {
font-size: 16px;
color: #bbbbbb;
}
/* Inserting this collapsed row between two flex items will make
* the flex item that comes after it break to a new row */
.break {
flex-basis: 100%;
height: 0;
margin: 0;
border: 0;
}
span.important {
color: #DD0000;
font-weight: bold;
}
a {
color: #bbbbbb;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
<div class="code">
$code </div>
<div class="message" style="padding: 10px;">
$message
</div>
</div>
</body>
</html>