|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + |
| 5 | + <title>{% if page.partof %}{{ page.partof | replace: '-',' ' | split:" " | capitalize | join:" " }} - {% endif %}{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title> |
| 6 | + {% if page.description %} |
| 7 | + <meta name="description" content="{{ page.description }}" /> |
| 8 | + {% endif %} |
| 9 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 10 | + |
| 11 | + <link rel="icon" type="image/png" href="{{ site.baseurl }}/resources/favicon.ico"> |
| 12 | + |
| 13 | + <!-- prettify js and CSS --> |
| 14 | + <link rel="stylesheet" href="{{ site.baseurl }}/resources/stylesheets/prettify.css" type="text/css" /> |
| 15 | + <script src="{{ site.baseurl }}/resources/javascript/prettify/prettify.js" type="text/javascript" ></script> |
| 16 | + |
| 17 | + |
| 18 | + <!-- jquery js --> |
| 19 | + <script src="{{ site.baseurl }}/resources/javascript/jquery.js" type="text/javascript" ></script> |
| 20 | + <script src="{{ site.baseurl }}/resources/javascript/effects.core.js" type="text/javascript" ></script> |
| 21 | + <script src="{{ site.baseurl }}/resources/javascript/effects.highlight.js" type="text/javascript" ></script> |
| 22 | + <script src="{{ site.baseurl }}/resources/javascript/moveScroller.js" type="text/javascript" ></script> |
| 23 | + |
| 24 | + <!-- Bootstrap JS and CSS --> |
| 25 | + <link rel="stylesheet" href="{{ site.baseurl }}/resources/stylesheets/bootstrap.css" type="text/css" /> |
| 26 | + <script src="{{ site.baseurl }}/resources/javascript/bootstrap-dropdown.js" type="text/javascript" ></script> |
| 27 | + <script src="{{ site.baseurl }}/resources/javascript/bootstrap-dropdown-app.js" type="text/javascript" ></script> |
| 28 | + |
| 29 | + <!-- Base stylesheet for all pages --> |
| 30 | + <link rel="stylesheet" href="{{ site.baseurl }}/resources/stylesheets/base.css" type="text/css" /> |
| 31 | + |
| 32 | + <!-- table of contents js --> |
| 33 | + <script src="{{ site.baseurl }}/resources/javascript/toc.js" type="text/javascript" ></script> |
| 34 | + |
| 35 | + <!-- google fonts --> |
| 36 | + <link href='http://fonts.googleapis.com/css?family=Bitter:400,400italic' rel='stylesheet' type='text/css'> |
| 37 | + |
| 38 | + <!-- google analytics --> |
| 39 | + <script type="text/javascript"> |
| 40 | + |
| 41 | + var _gaq = _gaq || []; |
| 42 | + _gaq.push(['_setAccount', 'UA-574683-5']); |
| 43 | + _gaq.push(['_trackPageview']); |
| 44 | + |
| 45 | + (function() { |
| 46 | + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 47 | + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 48 | + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| 49 | + })(); |
| 50 | + |
| 51 | + </script> |
| 52 | + |
| 53 | + <!-- prettyprint js to prepend generated pre/code tags --> |
| 54 | + <script type="text/javascript"> |
| 55 | + function styleCode() |
| 56 | + { |
| 57 | + if (typeof disableStyleCode != "undefined") |
| 58 | + { |
| 59 | + return; |
| 60 | + } |
| 61 | + var a = false; |
| 62 | + $("pre code").parent().each(function() |
| 63 | + { |
| 64 | + if (!$(this).hasClass("prettyprint")) |
| 65 | + { |
| 66 | + $(this).addClass("prettyprint lang-scala linenums"); |
| 67 | + a = true |
| 68 | + } |
| 69 | + }); |
| 70 | + if (a) { prettyPrint() } |
| 71 | + } |
| 72 | + </script> |
| 73 | + |
| 74 | + <script type="text/javascript"> |
| 75 | + jQuery(document).ready(function($) { |
| 76 | + |
| 77 | + $(".scroll").click(function(event){ |
| 78 | + event.preventDefault(); |
| 79 | + $('html,body').animate({scrollTop:$(this.hash).offset().top}, 500); |
| 80 | + $('html,body').animate({scrollTop:$(this.hash).offset().top-=50}, 500); |
| 81 | + $(this.hash).effect("highlight", {color: "#FFCC85"}, 3000); |
| 82 | + }); |
| 83 | + }); |
| 84 | + </script> |
| 85 | + |
| 86 | + <script type="text/javascript"> |
| 87 | + $(window).ready(function goToSubsection() { |
| 88 | + if (window.location.hash) |
| 89 | + { |
| 90 | + $('html,body').animate({scrollTop:$(window.location.hash).offset().top}, 500); |
| 91 | + $('html,body').animate({scrollTop:$(window.location.hash).offset().top-=50}, 500); |
| 92 | + $(window.location.hash).effect("highlight", {color: "#FFCC85"}, 3000); |
| 93 | + } |
| 94 | + }); |
| 95 | + </script> |
| 96 | + |
| 97 | + <style type="text/css"> |
| 98 | + |
| 99 | + p { |
| 100 | + font-size: 14px; |
| 101 | + line-height: 22px; |
| 102 | + } |
| 103 | + |
| 104 | + .summary { |
| 105 | + font-size: 16px; |
| 106 | + font-family: Bitter; |
| 107 | + font-style: italic; |
| 108 | + margin-bottom: 20px; |
| 109 | + line-height: 24px; |
| 110 | + } |
| 111 | + |
| 112 | + .authors { |
| 113 | + font-size: 20px; |
| 114 | + font-family: Bitter; |
| 115 | + font-style: italic; |
| 116 | + margin-bottom: 15px; |
| 117 | + margin-top: 20px; |
| 118 | + line-height: 24px; |
| 119 | + } |
| 120 | + |
| 121 | + p.contents { |
| 122 | + margin-left: 15px; |
| 123 | + font-weight: bold; |
| 124 | + font-size: 16px; |
| 125 | + } |
| 126 | + |
| 127 | + div#toc ul { |
| 128 | + list-style: none; |
| 129 | + } |
| 130 | + |
| 131 | + div#toc ul a { |
| 132 | + display: block; |
| 133 | + list-style: none; |
| 134 | + line-height: 22px; |
| 135 | + font-weight: bold; |
| 136 | + width: 100%; |
| 137 | + } |
| 138 | + |
| 139 | + div#toc ul li ul { |
| 140 | + list-style: disc; |
| 141 | + } |
| 142 | + |
| 143 | + div#toc ul li ul a { |
| 144 | + line-height: 18px; |
| 145 | + font-weight: normal; |
| 146 | + } |
| 147 | + |
| 148 | + div#toc ul li ul li ul { |
| 149 | + list-style: square; |
| 150 | + } |
| 151 | + div#toc ul li ul li ul a { |
| 152 | + } |
| 153 | + |
| 154 | + div#scroller-anchor { |
| 155 | + width: inherit; |
| 156 | + } |
| 157 | + |
| 158 | + div#scroller { |
| 159 | + width: inherit; |
| 160 | + } |
| 161 | + |
| 162 | + div#guide-title { |
| 163 | + text-transform: capitalize; |
| 164 | + font-size: 16px; |
| 165 | + padding-bottom: 6px; |
| 166 | + color: #BFBFBF; |
| 167 | + text-transform: uppercase; |
| 168 | + font-weight: bold; |
| 169 | + } |
| 170 | + |
| 171 | + input, textarea, select, .uneditable-input { |
| 172 | + width: 165px; |
| 173 | + } |
| 174 | + |
| 175 | + </style> |
| 176 | + |
| 177 | +</head> |
| 178 | + <body onload="styleCode()"> |
0 commit comments