-
Notifications
You must be signed in to change notification settings - Fork 27
/
template.html
74 lines (74 loc) · 1.11 KB
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pretty Diff</title>
<style>
body {
text-align: center;
margin: 0 1rem 1rem;
}
#wrapper {
display: inline-block;
margin-top: 1em;
text-align: left;
width: 100%;
}
h2 {
align-items: center;
background: linear-gradient(#fafafa, #eaeaea);
border: 1px solid #d8d8d8;
border-bottom: 0;
color: #555;
display: flex;
font: 14px sans-serif;
justify-content: space-between;
overflow: hidden;
padding: 10px 6px;
text-shadow: 0 1px 0 white;
margin: 1rem 0 0 0;
}
h2:first-child {
margin-top: 0;
}
.title {
margin-left: 0.5rem;
}
.copy {
float: right;
}
.file-diff {
border: 1px solid #d8d8d8;
overflow: auto;
padding: 0.5em 0;
}
pre {
margin: 0;
font-family: "Bitstream Vera Sans Mono", Courier, monospace;
font-size: 12px;
line-height: 1.4em;
text-indent: 0.5em;
}
.file {
color: #aaa;
}
.delete {
background-color: #fdd;
}
.insert {
background-color: #dfd;
}
.info {
color: #a0b;
}
.hidden {
display: none;
}
</style>
</head>
<body>
<div id="wrapper">
{{diff}}
</div>
</body>
</html>