summaryrefslogtreecommitdiff
path: root/paper/templates
diff options
context:
space:
mode:
Diffstat (limited to 'paper/templates')
-rw-r--r--paper/templates/images/arrow-down.pngbin0 -> 216 bytes
-rw-r--r--paper/templates/images/octocat-small.pngbin0 -> 357 bytes
-rw-r--r--paper/templates/images/pdf.pngbin0 -> 1029 bytes
-rw-r--r--paper/templates/pandoc-scholar.html119
-rw-r--r--paper/templates/pandoc-scholar.latex309
-rw-r--r--paper/templates/styles/pandoc-scholar.css478
6 files changed, 906 insertions, 0 deletions
diff --git a/paper/templates/images/arrow-down.png b/paper/templates/images/arrow-down.png
new file mode 100644
index 0000000..5c55c6a
--- /dev/null
+++ b/paper/templates/images/arrow-down.png
Binary files differ
diff --git a/paper/templates/images/octocat-small.png b/paper/templates/images/octocat-small.png
new file mode 100644
index 0000000..57c1e44
--- /dev/null
+++ b/paper/templates/images/octocat-small.png
Binary files differ
diff --git a/paper/templates/images/pdf.png b/paper/templates/images/pdf.png
new file mode 100644
index 0000000..43270eb
--- /dev/null
+++ b/paper/templates/images/pdf.png
Binary files differ
diff --git a/paper/templates/pandoc-scholar.html b/paper/templates/pandoc-scholar.html
new file mode 100644
index 0000000..6b457c7
--- /dev/null
+++ b/paper/templates/pandoc-scholar.html
@@ -0,0 +1,119 @@
+<!doctype html>
+<!--
+Template created by Andrew G. York, based on this theme by Diana Mounter:
+https://github.com/broccolini/dinky, which mentioned that
+attribution is appreciated. Thanks, broccolini! -->
+<html lang="en">
+<head>
+ <base target="_blank"/>
+ <meta charset="utf-8"/>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
+$for(author-meta)$
+ <meta name="author" content="$author-meta$"/>
+$endfor$
+$if(date-meta)$
+ <meta name="dcterms.date" content="$date-meta$"/>
+$endif$
+$if(keywords)$
+ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"/>
+$endif$
+ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
+ <style type="text/css">code{white-space: pre;}</style>
+$if(quotes)$
+ <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
+$endif$
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" href="$css$">
+$endfor$
+$if(math)$
+$if(mathjax)$
+$-- MathJax is handled specially. We need to add the data-external attribute
+$-- so it doesn't get inlined (and thus broken) by the --self-contained option.
+$-- (2.7.2 is the default MathJax version as of Pandoc 2.2.1.)
+ <script data-external="1" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS_CHTML-full"></script>
+$else$
+ $math$
+$endif$
+$endif$
+ <!--[if lt IE 9]>
+ <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
+ <![endif]-->
+$for(header-includes)$
+ $header-includes$
+$endfor$
+</head>
+<body>
+<div class="wrapper">
+$if(project)$
+<header class="page-header">
+ <h1 class="header">$project.title$</h1>
+ <ul>
+$if(project.zip-url)$
+ <li class="download"><a class="buttons" href="$project.zip-url$">Download ZIP</a></li>
+$endif$
+$if(project.github-url)$
+ <li><a class="buttons github" href="$project.github-url$">View On GitHub</a></li>
+$endif$
+$if(project.pdf-url)$
+ <li><a class="buttons pdf" href="$project.pdf-url$">Download PDF</a></li>
+$endif$
+ </ul>
+ <p class="header">This project is maintained by $project.maintainer$</p>
+</header>
+$endif$
+<article typeof="ScholarlyArticle" vocab="http://schema.org/">
+ <!-- <header class="article-header"> -->
+<h1 property="headline">$title$</h1>
+$if(subtitle)$
+<p property="alternativeHeadline" class="subtitle">$subtitle$</p>
+$endif$
+<!-- </header> -->
+<p class="author-list">
+$for(author)$
+ $if(author.last)$and $endif$<span property="author" typeof="Person">
+ $author.name$</span><sup>$if(author.correspondence)$$if(author.email)$<a href="mailto:$author.email$">✉</a> $endif$$endif$$for(author.institute_indices)$$author.institute_indices$$sep$,$endfor$$if(author.equal_contributor)$,$if(equal_contributor_symbol)$$equal_contributor_symbol$$else$*$endif$$endif$</sup>$sep$,
+$endfor$
+</p>
+<div class="author_affiliations">
+$for(institute)$
+ <div class="affiliation"><sup>$institute.index$</sup>$institute.name$$if(institute.address)$, $institute.address$$endif$
+ </div>
+$endfor$
+</div>
+<div class="author-info">
+ $if(has_equal_contributors)$
+ <div class="author-contrib">
+ <sup>$if(equal_contributor_symbol)$$equal_contributor_symbol$$else$*$endif$</sup>These authors contributed equally to this work
+ </div>
+ $endif$
+ $if(has_correspondence)$
+ <div class="author-correspondence">
+ Correspondence: $for(author)$$if(author.correspondence)$$if(author.email)$$author.name$ <a href="mailto:$author.email$">&lt;$author.email$&gt;</a> $endif$$endif$$endfor$
+ </div>
+ $endif$
+</div>
+$if(abstract)$<p class="abstract" property="description">$abstract$</p>$endif$
+$if(doi)$<p><a href="https://doi.org/$doi$">doi: $doi$</a></p>$endif$
+
+$for(include-before)$
+$include-before$
+
+$endfor$
+
+<div property="articleBody" class="article-body">
+$body$
+</div>
+</article>
+<footer>
+ <p><small>Generated using <a href="https://github.com/pandoc-scholar/pandoc-scholar">pandoc scholar</a></small></p>
+</footer>
+</div>
+ <!--[if !IE]><script>fixScale(document);</script><![endif]-->
+</body>
+</html>
diff --git a/paper/templates/pandoc-scholar.latex b/paper/templates/pandoc-scholar.latex
new file mode 100644
index 0000000..11e10b9
--- /dev/null
+++ b/paper/templates/pandoc-scholar.latex
@@ -0,0 +1,309 @@
+\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
+$if(beamerarticle)$
+\usepackage{beamerarticle} % needs to be loaded first
+$endif$
+$if(fontfamily)$
+\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
+$else$
+\usepackage{lmodern}
+$endif$
+$if(linestretch)$
+\usepackage{setspace}
+\setstretch{$linestretch$}
+$endif$
+\usepackage{amssymb,amsmath}
+\usepackage{ifxetex,ifluatex}
+\usepackage{fixltx2e} % provides \textsubscript
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
+ \usepackage[utf8]{inputenc}
+$if(euro)$
+ \usepackage{eurosym}
+$endif$
+\else % if luatex or xelatex
+ \ifxetex
+ \usepackage{mathspec}
+ \else
+ \usepackage{fontspec}
+ \fi
+ \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
+$for(fontfamilies)$
+ \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
+$endfor$
+$if(euro)$
+ \newcommand{\euro}{€}
+$endif$
+$if(mainfont)$
+ \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
+$endif$
+$if(sansfont)$
+ \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
+$endif$
+$if(monofont)$
+ \setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$}
+$endif$
+$if(mathfont)$
+ \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
+$endif$
+$if(CJKmainfont)$
+ \usepackage{xeCJK}
+ \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
+$endif$
+\fi
+% use upquote if available, for straight quotes in verbatim environments
+\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
+% use microtype if available
+\IfFileExists{microtype.sty}{%
+\usepackage{microtype}
+\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
+}{}
+$if(geometry)$
+\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
+$endif$
+\usepackage[unicode=true]{hyperref}
+$if(colorlinks)$
+\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
+$endif$
+\hypersetup{
+$if(title-meta)$
+ pdftitle={$title-meta$},
+$endif$
+$if(author-meta)$
+ pdfauthor={$author-meta$},
+$endif$
+$if(keywords)$
+ pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$},
+$endif$
+$if(colorlinks)$
+ colorlinks=true,
+ linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
+ citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
+ urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
+$else$
+ pdfborder={0 0 0},
+$endif$
+ breaklinks=true}
+\urlstyle{same} % don't use monospace font for urls
+$if(lang)$
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
+$if(babel-newcommands)$
+ $babel-newcommands$
+$endif$
+\else
+ \usepackage{polyglossia}
+ \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
+$for(polyglossia-otherlangs)$
+ \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
+$endfor$
+\fi
+$endif$
+$if(natbib)$
+\usepackage{natbib}
+\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
+$endif$
+$if(biblatex)$
+\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
+$for(bibliography)$
+\addbibresource{$bibliography$}
+$endfor$
+$endif$
+$if(listings)$
+\usepackage{listings}
+$endif$
+$if(lhs)$
+\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
+$endif$
+$if(highlighting-macros)$
+$highlighting-macros$
+$endif$
+$if(verbatim-in-note)$
+\usepackage{fancyvrb}
+\VerbatimFootnotes % allows verbatim text in footnotes
+$endif$
+$if(tables)$
+\usepackage{longtable,booktabs}
+$endif$
+$if(graphics)$
+\usepackage{graphicx,grffile}
+\makeatletter
+\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
+\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
+\makeatother
+% Scale images if necessary, so that they will not overflow the page
+% margins by default, and it is still possible to overwrite the defaults
+% using explicit options in \includegraphics[width, height, ...]{}
+\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
+$endif$
+$if(links-as-notes)$
+% Make links footnotes instead of hotlinks:
+\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
+$endif$
+$if(strikeout)$
+\usepackage[normalem]{ulem}
+% avoid problems with \sout in headers with hyperref:
+\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
+$endif$
+$if(indent)$
+$else$
+\IfFileExists{parskip.sty}{%
+\usepackage{parskip}
+}{% else
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{6pt plus 2pt minus 1pt}
+}
+$endif$
+\setlength{\emergencystretch}{3em} % prevent overfull lines
+\providecommand{\tightlist}{%
+ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
+$if(numbersections)$
+\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
+$else$
+\setcounter{secnumdepth}{0}
+$endif$
+$if(subparagraph)$
+$else$
+% Redefines (sub)paragraphs to behave more like sections
+\ifx\paragraph\undefined\else
+\let\oldparagraph\paragraph
+\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
+\fi
+\ifx\subparagraph\undefined\else
+\let\oldsubparagraph\subparagraph
+\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
+\fi
+$endif$
+$if(dir)$
+\ifxetex
+ % load bidi as late as possible as it modifies e.g. graphicx
+ $if(latex-dir-rtl)$
+ \usepackage[RTLdocument]{bidi}
+ $else$
+ \usepackage{bidi}
+ $endif$
+\fi
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \TeXXeTstate=1
+ \newcommand{\RL}[1]{\beginR #1\endR}
+ \newcommand{\LR}[1]{\beginL #1\endL}
+ \newenvironment{RTL}{\beginR}{\endR}
+ \newenvironment{LTR}{\beginL}{\endL}
+\fi
+$endif$
+$for(header-includes)$
+$header-includes$
+$endfor$
+
+$if(title)$
+\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
+$endif$
+$if(subtitle)$
+\usepackage{etoolbox}
+\makeatletter
+\providecommand{\subtitle}[1]{% add subtitle to \maketitle
+ \apptocmd{\@title}{\par {\large #1}}{}{}
+}
+\makeatother
+\subtitle{$subtitle$}
+$endif$
+\usepackage{authblk}
+$for(author)$
+\author[$for(author.institute_indices)$%
+ $author.institute_indices$%
+ $sep$,$endfor$]{%
+ $author.name$%
+ $if(author.correspondence)$$if(author.email)$%
+ \textsuperscript{*\,}%
+ %$endif$$endif$%
+ $if(author.equal_contributor)$
+ \textsuperscript{$if(equal_contributor_symbol)$$equal_contributor_symbol$$else$\textdagger$endif$\,}%
+ $endif$%
+}
+$endfor$
+$for(institute)$
+\affil[$institute.index$]{\normalsize $institute.name$, \footnotesize $institute.address$}
+$endfor$
+\date{$date$}
+
+\makeatletter
+\def\@maketitle{%
+ \newpage \null \vskip 2em
+ \begin {center}%
+ \let \footnote \thanks
+ {\LARGE \@title \par}%
+ \vskip 1.5em%
+ {\large \lineskip .5em%
+ \begin {tabular}[t]{c}%
+ \@author
+ \end {tabular}\par}%
+ $if(has_equal_contributors)$
+ \vskip 0.5em{\textsuperscript{$if(equal_contributor_symbol)$$equal_contributor_symbol$$else$\textdagger$endif$}\,%
+ These authors contributed equally to this work.}
+ $endif$
+ $if(has_correspondence)$
+ \vskip 0.2em{\textsuperscript{*}\,Correspondence:
+ $for(author)$$if(author.correspondence)$$if(author.email)$
+ $author.name$ <$author.email$>\\
+ $endif$$endif$$endfor$}%
+ %$endif$
+ \vskip 1em{\large \@date}%
+ \end {center}%
+ \par
+ \vskip 1.5em}
+\makeatother
+
+\begin{document}
+
+$if(title)$
+\maketitle
+$endif$
+
+$if(abstract)$
+\begin{abstract}
+$abstract$
+\end{abstract}
+$endif$
+
+$for(include-before)$
+$include-before$
+
+$endfor$
+$if(toc)$
+{
+$if(colorlinks)$
+\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
+$endif$
+\setcounter{tocdepth}{$toc-depth$}
+\tableofcontents
+}
+$endif$
+$if(lot)$
+\listoftables
+$endif$
+$if(lof)$
+\listoffigures
+$endif$
+$body$
+
+$if(natbib)$
+$if(bibliography)$
+$if(biblio-title)$
+$if(book-class)$
+\renewcommand\bibname{$biblio-title$}
+$else$
+\renewcommand\refname{$biblio-title$}
+$endif$
+$endif$
+\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
+
+$endif$
+$endif$
+$if(biblatex)$
+\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
+
+$endif$
+$for(include-after)$
+$include-after$
+
+$endfor$
+\end{document}
diff --git a/paper/templates/styles/pandoc-scholar.css b/paper/templates/styles/pandoc-scholar.css
new file mode 100644
index 0000000..7588b69
--- /dev/null
+++ b/paper/templates/styles/pandoc-scholar.css
@@ -0,0 +1,478 @@
+@import url(https://fonts.googleapis.com/css?family=Arvo:400,700,400italic);
+
+/* MeyerWeb Reset */
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+article, menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font: inherit;
+ vertical-align: baseline;
+}
+
+
+/* Base text styles */
+
+body {
+ padding: 10px 50px 0 0;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 15px;
+ color: #030303;
+ background-color: #FCFBF8;
+ margin: 0;
+ line-height: 1.8em;
+ -webkit-font-smoothing: antialiased;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #232323;
+ margin: 36px 0 10px;
+}
+
+p, ul, ol, table, dl {
+ margin: 0 0 22px;
+}
+
+sub, sup {
+ font-size: 80%;
+}
+
+sub {
+ vertical-align: sub;
+}
+
+sup {
+ vertical-align: sup;
+}
+
+.author-list {
+ margin:0 0 0px;
+ font-weight: 700;
+}
+
+.author-affiliations {
+ margin:0 0 0px;
+ font-style: italic;
+}
+
+.contact_email {
+ font-style: italic;
+}
+
+.abstract {
+ margin: 0% 1% 2%;
+ font-weight: 700;
+}
+
+h1, h2, h3 {
+ border-bottom: 1px solid #ccc;
+ font-family: Arvo, Monaco, serif;
+ font-weight: normal;
+ line-height: 1.3;
+ padding-bottom: 5px;
+}
+
+h1 {
+ font-size: 30px;
+}
+
+h2 {
+ font-size: 24px;
+}
+
+h3 {
+ font-size: 18px;
+}
+
+h4, h5 {
+ font-family: Arvo, Monaco, serif;
+ font-weight: 700;
+}
+
+h6 {
+ font-family: Arvo, Monaco, serif;
+ font-weight: 200;
+}
+
+a {
+ font-weight:200;
+ text-decoration:none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+a small {
+ font-size: 12px;
+}
+
+em {
+ font-style: italic;
+}
+
+strong {
+ font-weight:700;
+}
+
+sup {
+ vertical-align: super;
+ font-size: smaller;
+}
+
+ul {
+ list-style-position: inside;
+ list-style: disc;
+ padding-left: 25px;
+}
+
+ol {
+ list-style-position: inside;
+ list-style: decimal;
+ padding-left: 25px;
+}
+
+blockquote {
+ margin: 0;
+ padding: 0 0 0 20px;
+ font-style: italic;
+}
+
+dl, dt, dd, dl p {
+ font-color: #444;
+}
+
+dl dt {
+ font-weight: bold;
+}
+
+dl dd {
+ padding-left: 20px;
+ font-style: italic;
+}
+
+dl p {
+ padding-left: 20px;
+ font-style: italic;
+}
+
+hr {
+ border: 0;
+ background: #ccc;
+ height: 1px;
+ margin: 0 0 24px;
+}
+
+/* Images */
+
+img {
+ position: relative;
+ margin: 0 auto;
+ height: auto;
+ max-width: 100%;
+ padding: 0px;
+ margin: 0px 0 0px 0;
+ border: 0px solid #ccc;
+}
+
+p img {
+ display: inline;
+ margin: 0;
+ padding: 0;
+ vertical-align: middle;
+ text-align: center;
+ border: none;
+}
+
+figure {
+ border: 1px solid #ccc;
+ background: #FFFFFF;
+}
+
+figcaption {
+ font-size: 12px;
+ background: #FFFFFF;
+ line-height: 150%;
+ margin-right: 1%;
+ margin-left: 1%;
+}
+
+/* Code blocks */
+
+code, pre {
+ font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
+ color: #000;
+ background: #e7e7e7;
+ font-size: 12px;
+}
+
+pre {
+ padding: 4px 12px;
+ border-radius:4px;
+ border:1px solid #D7D8C8;
+ overflow: auto;
+ overflow-y: hidden;
+ margin-bottom: 32px;
+}
+
+
+/* Tables */
+
+table {
+ width: 100%;
+ border: 1px solid #ccc;
+ margin-bottom: 32px;
+ text-align: left;
+ }
+
+table.figure_controls {
+ font-size: 12px;
+ line-height: 100%;
+ margin-bottom: 0px;
+}
+
+th {
+ background: #232323;
+ color: #FDFEFB;
+ font-family: 'Arvo', Helvetica, Arial, sans-serif;
+ font-size: 18px;
+ font-weight: normal;
+ padding: 10px;
+}
+
+td {
+ background: #eee;
+ padding: 0px;
+}
+
+
+/* Wrapper */
+.wrapper {
+ width:960px;
+}
+
+
+/* Header */
+
+.page-header {
+ background-color: #474747;
+ border-bottom-right-radius: 4px;
+ border-top-right-radius: 4px;
+ border: 1px solid #000;
+ color: #FDFDFB;
+ float: left;
+ margin: 30px 25px 0 0;
+ padding: 34px 25px 22px 50px;
+ position: fixed;
+ width: 170px;
+ -webkit-font-smoothing: antialiased;
+}
+
+.subtitle {
+ font-size: 16px;
+}
+
+.page-header h1 {
+ font-family: Arvo, sans-serif;
+ font-size: 30px;
+ font-weight: 300;
+ line-height: 1.3em;
+ border-bottom: none;
+ margin-top: 0;
+}
+
+
+.page-header h1,
+.page-header a {
+ color: #fff;
+}
+
+.page-header a {
+ text-decoration: underline;
+}
+
+a.name {
+ white-space: nowrap;
+}
+
+.page-header ul {
+ list-style:none;
+ padding:0;
+}
+
+.page-header li {
+ list-style-type: none;
+ width: 135px;
+ height: 15px;
+ margin-bottom: 12px;
+ line-height: 1em;
+ padding: 6px 6px 6px 7px;
+ background: #1100AF;
+ background: -moz-linear-gradient(top, #1100AF 0%, #110082 100%);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%, #dddddd));
+ background: -webkit-linear-gradient(top, #1100AF 0%,#110082 100%);
+ background: -o-linear-gradient(top, #1100AF 0%,#110082 100%);
+ background: -ms-linear-gradient(top, #1100AF 0%,#110082 100%);
+ background: linear-gradient(top, #1100AF 0%,#110082 100%);
+ border-radius:4px;
+ border:1px solid #0D0D0D;
+ -webkit-box-shadow: inset 0px 1px 1px 0 rgba(38,2,233, 1);
+ box-shadow: inset 0px 1px 1px 0 rgba(38,2,233, 1);
+}
+
+.page-header li:hover {
+ background: #1D00C3;
+ background: -moz-linear-gradient(top, #1D00C3 0%, #190195 100%);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
+ background: -webkit-linear-gradient(top, #1D00C3 0%,#190195 100%);
+ background: -o-linear-gradient(top, #1D00C3 0%,#190195 100%);
+ background: -ms-linear-gradient(top, #1D00C3 0%,#190195 100%);
+ background: linear-gradient(top, #1D00C3 0%,#190195 100%);
+}
+
+.buttons {
+ -webkit-font-smoothing: antialiased;
+ background: url(../images/arrow-down.png) no-repeat;
+ font-weight: normal;
+ height: 30px;
+ padding: 2px 2px 2px 22px;
+ text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
+}
+
+a.buttons {
+ text-decoration: none;
+}
+
+.buttons.github {
+ background: url(../images/octocat-small.png) no-repeat 1px;
+}
+
+.buttons.pdf {
+ background: url(../images/pdf.png) no-repeat 1px;
+}
+
+.buttons:hover {
+ color: #fff;
+ text-decoration: none;
+}
+
+
+/* Article - for main page content */
+
+article {
+ width: 650px;
+ float: right;
+ padding-bottom: 50px;
+}
+
+
+/* Footer */
+
+footer {
+ width: 170px;
+ float: left;
+ position: fixed;
+ bottom: 10px;
+ padding-left: 50px;
+}
+
+@media print, screen and (max-width: 960px) {
+ div.wrapper {
+ width: auto;
+ margin: 0;
+ }
+
+ .page-header, article, footer {
+ float: none;
+ position: static;
+ width: auto;
+ }
+
+ footer {
+ border-top: 1px solid #ccc;
+ margin: 0 84px 0 50px;
+ padding: 0;
+ }
+
+ .page-header {
+ padding-right: 320px;
+ }
+
+ article {
+ padding: 20px 84px 20px 50px;
+ margin: 0 0 20px;
+ }
+
+ .page-header a small {
+ display: inline;
+ }
+
+ .page-header ul {
+ position: absolute;
+ right: 130px;
+ top: 84px;
+ }
+}
+
+@media print, screen and (max-width: 720px) {
+ body {
+ word-wrap:break-word;
+ }
+
+ .page-header {
+ padding: 10px 20px 0;
+ margin-right: 0;
+ }
+
+ article {
+ margin: 0 0 30px;
+ padding: 10px 0 10px 20px;
+ }
+
+ footer {
+ margin: 0 0 0 30px;
+ }
+
+ .page-header ul, .page-header p.view {
+ position: static;
+ }
+}
+
+@media print, screen and (max-width: 480px) {
+ .page-header ul li.download {
+ display: none;
+ }
+
+ footer {
+ margin: 0 0 0 20px;
+ }
+
+ footer a {
+ display:block;
+ }
+}
+
+@media print {
+ body {
+ padding:0.4in;
+ font-size:12pt;
+ color:#444;
+ }
+}
+
+.onlyprint {display: none;}
+@media print {
+ .onlyprint {display: block;}
+}