forked from agrison/scalocco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
192 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,192 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{{title}}</title> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | ||
<style type="text/css"> | ||
/*--------------------- Layout and Typography ----------------------------*/ | ||
body { | ||
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; | ||
font-size: 15px; | ||
line-height: 22px; | ||
color: #252519; | ||
margin: 0; padding: 0; | ||
} | ||
a { | ||
color: #261a3b; | ||
} | ||
a:visited { | ||
color: #261a3b; | ||
} | ||
p { | ||
margin: 0 0 15px 0; | ||
} | ||
h4, h5, h6 { | ||
color: #333; | ||
margin: 6px 0 6px 0; | ||
font-size: 13px; | ||
} | ||
h2, h3 { | ||
margin-bottom: 0; | ||
color: #000; | ||
overflow: hidden; | ||
} | ||
h1 { | ||
margin-top: 40px; | ||
margin-bottom: 15px; | ||
color: #000; | ||
} | ||
#container { | ||
position: relative; | ||
} | ||
#background { | ||
position: fixed; | ||
top: 0; left: 525px; right: 0; bottom: 0; | ||
background: #f5f5ff; | ||
border-left: 1px solid #e5e5ee; | ||
z-index: -1; | ||
} | ||
#jump_to, #jump_page { | ||
background: white; | ||
-webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777; | ||
-webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; | ||
font: 10px Arial; | ||
text-transform: uppercase; | ||
cursor: pointer; | ||
text-align: right; | ||
} | ||
#jump_to, #jump_wrapper { | ||
position: fixed; | ||
right: 0; top: 0; | ||
padding: 5px 10px; | ||
} | ||
#jump_wrapper { | ||
padding: 0; | ||
display: none; | ||
} | ||
#jump_to:hover #jump_wrapper { | ||
display: block; | ||
} | ||
#jump_page { | ||
padding: 5px 0 3px; | ||
margin: 0 0 25px 25px; | ||
} | ||
#jump_page .source { | ||
display: block; | ||
padding: 5px 10px; | ||
text-decoration: none; | ||
border-top: 1px solid #eee; | ||
} | ||
#jump_page .source:hover { | ||
background: #f5f5ff; | ||
} | ||
#jump_page .source:first-child { | ||
} | ||
table td { | ||
border: 0; | ||
outline: 0; | ||
} | ||
td.docs, th.docs { | ||
max-width: 450px; | ||
min-width: 450px; | ||
min-height: 5px; | ||
padding: 10px 25px 1px 50px; | ||
overflow-x: hidden; | ||
vertical-align: top; | ||
text-align: left; | ||
} | ||
.docs pre { | ||
margin: 15px 0 15px; | ||
padding-left: 15px; | ||
} | ||
.docs p tt, .docs p code, .doc code { | ||
background: #f8f8ff; | ||
border: 1px solid #dedede; | ||
font-size: 12px; | ||
padding: 0 0.2em; | ||
} | ||
.pilwrap { | ||
position: relative; | ||
} | ||
.pilcrow { | ||
font: 12px Arial; | ||
text-decoration: none; | ||
color: #454545; | ||
position: absolute; | ||
top: 3px; left: -20px; | ||
padding: 1px 2px; | ||
opacity: 0; | ||
-webkit-transition: opacity 0.2s linear; | ||
} | ||
td.docs:hover .pilcrow { | ||
opacity: 1; | ||
} | ||
td.code, th.code { | ||
padding: 14px 15px 16px 25px; | ||
width: 100%; | ||
vertical-align: top; | ||
background: #f5f5ff; | ||
border-left: 1px solid #e5e5ee; | ||
} | ||
pre, tt, code { | ||
font-size: 12px; line-height: 18px; | ||
font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace; | ||
margin: 0; padding: 0; | ||
} | ||
|
||
/*---------------------- Prettify Syntax Highlighting -----------------------------*/ | ||
.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun{color:#660}.pln{color:#000}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec{color:#606}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}@media print{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun{color:#440}.pln{color:#000}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}} | ||
|
||
table.doc { margin-bottom: 20px; } | ||
td.doc { border-bottom: 1px dashed #708090; } | ||
td.param { font-weight: bold; } | ||
td.return { font-weight: bold; text-decoration: underline; } | ||
</style> | ||
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/r224/prettify.js" type="text/javascript"></script> | ||
<script src="https://google-code-prettify.googlecode.com/svn/trunk/src/lang-scala.js" type="text/javascript"></script> | ||
</head> | ||
|
||
<body onload="prettyPrint()"> | ||
<div id="container"> | ||
<div id="background"></div> | ||
<div id="jump_to"> | ||
Jump To … | ||
<div id="jump_wrapper"> | ||
<div id="jump_page"> | ||
{{#sources}} | ||
<a class="source" href="{{.}}.html"> | ||
{{.}} | ||
</a> | ||
{{/sources}} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<table cellpadding="0" cellspacing="0"> | ||
<thead> | ||
<tr> | ||
<th class="docs"> | ||
<h1>{{title}}</h1> | ||
</th> | ||
<th class="code"></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{{#sections}} | ||
<tr id="section_{{index}}"> | ||
<td class="docs"> | ||
<div class="pilwrap"> | ||
<a class="pilcrow" href="#section_{{index}}">¶</a> | ||
</div> | ||
{{{doc}}} | ||
</td> | ||
<td class="code"> | ||
<pre><code class='prettyprint lang-scala'>{{code}}</code></pre> | ||
</td> | ||
</tr> | ||
{{/sections}} | ||
</tbody> | ||
</table> | ||
</div> | ||
</body> | ||
</html> |