From 2efc70fcd789548709a1327bb1f0fd3f0a712c20 Mon Sep 17 00:00:00 2001 From: David Schoonover Date: Fri, 29 Jun 2012 06:29:33 -0700 Subject: [PATCH] Adds conf to build /docs into nice HTML docs. --- .gitignore | 2 + .markdoc.yaml | 1 + docs/README.md | 1 + docs/assets/github-readme.css | 207 ---------------------- docs/assets/solarized.css | 69 ------- docs/internals/chart-types/timeseries-options.md | 68 +++++++ msc/markdoc/404.html | 11 ++ msc/markdoc/base.html | 94 ++++++++++ msc/markdoc/document.html | 5 + msc/markdoc/listing.html | 57 ++++++ msc/markdoc/macros/html | 19 ++ msc/markdoc/markdoc.yaml | 37 ++++ static/css/github-readme.css | 207 ++++++++++++++++++++++ static/css/solarized.css | 69 +++++++ www/css/docs.styl | 36 ++++ 15 files changed, 607 insertions(+), 276 deletions(-) create mode 120000 .markdoc.yaml create mode 120000 docs/README.md delete mode 100644 docs/assets/github-readme.css delete mode 100644 docs/assets/solarized.css create mode 100644 docs/internals/chart-types/timeseries-options.md create mode 100644 msc/markdoc/404.html create mode 100644 msc/markdoc/base.html create mode 100644 msc/markdoc/document.html create mode 100644 msc/markdoc/listing.html create mode 100644 msc/markdoc/macros/html create mode 100644 msc/markdoc/markdoc.yaml create mode 100644 static/css/github-readme.css create mode 100644 static/css/solarized.css create mode 100644 www/css/docs.styl diff --git a/.gitignore b/.gitignore index ac951e7..2488c18 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ lib/version.js www/presets/*.json .cache +.tmp + diff --git a/.markdoc.yaml b/.markdoc.yaml new file mode 120000 index 0000000..4737e1f --- /dev/null +++ b/.markdoc.yaml @@ -0,0 +1 @@ +msc/markdoc/markdoc.yaml \ No newline at end of file diff --git a/docs/README.md b/docs/README.md new file mode 120000 index 0000000..32d46ee --- /dev/null +++ b/docs/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/docs/assets/github-readme.css b/docs/assets/github-readme.css deleted file mode 100644 index 16f7c20..0000000 --- a/docs/assets/github-readme.css +++ /dev/null @@ -1,207 +0,0 @@ -a, a:link { - color: #2e62c9; - vertical-align: baseline; } - -a:visited { - color: #244792; } - -a:hover, a:active { - color: #4596ff; } - -.site { margin: 0 auto; padding: 15px; width: 920px; } - -.highlight{background:#fff;} -.highlight .c{color:#998;font-style:italic;} -.highlight .err{color:#a61717;background-color:#e3d2d2;} -.highlight .k{font-weight:bold;} -.highlight .o{font-weight:bold;} -.highlight .cm{color:#998;font-style:italic;} -.highlight .cp{color:#999;font-weight:bold;} -.highlight .c1{color:#998;font-style:italic;} -.highlight .cs{color:#999;font-weight:bold;font-style:italic;} -.highlight .gd{color:#000;background-color:#fdd;} -.highlight .gd .x{color:#000;background-color:#faa;} -.highlight .ge{font-style:italic;} -.highlight .gr{color:#a00;} -.highlight .gh{color:#999;} -.highlight .gi{color:#000;background-color:#dfd;} -.highlight .gi .x{color:#000;background-color:#afa;} -.highlight .go{color:#888;} -.highlight .gp{color:#555;} -.highlight .gs{font-weight:bold;} -.highlight .gu{color:#800080;font-weight:bold;} -.highlight .gt{color:#a00;} -.highlight .kc{font-weight:bold;} -.highlight .kd{font-weight:bold;} -.highlight .kn{font-weight:bold;} -.highlight .kp{font-weight:bold;} -.highlight .kr{font-weight:bold;} -.highlight .kt{color:#458;font-weight:bold;} -.highlight .m{color:#099;} -.highlight .s{color:#d14;} -.highlight .na{color:#008080;} -.highlight .nb{color:#0086B3;} -.highlight .nc{color:#458;font-weight:bold;} -.highlight .no{color:#008080;} -.highlight .ni{color:#800080;} -.highlight .ne{color:#900;font-weight:bold;} -.highlight .nf{color:#900;font-weight:bold;} -.highlight .nn{color:#555;} -.highlight .nt{color:#000080;} -.highlight .nv{color:#008080;} -.highlight .ow{font-weight:bold;} -.highlight .w{color:#bbb;} -.highlight .mf{color:#099;} -.highlight .mh{color:#099;} -.highlight .mi{color:#099;} -.highlight .mo{color:#099;} -.highlight .sb{color:#d14;} -.highlight .sc{color:#d14;} -.highlight .sd{color:#d14;} -.highlight .s2{color:#d14;} -.highlight .se{color:#d14;} -.highlight .sh{color:#d14;} -.highlight .si{color:#d14;} -.highlight .sx{color:#d14;} -.highlight .sr{color:#009926;} -.highlight .s1{color:#d14;} -.highlight .ss{color:#990073;} -.highlight .bp{color:#999;} -.highlight .vc{color:#008080;} -.highlight .vg{color:#008080;} -.highlight .vi{color:#008080;} -.highlight .il{color:#099;} -.type-csharp .highlight .k{color:#00F;} -.type-csharp .highlight .kt{color:#00F;} -.type-csharp .highlight .nf{color:#000;font-weight:normal;} -.type-csharp .highlight .nc{color:#2B91AF;} -.type-csharp .highlight .nn{color:#000;} -.type-csharp .highlight .s{color:#A31515;} -.type-csharp .highlight .sc{color:#A31515;} - -#readme{ font:13.34px helvetica,arial,freesans,clean,sans-serif; } -#readme.announce{margin:1em 0;} -#readme.blob{;} -#readme span.name{font-size:140%;padding:.8em 0;} -#readme div.plain,#readme div.wikistyle{background-color:#f8f8f8;padding:.7em;} -#readme.announce div.plain,#readme.announce div.wikistyle{border:1px solid #e9e9e9;} -#readme.blob div.plain,#readme.blob div.wikistyle{border-top:none;} -#readme div.plain pre{font-family:'Bitstream Vera Sans Mono','Courier',monospace;font-size:85%;color:#444;white-space:pre-wrap;word-wrap:break-word;width:74em;} -#missing-readme{font:13.34px helvetica,arial,freesans,clean,sans-serif;text-align:center;background-color:#ffc;padding:.7em;border:1px solid #ccc;} -#readme.rst .borderless,#readme.rst table.borderless td,#readme.rst table.borderless th{border:0;} -#readme.rst table.borderless td,#readme.rst table.borderless th{padding:0 .5em 0 0!important;} -#readme.rst .first{margin-top:0!important;} -#readme.rst .last,#readme.rst .with-subtitle{margin-bottom:0!important;} -#readme.rst .hidden{display:none;} -#readme.rst a.toc-backref{text-decoration:none;color:black;} -#readme.rst blockquote.epigraph{margin:2em 5em;} -#readme.rst dl.docutils dd{margin-bottom:.5em;} -#readme.rst div.abstract{margin:2em 5em;} -#readme.rst div.abstract p.topic-title{font-weight:bold;text-align:center;} -#readme.rst div.admonition,#readme.rst div.attention,#readme.rst div.caution,#readme.rst div.danger,#readme.rst div.error,#readme.rst div.hint,#readme.rst div.important,#readme.rst div.note,#readme.rst div.tip,#readme.rst div.warning{margin:2em;border:medium outset;padding:1em;} -#readme.rst div.admonition p.admonition-title,#readme.rst div.hint p.admonition-title,#readme.rst div.important p.admonition-title,#readme.rst div.note p.admonition-title,#readme.rst div.tip p.admonition-title{font-weight:bold;font-family:sans-serif;} -#readme.rst div.attention p.admonition-title,#readme.rst div.caution p.admonition-title,#readme.rst div.danger p.admonition-title,#readme.rst div.error p.admonition-title,#readme.rst div.warning p.admonition-title{color:red;font-weight:bold;font-family:sans-serif;} -#readme.rst div.dedication{margin:2em 5em;text-align:center;font-style:italic;} -#readme.rst div.dedication p.topic-title{font-weight:bold;font-style:normal;} -#readme.rst div.figure{margin-left:2em;margin-right:2em;} -#readme.rst div.footer,#readme.rst div.header{clear:both;font-size:smaller;} -#readme.rst div.line-block{display:block;margin-top:1em;margin-bottom:1em;} -#readme.rst div.line-block div.line-block{margin-top:0;margin-bottom:0;margin-left:1.5em;} -#readme.rst div.sidebar{margin:0 0 .5em 1em;border:medium outset;padding:1em;background-color:#ffe;width:40%;float:right;clear:right;} -#readme.rst div.sidebar p.rubric{font-family:sans-serif;font-size:medium;} -#readme.rst div.system-messages{margin:5em;} -#readme.rst div.system-messages h1{color:red;} -#readme.rst div.system-message{border:medium outset;padding:1em;} -#readme.rst div.system-message p.system-message-title{color:red;font-weight:bold;} -#readme.rst div.topic{margin:2em;} -#readme.rst h1.section-subtitle,#readme.rst h2.section-subtitle,#readme.rst h3.section-subtitle,#readme.rst h4.section-subtitle,#readme.rst h5.section-subtitle,#readme.rst h6.section-subtitle{margin-top:.4em;} -#readme.rst h1.title{text-align:center;} -#readme.rst h2.subtitle{text-align:center;} -#readme.rst hr.docutils{width:75%;} -#readme.rst img.align-left,#readme.rst .figure.align-left,#readme.rst object.align-left{clear:left;float:left;margin-right:1em;} -#readme.rst img.align-right,#readme.rst .figure.align-right,#readme.rst object.align-right{clear:right;float:right;margin-left:1em;} -#readme.rst img.align-center,#readme.rst .figure.align-center,#readme.rst object.align-center{display:block;margin-left:auto;margin-right:auto;} -#readme.rst .align-left{text-align:left;} -#readme.rst .align-center{clear:both;text-align:center;} -#readme.rst .align-right{text-align:right;} -#readme.rst div.align-right{text-align:left;} -#readme.rst ol.simple,#readme.rst ul.simple{margin-bottom:1em;} -#readme.rst ol.arabic{list-style:decimal;} -#readme.rst ol.loweralpha{list-style:lower-alpha;} -#readme.rst ol.upperalpha{list-style:upper-alpha;} -#readme.rst ol.lowerroman{list-style:lower-roman;} -#readme.rst ol.upperroman{list-style:upper-roman;} -#readme.rst p.attribution{text-align:right;margin-left:50%;} -#readme.rst p.caption{font-style:italic;} -#readme.rst p.credits{font-style:italic;font-size:smaller;} -#readme.rst p.label{white-space:nowrap;} -#readme.rst p.rubric{font-weight:bold;font-size:larger;color:maroon;text-align:center;} -#readme.rst p.sidebar-title{font-family:sans-serif;font-weight:bold;font-size:larger;} -#readme.rst p.sidebar-subtitle{font-family:sans-serif;font-weight:bold;} -#readme.rst p.topic-title{font-weight:bold;} -#readme.rst pre.address{margin-bottom:0;margin-top:0;font:inherit;} -#readme.rst pre.literal-block,#readme.rst pre.doctest-block{margin-left:2em;margin-right:2em;} -#readme.rst span.classifier{font-family:sans-serif;font-style:oblique;} -#readme.rst span.classifier-delimiter{font-family:sans-serif;font-weight:bold;} -#readme.rst span.interpreted{font-family:sans-serif;} -#readme.rst span.option{white-space:nowrap;} -#readme.rst span.pre{white-space:pre;} -#readme.rst span.problematic{color:red;} -#readme.rst span.section-subtitle{font-size:80%;} -#readme.rst table.citation{border-left:solid 1px gray;margin-left:1px;} -#readme.rst table.docinfo{margin:2em 4em;} -#readme.rst table.docutils{margin-top:.5em;margin-bottom:.5em;} -#readme.rst table.footnote{border-left:solid 1px black;margin-left:1px;} -#readme.rst table.docutils td,#readme.rst table.docutils th,#readme.rst table.docinfo td,#readme.rst table.docinfo th{padding-left:.5em;padding-right:.5em;vertical-align:top;} -#readme.rst table.docutils th.field-name,#readme.rst table.docinfo th.docinfo-name{font-weight:bold;text-align:left;white-space:nowrap;padding-left:0;} -#readme.rst h1 tt.docutils,#readme.rst h2 tt.docutils,#readme.rst h3 tt.docutils,#readme.rst h4 tt.docutils,#readme.rst h5 tt.docutils,#readme.rst h6 tt.docutils{font-size:100%;} -#readme.rst ul.auto-toc{list-style-type:none;}.highlight .gc{color:#999;background-color:#EAF2F5;} - -.wikistyle h1,.wikistyle h2,.wikistyle h3,.wikistyle h4,.wikistyle h5,.wikistyle h6{border:0!important;} -.wikistyle h1{font-size:170%!important;border-top:4px solid #aaa!important;padding-top:.5em!important;margin-top:1.5em!important;} -.wikistyle h1:first-child{margin-top:0!important;padding-top:.25em!important;border-top:none!important;} -.wikistyle h2{font-size:150%!important;margin-top:1.5em!important;border-top:4px solid #e0e0e0!important;padding-top:.5em!important;} -.wikistyle h3{margin-top:1em!important;} -.wikistyle hr{border:1px solid #ddd;} -.wikistyle p{margin:1em 0!important;line-height:1.5em!important;} -.wikistyle a.absent{color:#a00;} -.wikistyle ul,#wiki-form .content-body ul{margin:1em 0 1em 2em!important;} -.wikistyle ol,#wiki-form .content-body ol{margin:1em 0 1em 2em!important;} -.wikistyle ul li,#wiki-form .content-body ul li,.wikistyle ol li,#wiki-form .content-body ol li{margin-top:.5em;margin-bottom:.5em;} -.wikistyle ul ul,.wikistyle ul ol,.wikistyle ol ol,.wikistyle ol ul,#wiki-form .content-body ul ul,#wiki-form .content-body ul ol,#wiki-form .content-body ol ol,#wiki-form .content-body ol ul{margin-top:0!important;margin-bottom:0!important;} -.wikistyle blockquote{margin:1em 0!important;border-left:5px solid #ddd!important;padding-left:.6em!important;color:#555!important;} -.wikistyle dt{font-weight:bold!important;margin-left:1em!important;} -.wikistyle dd{margin-left:2em!important;margin-bottom:1em!important;} -.wikistyle table{margin:1em 0!important; width:100%; border-spacing:1px;} -.wikistyle table thead {border:1px solid #bbb; border-width: 1px 0; padding:1em; background-color:#F2F2F2; color:#333; } -.wikistyle table th, td{text-align:left; vertical-align:middle; margin:0 1px; } -.wikistyle table th{border-bottom:1px solid #bbb!important;} -.wikistyle table td{border-bottom:1px solid #ddd!important;} -.wikistyle a code,.wikistyle a:link code,.wikistyle a:visited code{color:#4183c4!important;} -.wikistyle img{max-width:100%;} -.wikistyle pre.console{margin:1em 0!important;font-size:12px!important;background-color:black!important;padding:.5em!important;line-height:1.5em!important;color:white!important;} -.wikistyle pre.console code{padding:0!important;font-size:12px!important;background-color:black!important;border:none!important;color:white!important;} -.wikistyle pre.console span{color:#888!important;} -.wikistyle pre.console span.command{color:yellow!important;} -.wikistyle .frame{margin:0;display:inline-block;} -.wikistyle .frame img{display:block;} -.wikistyle .frame>span{display:block;border:1px solid #aaa;padding:4px;} -.wikistyle .frame span span{display:block;font-size:10pt;margin:0;padding:4px 0 2px 0;text-align:center;line-height:10pt;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;} -.wikistyle .float-left{float:left;padding:.5em 1em .25em 0;} -.wikistyle .float-right{float:right;padding:.5em 0 .25em 1em;} -.wikistyle .align-left{display:block;text-align:left;} -.wikistyle .align-center{display:block;text-align:center;} -.wikistyle .align-right{display:block;text-align:right;} -.wikistyle pre{margin:1em 0;font-size:12px;background-color:#eee;border:1px solid #ddd;padding:5px;color:#444;overflow:auto;-webkit-box-shadow:rgba(0,0,0,0.07) 0 1px 2px inset;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} -.wikistyle pre::-webkit-scrollbar{height:8px;width:8px;} -.wikistyle pre::-webkit-scrollbar-track-piece{margin-bottom:10px;background-color:#e5e5e5;border-bottom-left-radius:4px 4px;border-bottom-right-radius:4px 4px;border-top-left-radius:4px 4px;border-top-right-radius:4px 4px;} -.wikistyle pre::-webkit-scrollbar-thumb:vertical{height:25px;background-color:#ccc;-webkit-border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(255,255,255,1);} -.wikistyle pre::-webkit-scrollbar-thumb:horizontal{width:25px;background-color:#ccc;-webkit-border-radius:4px;} -.wikistyle pre code{padding:0!important;font-size:12px!important;background-color:#eee!important;border:none!important;} -.wikistyle code{font-size:12px!important;background-color:#f8f8ff!important;color:#444!important;padding:0 .2em!important;border:1px solid #dedede!important;} - -.markdown-format .highlight pre{background:#fafafa;} -.markdown-format .highlight .gu,.markdown-format .highlight .gd,.markdown-format .highlight .gi{display:inline-block;width:100%;padding:0 0 0 5px;margin-left:-5px;} -.markdown-format .highlight .gu{font-weight:normal;color:#999;background:#EAF2F5;} -.markdown-format .highlight .gd{;} -.markdown-format .highlight .gi{;} diff --git a/docs/assets/solarized.css b/docs/assets/solarized.css deleted file mode 100644 index 40acc45..0000000 --- a/docs/assets/solarized.css +++ /dev/null @@ -1,69 +0,0 @@ -.hll { background-color: #eee8d5 } -.c { color: #93a1a1; background-color: #eee8d5 } /* Comment */ -.err { color: #eee8d5; background-color: #dc322f } /* Error */ -.g { color: #839496 } /* Generic */ -.k { color: #cb4b16 } /* Keyword */ -.l { color: #6c71c4 } /* Literal */ -.n { color: #657b83 } /* Name */ -.o { color: #073642 } /* Operator */ -.x { color: #657b83 } /* Other */ -.p { color: #657b83 } /* Punctuation */ -.cm { color: #93a1a1; background-color: #eee8d5 } /* Comment.Multiline */ -.cp { color: #93a1a1; background-color: #eee8d5 } /* Comment.Preproc */ -.c1 { color: #93a1a1; background-color: #eee8d5 } /* Comment.Single */ -.cs { color: #93a1a1; background-color: #eee8d5 } /* Comment.Special */ -.gd { color: #839496 } /* Generic.Deleted */ -.ge { color: #839496; font-style: italic } /* Generic.Emph */ -.gr { color: #839496 } /* Generic.Error */ -.gh { color: #93a1a1; font-weight: bold } /* Generic.Heading */ -.gi { color: #839496 } /* Generic.Inserted */ -.go { color: #839496 } /* Generic.Output */ -.gp { color: #839496 } /* Generic.Prompt */ -.gs { color: #839496; font-weight: bold } /* Generic.Strong */ -.gu { color: #93a1a1 } /* Generic.Subheading */ -.gt { color: #839496 } /* Generic.Traceback */ -.kc { color: #6c71c4 } /* Keyword.Constant */ -.kd { color: #cb4b16 } /* Keyword.Declaration */ -.kn { color: #cb4b16 } /* Keyword.Namespace */ -.kp { color: #cb4b16 } /* Keyword.Pseudo */ -.kr { color: #cb4b16 } /* Keyword.Reserved */ -.kt { color: #cb4b16; text-decoration: underline } /* Keyword.Type */ -.ld { color: #6c71c4 } /* Literal.Date */ -.m { color: #002b36 } /* Literal.Number */ -.s { color: #2aa198 } /* Literal.String */ -.na { color: #586e75 } /* Name.Attribute */ -.nb { color: #b58900 } /* Name.Builtin */ -.nc { color: #268bd2; text-decoration: underline } /* Name.Class */ -.no { color: #6c71c4 } /* Name.Constant */ -.nd { color: #859900; font-style: italic } /* Name.Decorator */ -.ni { color: #657b83 } /* Name.Entity */ -.ne { color: #b58900; text-decoration: underline } /* Name.Exception */ -.nf { color: #268bd2; font-weight: bold } /* Name.Function */ -.nl { color: #657b83 } /* Name.Label */ -.nn { color: #859900 } /* Name.Namespace */ -.nx { color: #657b83 } /* Name.Other */ -.py { color: #657b83 } /* Name.Property */ -.nt { color: #657b83; font-weight: bold } /* Name.Tag */ -.nv { color: #586e75 } /* Name.Variable */ -.ow { color: #073642 } /* Operator.Word */ -.w { color: #586e75 } /* Text.Whitespace */ -.mf { color: #002b36 } /* Literal.Number.Float */ -.mh { color: #002b36 } /* Literal.Number.Hex */ -.mi { color: #002b36 } /* Literal.Number.Integer */ -.mo { color: #002b36 } /* Literal.Number.Oct */ -.sb { color: #2aa198 } /* Literal.String.Backtick */ -.sc { color: #2aa198 } /* Literal.String.Char */ -.sd { color: #2aa198; font-style: italic } /* Literal.String.Doc */ -.s2 { color: #2aa198 } /* Literal.String.Double */ -.se { color: #d33682 } /* Literal.String.Escape */ -.sh { color: #2aa198 } /* Literal.String.Heredoc */ -.si { color: #859900 } /* Literal.String.Interpol */ -.sx { color: #2aa198 } /* Literal.String.Other */ -.sr { color: #6c71c4 } /* Literal.String.Regex */ -.s1 { color: #2aa198 } /* Literal.String.Single */ -.ss { color: #d33682; text-decoration: underline } /* Literal.String.Symbol */ -.bp { color: #002b36 } /* Name.Builtin.Pseudo */ -.vc { color: #586e75 } /* Name.Variable.Class */ -.vg { color: #586e75 } /* Name.Variable.Global */ -.vi { color: #586e75 } /* Name.Variable.Instance */ -.il { color: #002b36 } /* Literal.Number.Integer.Long */ diff --git a/docs/internals/chart-types/timeseries-options.md b/docs/internals/chart-types/timeseries-options.md new file mode 100644 index 0000000..e8aaf32 --- /dev/null +++ b/docs/internals/chart-types/timeseries-options.md @@ -0,0 +1,68 @@ +# Timeseries Chart Options + +Right now, all options are global (apply to all metrics of a chart) because that's how Dygraph worked. This doesn't make sense when you have per-metric options, which we see bleeding in now with color etc, or when you want to mix and match chart-types. + +That said, most "local" (per-metric) options also make sense as global defaults for new metrics. Cases where that doesn't hold are noted. + + +## Local Per-Metric Options + +- id +- enabled +- visible +- type + +- label +- format +- timespan: [start, stop] -- inferred +- stroke[] + - width: 4.0 + - color: default from palette + - opacity: 1.0 + - style: solid | dashed | dotted -- presets for advanced options which are otherwise hidden + - solid := (all defaults) + - dashed := dashes:[2,2] + - dotted := dashes:[1,1], caps:round, joins:round + - (advanced options) + - dashes: null | dash pattern array (int array) -- null == solid + - caps: butt | round | square + - joins: miter | round | bevel +- fill: null | color | gradient? +- opacity: 1.0 +- points + - enabled: false + - size: 0 + - color: inherit from first stroke +- horizon: false +- smoothing: false +- axis + - scale: linear | log | sqrt | pow | (discrete | quantize | quantile)? + - scaleQuanta: Number -- for linear, log(?), pow, discrete, quant* + - range: [min, max] -- auto-inferred from dataset extents + - ticks: Number + - format: inherit from format +- data + - errorBars: false | choose error data column + +## Chart-Global Options + +- palette +- stacked: false +- axis +- grid[x,y] + - enabled: false + - stroke +- timespan: [start, stop] -- inferred +- legend + - enabled: true + - fixed: false -- when true, graph is smaller to accommodate legend; otherwise, legend moves itself + - draggable: false -- legend won't dodge the mouse so you can grab it +- zoom + - enabled: true -- enables Y-zoom independent of pan + - starting: 1.0 + - range: [min, max] +- pan + - enabled: true + - starting: [0, 1.0] -- Floats as % of timespan, or Dates +- minimap: false +- transitions: ? \ No newline at end of file diff --git a/msc/markdoc/404.html b/msc/markdoc/404.html new file mode 100644 index 0000000..ac434a7 --- /dev/null +++ b/msc/markdoc/404.html @@ -0,0 +1,11 @@ +{% extends 'base.html' %} + +{% block title %}Not Found: {{ request.path_info|e }}{% endblock %} + +{% block content %} +

Not Found: {{ request.path_info|e }}

+

+ We couldn’t find what you were looking for. + {% if not is_index %}You could try going home.{% endif %} +

+{% endblock %} diff --git a/msc/markdoc/base.html b/msc/markdoc/base.html new file mode 100644 index 0000000..f997b20 --- /dev/null +++ b/msc/markdoc/base.html @@ -0,0 +1,94 @@ + + +{% import "macros/html" as html -%} + + + {% block head %} + + {% block meta %} + + {% endblock %} + + + {% block title -%} + {{ title }} + {%- endblock %} + {% block title_suffix -%} + {% if 'wiki-name' in config %} | {{ config['wiki-name']|e }}{% endif %} + {%- endblock %} + + + {% block css %} + {{ html.cssimport("/vendor/bootstrap/css/bootstrap.min.css") }} + {{ html.cssimport("/css/solarized.css") }} + {{ html.cssimport("/css/docs.css") }} + {% endblock %} + + {% endblock head %} + + +
{% block body %} + +{% block header %} +
+ {% block crumbs %} + {% if crumbs %} + + {% endif %} + {% endblock crumbs %} +
+{% endblock header %} + +
+ {% block content %} + {% endblock content %} +
+ +{% block footer %} + +{% endblock footer %} + +{% block end %}{% endblock %} + +{% block scripts %} +
+ {% block vendor %} + {{ html.jsimport("/vendor/jquery.min.js") }} + {{ html.jsimport("/vendor/bootstrap.min.js") }} + {% endblock %} + {% block analytics %} + {% if 'google-analytics' in config %} + + + {% endif %} + {% endblock analytics %} + {% block js %}{% endblock %} +
+{% endblock scripts %} + +{% endblock body %}
+ diff --git a/msc/markdoc/document.html b/msc/markdoc/document.html new file mode 100644 index 0000000..03a1f34 --- /dev/null +++ b/msc/markdoc/document.html @@ -0,0 +1,5 @@ +{% extends 'base.html' %} + +{% block content %} +{{ content | replace('ls /{{ directory|e }} + + {% if sub_directories %} +

Directories

+ + + {% for subdir in sub_directories %} + + + + {% endfor %} +
+ + {{ subdir.basename|e }}/ + +
+ {% endif %} + + {% if pages %} +

Pages

+ + + {% for page in pages %} + + + + + {% endfor %} +
{{ page.humansize }} + + {{ page.title|e }} + +
+ {% endif %} + + {% if files %} +

Files

+ + + {% for file in files %} + + + + + {% endfor %} +
{{ file.humansize }} + + {{ file.basename|e }} + +
+ {% endif %} +{% endblock %} diff --git a/msc/markdoc/macros/html b/msc/markdoc/macros/html new file mode 100644 index 0000000..833f169 --- /dev/null +++ b/msc/markdoc/macros/html @@ -0,0 +1,19 @@ +{% macro cssimport(css_href, media="screen, projection") -%} + +{%- endmacro %} + +{% macro css() -%} + +{%- endmacro %} + +{% macro jsimport(js_href) -%} + +{%- endmacro %} + +{% macro js() -%} + +{%- endmacro %} diff --git a/msc/markdoc/markdoc.yaml b/msc/markdoc/markdoc.yaml new file mode 100644 index 0000000..acd521e --- /dev/null +++ b/msc/markdoc/markdoc.yaml @@ -0,0 +1,37 @@ +wiki-name : Limn Docs + +wiki-dir : "docs" +template-dir : "msc/markdoc" +static-dir : "msc/markdoc/static" +html-dir : "var/docs" +temp-dir : ".tmp" + +use-default-static : false +use-default-templates : false +generate-listing : always +hide-prefix : "." +cvs-exclude : true +listing-filename : "_list.html" + +markdown: + output-format: html5 + extensions: + - abbr + - codehilite + - def_list + - extra + - fenced_code + - footnotes + - headerid + - meta + - tables + - toc + # - rss + # - html_tidy + # - imagelinks + # - wikilinks + extension-configs: + codehilite: + force_linenos: false + + diff --git a/static/css/github-readme.css b/static/css/github-readme.css new file mode 100644 index 0000000..16f7c20 --- /dev/null +++ b/static/css/github-readme.css @@ -0,0 +1,207 @@ +a, a:link { + color: #2e62c9; + vertical-align: baseline; } + +a:visited { + color: #244792; } + +a:hover, a:active { + color: #4596ff; } + +.site { margin: 0 auto; padding: 15px; width: 920px; } + +.highlight{background:#fff;} +.highlight .c{color:#998;font-style:italic;} +.highlight .err{color:#a61717;background-color:#e3d2d2;} +.highlight .k{font-weight:bold;} +.highlight .o{font-weight:bold;} +.highlight .cm{color:#998;font-style:italic;} +.highlight .cp{color:#999;font-weight:bold;} +.highlight .c1{color:#998;font-style:italic;} +.highlight .cs{color:#999;font-weight:bold;font-style:italic;} +.highlight .gd{color:#000;background-color:#fdd;} +.highlight .gd .x{color:#000;background-color:#faa;} +.highlight .ge{font-style:italic;} +.highlight .gr{color:#a00;} +.highlight .gh{color:#999;} +.highlight .gi{color:#000;background-color:#dfd;} +.highlight .gi .x{color:#000;background-color:#afa;} +.highlight .go{color:#888;} +.highlight .gp{color:#555;} +.highlight .gs{font-weight:bold;} +.highlight .gu{color:#800080;font-weight:bold;} +.highlight .gt{color:#a00;} +.highlight .kc{font-weight:bold;} +.highlight .kd{font-weight:bold;} +.highlight .kn{font-weight:bold;} +.highlight .kp{font-weight:bold;} +.highlight .kr{font-weight:bold;} +.highlight .kt{color:#458;font-weight:bold;} +.highlight .m{color:#099;} +.highlight .s{color:#d14;} +.highlight .na{color:#008080;} +.highlight .nb{color:#0086B3;} +.highlight .nc{color:#458;font-weight:bold;} +.highlight .no{color:#008080;} +.highlight .ni{color:#800080;} +.highlight .ne{color:#900;font-weight:bold;} +.highlight .nf{color:#900;font-weight:bold;} +.highlight .nn{color:#555;} +.highlight .nt{color:#000080;} +.highlight .nv{color:#008080;} +.highlight .ow{font-weight:bold;} +.highlight .w{color:#bbb;} +.highlight .mf{color:#099;} +.highlight .mh{color:#099;} +.highlight .mi{color:#099;} +.highlight .mo{color:#099;} +.highlight .sb{color:#d14;} +.highlight .sc{color:#d14;} +.highlight .sd{color:#d14;} +.highlight .s2{color:#d14;} +.highlight .se{color:#d14;} +.highlight .sh{color:#d14;} +.highlight .si{color:#d14;} +.highlight .sx{color:#d14;} +.highlight .sr{color:#009926;} +.highlight .s1{color:#d14;} +.highlight .ss{color:#990073;} +.highlight .bp{color:#999;} +.highlight .vc{color:#008080;} +.highlight .vg{color:#008080;} +.highlight .vi{color:#008080;} +.highlight .il{color:#099;} +.type-csharp .highlight .k{color:#00F;} +.type-csharp .highlight .kt{color:#00F;} +.type-csharp .highlight .nf{color:#000;font-weight:normal;} +.type-csharp .highlight .nc{color:#2B91AF;} +.type-csharp .highlight .nn{color:#000;} +.type-csharp .highlight .s{color:#A31515;} +.type-csharp .highlight .sc{color:#A31515;} + +#readme{ font:13.34px helvetica,arial,freesans,clean,sans-serif; } +#readme.announce{margin:1em 0;} +#readme.blob{;} +#readme span.name{font-size:140%;padding:.8em 0;} +#readme div.plain,#readme div.wikistyle{background-color:#f8f8f8;padding:.7em;} +#readme.announce div.plain,#readme.announce div.wikistyle{border:1px solid #e9e9e9;} +#readme.blob div.plain,#readme.blob div.wikistyle{border-top:none;} +#readme div.plain pre{font-family:'Bitstream Vera Sans Mono','Courier',monospace;font-size:85%;color:#444;white-space:pre-wrap;word-wrap:break-word;width:74em;} +#missing-readme{font:13.34px helvetica,arial,freesans,clean,sans-serif;text-align:center;background-color:#ffc;padding:.7em;border:1px solid #ccc;} +#readme.rst .borderless,#readme.rst table.borderless td,#readme.rst table.borderless th{border:0;} +#readme.rst table.borderless td,#readme.rst table.borderless th{padding:0 .5em 0 0!important;} +#readme.rst .first{margin-top:0!important;} +#readme.rst .last,#readme.rst .with-subtitle{margin-bottom:0!important;} +#readme.rst .hidden{display:none;} +#readme.rst a.toc-backref{text-decoration:none;color:black;} +#readme.rst blockquote.epigraph{margin:2em 5em;} +#readme.rst dl.docutils dd{margin-bottom:.5em;} +#readme.rst div.abstract{margin:2em 5em;} +#readme.rst div.abstract p.topic-title{font-weight:bold;text-align:center;} +#readme.rst div.admonition,#readme.rst div.attention,#readme.rst div.caution,#readme.rst div.danger,#readme.rst div.error,#readme.rst div.hint,#readme.rst div.important,#readme.rst div.note,#readme.rst div.tip,#readme.rst div.warning{margin:2em;border:medium outset;padding:1em;} +#readme.rst div.admonition p.admonition-title,#readme.rst div.hint p.admonition-title,#readme.rst div.important p.admonition-title,#readme.rst div.note p.admonition-title,#readme.rst div.tip p.admonition-title{font-weight:bold;font-family:sans-serif;} +#readme.rst div.attention p.admonition-title,#readme.rst div.caution p.admonition-title,#readme.rst div.danger p.admonition-title,#readme.rst div.error p.admonition-title,#readme.rst div.warning p.admonition-title{color:red;font-weight:bold;font-family:sans-serif;} +#readme.rst div.dedication{margin:2em 5em;text-align:center;font-style:italic;} +#readme.rst div.dedication p.topic-title{font-weight:bold;font-style:normal;} +#readme.rst div.figure{margin-left:2em;margin-right:2em;} +#readme.rst div.footer,#readme.rst div.header{clear:both;font-size:smaller;} +#readme.rst div.line-block{display:block;margin-top:1em;margin-bottom:1em;} +#readme.rst div.line-block div.line-block{margin-top:0;margin-bottom:0;margin-left:1.5em;} +#readme.rst div.sidebar{margin:0 0 .5em 1em;border:medium outset;padding:1em;background-color:#ffe;width:40%;float:right;clear:right;} +#readme.rst div.sidebar p.rubric{font-family:sans-serif;font-size:medium;} +#readme.rst div.system-messages{margin:5em;} +#readme.rst div.system-messages h1{color:red;} +#readme.rst div.system-message{border:medium outset;padding:1em;} +#readme.rst div.system-message p.system-message-title{color:red;font-weight:bold;} +#readme.rst div.topic{margin:2em;} +#readme.rst h1.section-subtitle,#readme.rst h2.section-subtitle,#readme.rst h3.section-subtitle,#readme.rst h4.section-subtitle,#readme.rst h5.section-subtitle,#readme.rst h6.section-subtitle{margin-top:.4em;} +#readme.rst h1.title{text-align:center;} +#readme.rst h2.subtitle{text-align:center;} +#readme.rst hr.docutils{width:75%;} +#readme.rst img.align-left,#readme.rst .figure.align-left,#readme.rst object.align-left{clear:left;float:left;margin-right:1em;} +#readme.rst img.align-right,#readme.rst .figure.align-right,#readme.rst object.align-right{clear:right;float:right;margin-left:1em;} +#readme.rst img.align-center,#readme.rst .figure.align-center,#readme.rst object.align-center{display:block;margin-left:auto;margin-right:auto;} +#readme.rst .align-left{text-align:left;} +#readme.rst .align-center{clear:both;text-align:center;} +#readme.rst .align-right{text-align:right;} +#readme.rst div.align-right{text-align:left;} +#readme.rst ol.simple,#readme.rst ul.simple{margin-bottom:1em;} +#readme.rst ol.arabic{list-style:decimal;} +#readme.rst ol.loweralpha{list-style:lower-alpha;} +#readme.rst ol.upperalpha{list-style:upper-alpha;} +#readme.rst ol.lowerroman{list-style:lower-roman;} +#readme.rst ol.upperroman{list-style:upper-roman;} +#readme.rst p.attribution{text-align:right;margin-left:50%;} +#readme.rst p.caption{font-style:italic;} +#readme.rst p.credits{font-style:italic;font-size:smaller;} +#readme.rst p.label{white-space:nowrap;} +#readme.rst p.rubric{font-weight:bold;font-size:larger;color:maroon;text-align:center;} +#readme.rst p.sidebar-title{font-family:sans-serif;font-weight:bold;font-size:larger;} +#readme.rst p.sidebar-subtitle{font-family:sans-serif;font-weight:bold;} +#readme.rst p.topic-title{font-weight:bold;} +#readme.rst pre.address{margin-bottom:0;margin-top:0;font:inherit;} +#readme.rst pre.literal-block,#readme.rst pre.doctest-block{margin-left:2em;margin-right:2em;} +#readme.rst span.classifier{font-family:sans-serif;font-style:oblique;} +#readme.rst span.classifier-delimiter{font-family:sans-serif;font-weight:bold;} +#readme.rst span.interpreted{font-family:sans-serif;} +#readme.rst span.option{white-space:nowrap;} +#readme.rst span.pre{white-space:pre;} +#readme.rst span.problematic{color:red;} +#readme.rst span.section-subtitle{font-size:80%;} +#readme.rst table.citation{border-left:solid 1px gray;margin-left:1px;} +#readme.rst table.docinfo{margin:2em 4em;} +#readme.rst table.docutils{margin-top:.5em;margin-bottom:.5em;} +#readme.rst table.footnote{border-left:solid 1px black;margin-left:1px;} +#readme.rst table.docutils td,#readme.rst table.docutils th,#readme.rst table.docinfo td,#readme.rst table.docinfo th{padding-left:.5em;padding-right:.5em;vertical-align:top;} +#readme.rst table.docutils th.field-name,#readme.rst table.docinfo th.docinfo-name{font-weight:bold;text-align:left;white-space:nowrap;padding-left:0;} +#readme.rst h1 tt.docutils,#readme.rst h2 tt.docutils,#readme.rst h3 tt.docutils,#readme.rst h4 tt.docutils,#readme.rst h5 tt.docutils,#readme.rst h6 tt.docutils{font-size:100%;} +#readme.rst ul.auto-toc{list-style-type:none;}.highlight .gc{color:#999;background-color:#EAF2F5;} + +.wikistyle h1,.wikistyle h2,.wikistyle h3,.wikistyle h4,.wikistyle h5,.wikistyle h6{border:0!important;} +.wikistyle h1{font-size:170%!important;border-top:4px solid #aaa!important;padding-top:.5em!important;margin-top:1.5em!important;} +.wikistyle h1:first-child{margin-top:0!important;padding-top:.25em!important;border-top:none!important;} +.wikistyle h2{font-size:150%!important;margin-top:1.5em!important;border-top:4px solid #e0e0e0!important;padding-top:.5em!important;} +.wikistyle h3{margin-top:1em!important;} +.wikistyle hr{border:1px solid #ddd;} +.wikistyle p{margin:1em 0!important;line-height:1.5em!important;} +.wikistyle a.absent{color:#a00;} +.wikistyle ul,#wiki-form .content-body ul{margin:1em 0 1em 2em!important;} +.wikistyle ol,#wiki-form .content-body ol{margin:1em 0 1em 2em!important;} +.wikistyle ul li,#wiki-form .content-body ul li,.wikistyle ol li,#wiki-form .content-body ol li{margin-top:.5em;margin-bottom:.5em;} +.wikistyle ul ul,.wikistyle ul ol,.wikistyle ol ol,.wikistyle ol ul,#wiki-form .content-body ul ul,#wiki-form .content-body ul ol,#wiki-form .content-body ol ol,#wiki-form .content-body ol ul{margin-top:0!important;margin-bottom:0!important;} +.wikistyle blockquote{margin:1em 0!important;border-left:5px solid #ddd!important;padding-left:.6em!important;color:#555!important;} +.wikistyle dt{font-weight:bold!important;margin-left:1em!important;} +.wikistyle dd{margin-left:2em!important;margin-bottom:1em!important;} +.wikistyle table{margin:1em 0!important; width:100%; border-spacing:1px;} +.wikistyle table thead {border:1px solid #bbb; border-width: 1px 0; padding:1em; background-color:#F2F2F2; color:#333; } +.wikistyle table th, td{text-align:left; vertical-align:middle; margin:0 1px; } +.wikistyle table th{border-bottom:1px solid #bbb!important;} +.wikistyle table td{border-bottom:1px solid #ddd!important;} +.wikistyle a code,.wikistyle a:link code,.wikistyle a:visited code{color:#4183c4!important;} +.wikistyle img{max-width:100%;} +.wikistyle pre.console{margin:1em 0!important;font-size:12px!important;background-color:black!important;padding:.5em!important;line-height:1.5em!important;color:white!important;} +.wikistyle pre.console code{padding:0!important;font-size:12px!important;background-color:black!important;border:none!important;color:white!important;} +.wikistyle pre.console span{color:#888!important;} +.wikistyle pre.console span.command{color:yellow!important;} +.wikistyle .frame{margin:0;display:inline-block;} +.wikistyle .frame img{display:block;} +.wikistyle .frame>span{display:block;border:1px solid #aaa;padding:4px;} +.wikistyle .frame span span{display:block;font-size:10pt;margin:0;padding:4px 0 2px 0;text-align:center;line-height:10pt;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;} +.wikistyle .float-left{float:left;padding:.5em 1em .25em 0;} +.wikistyle .float-right{float:right;padding:.5em 0 .25em 1em;} +.wikistyle .align-left{display:block;text-align:left;} +.wikistyle .align-center{display:block;text-align:center;} +.wikistyle .align-right{display:block;text-align:right;} +.wikistyle pre{margin:1em 0;font-size:12px;background-color:#eee;border:1px solid #ddd;padding:5px;color:#444;overflow:auto;-webkit-box-shadow:rgba(0,0,0,0.07) 0 1px 2px inset;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.wikistyle pre::-webkit-scrollbar{height:8px;width:8px;} +.wikistyle pre::-webkit-scrollbar-track-piece{margin-bottom:10px;background-color:#e5e5e5;border-bottom-left-radius:4px 4px;border-bottom-right-radius:4px 4px;border-top-left-radius:4px 4px;border-top-right-radius:4px 4px;} +.wikistyle pre::-webkit-scrollbar-thumb:vertical{height:25px;background-color:#ccc;-webkit-border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(255,255,255,1);} +.wikistyle pre::-webkit-scrollbar-thumb:horizontal{width:25px;background-color:#ccc;-webkit-border-radius:4px;} +.wikistyle pre code{padding:0!important;font-size:12px!important;background-color:#eee!important;border:none!important;} +.wikistyle code{font-size:12px!important;background-color:#f8f8ff!important;color:#444!important;padding:0 .2em!important;border:1px solid #dedede!important;} + +.markdown-format .highlight pre{background:#fafafa;} +.markdown-format .highlight .gu,.markdown-format .highlight .gd,.markdown-format .highlight .gi{display:inline-block;width:100%;padding:0 0 0 5px;margin-left:-5px;} +.markdown-format .highlight .gu{font-weight:normal;color:#999;background:#EAF2F5;} +.markdown-format .highlight .gd{;} +.markdown-format .highlight .gi{;} diff --git a/static/css/solarized.css b/static/css/solarized.css new file mode 100644 index 0000000..40acc45 --- /dev/null +++ b/static/css/solarized.css @@ -0,0 +1,69 @@ +.hll { background-color: #eee8d5 } +.c { color: #93a1a1; background-color: #eee8d5 } /* Comment */ +.err { color: #eee8d5; background-color: #dc322f } /* Error */ +.g { color: #839496 } /* Generic */ +.k { color: #cb4b16 } /* Keyword */ +.l { color: #6c71c4 } /* Literal */ +.n { color: #657b83 } /* Name */ +.o { color: #073642 } /* Operator */ +.x { color: #657b83 } /* Other */ +.p { color: #657b83 } /* Punctuation */ +.cm { color: #93a1a1; background-color: #eee8d5 } /* Comment.Multiline */ +.cp { color: #93a1a1; background-color: #eee8d5 } /* Comment.Preproc */ +.c1 { color: #93a1a1; background-color: #eee8d5 } /* Comment.Single */ +.cs { color: #93a1a1; background-color: #eee8d5 } /* Comment.Special */ +.gd { color: #839496 } /* Generic.Deleted */ +.ge { color: #839496; font-style: italic } /* Generic.Emph */ +.gr { color: #839496 } /* Generic.Error */ +.gh { color: #93a1a1; font-weight: bold } /* Generic.Heading */ +.gi { color: #839496 } /* Generic.Inserted */ +.go { color: #839496 } /* Generic.Output */ +.gp { color: #839496 } /* Generic.Prompt */ +.gs { color: #839496; font-weight: bold } /* Generic.Strong */ +.gu { color: #93a1a1 } /* Generic.Subheading */ +.gt { color: #839496 } /* Generic.Traceback */ +.kc { color: #6c71c4 } /* Keyword.Constant */ +.kd { color: #cb4b16 } /* Keyword.Declaration */ +.kn { color: #cb4b16 } /* Keyword.Namespace */ +.kp { color: #cb4b16 } /* Keyword.Pseudo */ +.kr { color: #cb4b16 } /* Keyword.Reserved */ +.kt { color: #cb4b16; text-decoration: underline } /* Keyword.Type */ +.ld { color: #6c71c4 } /* Literal.Date */ +.m { color: #002b36 } /* Literal.Number */ +.s { color: #2aa198 } /* Literal.String */ +.na { color: #586e75 } /* Name.Attribute */ +.nb { color: #b58900 } /* Name.Builtin */ +.nc { color: #268bd2; text-decoration: underline } /* Name.Class */ +.no { color: #6c71c4 } /* Name.Constant */ +.nd { color: #859900; font-style: italic } /* Name.Decorator */ +.ni { color: #657b83 } /* Name.Entity */ +.ne { color: #b58900; text-decoration: underline } /* Name.Exception */ +.nf { color: #268bd2; font-weight: bold } /* Name.Function */ +.nl { color: #657b83 } /* Name.Label */ +.nn { color: #859900 } /* Name.Namespace */ +.nx { color: #657b83 } /* Name.Other */ +.py { color: #657b83 } /* Name.Property */ +.nt { color: #657b83; font-weight: bold } /* Name.Tag */ +.nv { color: #586e75 } /* Name.Variable */ +.ow { color: #073642 } /* Operator.Word */ +.w { color: #586e75 } /* Text.Whitespace */ +.mf { color: #002b36 } /* Literal.Number.Float */ +.mh { color: #002b36 } /* Literal.Number.Hex */ +.mi { color: #002b36 } /* Literal.Number.Integer */ +.mo { color: #002b36 } /* Literal.Number.Oct */ +.sb { color: #2aa198 } /* Literal.String.Backtick */ +.sc { color: #2aa198 } /* Literal.String.Char */ +.sd { color: #2aa198; font-style: italic } /* Literal.String.Doc */ +.s2 { color: #2aa198 } /* Literal.String.Double */ +.se { color: #d33682 } /* Literal.String.Escape */ +.sh { color: #2aa198 } /* Literal.String.Heredoc */ +.si { color: #859900 } /* Literal.String.Interpol */ +.sx { color: #2aa198 } /* Literal.String.Other */ +.sr { color: #6c71c4 } /* Literal.String.Regex */ +.s1 { color: #2aa198 } /* Literal.String.Single */ +.ss { color: #d33682; text-decoration: underline } /* Literal.String.Symbol */ +.bp { color: #002b36 } /* Name.Builtin.Pseudo */ +.vc { color: #586e75 } /* Name.Variable.Class */ +.vg { color: #586e75 } /* Name.Variable.Global */ +.vi { color: #586e75 } /* Name.Variable.Instance */ +.il { color: #002b36 } /* Literal.Number.Integer.Long */ diff --git a/www/css/docs.styl b/www/css/docs.styl new file mode 100644 index 0000000..571d298 --- /dev/null +++ b/www/css/docs.styl @@ -0,0 +1,36 @@ +h1, h2, h3, h4, h5 + font-weight normal + margin 0 + margin-top 1em + padding 0.5em 0 + +h1.page-header + // font-size 30px + padding-bottom 0 + +h2 + font-size 18px + +h3, h4 + font-size 13px + text-transform uppercase + letter-spacing 0.2em + word-spacing 0.1em + + +#content + height 100% + +header, #doc + margin 0 auto + width 60% + max-width 800px + min-width 600px + +footer + margin-top 3em + padding 1em 3em 3em + background-color #fbfbfb + border-top 1px solid #ddd + font-size 11px + -- 1.7.0.4