forked from revolunet/sublimetext-markdown-preview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustomized-template-sample.html
More file actions
59 lines (58 loc) · 1.51 KB
/
Copy pathcustomized-template-sample.html
File metadata and controls
59 lines (58 loc) · 1.51 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
59
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
{{ HEAD }}
<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<style type="text/css">
body {
background-color: #EEE;
margin: 2em 0;
font-size: 12pt;
font-family: "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans GB", sans-serif;
line-height: 150%;
}
blockquote {
font-size: inherit;
}
#container {
background-color: #FFF;
/*box-shadow: 0px 0px 10px #CCC;*/
/*border: 3px solid #DDD;*/
padding: 1em 2em;
box-shadow: 0 0 0.5em #e6e6e6 inset,0 0 0 1px #d3d3d3;
border-radius: 0.5em;
margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
border-bottom: 1px solid #EEE;
padding-bottom: 0.25em;
font-weight: bold;
margin-top: 1em;
}
img {
border: 3px solid #e6e6e6;
padding: 1em;
box-shadow: 0px 0px 10px #d3d3d3;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
img { zoom: 0.5; }
}
</style>
</head>
<body>
<div id="container" class="container">
{{ BODY }}
</div>
<footer class="container">
<p class="text-muted text-center">
Markdown Preview Theme designed by <a href="https://twitter.com/hozaka" target="_blank">@hozaka</a>.
</p>
</footer>
</body>
</html>
<script type="text/javascript">
$(document).ready( function() {
$('table').addClass('table table-bordered');
});
</script>