diff --git a/composer.json b/composer.json index 8cdec39..e4dc4a5 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,10 @@ "league/plates": "~3.1", "guzzlehttp/guzzle": "~5.3", "league/commonmark": "^0.13", - "symfony/console": "~2.7", - "symfony/finder": "~2.7", - "webuni/commonmark-table-extension": "0.4.*" + "symfony/console": "~3.0", + "symfony/finder": "~3.0", + "webuni/commonmark-table-extension": "0.4.*", + "myclabs/deep-copy": "^1.5" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index acf48fb..5fc0053 100644 --- a/composer.lock +++ b/composer.lock @@ -1,10 +1,11 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "9be46791fa9d61c2ded921a54980712f", + "hash": "5d99c57e9efe49df55a765026a15f586", + "content-hash": "88197b6eaf8fc4b266eb8c72b115580a", "packages": [ { "name": "guzzlehttp/guzzle", @@ -167,16 +168,16 @@ }, { "name": "league/commonmark", - "version": "0.13.0", + "version": "0.13.2", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "a4e93bc4fd1a8ff8f534040c4a07371ea5f4b484" + "reference": "35ac362082ca983a8123df2ee2cdfcf456ab6295" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/a4e93bc4fd1a8ff8f534040c4a07371ea5f4b484", - "reference": "a4e93bc4fd1a8ff8f534040c4a07371ea5f4b484", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/35ac362082ca983a8123df2ee2cdfcf456ab6295", + "reference": "35ac362082ca983a8123df2ee2cdfcf456ab6295", "shasum": "" }, "require": { @@ -188,12 +189,12 @@ }, "require-dev": { "erusev/parsedown": "~1.0", - "jgm/commonmark": "0.24", + "jgm/commonmark": "0.25", "michelf/php-markdown": "~1.4", - "mikehaertl/php-shellcommand": "~1.1.0", + "mikehaertl/php-shellcommand": "~1.2.0", "phpunit/phpunit": "~4.3|~5.0", - "scrutinizer/ocular": "^1.1", - "symfony/finder": "~2.3" + "scrutinizer/ocular": "~1.1", + "symfony/finder": "~2.3|~3.0" }, "suggest": { "league/commonmark-extras": "Library of useful extensions including smart punctuation" @@ -220,7 +221,7 @@ { "name": "Colin O'Dell", "email": "colinodell@gmail.com", - "homepage": "http://www.colinodell.com", + "homepage": "https://www.colinodell.com", "role": "Lead Developer" } ], @@ -231,7 +232,7 @@ "markdown", "parser" ], - "time": "2016-01-14 04:29:54" + "time": "2016-03-27 19:10:13" }, { "name": "league/plates", @@ -286,17 +287,59 @@ "time": "2015-07-09 02:14:40" }, { - "name": "react/promise", - "version": "v2.2.1", + "name": "myclabs/deep-copy", + "version": "1.5.0", "source": { "type": "git", - "url": "https://github.com/reactphp/promise.git", - "reference": "3b6fca09c7d56321057fa8867c8dbe1abf648627" + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "e3abefcd7f106677fd352cd7c187d6c969aa9ddc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/3b6fca09c7d56321057fa8867c8dbe1abf648627", - "reference": "3b6fca09c7d56321057fa8867c8dbe1abf648627", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e3abefcd7f106677fd352cd7c187d6c969aa9ddc", + "reference": "e3abefcd7f106677fd352cd7c187d6c969aa9ddc", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "doctrine/collections": "1.*", + "phpunit/phpunit": "~4.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "homepage": "https://github.com/myclabs/DeepCopy", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "time": "2015-11-07 22:20:37" + }, + { + "name": "react/promise", + "version": "v2.4.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/promise.git", + "reference": "f942da7b505d1a294284ab343d05df42d02ad6d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/promise/zipball/f942da7b505d1a294284ab343d05df42d02ad6d9", + "reference": "f942da7b505d1a294284ab343d05df42d02ad6d9", "shasum": "" }, "require": { @@ -327,30 +370,30 @@ } ], "description": "A lightweight implementation of CommonJS Promises/A for PHP", - "time": "2015-07-03 13:48:55" + "time": "2016-03-31 13:10:33" }, { "name": "symfony/console", - "version": "v2.8.2", + "version": "v3.0.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d0239fb42f98dd02e7d342f793c5d2cdee0c478d" + "reference": "6b1175135bc2a74c08a28d89761272de8beed8cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d0239fb42f98dd02e7d342f793c5d2cdee0c478d", - "reference": "d0239fb42f98dd02e7d342f793c5d2cdee0c478d", + "url": "https://api.github.com/repos/symfony/console/zipball/6b1175135bc2a74c08a28d89761272de8beed8cd", + "reference": "6b1175135bc2a74c08a28d89761272de8beed8cd", "shasum": "" }, "require": { - "php": ">=5.3.9", + "php": ">=5.5.9", "symfony/polyfill-mbstring": "~1.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1|~3.0.0", - "symfony/process": "~2.1|~3.0.0" + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0" }, "suggest": { "psr/log": "For using the console logger", @@ -360,7 +403,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.8-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -387,29 +430,29 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-01-14 08:33:16" + "time": "2016-03-16 17:00:50" }, { "name": "symfony/finder", - "version": "v2.8.2", + "version": "v3.0.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "c90fabdd97e431ee19b6383999cf35334dff27da" + "reference": "c54e407b35bc098916704e9fd090da21da4c4f52" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/c90fabdd97e431ee19b6383999cf35334dff27da", - "reference": "c90fabdd97e431ee19b6383999cf35334dff27da", + "url": "https://api.github.com/repos/symfony/finder/zipball/c54e407b35bc098916704e9fd090da21da4c4f52", + "reference": "c54e407b35bc098916704e9fd090da21da4c4f52", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.5.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.8-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -436,11 +479,11 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-01-14 08:26:52" + "time": "2016-03-10 11:13:05" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.1.0", + "version": "v1.1.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", @@ -658,22 +701,24 @@ }, { "name": "phpspec/prophecy", - "version": "v1.5.0", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7" + "reference": "3c91bdf81797d725b14cb62906f9a4ce44235972" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4745ded9307786b730d7a60df5cb5a6c43cf95f7", - "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/3c91bdf81797d725b14cb62906f9a4ce44235972", + "reference": "3c91bdf81797d725b14cb62906f9a4ce44235972", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "~2.0", - "sebastian/comparator": "~1.1" + "sebastian/comparator": "~1.1", + "sebastian/recursion-context": "~1.0" }, "require-dev": { "phpspec/phpspec": "~2.0" @@ -681,7 +726,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "1.5.x-dev" } }, "autoload": { @@ -714,7 +759,7 @@ "spy", "stub" ], - "time": "2015-08-13 10:07:40" + "time": "2016-02-15 07:46:21" }, { "name": "phpunit/php-code-coverage", @@ -958,16 +1003,16 @@ }, { "name": "phpunit/phpunit", - "version": "4.8.21", + "version": "4.8.24", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "ea76b17bced0500a28098626b84eda12dbcf119c" + "reference": "a1066c562c52900a142a0e2bbf0582994671385e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ea76b17bced0500a28098626b84eda12dbcf119c", - "reference": "ea76b17bced0500a28098626b84eda12dbcf119c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a1066c562c52900a142a0e2bbf0582994671385e", + "reference": "a1066c562c52900a142a0e2bbf0582994671385e", "shasum": "" }, "require": { @@ -1026,7 +1071,7 @@ "testing", "xunit" ], - "time": "2015-12-12 07:45:58" + "time": "2016-03-14 06:16:08" }, { "name": "phpunit/phpunit-mock-objects", @@ -1202,16 +1247,16 @@ }, { "name": "sebastian/environment", - "version": "1.3.3", + "version": "1.3.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "6e7133793a8e5a5714a551a8324337374be209df" + "reference": "dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e7133793a8e5a5714a551a8324337374be209df", - "reference": "6e7133793a8e5a5714a551a8324337374be209df", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf", + "reference": "dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf", "shasum": "" }, "require": { @@ -1248,7 +1293,7 @@ "environment", "hhvm" ], - "time": "2015-12-02 08:37:27" + "time": "2016-02-26 18:40:46" }, { "name": "sebastian/exporter", @@ -1457,16 +1502,16 @@ }, { "name": "symfony/yaml", - "version": "v3.0.1", + "version": "v3.0.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "3df409958a646dad2bc5046c3fb671ee24a1a691" + "reference": "0047c8366744a16de7516622c5b7355336afae96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/3df409958a646dad2bc5046c3fb671ee24a1a691", - "reference": "3df409958a646dad2bc5046c3fb671ee24a1a691", + "url": "https://api.github.com/repos/symfony/yaml/zipball/0047c8366744a16de7516622c5b7355336afae96", + "reference": "0047c8366744a16de7516622c5b7355336afae96", "shasum": "" }, "require": { @@ -1502,7 +1547,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2015-12-26 13:39:53" + "time": "2016-03-04 07:55:57" } ], "aliases": [], diff --git a/daux.phar b/daux.phar index 9f6a55c..f49b399 100755 Binary files a/daux.phar and b/daux.phar differ diff --git a/docs/00_Getting_Started.md b/docs/00_Getting_Started.md index e6915e5..5f383f5 100644 --- a/docs/00_Getting_Started.md +++ b/docs/00_Getting_Started.md @@ -1,5 +1,7 @@ **Daux.io** is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way. +[TOC] + ## Features ### For Authors @@ -12,6 +14,7 @@ * [Multiple Languages Support](!Features/Multilanguage) * [No Build Step](!Features/Live_mode) * [Static Output Generation](!Features/Static_Site_Generation) +* [Table of Contents](!Features/Table_of_contents) ### For Developers @@ -34,13 +37,11 @@ This is a list of sites using Daux.io: * [Daux.io](http://daux.io) -* [Gltn - An open-source word processor webapp](http://felkerdigitalmedia.com/gltn/docs/) +* [jDrupal](http://jdrupal.easystreet3.com/8/docs/) +* [DrupalGap](http://docs.drupalgap.org/8/) * [Invade & Annex 3 - An Arma 3 Co-operative Mission](http://ia3.ahoyworld.co.uk/) * [Munee: Standalone PHP 5.3 Asset Optimisation & Manipulation](http://mun.ee) * [ICADMIN: An admin panel powered by CodeIgniter.](http://istocode.com/shared/ic-admin/) -* [TrackJs](http://docs.trackjs.com) (uses a customized theme) -* [wallabag](http://doc.wallabag.org/index) -* [Ultimo Docs](http://docs.ultimogroup.co.nz/) Do you use Daux.io? Send us a pull request or open an [issue](https://github.com/justinwalsh/daux.io/issues) and I will add you to the list. diff --git a/docs/01_Features/Search.md b/docs/01_Features/Search.md new file mode 100644 index 0000000..5fb99e3 --- /dev/null +++ b/docs/01_Features/Search.md @@ -0,0 +1,13 @@ +Searching in a Daux.io documentation is possible, but only in static mode. + +We don't provide this feature in live rendering as it would be too slow. + +To enable the generated search, you can set `search` to true in the `html` section of your configuration + +```json +{ + "html": { + "search": true + } +} +``` diff --git a/docs/01_Features/Table_of_contents.md b/docs/01_Features/Table_of_contents.md new file mode 100644 index 0000000..682f27f --- /dev/null +++ b/docs/01_Features/Table_of_contents.md @@ -0,0 +1,19 @@ +Adding a table of contents becomes very easy with Daux.io + +## Automatic + +A table of contents can be added automatically to all pages. + +If `[TOC]` isn't present it will add it at the beginning of the page. + +You can enable this feature in your configuration + +```json +{ + "auto_toc": true +} +``` + +## Manual + +Add `[TOC]` anywhere in your document and it will be replaced by a table of contents diff --git a/docs/10_For_Developers/Creating_a_Processor.md b/docs/10_For_Developers/Creating_a_Processor.md index 60f6c9e..19ed4b6 100644 --- a/docs/10_For_Developers/Creating_a_Processor.md +++ b/docs/10_For_Developers/Creating_a_Processor.md @@ -62,6 +62,12 @@ Two helpers from the class `Todaymade\Daux\Tree\Builder` will greatly help you d Both methods `getOrCreateDir` and `getOrCreatePage` take two parameters : `parent` and `title` +The page will automatically be treated as markdown and converted like a normal page. + +If you create a new ContentType, like let's say LaTeX, you would set the title `My Page.tex` it will keep the title `My Page` and use your renderer. + +If the extension is not mapped to a Generator, it will simply create the file as-is without manipulation. + ### Extend the Markdown Generator You can extend the Markdown Parser in any way wou want with this method. diff --git a/docs/_index.md b/docs/_index.md index 573719c..746f558 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -18,6 +18,7 @@ * [Multiple Languages Support](!Features/Multilanguage) * [No Build Step](!Features/Live_mode) * [Static Output Generation](!Features/Static_Site_Generation) +* [Table of Contents](!Features/Table_of_contents)
diff --git a/generate b/generate index face21b..0ec2d21 100755 --- a/generate +++ b/generate @@ -64,7 +64,14 @@ software, even if advised of the possibility of such damage. */ -require_once("vendor/autoload.php"); +if (file_exists('vendor/autoload.php')) { + require_once('vendor/autoload.php'); +} elseif (file_exists('daux.phar')) { + define('PHAR_DIR', __DIR__); + require_once("phar://" . __DIR__ . "/daux.phar/vendor/autoload.php"); +} else { + throw new Exception("Impossible to load Daux, missing vendor/ or daux.phar"); +} $application = new \Todaymade\Daux\Console\Application(); $application->run(); diff --git a/global.json b/global.json index 617e56f..78b1df6 100644 --- a/global.json +++ b/global.json @@ -18,6 +18,8 @@ "timezone": "America/Los_Angeles", + "auto_toc": false, + "live": { "inherit_index": false, "clean_urls": false @@ -30,6 +32,7 @@ "date_modified": false, "float": false, "auto_landing": true, + "search": true, "repo": "", "twitter": [], diff --git a/gulpfile.js b/gulpfile.js index d952b7d..89401c8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,9 +19,13 @@ var unusedRules = [ //We only use one glyphicon ... ".glyphicon-", "!.glyphicon-chevron-right", + "!.glyphicon-search", //we dont need all buttons ".btn-", + "!.btn-group", + "!.btn-default", + "!.btn-sm", "!.btn-primary", "!.btn-secondary", "!.btn-hero", diff --git a/index.php b/index.php index 350e1f4..cbdbef6 100644 --- a/index.php +++ b/index.php @@ -81,7 +81,7 @@ if (file_exists('vendor/autoload.php')) { define('PHAR_DIR', __DIR__); require_once("phar://" . __DIR__ . "/daux.phar/vendor/autoload.php"); } else { - throw new Exception("Impossible to load Daux, missing vendor and phar"); + throw new Exception("Impossible to load Daux, missing vendor/ or daux.phar"); } \Todaymade\Daux\Server\Server::serve($_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], $_REQUEST); diff --git a/libs/Console/Generate.php b/libs/Console/Generate.php old mode 100644 new mode 100755 index 4e058c0..7ca1c1c --- a/libs/Console/Generate.php +++ b/libs/Console/Generate.php @@ -20,7 +20,8 @@ class Generate extends SymfonyCommand ->addOption('processor', 'p', InputOption::VALUE_REQUIRED, 'Manipulations on the tree') ->addOption('source', 's', InputOption::VALUE_REQUIRED, 'Where to take the documentation from') ->addOption('delete', null, InputOption::VALUE_NONE, 'Delete pages not linked to a documentation page (confluence)') - ->addOption('destination', 'd', InputOption::VALUE_REQUIRED, $description, 'static'); + ->addOption('destination', 'd', InputOption::VALUE_REQUIRED, $description, 'static') + ->addOption('search', null, InputOption::VALUE_NONE, 'Generate full text search'); } protected function execute(InputInterface $input, OutputInterface $output) diff --git a/libs/ContentTypes/Markdown/CommonMarkConverter.php b/libs/ContentTypes/Markdown/CommonMarkConverter.php index 140b93c..395326f 100644 --- a/libs/ContentTypes/Markdown/CommonMarkConverter.php +++ b/libs/ContentTypes/Markdown/CommonMarkConverter.php @@ -3,6 +3,8 @@ use League\CommonMark\DocParser; use League\CommonMark\Environment; use League\CommonMark\HtmlRenderer; +use Todaymade\Daux\ContentTypes\Markdown\TOC\Parser; +use Todaymade\Daux\ContentTypes\Markdown\TOC\TOCProcessor; use Webuni\CommonMark\TableExtension\TableExtension; class CommonMarkConverter extends \League\CommonMark\CommonMarkConverter @@ -18,6 +20,10 @@ class CommonMarkConverter extends \League\CommonMark\CommonMarkConverter $environment->mergeConfig($config); $environment->addExtension(new TableExtension()); + // Table of Contents + $environment->addBlockParser(new Parser()); + $environment->addDocumentProcessor(new TOCProcessor($config['daux'])); + $this->extendEnvironment($environment); if (array_key_exists('processor_instance', $config['daux'])) { diff --git a/libs/ContentTypes/Markdown/TOC/Element.php b/libs/ContentTypes/Markdown/TOC/Element.php new file mode 100644 index 0000000..b8467b4 --- /dev/null +++ b/libs/ContentTypes/Markdown/TOC/Element.php @@ -0,0 +1,50 @@ +content = $content; + $this->level = $content->getLevel(); + } + + /** + * @return string + */ + public function getId() + { + return $this->content->data['attributes']['id']; + } + + /** + * @return int + */ + public function getLevel() + { + return $this->level; + } + + /** + * @return Entry + */ + public function getParent() + { + return $this->parent; + } + + /** + * @return Heading + */ + public function getContent() + { + return $this->content; + } + + /** + * @return Entry[] + */ + public function getChildren() + { + return $this->children; + } + + /** + * @param Entry $parent + * @param bool $addChild + */ + public function setParent(Entry $parent, $addChild = true) + { + $this->parent = $parent; + if ($addChild) { + $parent->addChild($this); + } + } + + /** + * @param Entry $child + */ + public function addChild(Entry $child) + { + $child->setParent($this, false); + $this->children[] = $child; + } + + public function toString() + { + return $this->getLevel() . " - " . $this->getId(); + } +} diff --git a/libs/ContentTypes/Markdown/TOC/Parser.php b/libs/ContentTypes/Markdown/TOC/Parser.php new file mode 100644 index 0000000..3325546 --- /dev/null +++ b/libs/ContentTypes/Markdown/TOC/Parser.php @@ -0,0 +1,44 @@ +isIndented()) { + return false; + } + + $previousState = $cursor->saveState(); + $cursor->advanceToFirstNonSpace(); + $fence = $cursor->match('/^\[TOC\]/'); + if (is_null($fence)) { + $cursor->restoreState($previousState); + + return false; + } + + $context->addBlock(new Element()); + + return true; + } +} diff --git a/libs/ContentTypes/Markdown/TOC/RootEntry.php b/libs/ContentTypes/Markdown/TOC/RootEntry.php new file mode 100644 index 0000000..cd2c4b5 --- /dev/null +++ b/libs/ContentTypes/Markdown/TOC/RootEntry.php @@ -0,0 +1,18 @@ +content = null; + $this->level = 0; + } + + /** + * @return Entry + */ + public function getParent() + { + throw new \RuntimeException("No Parent Exception"); + } +} diff --git a/libs/ContentTypes/Markdown/TOC/TOCProcessor.php b/libs/ContentTypes/Markdown/TOC/TOCProcessor.php new file mode 100644 index 0000000..2271144 --- /dev/null +++ b/libs/ContentTypes/Markdown/TOC/TOCProcessor.php @@ -0,0 +1,203 @@ +config = $config; + } + + public function hasAutoTOC() + { + return array_key_exists('auto_toc', $this->config) && $this->config['auto_toc']; + } + + /** + * @param Document $document + * + * @return void + */ + public function processDocument(Document $document) + { + /** @var Element[] $tocs */ + $tocs = []; + + $headings = []; + + $walker = $document->walker(); + while ($event = $walker->next()) { + $node = $event->getNode(); + + if ($node instanceof Element && !$event->isEntering()) { + $tocs[] = $node; + continue; + } + + if (!($node instanceof Heading) || !$event->isEntering()) { + continue; + } + + $id = $this->addId($node); + + $headings[] = new Entry($node, $id); + } + + if (count($headings) && (count($tocs) || $this->hasAutoTOC())) { + $generated = $this->generate($headings); + + if (count($tocs)) { + foreach ($tocs as $toc) { + $toc->replaceWith($this->render($generated->getChildren())); + } + } else { + $document->prependChild($this->render($generated->getChildren())); + } + + } + } + + protected function addId(Heading $node) + { + // If the node has an ID, no need to generate it + $attributes = $node->getData('attributes', []); + if (array_key_exists('id', $attributes) && !empty($attributes['id'])) { + // TODO :: check for uniqueness + + return $attributes['id']; + } + + // Well, seems we have to generate an ID + + $walker = $node->walker(); + $inside = []; + while ($event = $walker->next()) { + $insideNode = $event->getNode(); + + if ($insideNode instanceof Heading) { + continue; + } + + $inside[] = $insideNode; + } + + $text = ''; + foreach ($inside as $other) { + if ($other instanceof Text) { + $text .= ' ' . $other->getContent(); + } + } + + $text = 'page_' . DauxHelper::slug(trim($text)); + + // TODO :: check for uniqueness + $node->data['attributes']['id'] = $text; + } + + /** + * @param Entry[] $headings + * @return RootEntry + */ + public function generate($headings) + { + /** @var Entry $previous */ + $root = $previous = new RootEntry(); + foreach ($headings as $heading) { + if ($heading->getLevel() < $previous->getLevel()) { + $parent = $previous; + do { + $parent = $parent->getParent(); + } while ($heading->getLevel() <= $parent->getLevel() || $parent->getLevel() != 0); + + $parent->addChild($heading); + $previous = $heading; + continue; + } + + + if ($heading->getLevel() > $previous->getLevel()) { + $previous->addChild($heading); + $previous = $heading; + continue; + } + + //if ($heading->getLevel() == $previous->getLevel()) { + $previous->getParent()->addChild($heading); + $previous = $heading; + continue; + //} + } + + return $root; + } + + /** + * @param Entry[] $entries + * @return ListBlock + */ + protected function render(array $entries) + { + $data = new ListData(); + $data->type = ListBlock::TYPE_UNORDERED; + + $list = new ListBlock($data); + $list->data['attributes']['class'] = 'TableOfContents'; + + foreach ($entries as $entry) { + $item = new ListItem($data); + + $a = new Link('#' . $entry->getId()); + + foreach ($this->cloneChildren($entry->getContent()) as $node) { + $a->appendChild($node); + } + + $p = new Paragraph(); + $p->appendChild($a); + + $item->appendChild($p); + + if (!empty($entry->getChildren())) { + $item->appendChild($this->render($entry->getChildren())); + } + + $list->appendChild($item); + } + + return $list; + } + + /** + * @param Heading $node + * @return Node[] + */ + protected function cloneChildren(Heading $node) + { + $deepCopy = new DeepCopy(); + + $firstClone = clone $node; + + // We have no choice but to hack into the system to reset the parent, to avoid cloning the complete tree + $method = new ReflectionMethod(get_class($firstClone), 'setParent'); + $method->setAccessible(true); + $method->invoke($firstClone, null); + + return $deepCopy->copy($firstClone)->children(); + } +} diff --git a/libs/Daux.php b/libs/Daux.php index 5d480e6..11a0c19 100644 --- a/libs/Daux.php +++ b/libs/Daux.php @@ -306,7 +306,9 @@ class Daux throw new \RuntimeException("Class '$class' not found. We cannot use it as a Processor"); } - //TODO :: check that it implements processor + if (!array_key_exists("Todaymade\\Daux\\Processor", class_parents($class))) { + throw new \RuntimeException("Class '$class' invalid, should extend '\\Todaymade\\Daux\\Processor'"); + } return $class; } diff --git a/libs/Format/Base/ComputedRawPage.php b/libs/Format/Base/ComputedRawPage.php new file mode 100644 index 0000000..b9e141e --- /dev/null +++ b/libs/Format/Base/ComputedRawPage.php @@ -0,0 +1,23 @@ +raw = $content; + } + + public function getContent() + { + return $this->raw->getContent(); + } + + public function getPureContent() + { + return $this->raw->getContent(); + } +} diff --git a/libs/Format/Base/ContentPage.php b/libs/Format/Base/ContentPage.php index 585e756..7641085 100644 --- a/libs/Format/Base/ContentPage.php +++ b/libs/Format/Base/ContentPage.php @@ -21,6 +21,8 @@ abstract class ContentPage extends SimplePage */ protected $contentType; + protected $generatedContent; + public function __construct($title, $content) { $this->initializePage($title, $content); @@ -49,14 +51,18 @@ abstract class ContentPage extends SimplePage $this->contentType = $contentType; } - protected function convertPage($content) + public function getPureContent() { - return $this->contentType->convert($content, $this->getFile()); + if (!$this->generatedContent) { + $this->generatedContent = $this->contentType->convert($this->content, $this->getFile()); + } + + return $this->generatedContent; } protected function generatePage() { - return $this->convertPage($this->content); + return $this->getPureContent(); } public static function fromFile(Content $file, $params, ContentType $contentType) diff --git a/libs/Format/Base/Page.php b/libs/Format/Base/Page.php index 3ee5d23..a7fd4c9 100644 --- a/libs/Format/Base/Page.php +++ b/libs/Format/Base/Page.php @@ -2,5 +2,17 @@ interface Page { + /** + * Get the converted content, without any template + * + * @return string + */ + public function getPureContent(); + + /** + * Get the full content + * + * @return mixed + */ public function getContent(); } diff --git a/libs/Format/Base/RawPage.php b/libs/Format/Base/RawPage.php index 3d8f8a3..bb0009e 100644 --- a/libs/Format/Base/RawPage.php +++ b/libs/Format/Base/RawPage.php @@ -16,6 +16,11 @@ abstract class RawPage implements Page return $this->file; } + public function getPureContent() + { + throw new Exception("you should not use this method to show a raw content"); + } + public function getContent() { throw new Exception("you should not use this method to show a raw content"); diff --git a/libs/Format/Base/SimplePage.php b/libs/Format/Base/SimplePage.php index 6e783a4..bc7660a 100644 --- a/libs/Format/Base/SimplePage.php +++ b/libs/Format/Base/SimplePage.php @@ -11,6 +11,11 @@ abstract class SimplePage implements Page $this->initializePage($title, $content); } + public function getPureContent() + { + return $this->content; + } + public function getContent() { if (is_null($this->generated)) { diff --git a/libs/Format/HTML/ComputedRawPage.php b/libs/Format/HTML/ComputedRawPage.php new file mode 100644 index 0000000..72ddfc4 --- /dev/null +++ b/libs/Format/HTML/ComputedRawPage.php @@ -0,0 +1,6 @@ + filemtime($this->file->getPath()), 'markdown' => $this->content, 'request' => $params['request'], - 'content' => $this->convertPage($this->content), + 'content' => $this->getPureContent(), 'breadcrumbs' => $params['html']['breadcrumbs'], 'prev' => $this->file->getPrevious(), 'next' => $this->file->getNext(), diff --git a/libs/Format/HTML/Generator.php b/libs/Format/HTML/Generator.php old mode 100644 new mode 100755 index d024e6e..292ed89 --- a/libs/Format/HTML/Generator.php +++ b/libs/Format/HTML/Generator.php @@ -9,7 +9,7 @@ use Todaymade\Daux\Daux; use Todaymade\Daux\DauxHelper; use Todaymade\Daux\Format\Base\LiveGenerator; use Todaymade\Daux\GeneratorHelper; -use Todaymade\Daux\Tree\Content; +use Todaymade\Daux\Tree\ComputedRaw; use Todaymade\Daux\Tree\Directory; use Todaymade\Daux\Tree\Entry; use Todaymade\Daux\Tree\Raw; @@ -21,6 +21,8 @@ class Generator implements \Todaymade\Daux\Format\Base\Generator, LiveGenerator /** @var Daux */ protected $daux; + protected $indexed_pages = []; + /** * @param Daux $daux */ @@ -58,7 +60,61 @@ class Generator implements \Todaymade\Daux\Format\Base\Generator, LiveGenerator ); $output->writeLn("Generating ..."); - $this->generateRecursive($this->daux->tree, $destination, $params, $output, $width); + + $params['html']['search'] = $input->getOption('search'); + $this->generateRecursive($this->daux->tree, $destination, $params, $output, $width, $params['html']['search']); + + if ($params['html']['search']) { + GeneratorHelper::copyRecursive( + $this->daux->local_base . DIRECTORY_SEPARATOR . 'tipuesearch' . DIRECTORY_SEPARATOR, + $destination . DIRECTORY_SEPARATOR . 'tipuesearch' + ); + file_put_contents( + $destination . DIRECTORY_SEPARATOR . 'tipuesearch' . DIRECTORY_SEPARATOR . 'tipuesearch_content.json', + json_encode(['pages' => $this->indexed_pages]) + ); + } + + } + + /** + * Remove HTML tags, including invisible text such as style and + * script code, and embedded objects. Add line breaks around + * block-level tags to prevent word joining after tag removal. + * Also collapse whitespace to single space and trim result. + * modified from: http://nadeausoftware.com/articles/2007/09/php_tip_how_strip_html_tags_web_page + */ + private function strip_html_tags($text) + { + $text = preg_replace( + array( + // Remove invisible content + '@]*?>.*?@siu', + '@]*?>.*?@siu', + '@]*?.*?@siu', + '@]*?.*?@siu', + '@]*?.*?@siu', + '@]*?.*?@siu', + '@]*?.*?@siu', + '@]*?.*?@siu', + '@]*?.*?@siu', + // Add line breaks before and after blocks + '@generateRecursive($node, $new_output_dir, $params, $output, $width, '../' . $base_url); + $this->generateRecursive($node, $new_output_dir, $params, $output, $width, $index_pages, '../' . $base_url); // Rebase configuration again as $params is a shared object DauxHelper::rebaseConfiguration($params, $base_url); @@ -93,14 +150,22 @@ class Generator implements \Todaymade\Daux\Format\Base\Generator, LiveGenerator "- " . $node->getUrl(), $output, $width, - function() use ($node, $output_dir, $key, $params) { - if (!$node instanceof Content) { + function() use ($node, $output_dir, $key, $params, $index_pages) { + if ($node instanceof Raw) { copy($node->getPath(), $output_dir . DIRECTORY_SEPARATOR . $key); return; } $generated = $this->generateOne($node, $params); file_put_contents($output_dir . DIRECTORY_SEPARATOR . $key, $generated->getContent()); + if ($index_pages) { + $this->indexed_pages[] =[ + 'title' => $node->getTitle(), + 'text' => utf8_encode($this->strip_html_tags($generated->getPureContent())), + 'tags' => "", + 'url' => $node->getUrl() + ]; + } } ); } @@ -118,6 +183,10 @@ class Generator implements \Todaymade\Daux\Format\Base\Generator, LiveGenerator return new RawPage($node->getPath()); } + if ($node instanceof ComputedRaw) { + return new ComputedRawPage($node); + } + $params['request'] = $node->getUrl(); return ContentPage::fromFile($node, $params, $this->daux->getContentTypeHandler()->getType($node)); } diff --git a/libs/Format/HTML/Template.php b/libs/Format/HTML/Template.php index 5bb40ab..01d13b5 100644 --- a/libs/Format/HTML/Template.php +++ b/libs/Format/HTML/Template.php @@ -78,10 +78,13 @@ class Template $nav = ""; foreach ($entries as $entry) { if (array_key_exists('children', $entry)) { + + $icon = ' '; + if (array_key_exists('href', $entry)) { - $link = '' . $entry['title'] . ''; + $link = '' . $icon . $entry['title'] . ''; } else { - $link = '' . $entry['title'] . ''; + $link = '' . $icon . $entry['title'] . ''; } $link .= $this->renderNavigation($entry['children']); @@ -110,7 +113,7 @@ class Template $nav[] = [ 'title' => $node->getTitle(), 'href' => $base_page . $link, - 'class' => ($current_url === $link) ? 'active' : '' + 'class' => $current_url === $link ? 'active' : '', ]; } elseif ($node instanceof Directory) { if (!$node->hasContent()) { @@ -121,7 +124,7 @@ class Template $folder = [ 'title' => $node->getTitle(), - 'class' => (strpos($current_url, $link) === 0) ? 'open' : '', + 'class' => strpos($current_url, $link) === 0 ? 'open' : '', ]; if ($mode === Daux::STATIC_MODE) { @@ -136,6 +139,10 @@ class Template $new_path = ($path === '') ? $url : $path . '/' . $url; $folder['children'] = $this->buildNavigation($node, $new_path, $current_url, $base_page, $mode); + if (!empty($folder['children'])) { + $folder['class'] .= ' has-children'; + } + $nav[] = $folder; } } diff --git a/libs/GeneratorHelper.php b/libs/GeneratorHelper.php old mode 100644 new mode 100755 index 9e81e95..a5b99eb --- a/libs/GeneratorHelper.php +++ b/libs/GeneratorHelper.php @@ -50,7 +50,7 @@ class GeneratorHelper * @param string $source * @param string $destination */ - protected static function copyRecursive($source, $destination) + public static function copyRecursive($source, $destination) { if (!is_dir($destination)) { mkdir($destination); diff --git a/libs/Server/ErrorPage.php b/libs/Server/ErrorPage.php index 5311e64..1d034a3 100644 --- a/libs/Server/ErrorPage.php +++ b/libs/Server/ErrorPage.php @@ -33,7 +33,7 @@ class ErrorPage extends SimplePage $params = $this->params; $page = [ 'title' => $this->title, - 'content' => $this->content, + 'content' => $this->getPureContent(), 'language' => '', ]; diff --git a/libs/Server/Server.php b/libs/Server/Server.php old mode 100644 new mode 100755 index 3440178..1d305b8 --- a/libs/Server/Server.php +++ b/libs/Server/Server.php @@ -99,6 +99,9 @@ class Server $params['base_page'] .= 'index.php/'; } + // Text search would be too slow on live server + $params['html']['search'] = false; + return $params; } diff --git a/libs/Tree/Builder.php b/libs/Tree/Builder.php index 7af752e..ed52ed4 100644 --- a/libs/Tree/Builder.php +++ b/libs/Tree/Builder.php @@ -169,32 +169,35 @@ class Builder */ public static function getOrCreatePage(Directory $parent, $path) { - $title = static::getName($path); - + $extension = pathinfo($path, PATHINFO_EXTENSION); // If the file doesn't have an extension, set .md as a default - if (pathinfo($path, PATHINFO_EXTENSION) == '') { + if ($extension == '') { + $extension = 'md'; $path .= '.md'; } - $uri = $slug = DauxHelper::slug($title); - if ($parent->getConfig()['mode'] === Daux::STATIC_MODE) { - $uri = $slug . ".html"; + $raw = !in_array($extension, $parent->getConfig()['valid_content_extensions']); + + $title = $uri = $path; + if (!$raw) { + $title = static::getName($path); + $uri = DauxHelper::slug($title); + if ($parent->getConfig()['mode'] === Daux::STATIC_MODE) { + $uri .= ".html"; + } } if (array_key_exists($uri, $parent->getEntries())) { return $parent->getEntries()[$uri]; } - $page = new Content($parent, $uri); + $page = $raw? new ComputedRaw($parent, $uri) : new Content($parent, $uri); $page->setContent("-"); //set an almost empty content to avoid problems + $page->setName($path); + $page->setTitle($title); - if ($title == 'index') { - // TODO :: clarify the difference between 'index' and '_index' - $page->setName('_index.' . pathinfo($path, PATHINFO_EXTENSION)); + if ($title == 'index' || $title == '_index') { $page->setTitle($parent->getTitle()); - } else { - $page->setName($path); - $page->setTitle($title); } return $page; diff --git a/libs/Tree/ComputedRaw.php b/libs/Tree/ComputedRaw.php new file mode 100644 index 0000000..ca76319 --- /dev/null +++ b/libs/Tree/ComputedRaw.php @@ -0,0 +1,23 @@ +content; + } + + /** + * @param string $content + */ + public function setContent($content) + { + $this->content = $content; + } +} diff --git a/libs/Tree/Content.php b/libs/Tree/Content.php index 5d29f51..77e910e 100644 --- a/libs/Tree/Content.php +++ b/libs/Tree/Content.php @@ -72,6 +72,10 @@ class Content extends Entry public function isIndex() { + // At some point, it was recommended that + // an index page starts with an underscore. + // This is not mandatory anymore, both with + // and without underscore are supported. return $this->name == 'index' || $this->name == '_index'; } diff --git a/package.json b/package.json index 8e8ad37..125764e 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,12 @@ "devDependencies": { "grunt": "^0.4.1", "grunt-php": "^1.0.0", - "cssnano": "^3.4.0", - "gulp": "^3.9.0", - "gulp-connect-php": "^0.0.5", + "cssnano": "^3.5.2", + "gulp": "^3.9.1", + "gulp-connect-php": "^0.0.7", "gulp-less": "^3.0.3", - "gulp-plumber": "^1.0.1", - "gulp-postcss": "^6.0.0", + "gulp-plumber": "^1.1.0", + "gulp-postcss": "^6.1.0", "gulp-rename": "^1.2.2" } } diff --git a/templates/content.php b/templates/content.php index 07da0b2..2febe38 100644 --- a/templates/content.php +++ b/templates/content.php @@ -2,31 +2,17 @@
diff --git a/templates/home.php b/templates/home.php old mode 100644 new mode 100755 index b9dc80d..b4dda1d --- a/templates/home.php +++ b/templates/home.php @@ -45,7 +45,13 @@
- + + + + +
+ +
diff --git a/templates/layout/00_layout.php b/templates/layout/00_layout.php old mode 100644 new mode 100755 index 2f5a4b6..868dd05 --- a/templates/layout/00_layout.php +++ b/templates/layout/00_layout.php @@ -23,6 +23,11 @@ echo ""; } ?> + + + + + @@ -39,9 +44,8 @@ } ?> - - ' ?> + @@ -53,5 +57,23 @@ } ?> + + + + + + + + + diff --git a/templates/layout/05_page.php b/templates/layout/05_page.php old mode 100644 new mode 100755 index f7ce18f..1bd8752 --- a/templates/layout/05_page.php +++ b/templates/layout/05_page.php @@ -37,11 +37,21 @@ $url) { echo '' . $name . '
'; - } - if ($params['html']['toggle_code']) { - echo 'Show Code Blocks Inline
'; - } - ?> + } ?> + +
+ +
+ Code blocks +
+ + + +
+ + Show Code Blocks Inline
+ +
@@ -54,13 +64,19 @@
-

Documentation generated by Daux.io

+
- section('content'); ?> + + + + +
+ section('content'); ?> +
diff --git a/templates/partials/navbar_content.php b/templates/partials/navbar_content.php old mode 100644 new mode 100755 index 7ff8f7e..ff51a75 --- a/templates/partials/navbar_content.php +++ b/templates/partials/navbar_content.php @@ -1 +1,8 @@ + + + + diff --git a/tests/Tree/BuilderTest.php b/tests/Tree/BuilderTest.php index 4e28c0e..c2599a2 100644 --- a/tests/Tree/BuilderTest.php +++ b/tests/Tree/BuilderTest.php @@ -1,6 +1,9 @@ assertEquals($expected, Builder::removeSortingInformations($value)); } + + public function testGetOrCreateDirNew() { + $root = new Root(new Config(), ''); + + + $dir = Builder::getOrCreateDir($root, 'directory'); + + $this->assertSame($root, $dir->getParent()); + $this->assertEquals('directory', $dir->getTitle()); + $this->assertEquals('directory', $dir->getUri()); + + } + + public function testGetOrCreateDirExisting() { + $root = new Root(new Config(), ''); + $directory = new Directory($root, 'directory'); + $directory->setTitle('directory'); + + $dir = Builder::getOrCreateDir($root, 'directory'); + + $this->assertSame($root, $dir->getParent()); + $this->assertEquals('directory', $dir->getTitle()); + $this->assertEquals('directory', $dir->getUri()); + $this->assertSame($directory, $dir); + } + + public function getStaticRoot() { + $config = new Config(); + $config['mode'] = Daux::STATIC_MODE; + $config['index_key'] = 'index.html'; + $config['valid_content_extensions'] = ['md']; + + return new Root($config, ''); + } + + public function testGetOrCreatePage() + { + $directory = new Directory($this->getStaticRoot(), 'dir'); + + $entry = Builder::getOrCreatePage($directory, 'A Page.md'); + + $this->assertSame($directory, $entry->getParent()); + $this->assertEquals('dir/A_Page.html', $entry->getUrl()); + $this->assertEquals('A_Page.html', $entry->getUri()); + $this->assertEquals('A Page', $entry->getTitle()); + $this->assertInstanceOf('Todaymade\Daux\Tree\Content', $entry); + } + + public function testGetOrCreatePageAutoMarkdown() + { + $directory = new Directory($this->getStaticRoot(), 'dir'); + + $entry = Builder::getOrCreatePage($directory, 'A Page'); + + $this->assertSame($directory, $entry->getParent()); + $this->assertEquals('dir/A_Page.html', $entry->getUrl()); + $this->assertEquals('A_Page.html', $entry->getUri()); + $this->assertEquals('A Page', $entry->getTitle()); + $this->assertInstanceOf('Todaymade\Daux\Tree\Content', $entry); + } + + public function testGetOrCreateIndexPage() + { + $directory = new Directory($this->getStaticRoot(), 'dir'); + $directory->setTitle('Tutorials'); + + $entry = Builder::getOrCreatePage($directory, 'index.md'); + + $this->assertSame($directory, $entry->getParent()); + $this->assertEquals('dir/index.html', $entry->getUrl()); + $this->assertEquals('Tutorials', $entry->getTitle()); + $this->assertInstanceOf('Todaymade\Daux\Tree\Content', $entry); + } + + public function testGetOrCreatePageExisting() + { + $directory = new Directory($this->getStaticRoot(), 'dir'); + $existingEntry = new Content($directory, 'A_Page.html'); + $existingEntry->setContent('-'); + + $entry = Builder::getOrCreatePage($directory, 'A Page.md'); + + $this->assertSame($directory, $entry->getParent()); + $this->assertSame($existingEntry, $entry); + $this->assertEquals('dir/A_Page.html', $entry->getUrl()); + $this->assertEquals('A_Page.html', $entry->getUri()); + $this->assertInstanceOf('Todaymade\Daux\Tree\Content', $entry); + } + + public function testGetOrCreateRawPage() + { + $directory = new Directory($this->getStaticRoot(), 'dir'); + + $entry = Builder::getOrCreatePage($directory, 'file.json'); + + $this->assertSame($directory, $entry->getParent()); + $this->assertEquals('dir/file.json', $entry->getUrl()); + $this->assertEquals('file.json', $entry->getUri()); + $this->assertInstanceOf('Todaymade\Daux\Tree\ComputedRaw', $entry); + } } diff --git a/themes/daux/css/theme-blue.min.css b/themes/daux/css/theme-blue.min.css index d2c9b05..76d99c4 100644 --- a/themes/daux/css/theme-blue.min.css +++ b/themes/daux/css/theme-blue.min.css @@ -2,4 +2,4 @@ * DAUX.IO * http://daux.io/ * MIT License - */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#82becd;box-shadow:none;border-radius:0;border:none;color:#3f4657;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#c5c5cb}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #3f4657}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#c5c5cb;color:#3f4657}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#3f4657;color:#f7f7f7}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #82becd;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#3f4657;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#82becd;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f7f7f7}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#e7e7e9;border-bottom:1px solid #e7e7e9}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#82becd}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #e7e7e9;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#82becd}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#c5c5cb;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#3f4657;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#82becd;box-shadow:none}code{color:#82becd}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#3f4657;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#82becd;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#82becd}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#3f4657;font-size:15px;text-shadow:none;border-color:#e7e7e9}.nav.nav-list li a:hover{color:#3f4657;text-shadow:none;background-color:#c5c5cb}.nav.nav-list li.active a{background-color:#c5c5cb}.nav.nav-list li.open>ul{display:block}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#3f4657}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#82becd;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #e7e7e9;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #e7e7e9;border-left:1px solid #e7e7e9;border-color:#e7e7e9!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #e7e7e9}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#82becd;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#3f4657}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#022e99}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#84989b}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#2f9b92}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#840d7a}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file + */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#82becd;box-shadow:none;border-radius:0;border:none;color:#3f4657;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#c5c5cb}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #3f4657}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#c5c5cb;color:#3f4657}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#3f4657;color:#f7f7f7}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #82becd;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#3f4657;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#82becd;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f7f7f7}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#e7e7e9;border-bottom:1px solid #e7e7e9}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#82becd}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #e7e7e9;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#82becd}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#c5c5cb;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#3f4657;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#82becd;box-shadow:none}code{color:#82becd}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#3f4657;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#82becd;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#82becd}.code-buttons-text{font-size:12px;line-height:1.5;padding:6px 10px 6px 0;display:inline-block;vertical-align:middle}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px 6px 20px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#3f4657;font-size:15px;text-shadow:none;border-color:#e7e7e9}.nav.nav-list li a .arrow{display:inline-block;position:relative;width:16px;margin-left:-16px}.nav.nav-list li a .arrow:before{position:absolute;display:block;content:"";margin:-.25em 0 0 -.4em;left:50%;top:50%;width:.5em;height:.5em;border-right:.15em solid #3f4657;border-top:.15em solid #3f4657;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition-duration:.3s;transition-duration:.3s}.nav.nav-list li a:hover{color:#3f4657;text-shadow:none;background-color:#c5c5cb}.nav.nav-list li.active a{background-color:#c5c5cb}.nav.nav-list li.open>ul{display:block}.nav.nav-list li.open>a,.nav.nav-list li.open>a:focus,.nav.nav-list li.open>a:hover{background-color:transparent}.nav.nav-list li.open>a>.arrow:before{margin-left:-.25em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#3f4657}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#82becd;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #e7e7e9;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #e7e7e9;border-left:1px solid #e7e7e9;border-color:#e7e7e9!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #e7e7e9}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#82becd;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.search{position:relative}.search__field{padding-right:30px}.search__icon{position:absolute;right:12px;top:10px}.TableOfContents{font-size:16px;padding-left:30px;border-left:6px solid #efefef}.TableOfContents p{margin-bottom:0}.TableOfContents .TableOfContents{border-left-width:0;padding-left:20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#3f4657}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#022e99}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#84989b}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#2f9b92}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#840d7a}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file diff --git a/themes/daux/css/theme-green.min.css b/themes/daux/css/theme-green.min.css index d06cba7..7fafcc7 100644 --- a/themes/daux/css/theme-green.min.css +++ b/themes/daux/css/theme-green.min.css @@ -2,4 +2,4 @@ * DAUX.IO * http://daux.io/ * MIT License - */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#8acc37;box-shadow:none;border-radius:0;border:none;color:#000;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#a0d55d}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #000}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#a0d55d;color:#000}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#000;color:#f5f5f6}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #8acc37;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#000;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#8acc37;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f5f5f6}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#e7e7e9;border-bottom:1px solid #e7e7e9}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#8acc37}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #e7e7e9;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#8acc37}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#a0d55d;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#000;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#8acc37;box-shadow:none}code{color:#8acc37}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#000;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#8acc37;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#8acc37}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#000;font-size:15px;text-shadow:none;border-color:#e7e7e9}.nav.nav-list li a:hover{color:#000;text-shadow:none;background-color:#a0d55d}.nav.nav-list li.active a{background-color:#a0d55d}.nav.nav-list li.open>ul{display:block}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#000}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#8acc37;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #e7e7e9;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #e7e7e9;border-left:1px solid #e7e7e9;border-color:#e7e7e9!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #e7e7e9}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#8acc37;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#000}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#e0ff00}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#c4e598}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#097c4e}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#022e99}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file + */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#8acc37;box-shadow:none;border-radius:0;border:none;color:#000;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#a0d55d}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #000}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#a0d55d;color:#000}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#000;color:#f5f5f6}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #8acc37;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#000;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#8acc37;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f5f5f6}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#e7e7e9;border-bottom:1px solid #e7e7e9}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#8acc37}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #e7e7e9;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#8acc37}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#a0d55d;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#000;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#8acc37;box-shadow:none}code{color:#8acc37}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#000;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#8acc37;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#8acc37}.code-buttons-text{font-size:12px;line-height:1.5;padding:6px 10px 6px 0;display:inline-block;vertical-align:middle}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px 6px 20px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#000;font-size:15px;text-shadow:none;border-color:#e7e7e9}.nav.nav-list li a .arrow{display:inline-block;position:relative;width:16px;margin-left:-16px}.nav.nav-list li a .arrow:before{position:absolute;display:block;content:"";margin:-.25em 0 0 -.4em;left:50%;top:50%;width:.5em;height:.5em;border-right:.15em solid #000;border-top:.15em solid #000;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition-duration:.3s;transition-duration:.3s}.nav.nav-list li a:hover{color:#000;text-shadow:none;background-color:#a0d55d}.nav.nav-list li.active a{background-color:#a0d55d}.nav.nav-list li.open>ul{display:block}.nav.nav-list li.open>a,.nav.nav-list li.open>a:focus,.nav.nav-list li.open>a:hover{background-color:transparent}.nav.nav-list li.open>a>.arrow:before{margin-left:-.25em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#000}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#8acc37;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #e7e7e9;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #e7e7e9;border-left:1px solid #e7e7e9;border-color:#e7e7e9!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #e7e7e9}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#8acc37;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.search{position:relative}.search__field{padding-right:30px}.search__icon{position:absolute;right:12px;top:10px}.TableOfContents{font-size:16px;padding-left:30px;border-left:6px solid #efefef}.TableOfContents p{margin-bottom:0}.TableOfContents .TableOfContents{border-left-width:0;padding-left:20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#000}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#e0ff00}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#c4e598}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#097c4e}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#022e99}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file diff --git a/themes/daux/css/theme-navy.min.css b/themes/daux/css/theme-navy.min.css index 1498cb8..0e3c741 100644 --- a/themes/daux/css/theme-navy.min.css +++ b/themes/daux/css/theme-navy.min.css @@ -2,4 +2,4 @@ * DAUX.IO * http://daux.io/ * MIT License - */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#7795b4;box-shadow:none;border-radius:0;border:none;color:#13132a;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#c5c5cb}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #13132a}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#c5c5cb;color:#13132a}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#13132a;color:#f5f5f6}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #7795b4;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#13132a;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#7795b4;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f5f5f6}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#e7e7e9;border-bottom:1px solid #e7e7e9}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#7795b4}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #e7e7e9;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#7795b4}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#c5c5cb;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#13132a;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#7795b4;box-shadow:none}code{color:#7795b4}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#13132a;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#7795b4;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#7795b4}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#13132a;font-size:15px;text-shadow:none;border-color:#e7e7e9}.nav.nav-list li a:hover{color:#13132a;text-shadow:none;background-color:#c5c5cb}.nav.nav-list li.active a{background-color:#c5c5cb}.nav.nav-list li.open>ul{display:block}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#13132a}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#7795b4;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #e7e7e9;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #e7e7e9;border-left:1px solid #e7e7e9;border-color:#e7e7e9!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #e7e7e9}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#7795b4;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#13132a}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#000}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#505050}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#09559b}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#001775}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file + */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#7795b4;box-shadow:none;border-radius:0;border:none;color:#13132a;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#c5c5cb}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #13132a}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#c5c5cb;color:#13132a}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#13132a;color:#f5f5f6}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #7795b4;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#13132a;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#7795b4;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f5f5f6}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#e7e7e9;border-bottom:1px solid #e7e7e9}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#7795b4}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #e7e7e9;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#7795b4}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#c5c5cb;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#13132a;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#7795b4;box-shadow:none}code{color:#7795b4}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#13132a;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#7795b4;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#7795b4}.code-buttons-text{font-size:12px;line-height:1.5;padding:6px 10px 6px 0;display:inline-block;vertical-align:middle}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px 6px 20px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#13132a;font-size:15px;text-shadow:none;border-color:#e7e7e9}.nav.nav-list li a .arrow{display:inline-block;position:relative;width:16px;margin-left:-16px}.nav.nav-list li a .arrow:before{position:absolute;display:block;content:"";margin:-.25em 0 0 -.4em;left:50%;top:50%;width:.5em;height:.5em;border-right:.15em solid #13132a;border-top:.15em solid #13132a;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition-duration:.3s;transition-duration:.3s}.nav.nav-list li a:hover{color:#13132a;text-shadow:none;background-color:#c5c5cb}.nav.nav-list li.active a{background-color:#c5c5cb}.nav.nav-list li.open>ul{display:block}.nav.nav-list li.open>a,.nav.nav-list li.open>a:focus,.nav.nav-list li.open>a:hover{background-color:transparent}.nav.nav-list li.open>a>.arrow:before{margin-left:-.25em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#13132a}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#7795b4;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #e7e7e9;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #e7e7e9;border-left:1px solid #e7e7e9;border-color:#e7e7e9!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #e7e7e9}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#7795b4;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.search{position:relative}.search__field{padding-right:30px}.search__icon{position:absolute;right:12px;top:10px}.TableOfContents{font-size:16px;padding-left:30px;border-left:6px solid #efefef}.TableOfContents p{margin-bottom:0}.TableOfContents .TableOfContents{border-left-width:0;padding-left:20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#13132a}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#000}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#505050}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#09559b}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#001775}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file diff --git a/themes/daux/css/theme-red.min.css b/themes/daux/css/theme-red.min.css index 4b29ee3..c3f82b8 100644 --- a/themes/daux/css/theme-red.min.css +++ b/themes/daux/css/theme-red.min.css @@ -2,4 +2,4 @@ * DAUX.IO * http://daux.io/ * MIT License - */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#ecb5a1;box-shadow:none;border-radius:0;border:none;color:#c64641;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#eee}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #c64641}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#eee;color:#c64641}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#c64641;color:#f7f7f7}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #ecb5a1;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#c64641;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#ecb5a1;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f7f7f7}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#eee;border-bottom:1px solid #eee}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#ecb5a1}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #eee;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#ecb5a1}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#eee;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#c64641;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#ecb5a1;box-shadow:none}code{color:#ecb5a1}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#c64641;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#ecb5a1;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#ecb5a1}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#c64641;font-size:15px;text-shadow:none;border-color:#eee}.nav.nav-list li a:hover{color:#c64641;text-shadow:none;background-color:#eee}.nav.nav-list li.active a{background-color:#eee}.nav.nav-list li.open>ul{display:block}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#c64641}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#ecb5a1;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #eee;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #eee;border-left:1px solid #eee;border-color:#eee!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #eee}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#ecb5a1;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#c64641}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#557aa2}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#ecdfd0}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#9b2f7d}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#a31621}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file + */.roboto-slab.light{font-weight:100}.roboto-slab.book,.roboto-slab.light{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.book{font-weight:300}.roboto-slab.regular{font-weight:400}.roboto-slab.bold,.roboto-slab.regular{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif}.roboto-slab.bold{font-weight:700}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}h1 i{font-size:26px}pre{padding:0}.homepage-hero{padding-top:60px!important;background-color:#ecb5a1;box-shadow:none;border-radius:0;border:none;color:#c64641;overflow:hidden;padding-bottom:0;margin-bottom:0}.homepage-hero .text-center{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;margin:10px 0}.homepage-hero h2{margin:20px 0}.hero-buttons.container-fluid{padding:20px 0;background-color:#eee}.hero-buttons.container-fluid .btn-hero.btn{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;padding:20px 30px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;border-radius:0;text-shadow:none;border:none;opacity:.8;filter:alpha(opacity=80);margin:0 10px;text-transform:uppercase;border:5px solid #c64641}@media (max-width:767px){.hero-buttons.container-fluid .btn-hero.btn{display:block;margin-bottom:10px}}.hero-buttons.container-fluid .btn-hero.btn:hover{opacity:1;filter:alpha(opacity=100)}.hero-buttons.container-fluid .btn-hero.btn.btn-secondary{background-color:#eee;color:#c64641}.hero-buttons.container-fluid .btn-hero.btn.btn-primary{background-color:#c64641;color:#f7f7f7}.homepage-content.container-fluid{background-color:#fff;padding:40px 0}.homepage-content.container-fluid .lead{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400}.homepage-content.container-fluid ol,.homepage-content.container-fluid ul{padding:20px 0;margin:0 0 10px}.homepage-content.container-fluid ol li,.homepage-content.container-fluid ul li{list-style:none;padding-bottom:5px}.homepage-content.container-fluid ol li:before,.homepage-content.container-fluid ul li:before{content:'';width:0;height:0;border:3px solid transparent;border-left:3px solid #ecb5a1;float:left;display:block;margin:6px}@media (max-width:767px){.homepage-content.container-fluid{padding:40px 20px}}.homepage-footer.container-fluid{background-color:#c64641;box-shadow:none;border-radius:0;color:light;border:none}@media (max-width:767px){.homepage-footer.container-fluid{padding:0 20px}}.homepage-footer.container-fluid .footer-nav{margin:40px 0}.homepage-footer.container-fluid .footer-nav li a{font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;font-size:16px;line-height:32px}.homepage-footer.container-fluid .footer-nav li a:hover{color:#ecb5a1;text-decoration:underline}.homepage-footer.container-fluid .twitter{margin-top:20px}.homepage-footer.container-fluid .twitter:first-child{margin-top:40px}body,html{height:100%;background-color:#fff;color:#2d2d2d}.columns .left-column{background-color:#f7f7f7}.columns .right-column .content-page{padding:10px;background-color:#fff}.container-fluid .navbar-static-top{margin-left:-15px;margin-right:-15px}.responsive-collapse{padding:10px 15px;display:block;background-color:#eee;border-bottom:1px solid #eee}.sub-nav-collapse{display:none}.article-tree,.content-area{padding:0}@media screen and (min-width:767px){body{background-color:#ecb5a1}.navbar-static-top{position:fixed;z-index:1030;width:100%}.responsive-collapse{display:none}.sub-nav-collapse{display:block!important}.container-fluid.fluid-height{height:100%}.article-tree,.content-area{overflow:auto;height:100%}.columns{height:100%;padding-top:50px}.columns .left-column{border-right:1px solid #eee;overflow-x:hidden}.columns .right-column .content-page{padding:20px;min-height:100%}}@media only screen and (max-width:800px){table,tbody,td,th,thead,tr{display:block;border:none}thead tr{position:absolute;top:-9999px;left:-9999px}tr{margin-bottom:10px;border-bottom:2px solid #ccc}tr td,tr th{border:1px solid #ccc;border-bottom:none}td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%!important;white-space:normal}td,td:before{text-align:left}td:before{position:absolute;top:6px;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;content:attr(data-title)}}@media print{.content-area{width:100%!important}h1 a[href]:after{font-size:50%}}a{color:#ecb5a1}.btn{display:inline-block}.btn.btn-sidebar{padding:7px 10px;background-image:none;-webkit-filter:none;filter:none;box-shadow:none;background-color:#eee;border:none}.btn.btn-sidebar .icon-bar{display:block;width:18px;height:2px;margin-top:2px;margin-bottom:3px}.btn.btn-sidebar .icon-bar,.btn.btn-sidebar:hover{background-color:#c64641;box-shadow:none}.btn.btn-sidebar:hover .icon-bar{background-color:#ecb5a1;box-shadow:none}code{color:#ecb5a1}.navbar{box-shadow:0 1px 5px rgba(0,0,0,.25);background-color:#c64641;margin-bottom:0}.navbar .container,.navbar .container-fluid{background-image:none;-webkit-filter:none;filter:none;border-bottom:none;padding:0 20px}.navbar .container-fluid .brand,.navbar .container .brand{color:#ecb5a1;text-shadow:none;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700}.navbar .container-fluid .navbar-text,.navbar .container-fluid .navbar-text a,.navbar .container .navbar-text,.navbar .container .navbar-text a{color:#ecb5a1}.code-buttons-text{font-size:12px;line-height:1.5;padding:6px 10px 6px 0;display:inline-block;vertical-align:middle}.nav.nav-list{padding-left:0;padding-right:0}.nav.nav-list li a{margin:0;padding:6px 15px 6px 20px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#c64641;font-size:15px;text-shadow:none;border-color:#eee}.nav.nav-list li a .arrow{display:inline-block;position:relative;width:16px;margin-left:-16px}.nav.nav-list li a .arrow:before{position:absolute;display:block;content:"";margin:-.25em 0 0 -.4em;left:50%;top:50%;width:.5em;height:.5em;border-right:.15em solid #c64641;border-top:.15em solid #c64641;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition-duration:.3s;transition-duration:.3s}.nav.nav-list li a:hover{color:#c64641;text-shadow:none;background-color:#eee}.nav.nav-list li.active a{background-color:#eee}.nav.nav-list li.open>ul{display:block}.nav.nav-list li.open>a,.nav.nav-list li.open>a:focus,.nav.nav-list li.open>a:hover{background-color:transparent}.nav.nav-list li.open>a>.arrow:before{margin-left:-.25em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.nav.nav-list li ul{display:none;margin-left:15px}.nav.nav-list li ul li a{font-weight:400;font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:20px;margin:0;margin-left:-15px;padding:3px 30px;border:none;color:#2d2d2d;opacity:.7;filter:alpha(opacity=70)}.nav.nav-list li ul li a:hover{opacity:1;filter:alpha(opacity=100);background-color:transparent}.nav.nav-list li ul li.active a{color:#c64641}.page-header{margin:10px 0;padding:0}.page-header h1{margin-top:0}.page-header sub-heading{padding:0,0,20px}pre{border:none;background-color:#ecb5a1;border-radius:0;padding:10px;margin-left:-20px;padding-left:30px;margin-right:-20px;padding-right:30px}pre code{background:transparent;border:none}@media (min-width:1150px){.float-view .content-page{height:100%;overflow:auto;padding:0!important;background-color:transparent!important;position:relative}.float-view .content-page article{width:100%;min-height:100%;overflow:auto;position:relative;z-index:1}.float-view .content-page article:before{content:"";width:50%;min-height:100%;overflow:auto;background-color:#fff;display:block;margin:0;position:absolute;z-index:-1}.float-view .content-page table{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff;white-space:normal}.float-view .content-page table code,.float-view .content-page table pre{white-space:normal}.float-view .content-page .page-header{padding:0}.float-view .content-page .page-header,.float-view .content-page blockquote,.float-view .content-page dl,.float-view .content-page h2,.float-view .content-page h3,.float-view .content-page h4,.float-view .content-page h5,.float-view .content-page h6,.float-view .content-page hr,.float-view .content-page ol,.float-view .content-page p,.float-view .content-page ul{float:left;clear:left;width:47%;margin-left:1.5%;margin-right:1.5%;background-color:#fff}.float-view .content-page .page-header:before,.float-view .content-page blockquote:before,.float-view .content-page dl:before,.float-view .content-page h2:before,.float-view .content-page h3:before,.float-view .content-page h4:before,.float-view .content-page h5:before,.float-view .content-page h6:before,.float-view .content-page hr:before,.float-view .content-page ol:before,.float-view .content-page p:before,.float-view .content-page ul:before{width:100%;height:10px;display:block;clear:both}.float-view .content-page .page-header dl,.float-view .content-page .page-header h2,.float-view .content-page .page-header h3,.float-view .content-page .page-header h4,.float-view .content-page .page-header h5,.float-view .content-page .page-header h6,.float-view .content-page .page-header hr,.float-view .content-page .page-header ol,.float-view .content-page .page-header p,.float-view .content-page .page-header pre,.float-view .content-page .page-header ul,.float-view .content-page blockquote dl,.float-view .content-page blockquote h2,.float-view .content-page blockquote h3,.float-view .content-page blockquote h4,.float-view .content-page blockquote h5,.float-view .content-page blockquote h6,.float-view .content-page blockquote hr,.float-view .content-page blockquote ol,.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page blockquote ul,.float-view .content-page dl dl,.float-view .content-page dl h2,.float-view .content-page dl h3,.float-view .content-page dl h4,.float-view .content-page dl h5,.float-view .content-page dl h6,.float-view .content-page dl hr,.float-view .content-page dl ol,.float-view .content-page dl p,.float-view .content-page dl pre,.float-view .content-page dl ul,.float-view .content-page h2 dl,.float-view .content-page h2 h2,.float-view .content-page h2 h3,.float-view .content-page h2 h4,.float-view .content-page h2 h5,.float-view .content-page h2 h6,.float-view .content-page h2 hr,.float-view .content-page h2 ol,.float-view .content-page h2 p,.float-view .content-page h2 pre,.float-view .content-page h2 ul,.float-view .content-page h3 dl,.float-view .content-page h3 h2,.float-view .content-page h3 h3,.float-view .content-page h3 h4,.float-view .content-page h3 h5,.float-view .content-page h3 h6,.float-view .content-page h3 hr,.float-view .content-page h3 ol,.float-view .content-page h3 p,.float-view .content-page h3 pre,.float-view .content-page h3 ul,.float-view .content-page h4 dl,.float-view .content-page h4 h2,.float-view .content-page h4 h3,.float-view .content-page h4 h4,.float-view .content-page h4 h5,.float-view .content-page h4 h6,.float-view .content-page h4 hr,.float-view .content-page h4 ol,.float-view .content-page h4 p,.float-view .content-page h4 pre,.float-view .content-page h4 ul,.float-view .content-page h5 dl,.float-view .content-page h5 h2,.float-view .content-page h5 h3,.float-view .content-page h5 h4,.float-view .content-page h5 h5,.float-view .content-page h5 h6,.float-view .content-page h5 hr,.float-view .content-page h5 ol,.float-view .content-page h5 p,.float-view .content-page h5 pre,.float-view .content-page h5 ul,.float-view .content-page h6 dl,.float-view .content-page h6 h2,.float-view .content-page h6 h3,.float-view .content-page h6 h4,.float-view .content-page h6 h5,.float-view .content-page h6 h6,.float-view .content-page h6 hr,.float-view .content-page h6 ol,.float-view .content-page h6 p,.float-view .content-page h6 pre,.float-view .content-page h6 ul,.float-view .content-page hr dl,.float-view .content-page hr h2,.float-view .content-page hr h3,.float-view .content-page hr h4,.float-view .content-page hr h5,.float-view .content-page hr h6,.float-view .content-page hr hr,.float-view .content-page hr ol,.float-view .content-page hr p,.float-view .content-page hr pre,.float-view .content-page hr ul,.float-view .content-page ol dl,.float-view .content-page ol h2,.float-view .content-page ol h3,.float-view .content-page ol h4,.float-view .content-page ol h5,.float-view .content-page ol h6,.float-view .content-page ol hr,.float-view .content-page ol ol,.float-view .content-page ol p,.float-view .content-page ol pre,.float-view .content-page ol ul,.float-view .content-page p dl,.float-view .content-page p h2,.float-view .content-page p h3,.float-view .content-page p h4,.float-view .content-page p h5,.float-view .content-page p h6,.float-view .content-page p hr,.float-view .content-page p ol,.float-view .content-page p p,.float-view .content-page p pre,.float-view .content-page p ul,.float-view .content-page ul dl,.float-view .content-page ul h2,.float-view .content-page ul h3,.float-view .content-page ul h4,.float-view .content-page ul h5,.float-view .content-page ul h6,.float-view .content-page ul hr,.float-view .content-page ul ol,.float-view .content-page ul p,.float-view .content-page ul pre,.float-view .content-page ul ul{float:none;display:block}.float-view .content-page hr{border-color:#ddd}.float-view .content-page blockquote p,.float-view .content-page blockquote pre,.float-view .content-page li p,.float-view .content-page li pre{width:100%}.float-view .content-page ol li,.float-view .content-page ul li{margin-left:30px}.float-view .content-page pre{float:left;clear:right;width:47%;border:none;border-left:10px solid #fff;margin:0 0 10px;padding:0 0 0 10px}}table{width:100%;border-bottom:1px solid #eee;margin-bottom:10px}table tr td,table tr th{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #eee;border-left:1px solid #eee;border-color:#eee!important}table tr td:last-child,table tr th:last-child{border-right:1px solid #eee}.footer{position:fixed;bottom:0;left:0;padding:15px}#github-ribbon{position:absolute;top:50px;right:0;z-index:200}.sidebar-links{padding:20px}.sidebar-links a{font-size:13px;font-family:Roboto Slab,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#ecb5a1;line-height:28px}.sidebar-links .twitter hr{border-bottom:none;margin-left:-20px;margin-right:-20px}.search{position:relative}.search__field{padding-right:30px}.search__icon{position:absolute;right:12px;top:10px}.TableOfContents{font-size:16px;padding-left:30px;border-left:6px solid #efefef}.TableOfContents p{margin-bottom:0}.TableOfContents .TableOfContents{border-left-width:0;padding-left:20px}.hljs{display:block;padding:.5em}.hljs,.hljs-clojure .hljs-built_in,.hljs-lisp .hljs-title,.hljs-nginx .hljs-title,.hljs-subst,.hljs-tag .hljs-title{color:#c64641}.hljs-addition,.hljs-aggregate,.hljs-apache .hljs-cbracket,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-constant,.hljs-django .hljs-variable,.hljs-erlang_repl .hljs-function_or_atom,.hljs-flow,.hljs-markdown .hljs-header,.hljs-parent,.hljs-preprocessor,.hljs-ruby .hljs-symbol,.hljs-ruby .hljs-symbol .hljs-string,.hljs-rules .hljs-value,.hljs-rules .hljs-value .hljs-number,.hljs-smalltalk .hljs-class,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-tex .hljs-command,.hljs-tex .hljs-special,.hljs-title{color:#557aa2}.hljs-annotation,.hljs-chunk,.hljs-comment,.hljs-diff .hljs-header,.hljs-markdown .hljs-blockquote,.hljs-template_comment{color:#ecdfd0}.hljs-change,.hljs-date,.hljs-go .hljs-constant,.hljs-literal,.hljs-markdown .hljs-bullet,.hljs-markdown .hljs-link_url,.hljs-number,.hljs-regexp,.hljs-smalltalk .hljs-char,.hljs-smalltalk .hljs-symbol{color:#9b2f7d}.hljs-apache .hljs-sqbracket,.hljs-array,.hljs-attr_selector,.hljs-clojure .hljs-attribute,.hljs-coffeescript .hljs-property,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-erlang_repl .hljs-reserved,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-localvars,.hljs-markdown .hljs-link_label,.hljs-nginx .hljs-built_in,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-ruby .hljs-string,.hljs-shebang,.hljs-tex .hljs-formula,.hljs-vhdl .hljs-attribute{color:#a31621}.hljs-aggregate,.hljs-apache .hljs-tag,.hljs-bash .hljs-variable,.hljs-built_in,.hljs-css .hljs-tag,.hljs-go .hljs-typename,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-markdown .hljs-strong,.hljs-phpdoc,.hljs-request,.hljs-smalltalk .hljs-class,.hljs-status,.hljs-tex .hljs-command,.hljs-title,.hljs-winutils,.hljs-yardoctag{font-weight:700}.hljs-markdown .hljs-emphasis{font-style:italic}.hljs-nginx .hljs-built_in{font-weight:400}.hljs-coffeescript .hljs-javascript,.hljs-javascript .hljs-xml,.hljs-tex .hljs-formula,.hljs-xml .hljs-cdata,.hljs-xml .hljs-css,.hljs-xml .hljs-javascript,.hljs-xml .hljs-vbscript{opacity:.5} \ No newline at end of file diff --git a/themes/daux/css/theme.min.css b/themes/daux/css/theme.min.css index 597a11a..920b93f 100644 --- a/themes/daux/css/theme.min.css +++ b/themes/daux/css/theme.min.css @@ -4,4 +4,4 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} -/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.label{border:1px solid #000}}@font-face{font-family:Glyphicons Halflings;src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-chevron-right:before{content:"\e080"}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:400;line-height:1;color:#777}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small{font-size:75%}h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:18px}h5{font-size:14px}h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}code,kbd{padding:2px 4px;font-size:90%}kbd{color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-static-top .navbar-collapse{padding-left:0;padding-right:0}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container-fluid .navbar-brand,.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;background-color:#fff;cursor:not-allowed}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} \ No newline at end of file +/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.label{border:1px solid #000}}@font-face{font-family:Glyphicons Halflings;src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-search:before{content:"\e003"}.glyphicon-chevron-right:before{content:"\e080"}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:400;line-height:1;color:#777}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small{font-size:75%}h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:18px}h5{font-size:14px}h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}code,kbd{padding:2px 4px;font-size:90%}kbd{color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{padding-top:7px}.form-control,output{display:block;font-size:14px;line-height:1.42857143;color:#555}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{position:absolute;margin-left:-20px;margin-top:4px\9}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success.checkbox-inline label,.has-success.checkbox label,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.radio-inline label,.has-success.radio label{color:#3c763d}.has-success .form-control{border-color:#3c763d;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning.checkbox-inline label,.has-warning.checkbox label,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.radio-inline label,.has-warning.radio label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error.checkbox-inline label,.has-error.checkbox label,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.radio-inline label,.has-error.radio label{color:#a94442}.has-error .form-control{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.333333px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px}.btn-group-sm>.btn,.btn-group-xs>.btn,.btn-sm{font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn{padding:1px 5px}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{box-shadow:none}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-static-top .navbar-collapse{padding-left:0;padding-right:0}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container-fluid .navbar-brand,.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{margin:8px -15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;background-color:#fff;cursor:not-allowed}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.row:after,.row:before{content:" ";display:table}.btn-group-vertical>.btn-group:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} \ No newline at end of file diff --git a/themes/daux/js/daux.js b/themes/daux/js/daux.js index 9633977..dea4f26 100644 --- a/themes/daux/js/daux.js +++ b/themes/daux/js/daux.js @@ -37,16 +37,15 @@ _.debounce = function(func, wait, immediate) { }; }; -var codeBlocks, codeBlockView, toggleCodeBlockBtn, codeBlockState; +var codeBlocks, codeBlockView, toggleCodeBlockBtn, toggleCodeSection, codeBlockState; function toggleCodeBlocks() { - var hasFloat = $(document.body).hasClass("with-float")? 3 : 2; - codeBlockState = (codeBlockState + 1) % hasFloat; - localStorage.setItem("codeBlockState", codeBlockState); - setCodeBlockStyle(codeBlockState); + setCodeBlockStyle(codeBlocks.hasClass('hidden') ? 1 : 0); } -function setCodeBlockStyle(x) { - switch (x) { +function setCodeBlockStyle(codeBlockState) { + localStorage.setItem("codeBlockState", codeBlockState); + + switch (codeBlockState) { default: case 0: toggleCodeBlockBtn.html("Show Code Blocks"); @@ -69,22 +68,35 @@ function setCodeBlockStyle(x) { //Initialize CodeBlock Visibility Settings $(function () { codeBlocks = $('.content-page article > pre'); + toggleCodeSection = $('#toggleCodeBlock'); toggleCodeBlockBtn = $('#toggleCodeBlockBtn'); // If there is no code block we hide the link if (!codeBlocks.size()) { - toggleCodeBlockBtn.addClass('hidden'); + toggleCodeSection.addClass('hidden'); return; } + $('#code-hide').click(function() { setCodeBlockStyle(0); }); + $('#code-below').click(function() { setCodeBlockStyle(1); }); + $('#code-float').click(function() { setCodeBlockStyle(2); }); + codeBlockView = $('.right-column'); if (!codeBlockView.size()) return; + var floating = $(document.body).hasClass("with-float"); + codeBlockState = localStorage.getItem("codeBlockState"); + if (!codeBlockState) { - codeBlockState = 2; - localStorage.setItem("codeBlockState", codeBlockState); - } else codeBlockState = parseInt(codeBlockState); + codeBlockState = floating? 2 : 1; + } else { + codeBlockState = parseInt(codeBlockState); + } + + if (!floating && codeBlockState == 2) { + codeBlockState = 1; + } setCodeBlockStyle(codeBlockState); }); @@ -98,6 +110,12 @@ $(function () { $(this).next().slideToggle(); }); + // New Tree navigation + $('ul.nav.nav-list > li.has-children > a > .arrow').click(function() { + $(this).parent().parent().toggleClass('open'); + return false; + }); + // Responsive navigation $('#menu-spinner-button').click(function () { $('#sub-nav-collapse').slideToggle(); diff --git a/themes/daux/less/bootstrap/bootstrap.less b/themes/daux/less/bootstrap/bootstrap.less index 5429aea..66454bf 100644 --- a/themes/daux/less/bootstrap/bootstrap.less +++ b/themes/daux/less/bootstrap/bootstrap.less @@ -19,13 +19,13 @@ @import "code.less"; @import "grid.less"; //@import "tables.less"; -//@import "forms.less"; +@import "forms.less"; @import "buttons.less"; // Components //@import "component-animations.less"; //@import "dropdowns.less"; -//@import "button-groups.less"; +@import "button-groups.less"; //@import "input-groups.less"; @import "navs.less"; @import "navbar.less"; diff --git a/themes/daux/less/bootstrap/navbar.less b/themes/daux/less/bootstrap/navbar.less index 54e0524..fafde52 100644 --- a/themes/daux/less/bootstrap/navbar.less +++ b/themes/daux/less/bootstrap/navbar.less @@ -284,8 +284,7 @@ // Extension of the `.form-inline` with some extra flavor for optimum display in // our navbars. -//DAUX.io / onigoetz; removed so we can safely remove forms.less -/*.navbar-form { +.navbar-form { margin-left: -@navbar-padding-horizontal; margin-right: -@navbar-padding-horizontal; padding: 10px @navbar-padding-horizontal; @@ -320,7 +319,7 @@ padding-bottom: 0; .box-shadow(none); } -}*/ +} // Dropdown menus diff --git a/themes/daux/less/components.less b/themes/daux/less/components.less index fba6977..45d17ba 100644 --- a/themes/daux/less/components.less +++ b/themes/daux/less/components.less @@ -68,21 +68,54 @@ code { } } +.code-buttons-text { + font-size: 12px; + line-height: 1.5; + padding: 6px 10px 6px 0; + display: inline-block; + vertical-align: middle; +} + //Sidebar Nav List .nav.nav-list { - padding-left: 0px; - padding-right: 0px; + padding-left: 0; + padding-right: 0; li { a { - margin: 0px; - padding: 6px 15px; + margin: 0; + padding: 6px 15px 6px 20px; .roboto-slab.regular; color: @dark; font-size: 15px; text-shadow: none; border-color: @lines; + .arrow { + display: inline-block; + position: relative; + + width: 16px; + margin-left: -16px; + + &:before { + position:absolute; + + display:block; + content:""; + + margin:-.25em 0 0 -.4em; + left:50%; + top: 50%; + width: 0.5em; + height: 0.5em; + border-right: 0.15em solid @dark; + border-top: 0.15em solid @dark; + transform: rotate(45deg); + transition-duration:.3s; + } + } + &:hover { color: @dark; text-shadow: none; @@ -100,11 +133,16 @@ code { > ul { display: block; } - } - &:last-child { - &.open { - //border-bottom: none; + > a { + &, &:focus, &:hover { + background-color:transparent; + } + + > .arrow:before { + margin-left:-.25em; + transform: rotate(135deg); + } } } @@ -128,10 +166,8 @@ code { } } - &.active { - a { - color: @dark; - } + &.active a { + color: @dark; } } } @@ -325,3 +361,34 @@ table { } } } + +.search { + position: relative; + + &__field { + padding-right: 30px; + } + + &__icon { + position: absolute; + right: 12px; + top: 10px; + } +} + +.TableOfContents { + + font-size:16px; + padding-left:30px; + + border-left:6px solid #efefef; + + p { + margin-bottom:0; + } + + .TableOfContents { + border-left-width:0; + padding-left:20px; + } +} diff --git a/tipuesearch/tipuesearch.css b/tipuesearch/tipuesearch.css new file mode 100755 index 0000000..a904184 --- /dev/null +++ b/tipuesearch/tipuesearch.css @@ -0,0 +1,206 @@ +/* +Tipue Search 5.0 +Copyright (c) 2015 Tipue +Tipue Search is released under the MIT License +http://www.tipue.com/search +*/ + +/* bootstrap overrides the search field so let's undo that */ +input[type="search"] { + -webkit-appearance: searchfield; +} + +input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: searchfield-cancel-button; +} + +#tipue_search_input { + width: 170px; + font-size: medium; +} + +#tipue_search_content { + background: #fff; + max-width: 650px; + padding: 15px; + margin: 0; +} + +#tipue_search_warning { + font-weight:300; + font-size:15px; + line-height: 1.6; + color: #555; + margin: 7px 0; +} + +#tipue_search_warning a { + color: #396; + text-decoration: none; +} + +#tipue_search_warning a:hover { + color: #555; +} + +#tipue_search_results_count { + font-weight:300; + font-size:15px; + line-height: 1.7; + color: #555; +} + +.tipue_search_content_title { + font-weight:300; + font-size:21px; + line-height: 1.7; + margin-top: 23px; +} + +.tipue_search_content_title a { + color: #333; + text-decoration: none; +} + +.tipue_search_content_title a:hover { + color: #555; +} + +.tipue_search_content_url { + font-weight:300; + font-size:14px; + line-height: 1.9; + word-wrap: break-word; + hyphens: auto; +} + +.tipue_search_content_url a { + color: #396; + text-decoration: none; +} + +.tipue_search_content_url a:hover { + color: #555; +} + +.tipue_search_content_text { + font-weight:300; + font-size:15px; + line-height: 1.6; + color: #555; + word-wrap: break-word; + hyphens: auto; + margin-top: 3px; +} + +.tipue_search_content_debug { + font-weight:300; + font-size:13px; + line-height: 1.6; + color: #555; + margin: 5px 0; +} + +.h01 { + color: #333; + font-weight: 400; +} + +#tipue_search_foot { + margin: 51px 0 21px 0; + padding: 0 10px; +} + +#tipue_search_foot_boxes { + padding: 0; + margin: 0; + font-size: 12px; + width: auto; + float: none; +} + +#tipue_search_foot_boxes li { + list-style: none; + margin: 0; + padding: 0; + display: inline; +} + +#tipue_search_foot_boxes li a { + padding: 10px 17px 11px 17px; + background-color: #fff; + border: 1px solid #e2e2e2; + border-radius: 1px; + color: #333; + margin-right: 7px; + text-decoration: none; + text-align: center; +} + +#tipue_search_foot_boxes li.current { + padding: 10px 17px 11px 17px; + background: #f6f6f6; + border: 1px solid #e2e2e2; + border-radius: 1px; + color: #333; + margin-right: 7px; + text-align: center; +} + +#tipue_search_foot_boxes li a:hover { + background: #f6f6f6; +} + +/* spinner */ + +.tipue_search_spinner { + padding: 31px 0; + width: 50px; + height: 28px; +} + +.tipue_search_spinner > div { + background-color: #777; + height: 100%; + width: 3px; + display: inline-block; + margin-right: 2px; + -webkit-animation: stretchdelay 1.2s infinite ease-in-out; + animation: stretchdelay 1.2s infinite ease-in-out; +} + +.tipue_search_spinner .tipue_search_rect2 { + -webkit-animation-delay: -1.1s; + animation-delay: -1.1s; +} + +.tipue_search_spinner .tipue_search_rect3 { + -webkit-animation-delay: -1.0s; + animation-delay: -1.0s; +} + +@-webkit-keyframes stretchdelay { + 0%, 40%, 100% { + -webkit-transform: scaleY(0.4) + } + 20% { + -webkit-transform: scaleY(1.0) + } +} + +@keyframes stretchdelay { + 0%, 40%, 100% { + transform: scaleY(0.4); + -webkit-transform: scaleY(0.4); + } + 20% { + transform: scaleY(1.0); + -webkit-transform: scaleY(1.0); + } +} + + + + + + diff --git a/tipuesearch/tipuesearch.min.js b/tipuesearch/tipuesearch.min.js new file mode 100644 index 0000000..2a807f8 --- /dev/null +++ b/tipuesearch/tipuesearch.min.js @@ -0,0 +1 @@ +!function(e){e.fn.tipuesearch=function(t){var i=e.extend({show:7,newWindow:!1,showURL:!0,showTitleCount:!0,minimumLength:3,descriptiveWords:25,highlightTerms:!0,highlightEveryTerm:!1,mode:"static",liveDescription:"*",liveContent:"*",contentLocation:"tipuesearch/tipuesearch_content.json",debug:!1},t),r=function(){var e,t={},i=window.location.href.split("?")[1];if(i){i=i.split("&");for(var r=0;r
'),e("#tipue_search_content").show(),(g.match('^"')&&g.match('"$')||g.match("^'")&&g.match("'$"))&&(l=!1),l){var d=g.split(" ");g="";for(var v=0;v=i.minimumLength){if(l){if(r){for(var m=g,v=0;v$1')}if(-1!=n.pages[v].tags.search(C)){var E=n.pages[v].tags.match(C).length;b+=10*E}if(-1!=n.pages[v].url.search(C)&&(b+=20),0!=b)for(var y=0;y$1')}if(-1!=n.pages[v].tags.search(C)){var E=n.pages[v].tags.match(C).length;b+=10*E}if(-1!=n.pages[v].url.search(C)&&(b+=20),0!=b)for(var y=0;y'+tipuesearch_string_2+" "+g+". "+tipuesearch_string_3+' '+m+""),1==_?h+='
'+tipuesearch_string_4+"
":(c_c=_.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),h+='
'+c_c+" "+tipuesearch_string_5+"
"),found.sort(function(e,t){return t.score-e.score});for(var U=0,v=0;v=t&&U"+found[v].title+"",i.debug&&(h+='
Score: '+found[v].score+"
"),i.showURL){var j=found[v].url.toLowerCase();0==j.indexOf("http://")&&(j=j.slice(7)),h+='"}if(found[v].desc){var k=found[v].desc,I="",O=k.split(" ");if(O.length"}}U++}if(_>i.show){var W=Math.ceil(_/i.show),S=t/i.show;if(h+='
"}}else h+='
'+tipuesearch_string_8+"
"}else u?h+='
'+tipuesearch_string_8+". "+tipuesearch_string_9+"
":(h+='
'+tipuesearch_string_10+"
",h+=1==i.minimumLength?'
'+tipuesearch_string_11+"
":'
'+tipuesearch_string_12+" "+i.minimumLength+" "+tipuesearch_string_13+"
");e(".doc_content").hide(),e("#tipue_search_content").hide(),e("#tipue_search_content").html(h),e("#tipue_search_content").slideDown(200),e("#tipue_search_replaced").click(function(){a(0,!1)}),e(".tipue_search_foot_box").click(function(){var t=e(this).attr("id"),i=t.split("_");s({search:e("#tipue_search_input").val(),start:i[0]})})}var n={pages:[]};e.ajaxSetup({async:!1});var c=0;if("live"==i.mode)for(var h=0;h"),c=t.toLowerCase().indexOf("",a+7);if(-1!=a&&-1!=c)var o=t.slice(a+7,c);else var o=tipuesearch_string_1;n.pages.push({title:o,text:s,tags:r,url:tipuesearch_pages[h]})});"json"==i.mode&&e.getJSON(i.base_url+i.contentLocation).done(function(t){n=e.extend({},t)}),"static"==i.mode&&(n=e.extend({},tipuesearch));var o="";i.newWindow&&(o=' target="_blank"'),t(),"onsearch"in document.documentElement?e("#tipue_search_input")[0].addEventListener("search",function(t){s({search:e("#tipue_search_input").val(),start:0})}):(e("#tipue_search_input")[0].addEventListener("input",function(t){var i=e("#tipue_search_input").val();""===i&&s({search:i,start:0})}),e(this).keyup(function(t){"13"==t.keyCode&&s({search:e("#tipue_search_input").val(),start:0})}))})}}(jQuery); \ No newline at end of file diff --git a/tipuesearch/tipuesearch_set.js b/tipuesearch/tipuesearch_set.js new file mode 100644 index 0000000..093b60f --- /dev/null +++ b/tipuesearch/tipuesearch_set.js @@ -0,0 +1,34 @@ +/* +Tipue Search 5.0 +Copyright (c) 2015 Tipue +Tipue Search is released under the MIT License +http://www.tipue.com/search +*/ + + +// Stop words (list from http://www.ranks.nl/stopwords) +var tipuesearch_stop_words = ["a", "about", "above", "after", "again", "against", "all", "am", "an", "and", "any", "are", "aren't", "as", "at", "be", "because", "been", "before", "being", "below", "between", "both", "but", "by", "can't", "cannot", "could", "couldn't", "did", "didn't", "do", "does", "doesn't", "doing", "don't", "down", "during", "each", "few", "for", "from", "further", "had", "hadn't", "has", "hasn't", "have", "haven't", "having", "he", "he'd", "he'll", "he's", "her", "here", "here's", "hers", "herself", "him", "himself", "his", "how", "how's", "i", "i'd", "i'll", "i'm", "i've", "if", "in", "into", "is", "isn't", "it", "it's", "its", "itself", "let's", "me", "more", "most", "mustn't", "my", "myself", "no", "nor", "not", "of", "off", "on", "once", "only", "or", "other", "ought", "our", "ours", "ourselves", "out", "over", "own", "same", "shan't", "she", "she'd", "she'll", "she's", "should", "shouldn't", "so", "some", "such", "than", "that", "that's", "the", "their", "theirs", "them", "themselves", "then", "there", "there's", "these", "they", "they'd", "they'll", "they're", "they've", "this", "those", "through", "to", "too", "under", "until", "up", "very", "was", "wasn't", "we", "we'd", "we'll", "we're", "we've", "were", "weren't", "what", "what's", "when", "when's", "where", "where's", "which", "while", "who", "who's", "whom", "why", "why's", "with", "won't", "would", "wouldn't", "you", "you'd", "you'll", "you're", "you've", "your", "yours", "yourself", "yourselves"]; + +// Word replace +var tipuesearch_replace = {'words': []}; + +// Weighting +var tipuesearch_weight = {'weight': []}; + +// Stemming +var tipuesearch_stem = {'words': []}; + +// Internal strings +var tipuesearch_string_1 = 'No title'; +var tipuesearch_string_2 = 'Showing results for'; +var tipuesearch_string_3 = 'Search instead for'; +var tipuesearch_string_4 = '1 result'; +var tipuesearch_string_5 = 'results'; +var tipuesearch_string_6 = 'Prev'; +var tipuesearch_string_7 = 'Next'; +var tipuesearch_string_8 = 'Nothing found'; +var tipuesearch_string_9 = 'Common words are largely ignored'; +var tipuesearch_string_10 = 'Search too short'; +var tipuesearch_string_11 = 'Should be one character or more'; +var tipuesearch_string_12 = 'Should be'; +var tipuesearch_string_13 = 'characters or more';