From f09ed4cec8b808f63ff0d9751cbdd118889ccec8 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Sun, 5 Jul 2015 21:59:27 -0400 Subject: [PATCH] Redesign --- share/html/assets/github.css | 7 +++---- share/html/assets/style.css | 34 ++++++++++++++++++++-------------- share/html/index.hbs | 2 +- share/html/section.hbs | 2 +- 4 files changed, 25 insertions(+), 20 deletions(-) diff --git a/share/html/assets/github.css b/share/html/assets/github.css index 9b4f3aa..8852abb 100644 --- a/share/html/assets/github.css +++ b/share/html/assets/github.css @@ -27,14 +27,13 @@ github.com style (c) Vasily Polovnyov .hljs-subst, .hljs-request, .hljs-status { - color: #333; - font-weight: bold; + color: #1184CE; } .hljs-number, .hljs-hexcolor, .ruby .hljs-constant { - color: #008080; + color: #ed225d; } .hljs-string, @@ -42,7 +41,7 @@ github.com style (c) Vasily Polovnyov .hljs-phpdoc, .hljs-dartdoc, .tex .hljs-formula { - color: #d14; + color: #ed225d; } .hljs-title, diff --git a/share/html/assets/style.css b/share/html/assets/style.css index 7e1cb61..f20ad6d 100644 --- a/share/html/assets/style.css +++ b/share/html/assets/style.css @@ -1,5 +1,5 @@ .documentation a { - color: #416381; + color: #1184CE; } .container-small { @@ -26,19 +26,7 @@ } .bg-cloudy { - background: rgba(230, 235, 237, 1); -} - -.bg-cloudy-light { - background: rgba(230, 235, 237, 0.5); -} - -.keyline-top { - border-top:5px solid #eee; -} - -.keyline-top:first-child { - border-top:0; + background: #fafafa; } .force-inline * { @@ -52,3 +40,21 @@ section:target { .documentation-sidebar a:active { background: #fcfbf2; } + +.documentation, +.documentation h1, +.documentation h2, +.documentation h3, +.documentation h4, +.documentation h5, +.documentation h6, +.documentation pre, +.documentation code, +.documentation samp { + font-family: 'Inconsolata', Consolas, 'Source Code Pro', monospace; +} + +.documentation td, +.documentation th { + padding: .25rem .25rem; +} diff --git a/share/html/index.hbs b/share/html/index.hbs index 905173c..e6f3612 100644 --- a/share/html/index.hbs +++ b/share/html/index.hbs @@ -46,7 +46,7 @@ {{/unless}} -
+
{{#each docs ~}}{{> section}}{{/each}} diff --git a/share/html/section.hbs b/share/html/section.hbs index 58d06c3..a01905b 100644 --- a/share/html/section.hbs +++ b/share/html/section.hbs @@ -1,4 +1,4 @@ -
+
{{#if context.github}}
{{#if augments}}