forked from jmoiron/sqlx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.jinja
More file actions
58 lines (54 loc) · 2.29 KB
/
custom.jinja
File metadata and controls
58 lines (54 loc) · 2.29 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Illustrated Guide to SQLX</title>
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700' rel='stylesheet' type='text/css'>
{% if prettify %}
<link href="assets/css/prettify.css" rel="stylesheet">
<script src="assets/js/prettify.js"></script>
{% endif %}
<style>
.container { width: 660px; margin: 0 auto; margin-top: 2em; color: #333; font-family: "PT Sans", sans-serif; }
.prettyprint.linenums { box-shadow: none; -webkit-box-shadow: none; }
.prettyprint { border: 0; background-color: #f2f2f2; padding: .5em 1em; }
ol.linenums { padding: 0; margin: 0; list-style-type: none; }
ol.linenums li { padding: 0; margin: 0; }
strong { color: #000; }
h1 { margin-bottom: 12px; }
h2 { margin-bottom: 6px; }
td.code { width: 100%; }
a.permalink { visibility: hidden; text-decoration: none; }
h1:hover a.permalink { visibility: visible; color: #eee; font-size: 85%; }
h2:hover a.permalink { visibility: visible; color: #eee; font-size: 85%; }
h3:hover a.permalink { visibility: visible; color: #eee; font-size: 85%; }
h4:hover a.permalink { visibility: visible; color: #eee; font-size: 85%; }
h1 a.permalink:hover { color: #555; }
h2 a.permalink:hover { color: #555; }
h3 a.permalink:hover { color: #555; }
h4 a.permalink:hover { color: #555; }
pre {
font-family: consolas,monospace;
font-size: 80%;
line-height: 1.5em;
padding: .5em 1em;
border-radius: 5px;
background-color: #f2f2f2;
text-shadow: 0 1px 0 white;
overflow-x: auto;
}
code {
font-family: consolas,monospace;
font-size: 85%;
color: #000;
font-weight: bold;
}
</style>
</head>
<body {% if prettify %}onload="prettyPrint();"{% endif %}>
<div class="container">
{{ header|safe }}
{{ document }}
{{ footer|safe }}
</body>
</html>