From 2eed3bdb4faa9efe8f7828e561e7e99b6f47143c Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 2 Sep 2016 22:59:14 +0200 Subject: [PATCH] Added support for footnotes --- Gulpfile.js | 4 +- docs/extensions/admonition.md | 54 + docs/extensions/codehilite.md | 0 docs/extensions/footnotes.md | 46 + docs/extensions/meta.md | 0 docs/extensions/permalinks.md | 0 docs/getting-started.md | 24 +- docs/reference/cpp/api/one.md | 0 docs/reference/cpp/api/two.md | 0 docs/reference/cpp/one.md | 0 docs/reference/cpp/two.md | 0 docs/reference/java/one.md | 0 docs/reference/java/two.md | 0 .../javascripts/modernizr-31a00ebfc6.js | 1 - .../javascripts/modernizr-ca288b1d5b.js | 1841 +++++++++++++++++ .../stylesheets/application-28991d4685.css | 1 + .../stylesheets/application-8e9e9d1cff.css | 1 - material/assets/stylesheets/application.css | 2 +- material/base.html | 12 +- material/manifest.json | 4 +- mkdocs.yml | 10 +- src/assets/stylesheets/_shame.scss | 9 - src/assets/stylesheets/application.scss | 1 + src/assets/stylesheets/base/_typeset.scss | 78 +- .../stylesheets/extensions/_admonition.scss | 30 +- .../stylesheets/extensions/_footnotes.scss | 118 ++ .../stylesheets/extensions/_permalinks.scss | 35 +- src/base.html | 9 +- 28 files changed, 2178 insertions(+), 102 deletions(-) create mode 100644 docs/extensions/admonition.md create mode 100644 docs/extensions/codehilite.md create mode 100644 docs/extensions/footnotes.md create mode 100644 docs/extensions/meta.md create mode 100644 docs/extensions/permalinks.md create mode 100644 docs/reference/cpp/api/one.md create mode 100644 docs/reference/cpp/api/two.md create mode 100644 docs/reference/cpp/one.md create mode 100644 docs/reference/cpp/two.md create mode 100644 docs/reference/java/one.md create mode 100644 docs/reference/java/two.md delete mode 100644 material/assets/javascripts/modernizr-31a00ebfc6.js create mode 100644 material/assets/javascripts/modernizr-ca288b1d5b.js create mode 100644 material/assets/stylesheets/application-28991d4685.css delete mode 100644 material/assets/stylesheets/application-8e9e9d1cff.css create mode 100644 src/assets/stylesheets/extensions/_footnotes.scss diff --git a/Gulpfile.js b/Gulpfile.js index 96baa6a44..8dfc18b69 100755 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -46,6 +46,7 @@ var plumber = require('gulp-plumber'); var postcss = require('gulp-postcss'); var rev = require('gulp-rev'); var sass = require('gulp-sass'); +// var sasslint = require('gulp-sass-lint'); var sourcemaps = require('gulp-sourcemaps'); var stream = require('webpack-stream'); var uglify = require('gulp-uglify'); @@ -93,6 +94,7 @@ gulp.src = function() { */ gulp.task('assets:stylesheets', function() { return gulp.src('src/assets/stylesheets/*.scss') + // .pipe(gulpif(args.production, sasslint())) .pipe(gulpif(args.sourcemaps, sourcemaps.init())) .pipe( sass({ @@ -135,7 +137,7 @@ gulp.task('assets:javascripts', function() { plugins: [ new webpack.NoErrorsPlugin(), new webpack.ResolverPlugin( - new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin( + new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin( // TODO: remove? '.bower.json', ['main'] ) ) diff --git a/docs/extensions/admonition.md b/docs/extensions/admonition.md new file mode 100644 index 000000000..f7b084bae --- /dev/null +++ b/docs/extensions/admonition.md @@ -0,0 +1,54 @@ +# Admonition + +## Variations + +!!! hint + +!!! hint "Failure with custom name" + +!!! hint + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac + urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam + tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor + sit amet, consectetur adipiscing elit. + + Nunc eu odio eleifend, blandit leo a, volutpat sapien. Phasellus posuere in + sem ut cursus. Nullam sit amet tincidunt ipsum, sit amet elementum turpis. + Etiam ipsum quam, mattis in purus vitae, lacinia fermentum enim. + +!!! hint "" + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac + urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam + tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor + sit amet, consectetur adipiscing elit. + +!!! hint + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac + urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam + tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor + sit amet, consectetur adipiscing elit. + + > Nunc eu odio eleifend, blandit leo a, volutpat sapien. Phasellus posuere + > sem ut cursus. Nullam sit amet tincidunt ipsum, sit amet elementum turpis. + + Nunc eu odio eleifend, blandit leo a, volutpat sapien. Phasellus posuere in + sem ut cursus. Nullam sit amet tincidunt ipsum, sit amet elementum turpis. + Etiam ipsum quam, mattis in purus vitae, lacinia fermentum enim. + +TODO: NESTED... + +## Specimen + +!!! hint "hint, note default" + +!!! tip "tip, idea" + +!!! success "success, check, done" + +!!! warning "warning, warn" + +!!! failure "failure, fail, missing" + +!!! fatal "danger, fatal" + +!!! bug "error, bug" \ No newline at end of file diff --git a/docs/extensions/codehilite.md b/docs/extensions/codehilite.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/extensions/footnotes.md b/docs/extensions/footnotes.md new file mode 100644 index 000000000..c5fd2b7fb --- /dev/null +++ b/docs/extensions/footnotes.md @@ -0,0 +1,46 @@ +# Footnotes + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac +urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam +tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor +sit amet, consectetur adipiscing elit. + +#### Headline on fourth level + +Footnotes[^1] have a label[^@#$%] and the footnote's content. + +### 2nd Headline on fourth level + +[^1]: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac + urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam + tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor + sit amet, consectetur adipiscing elit. + +[^@#$%]: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac + urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam + tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor + sit amet, consectetur adipiscing elit. +[^2]: Lorem ipsum dolor sit [amet](#), consectetur adipiscing elit. Sed at nisl ac + urna lobortis consectetur ut vitae urna. **Donec** eu viverra sapien. Nam + tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor + sit amet, consectetur adipiscing elit. + +Nunc eu odio eleifend, blandit leo a, volutpat sapien. Phasellus posuere in +sem ut cursus. Nullam sit amet tincidunt ipsum, sit amet elementum turpis. +Etiam ipsum quam, mattis in purus vitae, lacinia fermentum enim. + +## [Some headline with a link](http://www.google.de) + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac +urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam +tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor +sit amet, consectetur adipiscing elit. + +Nunc eu odio eleifend, blandit leo a, volutpat sapien. Phasellus posuere in +sem ut cursus. Nullam sit amet tincidunt ipsum, sit amet elementum turpis. +Etiam ipsum quam, mattis in purus vitae, lacinia fermentum enim. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at nisl ac +urna lobortis consectetur ut vitae urna. Donec eu viverra sapien. Nam +tempor auctor lacus et congue. Quisque id congue velit. Lorem ipsum dolor +sit amet, consectetur adipiscing elit. \ No newline at end of file diff --git a/docs/extensions/meta.md b/docs/extensions/meta.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/extensions/permalinks.md b/docs/extensions/permalinks.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/getting-started.md b/docs/getting-started.md index b926efb69..bb83b0c2d 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -1,3 +1,11 @@ +Title: My Document +Summary: A brief description of my document. +Authors: Waylan Limberg + John Doe +Date: October 2, 2007 +blank-value: +base_url: http://example.com + # Getting started ## Installation @@ -270,22 +278,6 @@ This will print: More colors can be freely defined. -!!! hint "hint, note default" - -!!! tip "tip, idea" - -!!! check "check, success" - -!!! warning - -!!! failure "fail, failure" - -!!! fatal "fatal, danger" - -!!! bug "error, bug" - -!!! bug - ## Full example Below is a full example configuration for a `mkdocs.yml`: diff --git a/docs/reference/cpp/api/one.md b/docs/reference/cpp/api/one.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/reference/cpp/api/two.md b/docs/reference/cpp/api/two.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/reference/cpp/one.md b/docs/reference/cpp/one.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/reference/cpp/two.md b/docs/reference/cpp/two.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/reference/java/one.md b/docs/reference/java/one.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/reference/java/two.md b/docs/reference/java/two.md new file mode 100644 index 000000000..e69de29bb diff --git a/material/assets/javascripts/modernizr-31a00ebfc6.js b/material/assets/javascripts/modernizr-31a00ebfc6.js deleted file mode 100644 index a4a69031d..000000000 --- a/material/assets/javascripts/modernizr-31a00ebfc6.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t,n){function r(e,t){return typeof e===t}function o(){var e,t,n,o,i,a,s;for(var l in b)if(b.hasOwnProperty(l)){if(e=[],t=b[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;nf;f++)if(h=e[f],g=N.style[h],l(h,"-")&&(h=m(h)),N.style[h]!==n){if(i||r(o,"undefined"))return a(),"pfx"==t?h:!0;try{N.style[h]=o}catch(y){}if(N.style[h]!=g)return a(),"pfx"==t?h:!0}return a(),!1}function g(e,t,n){var o;for(var i in e)if(e[i]in t)return n===!1?e[i]:(o=t[e[i]],r(o,"function")?s(o,n||t):o);return!1}function v(e,t,n,o,i){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+P.join(a+" ")+a).split(" ");return r(t,"string")||r(t,"undefined")?h(s,t,o,i):(s=(e+" "+A.join(a+" ")+a).split(" "),g(s,t,n))}function y(e,t,r){return v(e,n,n,t,r)}var b=[],E={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){b.push({name:e,fn:t,options:n})},addAsyncTest:function(e){b.push({name:null,fn:e})}},S=function(){};S.prototype=E,S=new S;var x,w=[],C=t.documentElement,T="svg"===C.nodeName.toLowerCase();!function(){var e={}.hasOwnProperty;x=r(e,"undefined")||r(e.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),E._l={},E.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),S.hasOwnProperty(e)&&setTimeout(function(){S._trigger(e,S[e])},0)},E._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e,r;for(e=0;e",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=C.elements;return"string"==typeof e?e.split(" "):e}function o(e,t){var n=C.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),C.elements=n+" "+e,c(t)}function i(e){var t=w[e[S]];return t||(t={},x++,e[S]=x,w[x]=t),t}function a(e,n,r){if(n||(n=t),g)return n.createElement(e);r||(r=i(n));var o;return o=r.cache[e]?r.cache[e].cloneNode():E.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!o.canHaveChildren||b.test(e)||o.tagUrn?o:r.frag.appendChild(o)}function s(e,n){if(e||(e=t),g)return e.createDocumentFragment();n=n||i(e);for(var o=n.frag.cloneNode(),a=0,s=r(),l=s.length;l>a;a++)o.createElement(s[a]);return o}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return C.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(C,t.frag)}function c(e){e||(e=t);var r=i(e);return!C.shivCSS||h||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),g||l(e,r),e}function u(e){for(var t,n=e.getElementsByTagName("*"),o=n.length,i=RegExp("^(?:"+r().join("|")+")$","i"),a=[];o--;)t=n[o],i.test(t.nodeName)&&a.push(t.applyElement(f(t)));return a}function f(e){for(var t,n=e.attributes,r=n.length,o=e.ownerDocument.createElement(_+":"+e.nodeName);r--;)t=n[r],t.specified&&o.setAttribute(t.nodeName,t.nodeValue);return o.style.cssText=e.style.cssText,o}function d(e){for(var t,n=e.split("{"),o=n.length,i=RegExp("(^|[\\s,>+~])("+r().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),a="$1"+_+"\\:$2";o--;)t=n[o]=n[o].split("}"),t[t.length-1]=t[t.length-1].replace(i,a),n[o]=t.join("}");return n.join("{")}function p(e){for(var t=e.length;t--;)e[t].removeNode()}function m(e){function t(){clearTimeout(a._removeSheetTimer),r&&r.removeNode(!0),r=null}var r,o,a=i(e),s=e.namespaces,l=e.parentWindow;return!N||e.printShived?e:("undefined"==typeof s[_]&&s.add(_),l.attachEvent("onbeforeprint",function(){t();for(var i,a,s,l=e.styleSheets,c=[],f=l.length,p=Array(f);f--;)p[f]=l[f];for(;s=p.pop();)if(!s.disabled&&T.test(s.media)){try{i=s.imports,a=i.length}catch(m){a=0}for(f=0;a>f;f++)p.push(i[f]);try{c.push(s.cssText)}catch(m){}}c=d(c.reverse().join("")),o=u(e),r=n(e,c)}),l.attachEvent("onafterprint",function(){p(o),clearTimeout(a._removeSheetTimer),a._removeSheetTimer=setTimeout(t,500)}),e.printShived=!0,e)}var h,g,v="3.7.3",y=e.html5||{},b=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,E=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,S="_html5shiv",x=0,w={};!function(){try{var e=t.createElement("a");e.innerHTML="",h="hidden"in e,g=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){h=!0,g=!0}}();var C={elements:y.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:v,shivCSS:y.shivCSS!==!1,supportsUnknownElements:g,shivMethods:y.shivMethods!==!1,type:"default",shivDocument:c,createElement:a,createDocumentFragment:s,addElements:o};e.html5=C,c(t);var T=/^$|\b(?:all|print)\b/,_="html5shiv",N=!g&&function(){var n=t.documentElement;return!("undefined"==typeof t.namespaces||"undefined"==typeof t.parentWindow||"undefined"==typeof n.applyElement||"undefined"==typeof n.removeNode||"undefined"==typeof e.attachEvent)}();C.type+=" print",C.shivPrint=m,m(t),"object"==typeof module&&module.exports&&(module.exports=C)}("undefined"!=typeof e?e:this,t);var _={elem:c("modernizr")};S._q.push(function(){delete _.elem});var N={style:_.elem.style};S._q.unshift(function(){delete N.style});var k=(E.testProp=function(e,t,r){return h([e],n,t,r)},E.testStyles=f),j=function(){var e=navigator.userAgent,t=e.match(/applewebkit\/([0-9]+)/gi)&&parseFloat(RegExp.$1),n=e.match(/w(eb)?osbrowser/gi),r=e.match(/windows phone/gi)&&e.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9,o=533>t&&e.match(/android/gi);return n||o||r}();j?S.addTest("fontface",!1):k('@font-face {font-family:"font";src:url("https://")}',function(e,n){var r=t.getElementById("smodernizr"),o=r.sheet||r.styleSheet,i=o?o.cssRules&&o.cssRules[0]?o.cssRules[0].cssText:o.cssText||"":"",a=/src/i.test(i)&&0===i.indexOf(n.split(" ")[0]);S.addTest("fontface",a)});var z="Moz O ms Webkit",P=E._config.usePrefixes?z.split(" "):[];E._cssomPrefixes=P;var A=E._config.usePrefixes?z.toLowerCase().split(" "):[];E._domPrefixes=A,E.testAllProps=v,E.testAllProps=y;var F="CSS"in e&&"supports"in e.CSS,$="supportsCSS"in e;S.addTest("supports",F||$),S.addTest("csstransforms3d",function(){var e=!!y("perspective","1px",!0),t=S._config.usePrefixes;if(e&&(!t||"webkitPerspective"in C.style)){var n,r="#modernizr{width:0;height:0}";S.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",k(r+n,function(t){e=7===t.offsetWidth&&18===t.offsetHeight})}return e}),S.addTest("checked",function(){return k("#modernizr {position:absolute} #modernizr input {margin-left:10px} #modernizr :checked {margin-left:20px;display:block}",function(e){var t=c("input");return t.setAttribute("type","checkbox"),t.setAttribute("checked","checked"),e.appendChild(t),20===t.offsetLeft})}),S.addTest("target",function(){var t=e.document;if(!("querySelectorAll"in t))return!1;try{return t.querySelectorAll(":target"),!0}catch(n){return!1}}),S.addTest("contains",r(String.prototype.contains,"function")),o(),i(w),delete E.addTest,delete E.addAsyncTest;for(var q=0;q` element. This + * information allows you to progressively enhance your pages with a granular level + * of control over the experience. +*/ + +;(function(window, document, undefined){ + var tests = []; + + + /** + * + * ModernizrProto is the constructor for Modernizr + * + * @class + * @access public + */ + + var ModernizrProto = { + // The current version, dummy + _version: '3.3.1', + + // Any settings that don't work as separate modules + // can go in here as configuration. + _config: { + 'classPrefix': '', + 'enableClasses': true, + 'enableJSClass': true, + 'usePrefixes': true + }, + + // Queue of tests + _q: [], + + // Stub these for people who are listening + on: function(test, cb) { + // I don't really think people should do this, but we can + // safe guard it a bit. + // -- NOTE:: this gets WAY overridden in src/addTest for actual async tests. + // This is in case people listen to synchronous tests. I would leave it out, + // but the code to *disallow* sync tests in the real version of this + // function is actually larger than this. + var self = this; + setTimeout(function() { + cb(self[test]); + }, 0); + }, + + addTest: function(name, fn, options) { + tests.push({name: name, fn: fn, options: options}); + }, + + addAsyncTest: function(fn) { + tests.push({name: null, fn: fn}); + } + }; + + + + // Fake some of Object.create so we can force non test results to be non "own" properties. + var Modernizr = function() {}; + Modernizr.prototype = ModernizrProto; + + // Leak modernizr globally when you `require` it rather than force it here. + // Overwrite name so constructor name is nicer :D + Modernizr = new Modernizr(); + + + + var classes = []; + + + /** + * is returns a boolean if the typeof an obj is exactly type. + * + * @access private + * @function is + * @param {*} obj - A thing we want to check the type of + * @param {string} type - A string to compare the typeof against + * @returns {boolean} + */ + + function is(obj, type) { + return typeof obj === type; + } + ; + + /** + * Run through all tests and detect their support in the current UA. + * + * @access private + */ + + function testRunner() { + var featureNames; + var feature; + var aliasIdx; + var result; + var nameIdx; + var featureName; + var featureNameSplit; + + for (var featureIdx in tests) { + if (tests.hasOwnProperty(featureIdx)) { + featureNames = []; + feature = tests[featureIdx]; + // run the test, throw the return value into the Modernizr, + // then based on that boolean, define an appropriate className + // and push it into an array of classes we'll join later. + // + // If there is no name, it's an 'async' test that is run, + // but not directly added to the object. That should + // be done with a post-run addTest call. + if (feature.name) { + featureNames.push(feature.name.toLowerCase()); + + if (feature.options && feature.options.aliases && feature.options.aliases.length) { + // Add all the aliases into the names list + for (aliasIdx = 0; aliasIdx < feature.options.aliases.length; aliasIdx++) { + featureNames.push(feature.options.aliases[aliasIdx].toLowerCase()); + } + } + } + + // Run the test, or use the raw value if it's not a function + result = is(feature.fn, 'function') ? feature.fn() : feature.fn; + + + // Set each of the names on the Modernizr object + for (nameIdx = 0; nameIdx < featureNames.length; nameIdx++) { + featureName = featureNames[nameIdx]; + // Support dot properties as sub tests. We don't do checking to make sure + // that the implied parent tests have been added. You must call them in + // order (either in the test, or make the parent test a dependency). + // + // Cap it to TWO to make the logic simple and because who needs that kind of subtesting + // hashtag famous last words + featureNameSplit = featureName.split('.'); + + if (featureNameSplit.length === 1) { + Modernizr[featureNameSplit[0]] = result; + } else { + // cast to a Boolean, if not one already + /* jshint -W053 */ + if (Modernizr[featureNameSplit[0]] && !(Modernizr[featureNameSplit[0]] instanceof Boolean)) { + Modernizr[featureNameSplit[0]] = new Boolean(Modernizr[featureNameSplit[0]]); + } + + Modernizr[featureNameSplit[0]][featureNameSplit[1]] = result; + } + + classes.push((result ? '' : 'no-') + featureNameSplit.join('-')); + } + } + } + } + ; + + /** + * docElement is a convenience wrapper to grab the root element of the document + * + * @access private + * @returns {HTMLElement|SVGElement} The root element of the document + */ + + var docElement = document.documentElement; + + + /** + * A convenience helper to check if the document we are running in is an SVG document + * + * @access private + * @returns {boolean} + */ + + var isSVG = docElement.nodeName.toLowerCase() === 'svg'; + + + /** + * setClasses takes an array of class names and adds them to the root element + * + * @access private + * @function setClasses + * @param {string[]} classes - Array of class names + */ + + // Pass in an and array of class names, e.g.: + // ['no-webp', 'borderradius', ...] + function setClasses(classes) { + var className = docElement.className; + var classPrefix = Modernizr._config.classPrefix || ''; + + if (isSVG) { + className = className.baseVal; + } + + // Change `no-js` to `js` (independently of the `enableClasses` option) + // Handle classPrefix on this too + if (Modernizr._config.enableJSClass) { + var reJS = new RegExp('(^|\\s)' + classPrefix + 'no-js(\\s|$)'); + className = className.replace(reJS, '$1' + classPrefix + 'js$2'); + } + + if (Modernizr._config.enableClasses) { + // Add the new classes + className += ' ' + classPrefix + classes.join(' ' + classPrefix); + isSVG ? docElement.className.baseVal = className : docElement.className = className; + } + + } + + ; + + /** + * hasOwnProp is a shim for hasOwnProperty that is needed for Safari 2.0 support + * + * @author kangax + * @access private + * @function hasOwnProp + * @param {object} object - The object to check for a property + * @param {string} property - The property to check for + * @returns {boolean} + */ + + // hasOwnProperty shim by kangax needed for Safari 2.0 support + var hasOwnProp; + + (function() { + var _hasOwnProperty = ({}).hasOwnProperty; + /* istanbul ignore else */ + /* we have no way of testing IE 5.5 or safari 2, + * so just assume the else gets hit */ + if (!is(_hasOwnProperty, 'undefined') && !is(_hasOwnProperty.call, 'undefined')) { + hasOwnProp = function(object, property) { + return _hasOwnProperty.call(object, property); + }; + } + else { + hasOwnProp = function(object, property) { /* yes, this can give false positives/negatives, but most of the time we don't care about those */ + return ((property in object) && is(object.constructor.prototype[property], 'undefined')); + }; + } + })(); + + + + + // _l tracks listeners for async tests, as well as tests that execute after the initial run + ModernizrProto._l = {}; + + /** + * Modernizr.on is a way to listen for the completion of async tests. Being + * asynchronous, they may not finish before your scripts run. As a result you + * will get a possibly false negative `undefined` value. + * + * @memberof Modernizr + * @name Modernizr.on + * @access public + * @function on + * @param {string} feature - String name of the feature detect + * @param {function} cb - Callback function returning a Boolean - true if feature is supported, false if not + * @example + * + * ```js + * Modernizr.on('flash', function( result ) { + * if (result) { + * // the browser has flash + * } else { + * // the browser does not have flash + * } + * }); + * ``` + */ + + ModernizrProto.on = function(feature, cb) { + // Create the list of listeners if it doesn't exist + if (!this._l[feature]) { + this._l[feature] = []; + } + + // Push this test on to the listener list + this._l[feature].push(cb); + + // If it's already been resolved, trigger it on next tick + if (Modernizr.hasOwnProperty(feature)) { + // Next Tick + setTimeout(function() { + Modernizr._trigger(feature, Modernizr[feature]); + }, 0); + } + }; + + /** + * _trigger is the private function used to signal test completion and run any + * callbacks registered through [Modernizr.on](#modernizr-on) + * + * @memberof Modernizr + * @name Modernizr._trigger + * @access private + * @function _trigger + * @param {string} feature - string name of the feature detect + * @param {function|boolean} [res] - A feature detection function, or the boolean = + * result of a feature detection function + */ + + ModernizrProto._trigger = function(feature, res) { + if (!this._l[feature]) { + return; + } + + var cbs = this._l[feature]; + + // Force async + setTimeout(function() { + var i, cb; + for (i = 0; i < cbs.length; i++) { + cb = cbs[i]; + cb(res); + } + }, 0); + + // Don't trigger these again + delete this._l[feature]; + }; + + /** + * addTest allows you to define your own feature detects that are not currently + * included in Modernizr (under the covers it's the exact same code Modernizr + * uses for its own [feature detections](https://github.com/Modernizr/Modernizr/tree/master/feature-detects)). Just like the offical detects, the result + * will be added onto the Modernizr object, as well as an appropriate className set on + * the html element when configured to do so + * + * @memberof Modernizr + * @name Modernizr.addTest + * @optionName Modernizr.addTest() + * @optionProp addTest + * @access public + * @function addTest + * @param {string|object} feature - The string name of the feature detect, or an + * object of feature detect names and test + * @param {function|boolean} test - Function returning true if feature is supported, + * false if not. Otherwise a boolean representing the results of a feature detection + * @example + * + * The most common way of creating your own feature detects is by calling + * `Modernizr.addTest` with a string (preferably just lowercase, without any + * punctuation), and a function you want executed that will return a boolean result + * + * ```js + * Modernizr.addTest('itsTuesday', function() { + * var d = new Date(); + * return d.getDay() === 2; + * }); + * ``` + * + * When the above is run, it will set Modernizr.itstuesday to `true` when it is tuesday, + * and to `false` every other day of the week. One thing to notice is that the names of + * feature detect functions are always lowercased when added to the Modernizr object. That + * means that `Modernizr.itsTuesday` will not exist, but `Modernizr.itstuesday` will. + * + * + * Since we only look at the returned value from any feature detection function, + * you do not need to actually use a function. For simple detections, just passing + * in a statement that will return a boolean value works just fine. + * + * ```js + * Modernizr.addTest('hasJquery', 'jQuery' in window); + * ``` + * + * Just like before, when the above runs `Modernizr.hasjquery` will be true if + * jQuery has been included on the page. Not using a function saves a small amount + * of overhead for the browser, as well as making your code much more readable. + * + * Finally, you also have the ability to pass in an object of feature names and + * their tests. This is handy if you want to add multiple detections in one go. + * The keys should always be a string, and the value can be either a boolean or + * function that returns a boolean. + * + * ```js + * var detects = { + * 'hasjquery': 'jQuery' in window, + * 'itstuesday': function() { + * var d = new Date(); + * return d.getDay() === 2; + * } + * } + * + * Modernizr.addTest(detects); + * ``` + * + * There is really no difference between the first methods and this one, it is + * just a convenience to let you write more readable code. + */ + + function addTest(feature, test) { + + if (typeof feature == 'object') { + for (var key in feature) { + if (hasOwnProp(feature, key)) { + addTest(key, feature[ key ]); + } + } + } else { + + feature = feature.toLowerCase(); + var featureNameSplit = feature.split('.'); + var last = Modernizr[featureNameSplit[0]]; + + // Again, we don't check for parent test existence. Get that right, though. + if (featureNameSplit.length == 2) { + last = last[featureNameSplit[1]]; + } + + if (typeof last != 'undefined') { + // we're going to quit if you're trying to overwrite an existing test + // if we were to allow it, we'd do this: + // var re = new RegExp("\\b(no-)?" + feature + "\\b"); + // docElement.className = docElement.className.replace( re, '' ); + // but, no rly, stuff 'em. + return Modernizr; + } + + test = typeof test == 'function' ? test() : test; + + // Set the value (this is the magic, right here). + if (featureNameSplit.length == 1) { + Modernizr[featureNameSplit[0]] = test; + } else { + // cast to a Boolean, if not one already + /* jshint -W053 */ + if (Modernizr[featureNameSplit[0]] && !(Modernizr[featureNameSplit[0]] instanceof Boolean)) { + Modernizr[featureNameSplit[0]] = new Boolean(Modernizr[featureNameSplit[0]]); + } + + Modernizr[featureNameSplit[0]][featureNameSplit[1]] = test; + } + + // Set a single class (either `feature` or `no-feature`) + /* jshint -W041 */ + setClasses([(!!test && test != false ? '' : 'no-') + featureNameSplit.join('-')]); + /* jshint +W041 */ + + // Trigger the event + Modernizr._trigger(feature, test); + } + + return Modernizr; // allow chaining. + } + + // After all the tests are run, add self to the Modernizr prototype + Modernizr._q.push(function() { + ModernizrProto.addTest = addTest; + }); + + + + + /** + * fnBind is a super small [bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) polyfill. + * + * @access private + * @function fnBind + * @param {function} fn - a function you want to change `this` reference to + * @param {object} that - the `this` you want to call the function with + * @returns {function} The wrapped version of the supplied function + */ + + function fnBind(fn, that) { + return function() { + return fn.apply(that, arguments); + }; + } + + ; + +/** + * @optionName html5printshiv + * @optionProp html5printshiv + */ + + // Take the html5 variable out of the html5shiv scope so we can return it. + var html5; + if (!isSVG) { + + /** + * @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed + */ + ;(function(window, document) { + /*jshint evil:true */ + /** version */ + var version = '3.7.3'; + + /** Preset options */ + var options = window.html5 || {}; + + /** Used to skip problem elements */ + var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i; + + /** Not all elements can be cloned in IE **/ + var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i; + + /** Detect whether the browser supports default html5 styles */ + var supportsHtml5Styles; + + /** Name of the expando, to work with multiple documents or to re-shiv one document */ + var expando = '_html5shiv'; + + /** The id for the the documents expando */ + var expanID = 0; + + /** Cached data for each document */ + var expandoData = {}; + + /** Detect whether the browser supports unknown elements */ + var supportsUnknownElements; + + (function() { + try { + var a = document.createElement('a'); + a.innerHTML = ''; + //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles + supportsHtml5Styles = ('hidden' in a); + + supportsUnknownElements = a.childNodes.length == 1 || (function() { + // assign a false positive if unable to shiv + (document.createElement)('a'); + var frag = document.createDocumentFragment(); + return ( + typeof frag.cloneNode == 'undefined' || + typeof frag.createDocumentFragment == 'undefined' || + typeof frag.createElement == 'undefined' + ); + }()); + } catch(e) { + // assign a false positive if detection fails => unable to shiv + supportsHtml5Styles = true; + supportsUnknownElements = true; + } + + }()); + + /*--------------------------------------------------------------------------*/ + + /** + * Creates a style sheet with the given CSS text and adds it to the document. + * @private + * @param {Document} ownerDocument The document. + * @param {String} cssText The CSS text. + * @returns {StyleSheet} The style element. + */ + function addStyleSheet(ownerDocument, cssText) { + var p = ownerDocument.createElement('p'), + parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement; + + p.innerHTML = 'x'; + return parent.insertBefore(p.lastChild, parent.firstChild); + } + + /** + * Returns the value of `html5.elements` as an array. + * @private + * @returns {Array} An array of shived element node names. + */ + function getElements() { + var elements = html5.elements; + return typeof elements == 'string' ? elements.split(' ') : elements; + } + + /** + * Extends the built-in list of html5 elements + * @memberOf html5 + * @param {String|Array} newElements whitespace separated list or array of new element names to shiv + * @param {Document} ownerDocument The context document. + */ + function addElements(newElements, ownerDocument) { + var elements = html5.elements; + if(typeof elements != 'string'){ + elements = elements.join(' '); + } + if(typeof newElements != 'string'){ + newElements = newElements.join(' '); + } + html5.elements = elements +' '+ newElements; + shivDocument(ownerDocument); + } + + /** + * Returns the data associated to the given document + * @private + * @param {Document} ownerDocument The document. + * @returns {Object} An object of data. + */ + function getExpandoData(ownerDocument) { + var data = expandoData[ownerDocument[expando]]; + if (!data) { + data = {}; + expanID++; + ownerDocument[expando] = expanID; + expandoData[expanID] = data; + } + return data; + } + + /** + * returns a shived element for the given nodeName and document + * @memberOf html5 + * @param {String} nodeName name of the element + * @param {Document} ownerDocument The context document. + * @returns {Object} The shived element. + */ + function createElement(nodeName, ownerDocument, data){ + if (!ownerDocument) { + ownerDocument = document; + } + if(supportsUnknownElements){ + return ownerDocument.createElement(nodeName); + } + if (!data) { + data = getExpandoData(ownerDocument); + } + var node; + + if (data.cache[nodeName]) { + node = data.cache[nodeName].cloneNode(); + } else if (saveClones.test(nodeName)) { + node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode(); + } else { + node = data.createElem(nodeName); + } + + // Avoid adding some elements to fragments in IE < 9 because + // * Attributes like `name` or `type` cannot be set/changed once an element + // is inserted into a document/fragment + // * Link elements with `src` attributes that are inaccessible, as with + // a 403 response, will cause the tab/window to crash + // * Script elements appended to fragments will execute when their `src` + // or `text` property is set + return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node; + } + + /** + * returns a shived DocumentFragment for the given document + * @memberOf html5 + * @param {Document} ownerDocument The context document. + * @returns {Object} The shived DocumentFragment. + */ + function createDocumentFragment(ownerDocument, data){ + if (!ownerDocument) { + ownerDocument = document; + } + if(supportsUnknownElements){ + return ownerDocument.createDocumentFragment(); + } + data = data || getExpandoData(ownerDocument); + var clone = data.frag.cloneNode(), + i = 0, + elems = getElements(), + l = elems.length; + for(;i+~])(' + getElements().join('|') + ')(?=[[\\s,>+~#.:]|$)', 'gi'), + replacement = '$1' + shivNamespace + '\\:$2'; + + while (index--) { + pair = parts[index] = parts[index].split('}'); + pair[pair.length - 1] = pair[pair.length - 1].replace(reElements, replacement); + parts[index] = pair.join('}'); + } + return parts.join('{'); + } + + /** + * Removes the given wrappers, leaving the original elements. + * @private + * @params {Array} wrappers An array of printable wrappers. + */ + function removeWrappers(wrappers) { + var index = wrappers.length; + while (index--) { + wrappers[index].removeNode(); + } + } + + /*--------------------------------------------------------------------------*/ + + /** + * Shivs the given document for print. + * @memberOf html5 + * @param {Document} ownerDocument The document to shiv. + * @returns {Document} The shived document. + */ + function shivPrint(ownerDocument) { + var shivedSheet, + wrappers, + data = getExpandoData(ownerDocument), + namespaces = ownerDocument.namespaces, + ownerWindow = ownerDocument.parentWindow; + + if (!supportsShivableSheets || ownerDocument.printShived) { + return ownerDocument; + } + if (typeof namespaces[shivNamespace] == 'undefined') { + namespaces.add(shivNamespace); + } + + function removeSheet() { + clearTimeout(data._removeSheetTimer); + if (shivedSheet) { + shivedSheet.removeNode(true); + } + shivedSheet= null; + } + + ownerWindow.attachEvent('onbeforeprint', function() { + + removeSheet(); + + var imports, + length, + sheet, + collection = ownerDocument.styleSheets, + cssText = [], + index = collection.length, + sheets = Array(index); + + // convert styleSheets collection to an array + while (index--) { + sheets[index] = collection[index]; + } + // concat all style sheet CSS text + while ((sheet = sheets.pop())) { + // IE does not enforce a same origin policy for external style sheets... + // but has trouble with some dynamically created stylesheets + if (!sheet.disabled && reMedia.test(sheet.media)) { + + try { + imports = sheet.imports; + length = imports.length; + } catch(er){ + length = 0; + } + + for (index = 0; index < length; index++) { + sheets.push(imports[index]); + } + + try { + cssText.push(sheet.cssText); + } catch(er){} + } + } + + // wrap all HTML5 elements with printable elements and add the shived style sheet + cssText = shivCssText(cssText.reverse().join('')); + wrappers = addWrappers(ownerDocument); + shivedSheet = addStyleSheet(ownerDocument, cssText); + + }); + + ownerWindow.attachEvent('onafterprint', function() { + // remove wrappers, leaving the original elements, and remove the shived style sheet + removeWrappers(wrappers); + clearTimeout(data._removeSheetTimer); + data._removeSheetTimer = setTimeout(removeSheet, 500); + }); + + ownerDocument.printShived = true; + return ownerDocument; + } + + /*--------------------------------------------------------------------------*/ + + // expose API + html5.type += ' print'; + html5.shivPrint = shivPrint; + + // shiv for print + shivPrint(document); + + if(typeof module == 'object' && module.exports){ + module.exports = html5; + } + + }(typeof window !== "undefined" ? window : this, document)); + } + + ; + + + /** + * contains checks to see if a string contains another string + * + * @access private + * @function contains + * @param {string} str - The string we want to check for substrings + * @param {string} substr - The substring we want to search the first string for + * @returns {boolean} + */ + + function contains(str, substr) { + return !!~('' + str).indexOf(substr); + } + + ; + + /** + * createElement is a convenience wrapper around document.createElement. Since we + * use createElement all over the place, this allows for (slightly) smaller code + * as well as abstracting away issues with creating elements in contexts other than + * HTML documents (e.g. SVG documents). + * + * @access private + * @function createElement + * @returns {HTMLElement|SVGElement} An HTML or SVG element + */ + + function createElement() { + if (typeof document.createElement !== 'function') { + // This is the case in IE7, where the type of createElement is "object". + // For this reason, we cannot call apply() as Object is not a Function. + return document.createElement(arguments[0]); + } else if (isSVG) { + return document.createElementNS.call(document, 'http://www.w3.org/2000/svg', arguments[0]); + } else { + return document.createElement.apply(document, arguments); + } + } + + ; + + /** + * Create our "modernizr" element that we do most feature tests on. + * + * @access private + */ + + var modElem = { + elem: createElement('modernizr') + }; + + // Clean up this element + Modernizr._q.push(function() { + delete modElem.elem; + }); + + + + var mStyle = { + style: modElem.elem.style + }; + + // kill ref for gc, must happen before mod.elem is removed, so we unshift on to + // the front of the queue. + Modernizr._q.unshift(function() { + delete mStyle.style; + }); + + + + /** + * getBody returns the body of a document, or an element that can stand in for + * the body if a real body does not exist + * + * @access private + * @function getBody + * @returns {HTMLElement|SVGElement} Returns the real body of a document, or an + * artificially created element that stands in for the body + */ + + function getBody() { + // After page load injecting a fake body doesn't work so check if body exists + var body = document.body; + + if (!body) { + // Can't use the real body create a fake one. + body = createElement(isSVG ? 'svg' : 'body'); + body.fake = true; + } + + return body; + } + + ; + + /** + * injectElementWithStyles injects an element with style element and some CSS rules + * + * @access private + * @function injectElementWithStyles + * @param {string} rule - String representing a css rule + * @param {function} callback - A function that is used to test the injected element + * @param {number} [nodes] - An integer representing the number of additional nodes you want injected + * @param {string[]} [testnames] - An array of strings that are used as ids for the additional nodes + * @returns {boolean} + */ + + function injectElementWithStyles(rule, callback, nodes, testnames) { + var mod = 'modernizr'; + var style; + var ret; + var node; + var docOverflow; + var div = createElement('div'); + var body = getBody(); + + if (parseInt(nodes, 10)) { + // In order not to give false positives we create a node for each test + // This also allows the method to scale for unspecified uses + while (nodes--) { + node = createElement('div'); + node.id = testnames ? testnames[nodes] : mod + (nodes + 1); + div.appendChild(node); + } + } + + style = createElement('style'); + style.type = 'text/css'; + style.id = 's' + mod; + + // IE6 will false positive on some tests due to the style element inside the test div somehow interfering offsetHeight, so insert it into body or fakebody. + // Opera will act all quirky when injecting elements in documentElement when page is served as xml, needs fakebody too. #270 + (!body.fake ? div : body).appendChild(style); + body.appendChild(div); + + if (style.styleSheet) { + style.styleSheet.cssText = rule; + } else { + style.appendChild(document.createTextNode(rule)); + } + div.id = mod; + + if (body.fake) { + //avoid crashing IE8, if background image is used + body.style.background = ''; + //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible + body.style.overflow = 'hidden'; + docOverflow = docElement.style.overflow; + docElement.style.overflow = 'hidden'; + docElement.appendChild(body); + } + + ret = callback(div, rule); + // If this is done after page load we don't want to remove the body so check if body exists + if (body.fake) { + body.parentNode.removeChild(body); + docElement.style.overflow = docOverflow; + // Trigger layout so kinetic scrolling isn't disabled in iOS6+ + docElement.offsetHeight; + } else { + div.parentNode.removeChild(div); + } + + return !!ret; + + } + + ; + + /** + * domToCSS takes a camelCase string and converts it to kebab-case + * e.g. boxSizing -> box-sizing + * + * @access private + * @function domToCSS + * @param {string} name - String name of camelCase prop we want to convert + * @returns {string} The kebab-case version of the supplied name + */ + + function domToCSS(name) { + return name.replace(/([A-Z])/g, function(str, m1) { + return '-' + m1.toLowerCase(); + }).replace(/^ms-/, '-ms-'); + } + ; + + /** + * nativeTestProps allows for us to use native feature detection functionality if available. + * some prefixed form, or false, in the case of an unsupported rule + * + * @access private + * @function nativeTestProps + * @param {array} props - An array of property names + * @param {string} value - A string representing the value we want to check via @supports + * @returns {boolean|undefined} A boolean when @supports exists, undefined otherwise + */ + + // Accepts a list of property names and a single value + // Returns `undefined` if native detection not available + function nativeTestProps(props, value) { + var i = props.length; + // Start with the JS API: http://www.w3.org/TR/css3-conditional/#the-css-interface + if ('CSS' in window && 'supports' in window.CSS) { + // Try every prefixed variant of the property + while (i--) { + if (window.CSS.supports(domToCSS(props[i]), value)) { + return true; + } + } + return false; + } + // Otherwise fall back to at-rule (for Opera 12.x) + else if ('CSSSupportsRule' in window) { + // Build a condition string for every prefixed variant + var conditionText = []; + while (i--) { + conditionText.push('(' + domToCSS(props[i]) + ':' + value + ')'); + } + conditionText = conditionText.join(' or '); + return injectElementWithStyles('@supports (' + conditionText + ') { #modernizr { position: absolute; } }', function(node) { + return getComputedStyle(node, null).position == 'absolute'; + }); + } + return undefined; + } + ; + + /** + * cssToDOM takes a kebab-case string and converts it to camelCase + * e.g. box-sizing -> boxSizing + * + * @access private + * @function cssToDOM + * @param {string} name - String name of kebab-case prop we want to convert + * @returns {string} The camelCase version of the supplied name + */ + + function cssToDOM(name) { + return name.replace(/([a-z])-([a-z])/g, function(str, m1, m2) { + return m1 + m2.toUpperCase(); + }).replace(/^-/, ''); + } + ; + + // testProps is a generic CSS / DOM property test. + + // In testing support for a given CSS property, it's legit to test: + // `elem.style[styleName] !== undefined` + // If the property is supported it will return an empty string, + // if unsupported it will return undefined. + + // We'll take advantage of this quick test and skip setting a style + // on our modernizr element, but instead just testing undefined vs + // empty string. + + // Property names can be provided in either camelCase or kebab-case. + + function testProps(props, prefixed, value, skipValueTest) { + skipValueTest = is(skipValueTest, 'undefined') ? false : skipValueTest; + + // Try native detect first + if (!is(value, 'undefined')) { + var result = nativeTestProps(props, value); + if (!is(result, 'undefined')) { + return result; + } + } + + // Otherwise do it properly + var afterInit, i, propsLength, prop, before; + + // If we don't have a style element, that means we're running async or after + // the core tests, so we'll need to create our own elements to use + + // inside of an SVG element, in certain browsers, the `style` element is only + // defined for valid tags. Therefore, if `modernizr` does not have one, we + // fall back to a less used element and hope for the best. + var elems = ['modernizr', 'tspan']; + while (!mStyle.style) { + afterInit = true; + mStyle.modElem = createElement(elems.shift()); + mStyle.style = mStyle.modElem.style; + } + + // Delete the objects if we created them. + function cleanElems() { + if (afterInit) { + delete mStyle.style; + delete mStyle.modElem; + } + } + + propsLength = props.length; + for (i = 0; i < propsLength; i++) { + prop = props[i]; + before = mStyle.style[prop]; + + if (contains(prop, '-')) { + prop = cssToDOM(prop); + } + + if (mStyle.style[prop] !== undefined) { + + // If value to test has been passed in, do a set-and-check test. + // 0 (integer) is a valid property value, so check that `value` isn't + // undefined, rather than just checking it's truthy. + if (!skipValueTest && !is(value, 'undefined')) { + + // Needs a try catch block because of old IE. This is slow, but will + // be avoided in most cases because `skipValueTest` will be used. + try { + mStyle.style[prop] = value; + } catch (e) {} + + // If the property value has changed, we assume the value used is + // supported. If `value` is empty string, it'll fail here (because + // it hasn't changed), which matches how browsers have implemented + // CSS.supports() + if (mStyle.style[prop] != before) { + cleanElems(); + return prefixed == 'pfx' ? prop : true; + } + } + // Otherwise just return true, or the property name if this is a + // `prefixed()` call + else { + cleanElems(); + return prefixed == 'pfx' ? prop : true; + } + } + } + cleanElems(); + return false; + } + + ; + + /** + * testProp() investigates whether a given style property is recognized + * Property names can be provided in either camelCase or kebab-case. + * + * @memberof Modernizr + * @name Modernizr.testProp + * @access public + * @optionName Modernizr.testProp() + * @optionProp testProp + * @function testProp + * @param {string} prop - Name of the CSS property to check + * @param {string} [value] - Name of the CSS value to check + * @param {boolean} [useValue] - Whether or not to check the value if @supports isn't supported + * @returns {boolean} + * @example + * + * Just like [testAllProps](#modernizr-testallprops), only it does not check any vendor prefixed + * version of the string. + * + * Note that the property name must be provided in camelCase (e.g. boxSizing not box-sizing) + * + * ```js + * Modernizr.testProp('pointerEvents') // true + * ``` + * + * You can also provide a value as an optional second argument to check if a + * specific value is supported + * + * ```js + * Modernizr.testProp('pointerEvents', 'none') // true + * Modernizr.testProp('pointerEvents', 'penguin') // false + * ``` + */ + + var testProp = ModernizrProto.testProp = function(prop, value, useValue) { + return testProps([prop], undefined, value, useValue); + }; + + + /** + * testStyles injects an element with style element and some CSS rules + * + * @memberof Modernizr + * @name Modernizr.testStyles + * @optionName Modernizr.testStyles() + * @optionProp testStyles + * @access public + * @function testStyles + * @param {string} rule - String representing a css rule + * @param {function} callback - A function that is used to test the injected element + * @param {number} [nodes] - An integer representing the number of additional nodes you want injected + * @param {string[]} [testnames] - An array of strings that are used as ids for the additional nodes + * @returns {boolean} + * @example + * + * `Modernizr.testStyles` takes a CSS rule and injects it onto the current page + * along with (possibly multiple) DOM elements. This lets you check for features + * that can not be detected by simply checking the [IDL](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Interface_development_guide/IDL_interface_rules). + * + * ```js + * Modernizr.testStyles('#modernizr { width: 9px; color: papayawhip; }', function(elem, rule) { + * // elem is the first DOM node in the page (by default #modernizr) + * // rule is the first argument you supplied - the CSS rule in string form + * + * addTest('widthworks', elem.style.width === '9px') + * }); + * ``` + * + * If your test requires multiple nodes, you can include a third argument + * indicating how many additional div elements to include on the page. The + * additional nodes are injected as children of the `elem` that is returned as + * the first argument to the callback. + * + * ```js + * Modernizr.testStyles('#modernizr {width: 1px}; #modernizr2 {width: 2px}', function(elem) { + * document.getElementById('modernizr').style.width === '1px'; // true + * document.getElementById('modernizr2').style.width === '2px'; // true + * elem.firstChild === document.getElementById('modernizr2'); // true + * }, 1); + * ``` + * + * By default, all of the additional elements have an ID of `modernizr[n]`, where + * `n` is its index (e.g. the first additional, second overall is `#modernizr2`, + * the second additional is `#modernizr3`, etc.). + * If you want to have more meaningful IDs for your function, you can provide + * them as the fourth argument, as an array of strings + * + * ```js + * Modernizr.testStyles('#foo {width: 10px}; #bar {height: 20px}', function(elem) { + * elem.firstChild === document.getElementById('foo'); // true + * elem.lastChild === document.getElementById('bar'); // true + * }, 2, ['foo', 'bar']); + * ``` + * + */ + + var testStyles = ModernizrProto.testStyles = injectElementWithStyles; + +/*! +{ + "name": "@font-face", + "property": "fontface", + "authors": ["Diego Perini", "Mat Marquis"], + "tags": ["css"], + "knownBugs": [ + "False Positive: WebOS https://github.com/Modernizr/Modernizr/issues/342", + "False Postive: WP7 https://github.com/Modernizr/Modernizr/issues/538" + ], + "notes": [{ + "name": "@font-face detection routine by Diego Perini", + "href": "http://javascript.nwbox.com/CSSSupport/" + },{ + "name": "Filament Group @font-face compatibility research", + "href": "https://docs.google.com/presentation/d/1n4NyG4uPRjAA8zn_pSQ_Ket0RhcWC6QlZ6LMjKeECo0/edit#slide=id.p" + },{ + "name": "Filament Grunticon/@font-face device testing results", + "href": "https://docs.google.com/spreadsheet/ccc?key=0Ag5_yGvxpINRdHFYeUJPNnZMWUZKR2ItMEpRTXZPdUE#gid=0" + },{ + "name": "CSS fonts on Android", + "href": "https://stackoverflow.com/questions/3200069/css-fonts-on-android" + },{ + "name": "@font-face and Android", + "href": "http://archivist.incutio.com/viewlist/css-discuss/115960" + }] +} +!*/ + + var blacklist = (function() { + var ua = navigator.userAgent; + var wkvers = ua.match(/applewebkit\/([0-9]+)/gi) && parseFloat(RegExp.$1); + var webos = ua.match(/w(eb)?osbrowser/gi); + var wppre8 = ua.match(/windows phone/gi) && ua.match(/iemobile\/([0-9])+/gi) && parseFloat(RegExp.$1) >= 9; + var oldandroid = wkvers < 533 && ua.match(/android/gi); + return webos || oldandroid || wppre8; + }()); + if (blacklist) { + Modernizr.addTest('fontface', false); + } else { + testStyles('@font-face {font-family:"font";src:url("https://")}', function(node, rule) { + var style = document.getElementById('smodernizr'); + var sheet = style.sheet || style.styleSheet; + var cssText = sheet ? (sheet.cssRules && sheet.cssRules[0] ? sheet.cssRules[0].cssText : sheet.cssText || '') : ''; + var bool = /src/i.test(cssText) && cssText.indexOf(rule.split(' ')[0]) === 0; + Modernizr.addTest('fontface', bool); + }); + } +; + + /** + * If the browsers follow the spec, then they would expose vendor-specific style as: + * elem.style.WebkitBorderRadius + * instead of something like the following, which would be technically incorrect: + * elem.style.webkitBorderRadius + + * Webkit ghosts their properties in lowercase but Opera & Moz do not. + * Microsoft uses a lowercase `ms` instead of the correct `Ms` in IE8+ + * erik.eae.net/archives/2008/03/10/21.48.10/ + + * More here: github.com/Modernizr/Modernizr/issues/issue/21 + * + * @access private + * @returns {string} The string representing the vendor-specific style properties + */ + + var omPrefixes = 'Moz O ms Webkit'; + + + var cssomPrefixes = (ModernizrProto._config.usePrefixes ? omPrefixes.split(' ') : []); + ModernizrProto._cssomPrefixes = cssomPrefixes; + + + /** + * List of JavaScript DOM values used for tests + * + * @memberof Modernizr + * @name Modernizr._domPrefixes + * @optionName Modernizr._domPrefixes + * @optionProp domPrefixes + * @access public + * @example + * + * Modernizr._domPrefixes is exactly the same as [_prefixes](#modernizr-_prefixes), but rather + * than kebab-case properties, all properties are their Capitalized variant + * + * ```js + * Modernizr._domPrefixes === [ "Moz", "O", "ms", "Webkit" ]; + * ``` + */ + + var domPrefixes = (ModernizrProto._config.usePrefixes ? omPrefixes.toLowerCase().split(' ') : []); + ModernizrProto._domPrefixes = domPrefixes; + + + /** + * testDOMProps is a generic DOM property test; if a browser supports + * a certain property, it won't return undefined for it. + * + * @access private + * @function testDOMProps + * @param {array.} props - An array of properties to test for + * @param {object} obj - An object or Element you want to use to test the parameters again + * @param {boolean|object} elem - An Element to bind the property lookup again. Use `false` to prevent the check + */ + function testDOMProps(props, obj, elem) { + var item; + + for (var i in props) { + if (props[i] in obj) { + + // return the property name as a string + if (elem === false) { + return props[i]; + } + + item = obj[props[i]]; + + // let's bind a function + if (is(item, 'function')) { + // bind to obj unless overriden + return fnBind(item, elem || obj); + } + + // return the unbound function or obj or value + return item; + } + } + return false; + } + + ; + + /** + * testPropsAll tests a list of DOM properties we want to check against. + * We specify literally ALL possible (known and/or likely) properties on + * the element including the non-vendor prefixed one, for forward- + * compatibility. + * + * @access private + * @function testPropsAll + * @param {string} prop - A string of the property to test for + * @param {string|object} [prefixed] - An object to check the prefixed properties on. Use a string to skip + * @param {HTMLElement|SVGElement} [elem] - An element used to test the property and value against + * @param {string} [value] - A string of a css value + * @param {boolean} [skipValueTest] - An boolean representing if you want to test if value sticks when set + */ + function testPropsAll(prop, prefixed, elem, value, skipValueTest) { + + var ucProp = prop.charAt(0).toUpperCase() + prop.slice(1), + props = (prop + ' ' + cssomPrefixes.join(ucProp + ' ') + ucProp).split(' '); + + // did they call .prefixed('boxSizing') or are we just testing a prop? + if (is(prefixed, 'string') || is(prefixed, 'undefined')) { + return testProps(props, prefixed, value, skipValueTest); + + // otherwise, they called .prefixed('requestAnimationFrame', window[, elem]) + } else { + props = (prop + ' ' + (domPrefixes).join(ucProp + ' ') + ucProp).split(' '); + return testDOMProps(props, prefixed, elem); + } + } + + // Modernizr.testAllProps() investigates whether a given style property, + // or any of its vendor-prefixed variants, is recognized + // + // Note that the property names must be provided in the camelCase variant. + // Modernizr.testAllProps('boxSizing') + ModernizrProto.testAllProps = testPropsAll; + + + + /** + * testAllProps determines whether a given CSS property is supported in the browser + * + * @memberof Modernizr + * @name Modernizr.testAllProps + * @optionName Modernizr.testAllProps() + * @optionProp testAllProps + * @access public + * @function testAllProps + * @param {string} prop - String naming the property to test (either camelCase or kebab-case) + * @param {string} [value] - String of the value to test + * @param {boolean} [skipValueTest=false] - Whether to skip testing that the value is supported when using non-native detection + * @example + * + * testAllProps determines whether a given CSS property, in some prefixed form, + * is supported by the browser. + * + * ```js + * testAllProps('boxSizing') // true + * ``` + * + * It can optionally be given a CSS value in string form to test if a property + * value is valid + * + * ```js + * testAllProps('display', 'block') // true + * testAllProps('display', 'penguin') // false + * ``` + * + * A boolean can be passed as a third parameter to skip the value check when + * native detection (@supports) isn't available. + * + * ```js + * testAllProps('shapeOutside', 'content-box', true); + * ``` + */ + + function testAllProps(prop, value, skipValueTest) { + return testPropsAll(prop, undefined, undefined, value, skipValueTest); + } + ModernizrProto.testAllProps = testAllProps; + +/*! +{ + "name": "CSS Supports", + "property": "supports", + "caniuse": "css-featurequeries", + "tags": ["css"], + "builderAliases": ["css_supports"], + "notes": [{ + "name": "W3 Spec", + "href": "http://dev.w3.org/csswg/css3-conditional/#at-supports" + },{ + "name": "Related Github Issue", + "href": "github.com/Modernizr/Modernizr/issues/648" + },{ + "name": "W3 Info", + "href": "http://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface" + }] +} +!*/ + + var newSyntax = 'CSS' in window && 'supports' in window.CSS; + var oldSyntax = 'supportsCSS' in window; + Modernizr.addTest('supports', newSyntax || oldSyntax); + +/*! +{ + "name": "CSS Transforms 3D", + "property": "csstransforms3d", + "caniuse": "transforms3d", + "tags": ["css"], + "warnings": [ + "Chrome may occassionally fail this test on some systems; more info: https://code.google.com/p/chromium/issues/detail?id=129004" + ] +} +!*/ + + Modernizr.addTest('csstransforms3d', function() { + var ret = !!testAllProps('perspective', '1px', true); + var usePrefix = Modernizr._config.usePrefixes; + + // Webkit's 3D transforms are passed off to the browser's own graphics renderer. + // It works fine in Safari on Leopard and Snow Leopard, but not in Chrome in + // some conditions. As a result, Webkit typically recognizes the syntax but + // will sometimes throw a false positive, thus we must do a more thorough check: + if (ret && (!usePrefix || 'webkitPerspective' in docElement.style)) { + var mq; + var defaultStyle = '#modernizr{width:0;height:0}'; + // Use CSS Conditional Rules if available + if (Modernizr.supports) { + mq = '@supports (perspective: 1px)'; + } else { + // Otherwise, Webkit allows this media query to succeed only if the feature is enabled. + // `@media (transform-3d),(-webkit-transform-3d){ ... }` + mq = '@media (transform-3d)'; + if (usePrefix) { + mq += ',(-webkit-transform-3d)'; + } + } + + mq += '{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}'; + + testStyles(defaultStyle + mq, function(elem) { + ret = elem.offsetWidth === 7 && elem.offsetHeight === 18; + }); + } + + return ret; + }); + +/*! +{ + "name": "CSS :checked pseudo-selector", + "caniuse": "css-sel3", + "property": "checked", + "tags": ["css"], + "notes": [{ + "name": "Related Github Issue", + "href": "https://github.com/Modernizr/Modernizr/pull/879" + }] +} +!*/ + + Modernizr.addTest('checked', function() { + return testStyles('#modernizr {position:absolute} #modernizr input {margin-left:10px} #modernizr :checked {margin-left:20px;display:block}', function(elem) { + var cb = createElement('input'); + cb.setAttribute('type', 'checkbox'); + cb.setAttribute('checked', 'checked'); + elem.appendChild(cb); + return cb.offsetLeft === 20; + }); + }); + +/*! +{ + "name": "CSS :target pseudo-class", + "caniuse": "css-sel3", + "property": "target", + "tags": ["css"], + "notes": [{ + "name": "MDN documentation", + "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/:target" + }], + "authors": ["@zachleat"], + "warnings": ["Opera Mini supports :target but doesn't update the hash for anchor links."] +} +!*/ +/* DOC +Detects support for the ':target' CSS pseudo-class. +*/ + + // querySelector + Modernizr.addTest('target', function() { + var doc = window.document; + if (!('querySelectorAll' in doc)) { + return false; + } + + try { + doc.querySelectorAll(':target'); + return true; + } catch (e) { + return false; + } + }); + +/*! +{ + "name": "ES5 String.prototype.contains", + "property": "contains", + "authors": ["Robert Kowalski"], + "tags": ["es6"] +} +!*/ +/* DOC +Check if browser implements ECMAScript 6 `String.prototype.contains` per specification. +*/ + + Modernizr.addTest('contains', is(String.prototype.contains, 'function')); + + + // Run each test + testRunner(); + + // Remove the "no-js" class if it exists + setClasses(classes); + + delete ModernizrProto.addTest; + delete ModernizrProto.addAsyncTest; + + // Run the things that are supposed to run after the tests + for (var i = 0; i < Modernizr._q.length; i++) { + Modernizr._q[i](); + } + + // Leak Modernizr namespace + window.Modernizr = Modernizr; + + +; + +})(window, document); \ No newline at end of file diff --git a/material/assets/stylesheets/application-28991d4685.css b/material/assets/stylesheets/application-28991d4685.css new file mode 100644 index 000000000..d83fb0ca3 --- /dev/null +++ b/material/assets/stylesheets/application-28991d4685.css @@ -0,0 +1 @@ +.md-content--typeset .footnote-backref,.md-icon{font-family:Material Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.md-icon--back:before{content:"arrow_back"}.md-icon--forward:before{content:"arrow_forward"}.md-icon--close:before{content:"close"}.md-icon--menu:before{content:"menu"}.md-icon--search:before{content:"search"}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}html{font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}.md-content--typeset .footnote,a,abbr,acronym,address,article,aside,audio,b,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0}table{border-collapse:collapse;border-spacing:0}td,th{text-align:left;font-weight:400;vertical-align:top}button{padding:0;background:transparent;font-size:inherit}button,input{outline:0;border:0}input{-webkit-appearance:none;-moz-appearance:none;appearance:none}a{text-decoration:none;color:inherit}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}body,kbd{font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;-webkit-font-feature-settings:"kern","onum","liga";font-feature-settings:"kern","onum","liga";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.no-fontface body,.no-fontface kbd{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}code,pre{font-family:Roboto Mono,Courier New,Courier,monospace}.no-fontface code,.no-fontface pre{font-family:Courier New,Courier,monospace}.md-content--typeset{font-size:1.6rem;line-height:1.6}.md-content--typeset p{margin:1.25em 0}.md-content--typeset h1{font-size:3.125rem;font-weight:300;line-height:1.3;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h2{margin-top:4rem;font-size:2.5rem;font-weight:300;line-height:1.4;letter-spacing:-.01em}.md-content--typeset h3{margin-top:3.2rem;font-size:2rem;font-weight:400;line-height:1.5;letter-spacing:-.01em}.md-content--typeset h2+h3{margin-top:1.6rem}.md-content--typeset h4{margin-top:1.6rem;font-size:1.6rem;font-weight:700;letter-spacing:-.01em}.md-content--typeset h5,.md-content--typeset h6{margin-top:1.6rem;font-size:1.28rem;font-weight:700;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h5{text-transform:uppercase}.md-content--typeset a{color:#3f51b5}.md-content--typeset a,.md-content--typeset a:before{-webkit-transition:color .125s;transition:color .125s}.md-content--typeset a:active,.md-content--typeset a:hover{color:#536dfe}.md-content--typeset code{padding:.1rem .4rem;font-size:85%;font-weight:400;word-break:break-word;background:#f7f7f7;color:#37474f}.md-content--typeset pre{padding:1rem 1.2rem;overflow-x:scroll;font-size:85%;line-height:1.4;background:#f7f7f7;color:#37474f}.md-content--typeset kbd{display:inline-block;padding:.4rem .5rem .5rem;vertical-align:.1rem;font-size:85%;line-height:1rem;word-break:break-word;background-color:#fcfcfc;color:#555;border:.1rem solid #ccc;border-bottom-color:#bbb;border-radius:.3rem;box-shadow:inset 0 -.1rem 0 #bbb}.md-content--typeset .footnote,.md-content--typeset small{font-size:smaller;color:rgba(0,0,0,.54)}.md-content--typeset sub,.md-content--typeset sup{margin-left:.1rem}.md-content--typeset hr{margin:2.4rem 0;border-bottom:.1rem dotted rgba(0,0,0,.26)}.md-content--typeset blockquote{padding-left:1.2rem;border-left:.4rem solid rgba(0,0,0,.26);color:rgba(0,0,0,.54)}.md-content--typeset ul{list-style-type:disc}.md-content--typeset ol ol{list-style-type:lower-alpha}.md-content--typeset ol ol ol{list-style-type:lower-roman}.md-content--typeset ol,.md-content--typeset ul{margin-left:1rem}.md-content--typeset ol li,.md-content--typeset ul li{margin-bottom:1rem;margin-left:2rem}.md-content--typeset ol li:last-child,.md-content--typeset ul li:last-child{margin-bottom:0}.md-content--typeset ol li ol,.md-content--typeset ol li ul,.md-content--typeset ul li ol,.md-content--typeset ul li ul{padding-top:1rem;margin-bottom:1rem;margin-left:1rem}html{height:100%}body{position:relative;min-height:100%}body.md-js__body--locked{height:100%;overflow:hidden}hr{display:block;height:1px;padding:0;border:0}.md-grid{max-width:120rem;margin-left:auto;margin-right:auto}.md-container,.md-main{overflow:auto}.md-main{margin-top:5.6rem}.md-main__inner{margin-top:3rem;margin-bottom:9.2rem;overflow:auto}.md-toggle{display:none!important}.md-overlay{position:fixed;top:0;width:0;height:0;z-index:2;opacity:0;background:rgba(0,0,0,.54);-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}.md-flex{display:table}.md-flex__cell{display:table-cell;vertical-align:top}.md-flex__cell--shrink{width:1%}.md-flex__cell--stretch{display:table;table-layout:fixed;width:100%}.md-flex__ellipsis{display:table-cell;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.md-content__inner{margin:2.4rem 1.6rem}.md-content__copyright{display:block}.md-header{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);position:fixed;top:0;left:0;right:0;height:5.6rem;z-index:1;background:#3f51b5;color:#fff}.md-header-nav{padding:.4rem}.md-header-nav__icon{display:inline-block;position:relative;z-index:1;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-header-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-header-nav__title{padding:0 2rem;font-size:1.8rem;line-height:4.8rem}.md-footer{position:absolute;width:100%;bottom:0}.md-footer-pagination{background:rgba(0,0,0,.87);color:#fff}.md-footer-nav{overflow:auto;padding:.4rem}.md-footer-nav__link{padding-top:2.8rem;padding-bottom:.8rem}.md-footer-nav__link--prev{float:left;width:25%}.md-footer-nav__link--next{float:right;width:75%;text-align:right}.md-footer-nav__icon{display:inline-block;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-footer-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-footer-nav__title{position:relative;padding:0 .4rem;font-size:1.8rem;line-height:4.8rem}.md-footer-nav__direction{position:absolute;left:0;right:0;padding:0 .4rem;margin-top:-2rem;font-size:1.5rem;color:hsla(0,0%,100%,.7)}.md-nav,.md-nav h3{font-size:1.28rem;line-height:1.2}.md-nav--toc{border-left:.4rem solid #3f51b5}.md-nav__list{list-style:none}.md-nav__list .md-nav__list{margin-left:1.2rem}.md-nav__toggle~.md-nav__list{max-height:0;overflow:hidden}.md-nav__toggle:checked~.md-nav__list{max-height:100%}.md-nav__item{margin:.8rem 0 0;line-height:1.6rem}.md-nav__link{display:block;overflow:hidden;text-overflow:ellipsis;-webkit-transition:color .125s;transition:color .125s}.md-nav__link--marked{color:rgba(0,0,0,.54)}.md-nav__link--active,.md-nav__link:active,.md-nav__link:hover{color:#536dfe}.md-search{position:relative}.md-search__overlay{display:none}.md-search__inner{padding:.8rem .8rem 0}.md-search__form{position:relative;text-align:right;border-radius:.2rem}.md-search__icon{position:absolute;top:.8rem;left:1.2rem;font-size:2.4rem;-webkit-transition:color .25s;transition:color .25s;cursor:pointer}.md-search__input{padding:0 .8rem 0 6.4rem;border-radius:.2rem}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:rgba(0,0,0,.54)}.md-sidebar{position:relative;width:24.2rem;float:left;overflow:visible}.md-sidebar.md-js__sidebar--locked{position:fixed;top:5.6rem}.md-sidebar--secondary{display:none}.md-sidebar__scrollwrap{margin:2.4rem .4rem;overflow-y:scroll;-webkit-overflow-scrolling:touch}.js .md-sidebar__scrollwrap{position:absolute;top:0;left:0;bottom:0;right:0}.md-sidebar__scrollwrap::-webkit-scrollbar{width:.4rem;height:.4rem}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb{background:rgba(0,0,0,.26)}.md-sidebar__inner{padding:1.2rem}.admonition{position:relative;padding:.8rem 1.6rem;margin:2rem 0;background:rgba(68,138,255,.05);border-left:3.2rem solid #448aff;border-radius:.2rem}.admonition:before{content:"edit";display:block;position:absolute;top:.2rem;left:-2.6rem;float:left;font-family:Material Icons;font-weight:400;font-size:2rem;vertical-align:-.1em;color:#fff}.admonition-title{font-size:1.28rem;font-weight:700;line-height:2rem;text-transform:uppercase;color:#2979ff}html .admonition-title{margin-bottom:1.6rem}html .admonition-title+*{margin-top:1.6rem}.admonition :first-child{margin-top:0}.admonition :last-child{margin-bottom:0}.admonition.idea,.admonition.tip{background:rgba(0,191,165,.05);border-color:#00bfa5}.admonition.idea:before,.admonition.tip:before{content:"whatshot"}.admonition.idea .admonition-title,.admonition.tip .admonition-title{color:#00bfa5}.admonition.check,.admonition.success{background:rgba(0,230,118,.05);border-color:#00e676}.admonition.check:before,.admonition.success:before{content:"done"}.admonition.check .admonition-title,.admonition.success .admonition-title{color:#00e676}.admonition.warn,.admonition.warning{background:rgba(255,145,0,.05);border-color:#ff9100}.admonition.warn:before,.admonition.warning:before{content:"warning"}.admonition.warn .admonition-title,.admonition.warning .admonition-title{color:#ff9100}.admonition.fail,.admonition.failure{background:rgba(255,82,82,.05);border-color:#ff5252}.admonition.fail:before,.admonition.failure:before{content:"clear"}.admonition.fail .admonition-title,.admonition.failure .admonition-title{color:#ff5252}.admonition.danger,.admonition.fatal{background:rgba(255,23,68,.05);border-color:#ff1744}.admonition.danger:before,.admonition.fatal:before{content:"flash_on"}.admonition.danger .admonition-title,.admonition.fatal .admonition-title{color:#ff1744}.admonition.bug,.admonition.error{background:rgba(245,0,87,.05);border-color:#f50057}.admonition.bug:before,.admonition.error:before{content:"bug_report"}.admonition.bug .admonition-title,.admonition.error .admonition-title{color:#f50057}.code .err,.codehilite .err{color:#a61717}.code .o,.codehilite .o{color:inherit}.code .ge,.codehilite .ge{color:#000}.code .gr,.codehilite .gr{color:#a00}.code .gh,.codehilite .gh{color:#999}.code .go,.codehilite .go{color:#888}.code .gp,.codehilite .gp{color:#555}.code .gs,.codehilite .gs{color:inherit}.code .gu,.codehilite .gu{color:#aaa}.code .gt,.codehilite .gt{color:#a00}.code .k,.code .kc,.code .kd,.code .kn,.code .kp,.codehilite .k,.codehilite .kc,.codehilite .kd,.codehilite .kn,.codehilite .kp{color:#a71d5d}.code .kr,.code .kt,.codehilite .kr,.codehilite .kt{color:#0086b3}.code .c,.code .cm,.codehilite .c,.codehilite .cm{color:#969896}.code .cp,.codehilite .cp{color:#666}.code .c1,.code .cs,.codehilite .c1,.codehilite .cs{color:#969896}.code .bp,.code .na,.code .nb,.code .nc,.code .nd,.code .ne,.code .nf,.code .ni,.code .nl,.code .nn,.code .no,.code .nt,.code .nv,.code .vc,.code .vg,.code .vi,.codehilite .bp,.codehilite .na,.codehilite .nb,.codehilite .nc,.codehilite .nd,.codehilite .ne,.codehilite .nf,.codehilite .ni,.codehilite .nl,.codehilite .nn,.codehilite .no,.codehilite .nt,.codehilite .nv,.codehilite .vc,.codehilite .vg,.codehilite .vi{color:#795da3}.code .ow,.codehilite .ow{color:inherit}.code .il,.code .m,.code .mf,.code .mh,.code .mi,.code .mo,.codehilite .il,.codehilite .m,.codehilite .mf,.codehilite .mh,.codehilite .mi,.codehilite .mo{color:#0086b3}.code .s,.code .s2,.code .sb,.code .sc,.code .sd,.code .se,.code .sh,.code .si,.code .sx,.codehilite .s,.codehilite .s2,.codehilite .sb,.codehilite .sc,.codehilite .sd,.codehilite .se,.codehilite .sh,.codehilite .si,.codehilite .sx{color:#183691}.code .sr,.codehilite .sr{color:#009926}.code .s1,.codehilite .s1{color:#d01040}.code .ss,.codehilite .ss{color:#990073}.code .gd,.codehilite .gd{color:#000;background-color:#fdd}.code .gi,.codehilite .gi{color:#000;background-color:#dfd}.code .w,.codehilite .w{color:transparent}.md-content--typeset .footnote>ol{margin-left:0}.md-content--typeset .footnote>ol>li:hover .footnote-backref,.md-content--typeset .footnote>ol>li:target .footnote-backref{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.md-content--typeset .footnote>ol>li:hover .footnote-backref:hover,.md-content--typeset .footnote>ol>li:target .footnote-backref{color:#536dfe}.md-content--typeset .footnote-ref:before{position:absolute;content:" ";pointer-events:none;padding-top:8.4rem;margin-top:-8.4rem}.md-content--typeset .footnote-backref{position:absolute;font-size:2rem;vertical-align:middle;opacity:0;color:rgba(0,0,0,.26);-webkit-transform:translate3d(.5rem,0,0);transform:translate3d(.5rem,0,0);-webkit-transition:opacity .125s .125s,color .25s,-webkit-transform .25s .125s;transition:opacity .125s .125s,color .25s,-webkit-transform .25s .125s;transition:opacity .125s .125s,transform .25s .125s,color .25s;transition:opacity .125s .125s,transform .25s .125s,color .25s,-webkit-transform .25s .125s}.md-content--typeset .footnote-backref:first-letter{font-size:0}.md-content--typeset .footnote-backref:after{content:"keyboard_return"}.md-content--typeset .headerlink{display:inline-block;margin-left:1rem;opacity:0;color:rgba(0,0,0,.26);-webkit-transform:translate3d(0,.5rem,0);transform:translate3d(0,.5rem,0);-webkit-transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s,-webkit-transform .25s .25s}.md-content--typeset [id]:hover .headerlink,.md-content--typeset [id]:target .headerlink{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.md-content--typeset [id]:hover .headerlink:hover,.md-content--typeset [id]:target .headerlink{color:#536dfe}.md-content--typeset h1[id]:before{content:" ";display:block;padding-top:11rem;margin-top:-11rem}.md-content--typeset h2[id]:before{content:" ";display:block;padding-top:8.2rem;margin-top:-8.2rem}.md-content--typeset h3[id]:before{content:" ";display:block;padding-top:8.4rem;margin-top:-8.4rem}.md-content--typeset h4[id]:before{content:" ";display:block;padding-top:8.6rem;margin-top:-8.6rem}.md-content--typeset h5[id]:before,.md-content--typeset h6[id]:before{content:" ";display:block;padding-top:9rem;margin-top:-9rem}.md-search__suggest{background:#fff;border-radius:0 0 .3rem .3rem;color:#000;text-align:left;border-top:.1rem solid rgba(0,0,0,.07);display:none}.md-search__input:focus~.md-search__suggest{display:block}.md-search__input:focus{border-radius:.3rem .3rem 0 0}@media only screen and (max-width:74.9375em){#md-toggle-drawer:checked~.md-overlay{width:100%;height:100%;opacity:1;-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.md-sidebar--primary{position:fixed;top:0;width:24.2em;height:100%;z-index:3;background:#fff;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),-webkit-transform .25s cubic-bezier(.4,0,.2,1);-webkit-transform:translate3d(-24.2em,0,0);transform:translate3d(-24.2em,0,0)}.no-csstransforms3d .md-sidebar--primary{display:none}#md-toggle-drawer:checked~.md-container .md-sidebar--primary{-webkit-transform:translateZ(0);transform:translateZ(0)}.no-csstransforms3d #md-toggle-drawer:checked~.md-container .md-sidebar--primary{display:block}.md-sidebar--primary .md-sidebar__scrollwrap{margin:0}}@media only screen and (min-width:60em){.md-content{margin-right:24.2rem}.md-sidebar--secondary{display:block;float:right}.md-sidebar--secondary.md-js__sidebar--locked{margin-left:100%;-webkit-transform:translate(-100%);transform:translate(-100%)}}@media only screen and (min-width:75em){.md-content{margin-left:24.2rem}.md-content__inner{margin:2.4rem}.md-sidebar__inner{border-right:.1rem solid rgba(0,0,0,.07)}}@media only screen and (min-width:45em){.md-header-nav__icon.md-icon--search{display:none}.md-search__inner{padding:.4rem}.md-search__input{width:23rem;height:4rem;padding-left:4.8rem;font-size:1.6rem;background:hsla(0,0%,100%,.12);color:#fff;-webkit-transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1);transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1)}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input:focus{background:#fff;color:rgba(0,0,0,.87);width:40rem}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::placeholder{color:rgba(0,0,0,.54)}}@media only screen and (min-width:30em){.md-footer-nav__link{width:50%}}@media only screen and (max-width:29.9375em){.md-footer-nav__link--prev .md-footer-nav__title{display:none}}@media only screen and (max-width:44.9375em){.md-search__overlay{display:block;position:absolute;top:.4rem;left:.4rem;width:4rem;height:4rem;overflow:hidden;z-index:0;opacity:0;background:#eee;border-radius:100%;transform-orgin:center;-webkit-transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s,-webkit-transform .3s .1s}#md-toggle-search:checked~.md-header .md-search__overlay{z-index:1;opacity:1;-webkit-transform:scale(40);transform:scale(40);-webkit-transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,transform .4s;transition:opacity .1s,transform .4s,-webkit-transform .4s}.md-search__form{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.md-search__icon{top:1.2rem}.md-search__icon:before{content:"arrow_back"}.md-search__input{width:100%;height:4.8rem;font-size:1.8rem}.md-search__inner{position:fixed;top:0;left:100%;width:100%;height:56px;opacity:0;z-index:2;-webkit-transform:translate3d(5%,0,0);transform:translate3d(5%,0,0);-webkit-transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s;transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1)}#md-toggle-search:checked~.md-header .md-search__inner{-webkit-transform:translateZ(0);transform:translateZ(0);left:0;opacity:1}.md-search__suggest{position:relative;z-index:2}}@media only screen and (min-width:60em) and (min-width:75em){.md-sidebar--secondary.md-js__sidebar--locked{margin-left:120rem}} \ No newline at end of file diff --git a/material/assets/stylesheets/application-8e9e9d1cff.css b/material/assets/stylesheets/application-8e9e9d1cff.css deleted file mode 100644 index 399eabcbb..000000000 --- a/material/assets/stylesheets/application-8e9e9d1cff.css +++ /dev/null @@ -1 +0,0 @@ -.md-icon{font-family:Material Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.md-icon--back:before{content:"arrow_back"}.md-icon--forward:before{content:"arrow_forward"}.md-icon--close:before{content:"close"}.md-icon--menu:before{content:"menu"}.md-icon--search:before{content:"search"}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}html{font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}a,abbr,acronym,address,article,aside,audio,b,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0}table{border-collapse:collapse;border-spacing:0}td,th{text-align:left;font-weight:400;vertical-align:top}button{padding:0;background:transparent;font-size:inherit}button,input{outline:0;border:0}input{-webkit-appearance:none;-moz-appearance:none;appearance:none}a{text-decoration:none;color:inherit}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}body,kbd{font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;-webkit-font-feature-settings:"kern","onum","liga";font-feature-settings:"kern","onum","liga";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.no-fontface body,.no-fontface kbd{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}code,pre{font-family:Roboto Mono,Courier New,Courier,monospace}.no-fontface code,.no-fontface pre{font-family:Courier New,Courier,monospace}.md-content--typeset{font-size:1.6rem;line-height:1.6}.md-content--typeset p{margin:2rem 0}.md-content--typeset h1{font-size:3.125rem;font-weight:300;line-height:1.3;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h1:before{content:" ";display:block;padding-top:11rem;margin-top:-11rem}.md-content--typeset h2{margin-top:4rem;font-size:2.5rem;font-weight:300;line-height:1.4;letter-spacing:-.01em}.md-content--typeset h2:before{content:" ";display:block;padding-top:8.2rem;margin-top:-8.2rem}.md-content--typeset h3{margin-top:3.2rem;font-size:2rem;font-weight:400;line-height:1.5;letter-spacing:-.01em}.md-content--typeset h3:before{content:" ";display:block;padding-top:8.4rem;margin-top:-8.4rem}.md-content--typeset h2+h3{margin-top:1.6rem}.md-content--typeset h4{margin-top:1.6rem;font-size:1.6rem;font-weight:700;letter-spacing:-.01em}.md-content--typeset h4:before{content:" ";display:block;padding-top:8.8rem;margin-top:-8.8rem}.md-content--typeset h5,.md-content--typeset h6{margin-top:1.6rem;font-size:1.28rem;font-weight:700;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h5:before,.md-content--typeset h6:before{content:" ";display:block;padding-top:9rem;margin-top:-9rem}.md-content--typeset h5{text-transform:uppercase}.md-content--typeset a{color:#3f51b5;-webkit-transition:color .125s;transition:color .125s}.md-content--typeset a:active,.md-content--typeset a:hover{color:#536dfe}.md-content--typeset code{padding:.1rem .4rem;font-size:85%;font-weight:400;word-break:break-word;background:#f7f7f7;color:#37474f}.md-content--typeset pre{padding:1rem 1.2rem;overflow-x:scroll;font-size:85%;line-height:1.4;background:#f7f7f7;color:#37474f}.md-content--typeset kbd{display:inline-block;padding:.4rem .5rem .5rem;vertical-align:.1rem;font-size:85%;line-height:1rem;word-break:break-word;background-color:#fcfcfc;color:#555;border:.1rem solid #ccc;border-bottom-color:#bbb;border-radius:.3rem;box-shadow:inset 0 -.1rem 0 #bbb}.md-content--typeset small{color:rgba(0,0,0,.54)}.md-content--typeset hr{margin:2.4rem 0;border-bottom:.1rem dotted rgba(0,0,0,.26)}.md-content--typeset blockquote{padding-left:1.2rem;border-left:.4rem solid rgba(0,0,0,.26);color:rgba(0,0,0,.54)}.md-content--typeset ul{list-style-type:disc}.md-content--typeset ol ol{list-style-type:lower-alpha}.md-content--typeset ol ol ol{list-style-type:lower-roman}.md-content--typeset ol,.md-content--typeset ul{margin-left:1rem}.md-content--typeset ol li,.md-content--typeset ul li{margin-bottom:1rem;margin-left:2rem}.md-content--typeset ol li:last-child,.md-content--typeset ul li:last-child{margin-bottom:0}.md-content--typeset ol li ol,.md-content--typeset ol li ul,.md-content--typeset ul li ol,.md-content--typeset ul li ul{padding-top:1rem;margin-bottom:1rem;margin-left:1rem}html{height:100%}body{position:relative;min-height:100%}body.md-js__body--locked{height:100%;overflow:hidden}hr{display:block;height:1px;padding:0;border:0}.md-grid{max-width:120rem;margin-left:auto;margin-right:auto}.md-container,.md-main{overflow:auto}.md-main{margin-top:5.6rem}.md-main__inner{margin-top:3rem;margin-bottom:9.2rem;overflow:auto}.md-toggle{display:none!important}.md-overlay{position:fixed;top:0;width:0;height:0;z-index:2;opacity:0;background:rgba(0,0,0,.54);-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}.md-flex{display:table}.md-flex__cell{display:table-cell;vertical-align:top}.md-flex__cell--shrink{width:1%}.md-flex__cell--stretch{display:table;table-layout:fixed;width:100%}.md-flex__ellipsis{display:table-cell;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.md-content__inner{margin:2.4rem 1.6rem}.md-content__copyright{display:block}.md-header{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);position:fixed;top:0;left:0;right:0;height:5.6rem;z-index:1;background:#3f51b5;color:#fff}.md-header-nav{padding:.4rem}.md-header-nav__icon{display:inline-block;position:relative;z-index:1;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-header-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-header-nav__title{padding:0 2rem;font-size:1.8rem;line-height:4.8rem}.md-footer{position:absolute;width:100%;bottom:0}.md-footer-pagination{background:rgba(0,0,0,.87);color:#fff}.md-footer-nav{overflow:auto;padding:.4rem}.md-footer-nav__link{padding-top:2.8rem;padding-bottom:.8rem}.md-footer-nav__link--prev{float:left;width:25%}.md-footer-nav__link--next{float:right;width:75%;text-align:right}.md-footer-nav__icon{display:inline-block;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-footer-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-footer-nav__title{position:relative;padding:0 .4rem;font-size:1.8rem;line-height:4.8rem}.md-footer-nav__direction{position:absolute;left:0;right:0;padding:0 .4rem;margin-top:-2rem;font-size:1.5rem;color:hsla(0,0%,100%,.7)}.md-nav,.md-nav h3{font-size:1.28rem;line-height:1.2}.md-nav--toc{border-left:.4rem solid #3f51b5}.md-nav__list{list-style:none}.md-nav__list .md-nav__list{margin-left:1.2rem}.md-nav__toggle~.md-nav__list{max-height:0;overflow:hidden}.md-nav__toggle:checked~.md-nav__list{max-height:100%}.md-nav__item{margin:.8rem 0 0;line-height:1.6rem}.md-nav__link{display:block;overflow:hidden;text-overflow:ellipsis;-webkit-transition:color .125s;transition:color .125s}.md-nav__link--marked{color:rgba(0,0,0,.54)}.md-nav__link--active,.md-nav__link:active,.md-nav__link:hover{color:#536dfe}.md-search{position:relative}.md-search__overlay{display:none}.md-search__inner{padding:.8rem .8rem 0}.md-search__form{position:relative;text-align:right;border-radius:.2rem}.md-search__icon{position:absolute;top:.8rem;left:1.2rem;font-size:2.4rem;-webkit-transition:color .25s;transition:color .25s;cursor:pointer}.md-search__input{padding:0 .8rem 0 6.4rem;border-radius:.2rem}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:rgba(0,0,0,.54)}.md-sidebar{position:relative;width:24.2rem;float:left;overflow:visible}.md-sidebar.md-js__sidebar--locked{position:fixed;top:5.6rem}.md-sidebar--secondary{display:none}.md-sidebar__scrollwrap{margin:2.4rem .4rem;overflow-y:scroll;-webkit-overflow-scrolling:touch}.js .md-sidebar__scrollwrap{position:absolute;top:0;left:0;bottom:0;right:0}.md-sidebar__scrollwrap::-webkit-scrollbar{width:.4rem;height:.4rem}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb{background:rgba(0,0,0,.26)}.md-sidebar__inner{padding:1.2rem}.admonition{position:relative;padding:.8rem 1.6rem;margin:2rem 0;background:rgba(68,138,255,.05);border-left:3.2rem solid #448aff;border-radius:.2rem}.admonition:before{content:"edit";display:block;position:absolute;top:.2rem;left:-2.6rem;float:left;font-family:Material Icons;font-weight:400;font-size:2rem;vertical-align:-.1em;color:#fff}.admonition-title{font-size:1.28rem;font-weight:700;line-height:2rem;text-transform:uppercase;color:#2979ff}.admonition.idea,.admonition.tip{background:rgba(0,191,165,.05);border-color:#00bfa5}.admonition.idea:before,.admonition.tip:before{content:"whatshot"}.admonition.idea .admonition-title,.admonition.tip .admonition-title{color:#00bfa5}.admonition.check,.admonition.success{background:rgba(0,230,118,.05);border-color:#00e676}.admonition.check:before,.admonition.success:before{content:"done"}.admonition.check .admonition-title,.admonition.success .admonition-title{color:#00e676}.admonition.warning{background:rgba(255,145,0,.05);border-color:#ff9100}.admonition.warning:before{content:"warning"}.admonition.warning .admonition-title{color:#ff9100}.admonition.fail,.admonition.failure{background:rgba(255,82,82,.05);border-color:#ff5252}.admonition.fail:before,.admonition.failure:before{content:"clear"}.admonition.fail .admonition-title,.admonition.failure .admonition-title{color:#ff5252}.admonition.danger,.admonition.fatal{background:rgba(255,23,68,.05);border-color:#ff1744}.admonition.danger:before,.admonition.fatal:before{content:"flash_on"}.admonition.danger .admonition-title,.admonition.fatal .admonition-title{color:#ff1744}.admonition.bug,.admonition.error{background:rgba(245,0,87,.05);border-color:#f50057}.admonition.bug:before,.admonition.error:before{content:"bug_report"}.admonition.bug .admonition-title,.admonition.error .admonition-title{color:#f50057}.code .err,.codehilite .err{color:#a61717}.code .o,.codehilite .o{color:inherit}.code .ge,.codehilite .ge{color:#000}.code .gr,.codehilite .gr{color:#a00}.code .gh,.codehilite .gh{color:#999}.code .go,.codehilite .go{color:#888}.code .gp,.codehilite .gp{color:#555}.code .gs,.codehilite .gs{color:inherit}.code .gu,.codehilite .gu{color:#aaa}.code .gt,.codehilite .gt{color:#a00}.code .k,.code .kc,.code .kd,.code .kn,.code .kp,.codehilite .k,.codehilite .kc,.codehilite .kd,.codehilite .kn,.codehilite .kp{color:#a71d5d}.code .kr,.code .kt,.codehilite .kr,.codehilite .kt{color:#0086b3}.code .c,.code .cm,.codehilite .c,.codehilite .cm{color:#969896}.code .cp,.codehilite .cp{color:#666}.code .c1,.code .cs,.codehilite .c1,.codehilite .cs{color:#969896}.code .bp,.code .na,.code .nb,.code .nc,.code .nd,.code .ne,.code .nf,.code .ni,.code .nl,.code .nn,.code .no,.code .nt,.code .nv,.code .vc,.code .vg,.code .vi,.codehilite .bp,.codehilite .na,.codehilite .nb,.codehilite .nc,.codehilite .nd,.codehilite .ne,.codehilite .nf,.codehilite .ni,.codehilite .nl,.codehilite .nn,.codehilite .no,.codehilite .nt,.codehilite .nv,.codehilite .vc,.codehilite .vg,.codehilite .vi{color:#795da3}.code .ow,.codehilite .ow{color:inherit}.code .il,.code .m,.code .mf,.code .mh,.code .mi,.code .mo,.codehilite .il,.codehilite .m,.codehilite .mf,.codehilite .mh,.codehilite .mi,.codehilite .mo{color:#0086b3}.code .s,.code .s2,.code .sb,.code .sc,.code .sd,.code .se,.code .sh,.code .si,.code .sx,.codehilite .s,.codehilite .s2,.codehilite .sb,.codehilite .sc,.codehilite .sd,.codehilite .se,.codehilite .sh,.codehilite .si,.codehilite .sx{color:#183691}.code .sr,.codehilite .sr{color:#009926}.code .s1,.codehilite .s1{color:#d01040}.code .ss,.codehilite .ss{color:#990073}.code .gd,.codehilite .gd{color:#000;background-color:#fdd}.code .gi,.codehilite .gi{color:#000;background-color:#dfd}.code .w,.codehilite .w{color:transparent}.md-content .headerlink{display:inline-block;margin-left:1rem;opacity:0;color:rgba(0,0,0,.26);-webkit-transform:translate3d(0,.5rem,0);transform:translate3d(0,.5rem,0);-webkit-transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s,-webkit-transform .25s .25s}.md-content h1:hover .headerlink,.md-content h1:target .headerlink,.md-content h2:hover .headerlink,.md-content h2:target .headerlink,.md-content h3:hover .headerlink,.md-content h3:target .headerlink,.md-content h4:hover .headerlink,.md-content h4:target .headerlink,.md-content h5:hover .headerlink,.md-content h5:target .headerlink,.md-content h6:hover .headerlink,.md-content h6:target .headerlink{margin-left:1rem;opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.md-content h1:hover .headerlink:hover,.md-content h1:target .headerlink,.md-content h2:hover .headerlink:hover,.md-content h2:target .headerlink,.md-content h3:hover .headerlink:hover,.md-content h3:target .headerlink,.md-content h4:hover .headerlink:hover,.md-content h4:target .headerlink,.md-content h5:hover .headerlink:hover,.md-content h5:target .headerlink,.md-content h6:hover .headerlink:hover,.md-content h6:target .headerlink{color:#536dfe}.md-content .admonition-title{margin:0}.md-content .admonition-title+*{margin-top:0;margin-bottom:0}.md-search__suggest{background:#fff;border-radius:0 0 .3rem .3rem;color:#000;text-align:left;border-top:.1rem solid rgba(0,0,0,.07);display:none}.md-search__input:focus~.md-search__suggest{display:block}.md-search__input:focus{border-radius:.3rem .3rem 0 0}@media only screen and (max-width:74.9375em){#md-toggle-drawer:checked~.md-overlay{width:100%;height:100%;opacity:1;-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.md-sidebar--primary{position:fixed;top:0;width:24.2em;height:100%;z-index:3;background:#fff;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),-webkit-transform .25s cubic-bezier(.4,0,.2,1);-webkit-transform:translate3d(-24.2em,0,0);transform:translate3d(-24.2em,0,0)}.no-csstransforms3d .md-sidebar--primary{display:none}#md-toggle-drawer:checked~.md-container .md-sidebar--primary{-webkit-transform:translateZ(0);transform:translateZ(0)}.no-csstransforms3d #md-toggle-drawer:checked~.md-container .md-sidebar--primary{display:block}.md-sidebar--primary .md-sidebar__scrollwrap{margin:0}}@media only screen and (min-width:60em){.md-content{margin-right:24.2rem}.md-sidebar--secondary{display:block;float:right}.md-sidebar--secondary.md-js__sidebar--locked{margin-left:100%;-webkit-transform:translate(-100%);transform:translate(-100%)}}@media only screen and (min-width:75em){.md-content{margin-left:24.2rem}.md-content__inner{margin:2.4rem}.md-sidebar__inner{border-right:.1rem solid rgba(0,0,0,.07)}}@media only screen and (min-width:45em){.md-header-nav__icon.md-icon--search{display:none}.md-search__inner{padding:.4rem}.md-search__input{width:23rem;height:4rem;padding-left:4.8rem;font-size:1.6rem;background:hsla(0,0%,100%,.12);color:#fff;-webkit-transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1);transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1)}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input:focus{background:#fff;color:rgba(0,0,0,.87);width:40rem}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::placeholder{color:rgba(0,0,0,.54)}}@media only screen and (min-width:30em){.md-footer-nav__link{width:50%}}@media only screen and (max-width:29.9375em){.md-footer-nav__link--prev .md-footer-nav__title{display:none}}@media only screen and (max-width:44.9375em){.md-search__overlay{display:block;position:absolute;top:.4rem;left:.4rem;width:4rem;height:4rem;overflow:hidden;z-index:0;opacity:0;background:#eee;border-radius:100%;transform-orgin:center;-webkit-transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s,-webkit-transform .3s .1s}#md-toggle-search:checked~.md-header .md-search__overlay{z-index:1;opacity:1;-webkit-transform:scale(40);transform:scale(40);-webkit-transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,transform .4s;transition:opacity .1s,transform .4s,-webkit-transform .4s}.md-search__form{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.md-search__icon{top:1.2rem}.md-search__icon:before{content:"arrow_back"}.md-search__input{width:100%;height:4.8rem;font-size:1.8rem}.md-search__inner{position:fixed;top:0;left:100%;width:100%;height:56px;opacity:0;z-index:2;-webkit-transform:translate3d(5%,0,0);transform:translate3d(5%,0,0);-webkit-transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s;transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1)}#md-toggle-search:checked~.md-header .md-search__inner{-webkit-transform:translateZ(0);transform:translateZ(0);left:0;opacity:1}.md-search__suggest{position:relative;z-index:2}}@media only screen and (min-width:60em) and (min-width:75em){.md-sidebar--secondary.md-js__sidebar--locked{margin-left:120rem}} \ No newline at end of file diff --git a/material/assets/stylesheets/application.css b/material/assets/stylesheets/application.css index 399eabcbb..d83fb0ca3 100644 --- a/material/assets/stylesheets/application.css +++ b/material/assets/stylesheets/application.css @@ -1 +1 @@ -.md-icon{font-family:Material Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.md-icon--back:before{content:"arrow_back"}.md-icon--forward:before{content:"arrow_forward"}.md-icon--close:before{content:"close"}.md-icon--menu:before{content:"menu"}.md-icon--search:before{content:"search"}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}html{font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}a,abbr,acronym,address,article,aside,audio,b,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0}table{border-collapse:collapse;border-spacing:0}td,th{text-align:left;font-weight:400;vertical-align:top}button{padding:0;background:transparent;font-size:inherit}button,input{outline:0;border:0}input{-webkit-appearance:none;-moz-appearance:none;appearance:none}a{text-decoration:none;color:inherit}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}body,kbd{font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;-webkit-font-feature-settings:"kern","onum","liga";font-feature-settings:"kern","onum","liga";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.no-fontface body,.no-fontface kbd{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}code,pre{font-family:Roboto Mono,Courier New,Courier,monospace}.no-fontface code,.no-fontface pre{font-family:Courier New,Courier,monospace}.md-content--typeset{font-size:1.6rem;line-height:1.6}.md-content--typeset p{margin:2rem 0}.md-content--typeset h1{font-size:3.125rem;font-weight:300;line-height:1.3;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h1:before{content:" ";display:block;padding-top:11rem;margin-top:-11rem}.md-content--typeset h2{margin-top:4rem;font-size:2.5rem;font-weight:300;line-height:1.4;letter-spacing:-.01em}.md-content--typeset h2:before{content:" ";display:block;padding-top:8.2rem;margin-top:-8.2rem}.md-content--typeset h3{margin-top:3.2rem;font-size:2rem;font-weight:400;line-height:1.5;letter-spacing:-.01em}.md-content--typeset h3:before{content:" ";display:block;padding-top:8.4rem;margin-top:-8.4rem}.md-content--typeset h2+h3{margin-top:1.6rem}.md-content--typeset h4{margin-top:1.6rem;font-size:1.6rem;font-weight:700;letter-spacing:-.01em}.md-content--typeset h4:before{content:" ";display:block;padding-top:8.8rem;margin-top:-8.8rem}.md-content--typeset h5,.md-content--typeset h6{margin-top:1.6rem;font-size:1.28rem;font-weight:700;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h5:before,.md-content--typeset h6:before{content:" ";display:block;padding-top:9rem;margin-top:-9rem}.md-content--typeset h5{text-transform:uppercase}.md-content--typeset a{color:#3f51b5;-webkit-transition:color .125s;transition:color .125s}.md-content--typeset a:active,.md-content--typeset a:hover{color:#536dfe}.md-content--typeset code{padding:.1rem .4rem;font-size:85%;font-weight:400;word-break:break-word;background:#f7f7f7;color:#37474f}.md-content--typeset pre{padding:1rem 1.2rem;overflow-x:scroll;font-size:85%;line-height:1.4;background:#f7f7f7;color:#37474f}.md-content--typeset kbd{display:inline-block;padding:.4rem .5rem .5rem;vertical-align:.1rem;font-size:85%;line-height:1rem;word-break:break-word;background-color:#fcfcfc;color:#555;border:.1rem solid #ccc;border-bottom-color:#bbb;border-radius:.3rem;box-shadow:inset 0 -.1rem 0 #bbb}.md-content--typeset small{color:rgba(0,0,0,.54)}.md-content--typeset hr{margin:2.4rem 0;border-bottom:.1rem dotted rgba(0,0,0,.26)}.md-content--typeset blockquote{padding-left:1.2rem;border-left:.4rem solid rgba(0,0,0,.26);color:rgba(0,0,0,.54)}.md-content--typeset ul{list-style-type:disc}.md-content--typeset ol ol{list-style-type:lower-alpha}.md-content--typeset ol ol ol{list-style-type:lower-roman}.md-content--typeset ol,.md-content--typeset ul{margin-left:1rem}.md-content--typeset ol li,.md-content--typeset ul li{margin-bottom:1rem;margin-left:2rem}.md-content--typeset ol li:last-child,.md-content--typeset ul li:last-child{margin-bottom:0}.md-content--typeset ol li ol,.md-content--typeset ol li ul,.md-content--typeset ul li ol,.md-content--typeset ul li ul{padding-top:1rem;margin-bottom:1rem;margin-left:1rem}html{height:100%}body{position:relative;min-height:100%}body.md-js__body--locked{height:100%;overflow:hidden}hr{display:block;height:1px;padding:0;border:0}.md-grid{max-width:120rem;margin-left:auto;margin-right:auto}.md-container,.md-main{overflow:auto}.md-main{margin-top:5.6rem}.md-main__inner{margin-top:3rem;margin-bottom:9.2rem;overflow:auto}.md-toggle{display:none!important}.md-overlay{position:fixed;top:0;width:0;height:0;z-index:2;opacity:0;background:rgba(0,0,0,.54);-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}.md-flex{display:table}.md-flex__cell{display:table-cell;vertical-align:top}.md-flex__cell--shrink{width:1%}.md-flex__cell--stretch{display:table;table-layout:fixed;width:100%}.md-flex__ellipsis{display:table-cell;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.md-content__inner{margin:2.4rem 1.6rem}.md-content__copyright{display:block}.md-header{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);position:fixed;top:0;left:0;right:0;height:5.6rem;z-index:1;background:#3f51b5;color:#fff}.md-header-nav{padding:.4rem}.md-header-nav__icon{display:inline-block;position:relative;z-index:1;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-header-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-header-nav__title{padding:0 2rem;font-size:1.8rem;line-height:4.8rem}.md-footer{position:absolute;width:100%;bottom:0}.md-footer-pagination{background:rgba(0,0,0,.87);color:#fff}.md-footer-nav{overflow:auto;padding:.4rem}.md-footer-nav__link{padding-top:2.8rem;padding-bottom:.8rem}.md-footer-nav__link--prev{float:left;width:25%}.md-footer-nav__link--next{float:right;width:75%;text-align:right}.md-footer-nav__icon{display:inline-block;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-footer-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-footer-nav__title{position:relative;padding:0 .4rem;font-size:1.8rem;line-height:4.8rem}.md-footer-nav__direction{position:absolute;left:0;right:0;padding:0 .4rem;margin-top:-2rem;font-size:1.5rem;color:hsla(0,0%,100%,.7)}.md-nav,.md-nav h3{font-size:1.28rem;line-height:1.2}.md-nav--toc{border-left:.4rem solid #3f51b5}.md-nav__list{list-style:none}.md-nav__list .md-nav__list{margin-left:1.2rem}.md-nav__toggle~.md-nav__list{max-height:0;overflow:hidden}.md-nav__toggle:checked~.md-nav__list{max-height:100%}.md-nav__item{margin:.8rem 0 0;line-height:1.6rem}.md-nav__link{display:block;overflow:hidden;text-overflow:ellipsis;-webkit-transition:color .125s;transition:color .125s}.md-nav__link--marked{color:rgba(0,0,0,.54)}.md-nav__link--active,.md-nav__link:active,.md-nav__link:hover{color:#536dfe}.md-search{position:relative}.md-search__overlay{display:none}.md-search__inner{padding:.8rem .8rem 0}.md-search__form{position:relative;text-align:right;border-radius:.2rem}.md-search__icon{position:absolute;top:.8rem;left:1.2rem;font-size:2.4rem;-webkit-transition:color .25s;transition:color .25s;cursor:pointer}.md-search__input{padding:0 .8rem 0 6.4rem;border-radius:.2rem}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:rgba(0,0,0,.54)}.md-sidebar{position:relative;width:24.2rem;float:left;overflow:visible}.md-sidebar.md-js__sidebar--locked{position:fixed;top:5.6rem}.md-sidebar--secondary{display:none}.md-sidebar__scrollwrap{margin:2.4rem .4rem;overflow-y:scroll;-webkit-overflow-scrolling:touch}.js .md-sidebar__scrollwrap{position:absolute;top:0;left:0;bottom:0;right:0}.md-sidebar__scrollwrap::-webkit-scrollbar{width:.4rem;height:.4rem}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb{background:rgba(0,0,0,.26)}.md-sidebar__inner{padding:1.2rem}.admonition{position:relative;padding:.8rem 1.6rem;margin:2rem 0;background:rgba(68,138,255,.05);border-left:3.2rem solid #448aff;border-radius:.2rem}.admonition:before{content:"edit";display:block;position:absolute;top:.2rem;left:-2.6rem;float:left;font-family:Material Icons;font-weight:400;font-size:2rem;vertical-align:-.1em;color:#fff}.admonition-title{font-size:1.28rem;font-weight:700;line-height:2rem;text-transform:uppercase;color:#2979ff}.admonition.idea,.admonition.tip{background:rgba(0,191,165,.05);border-color:#00bfa5}.admonition.idea:before,.admonition.tip:before{content:"whatshot"}.admonition.idea .admonition-title,.admonition.tip .admonition-title{color:#00bfa5}.admonition.check,.admonition.success{background:rgba(0,230,118,.05);border-color:#00e676}.admonition.check:before,.admonition.success:before{content:"done"}.admonition.check .admonition-title,.admonition.success .admonition-title{color:#00e676}.admonition.warning{background:rgba(255,145,0,.05);border-color:#ff9100}.admonition.warning:before{content:"warning"}.admonition.warning .admonition-title{color:#ff9100}.admonition.fail,.admonition.failure{background:rgba(255,82,82,.05);border-color:#ff5252}.admonition.fail:before,.admonition.failure:before{content:"clear"}.admonition.fail .admonition-title,.admonition.failure .admonition-title{color:#ff5252}.admonition.danger,.admonition.fatal{background:rgba(255,23,68,.05);border-color:#ff1744}.admonition.danger:before,.admonition.fatal:before{content:"flash_on"}.admonition.danger .admonition-title,.admonition.fatal .admonition-title{color:#ff1744}.admonition.bug,.admonition.error{background:rgba(245,0,87,.05);border-color:#f50057}.admonition.bug:before,.admonition.error:before{content:"bug_report"}.admonition.bug .admonition-title,.admonition.error .admonition-title{color:#f50057}.code .err,.codehilite .err{color:#a61717}.code .o,.codehilite .o{color:inherit}.code .ge,.codehilite .ge{color:#000}.code .gr,.codehilite .gr{color:#a00}.code .gh,.codehilite .gh{color:#999}.code .go,.codehilite .go{color:#888}.code .gp,.codehilite .gp{color:#555}.code .gs,.codehilite .gs{color:inherit}.code .gu,.codehilite .gu{color:#aaa}.code .gt,.codehilite .gt{color:#a00}.code .k,.code .kc,.code .kd,.code .kn,.code .kp,.codehilite .k,.codehilite .kc,.codehilite .kd,.codehilite .kn,.codehilite .kp{color:#a71d5d}.code .kr,.code .kt,.codehilite .kr,.codehilite .kt{color:#0086b3}.code .c,.code .cm,.codehilite .c,.codehilite .cm{color:#969896}.code .cp,.codehilite .cp{color:#666}.code .c1,.code .cs,.codehilite .c1,.codehilite .cs{color:#969896}.code .bp,.code .na,.code .nb,.code .nc,.code .nd,.code .ne,.code .nf,.code .ni,.code .nl,.code .nn,.code .no,.code .nt,.code .nv,.code .vc,.code .vg,.code .vi,.codehilite .bp,.codehilite .na,.codehilite .nb,.codehilite .nc,.codehilite .nd,.codehilite .ne,.codehilite .nf,.codehilite .ni,.codehilite .nl,.codehilite .nn,.codehilite .no,.codehilite .nt,.codehilite .nv,.codehilite .vc,.codehilite .vg,.codehilite .vi{color:#795da3}.code .ow,.codehilite .ow{color:inherit}.code .il,.code .m,.code .mf,.code .mh,.code .mi,.code .mo,.codehilite .il,.codehilite .m,.codehilite .mf,.codehilite .mh,.codehilite .mi,.codehilite .mo{color:#0086b3}.code .s,.code .s2,.code .sb,.code .sc,.code .sd,.code .se,.code .sh,.code .si,.code .sx,.codehilite .s,.codehilite .s2,.codehilite .sb,.codehilite .sc,.codehilite .sd,.codehilite .se,.codehilite .sh,.codehilite .si,.codehilite .sx{color:#183691}.code .sr,.codehilite .sr{color:#009926}.code .s1,.codehilite .s1{color:#d01040}.code .ss,.codehilite .ss{color:#990073}.code .gd,.codehilite .gd{color:#000;background-color:#fdd}.code .gi,.codehilite .gi{color:#000;background-color:#dfd}.code .w,.codehilite .w{color:transparent}.md-content .headerlink{display:inline-block;margin-left:1rem;opacity:0;color:rgba(0,0,0,.26);-webkit-transform:translate3d(0,.5rem,0);transform:translate3d(0,.5rem,0);-webkit-transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s,-webkit-transform .25s .25s}.md-content h1:hover .headerlink,.md-content h1:target .headerlink,.md-content h2:hover .headerlink,.md-content h2:target .headerlink,.md-content h3:hover .headerlink,.md-content h3:target .headerlink,.md-content h4:hover .headerlink,.md-content h4:target .headerlink,.md-content h5:hover .headerlink,.md-content h5:target .headerlink,.md-content h6:hover .headerlink,.md-content h6:target .headerlink{margin-left:1rem;opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.md-content h1:hover .headerlink:hover,.md-content h1:target .headerlink,.md-content h2:hover .headerlink:hover,.md-content h2:target .headerlink,.md-content h3:hover .headerlink:hover,.md-content h3:target .headerlink,.md-content h4:hover .headerlink:hover,.md-content h4:target .headerlink,.md-content h5:hover .headerlink:hover,.md-content h5:target .headerlink,.md-content h6:hover .headerlink:hover,.md-content h6:target .headerlink{color:#536dfe}.md-content .admonition-title{margin:0}.md-content .admonition-title+*{margin-top:0;margin-bottom:0}.md-search__suggest{background:#fff;border-radius:0 0 .3rem .3rem;color:#000;text-align:left;border-top:.1rem solid rgba(0,0,0,.07);display:none}.md-search__input:focus~.md-search__suggest{display:block}.md-search__input:focus{border-radius:.3rem .3rem 0 0}@media only screen and (max-width:74.9375em){#md-toggle-drawer:checked~.md-overlay{width:100%;height:100%;opacity:1;-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.md-sidebar--primary{position:fixed;top:0;width:24.2em;height:100%;z-index:3;background:#fff;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),-webkit-transform .25s cubic-bezier(.4,0,.2,1);-webkit-transform:translate3d(-24.2em,0,0);transform:translate3d(-24.2em,0,0)}.no-csstransforms3d .md-sidebar--primary{display:none}#md-toggle-drawer:checked~.md-container .md-sidebar--primary{-webkit-transform:translateZ(0);transform:translateZ(0)}.no-csstransforms3d #md-toggle-drawer:checked~.md-container .md-sidebar--primary{display:block}.md-sidebar--primary .md-sidebar__scrollwrap{margin:0}}@media only screen and (min-width:60em){.md-content{margin-right:24.2rem}.md-sidebar--secondary{display:block;float:right}.md-sidebar--secondary.md-js__sidebar--locked{margin-left:100%;-webkit-transform:translate(-100%);transform:translate(-100%)}}@media only screen and (min-width:75em){.md-content{margin-left:24.2rem}.md-content__inner{margin:2.4rem}.md-sidebar__inner{border-right:.1rem solid rgba(0,0,0,.07)}}@media only screen and (min-width:45em){.md-header-nav__icon.md-icon--search{display:none}.md-search__inner{padding:.4rem}.md-search__input{width:23rem;height:4rem;padding-left:4.8rem;font-size:1.6rem;background:hsla(0,0%,100%,.12);color:#fff;-webkit-transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1);transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1)}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input:focus{background:#fff;color:rgba(0,0,0,.87);width:40rem}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::placeholder{color:rgba(0,0,0,.54)}}@media only screen and (min-width:30em){.md-footer-nav__link{width:50%}}@media only screen and (max-width:29.9375em){.md-footer-nav__link--prev .md-footer-nav__title{display:none}}@media only screen and (max-width:44.9375em){.md-search__overlay{display:block;position:absolute;top:.4rem;left:.4rem;width:4rem;height:4rem;overflow:hidden;z-index:0;opacity:0;background:#eee;border-radius:100%;transform-orgin:center;-webkit-transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s,-webkit-transform .3s .1s}#md-toggle-search:checked~.md-header .md-search__overlay{z-index:1;opacity:1;-webkit-transform:scale(40);transform:scale(40);-webkit-transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,transform .4s;transition:opacity .1s,transform .4s,-webkit-transform .4s}.md-search__form{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.md-search__icon{top:1.2rem}.md-search__icon:before{content:"arrow_back"}.md-search__input{width:100%;height:4.8rem;font-size:1.8rem}.md-search__inner{position:fixed;top:0;left:100%;width:100%;height:56px;opacity:0;z-index:2;-webkit-transform:translate3d(5%,0,0);transform:translate3d(5%,0,0);-webkit-transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s;transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1)}#md-toggle-search:checked~.md-header .md-search__inner{-webkit-transform:translateZ(0);transform:translateZ(0);left:0;opacity:1}.md-search__suggest{position:relative;z-index:2}}@media only screen and (min-width:60em) and (min-width:75em){.md-sidebar--secondary.md-js__sidebar--locked{margin-left:120rem}} \ No newline at end of file +.md-content--typeset .footnote-backref,.md-icon{font-family:Material Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.md-icon--back:before{content:"arrow_back"}.md-icon--forward:before{content:"arrow_forward"}.md-icon--close:before{content:"close"}.md-icon--menu:before{content:"menu"}.md-icon--search:before{content:"search"}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}html{font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}.md-content--typeset .footnote,a,abbr,acronym,address,article,aside,audio,b,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0}table{border-collapse:collapse;border-spacing:0}td,th{text-align:left;font-weight:400;vertical-align:top}button{padding:0;background:transparent;font-size:inherit}button,input{outline:0;border:0}input{-webkit-appearance:none;-moz-appearance:none;appearance:none}a{text-decoration:none;color:inherit}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}body,kbd{font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;-webkit-font-feature-settings:"kern","onum","liga";font-feature-settings:"kern","onum","liga";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.no-fontface body,.no-fontface kbd{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}code,pre{font-family:Roboto Mono,Courier New,Courier,monospace}.no-fontface code,.no-fontface pre{font-family:Courier New,Courier,monospace}.md-content--typeset{font-size:1.6rem;line-height:1.6}.md-content--typeset p{margin:1.25em 0}.md-content--typeset h1{font-size:3.125rem;font-weight:300;line-height:1.3;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h2{margin-top:4rem;font-size:2.5rem;font-weight:300;line-height:1.4;letter-spacing:-.01em}.md-content--typeset h3{margin-top:3.2rem;font-size:2rem;font-weight:400;line-height:1.5;letter-spacing:-.01em}.md-content--typeset h2+h3{margin-top:1.6rem}.md-content--typeset h4{margin-top:1.6rem;font-size:1.6rem;font-weight:700;letter-spacing:-.01em}.md-content--typeset h5,.md-content--typeset h6{margin-top:1.6rem;font-size:1.28rem;font-weight:700;letter-spacing:-.01em;color:rgba(0,0,0,.54)}.md-content--typeset h5{text-transform:uppercase}.md-content--typeset a{color:#3f51b5}.md-content--typeset a,.md-content--typeset a:before{-webkit-transition:color .125s;transition:color .125s}.md-content--typeset a:active,.md-content--typeset a:hover{color:#536dfe}.md-content--typeset code{padding:.1rem .4rem;font-size:85%;font-weight:400;word-break:break-word;background:#f7f7f7;color:#37474f}.md-content--typeset pre{padding:1rem 1.2rem;overflow-x:scroll;font-size:85%;line-height:1.4;background:#f7f7f7;color:#37474f}.md-content--typeset kbd{display:inline-block;padding:.4rem .5rem .5rem;vertical-align:.1rem;font-size:85%;line-height:1rem;word-break:break-word;background-color:#fcfcfc;color:#555;border:.1rem solid #ccc;border-bottom-color:#bbb;border-radius:.3rem;box-shadow:inset 0 -.1rem 0 #bbb}.md-content--typeset .footnote,.md-content--typeset small{font-size:smaller;color:rgba(0,0,0,.54)}.md-content--typeset sub,.md-content--typeset sup{margin-left:.1rem}.md-content--typeset hr{margin:2.4rem 0;border-bottom:.1rem dotted rgba(0,0,0,.26)}.md-content--typeset blockquote{padding-left:1.2rem;border-left:.4rem solid rgba(0,0,0,.26);color:rgba(0,0,0,.54)}.md-content--typeset ul{list-style-type:disc}.md-content--typeset ol ol{list-style-type:lower-alpha}.md-content--typeset ol ol ol{list-style-type:lower-roman}.md-content--typeset ol,.md-content--typeset ul{margin-left:1rem}.md-content--typeset ol li,.md-content--typeset ul li{margin-bottom:1rem;margin-left:2rem}.md-content--typeset ol li:last-child,.md-content--typeset ul li:last-child{margin-bottom:0}.md-content--typeset ol li ol,.md-content--typeset ol li ul,.md-content--typeset ul li ol,.md-content--typeset ul li ul{padding-top:1rem;margin-bottom:1rem;margin-left:1rem}html{height:100%}body{position:relative;min-height:100%}body.md-js__body--locked{height:100%;overflow:hidden}hr{display:block;height:1px;padding:0;border:0}.md-grid{max-width:120rem;margin-left:auto;margin-right:auto}.md-container,.md-main{overflow:auto}.md-main{margin-top:5.6rem}.md-main__inner{margin-top:3rem;margin-bottom:9.2rem;overflow:auto}.md-toggle{display:none!important}.md-overlay{position:fixed;top:0;width:0;height:0;z-index:2;opacity:0;background:rgba(0,0,0,.54);-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}.md-flex{display:table}.md-flex__cell{display:table-cell;vertical-align:top}.md-flex__cell--shrink{width:1%}.md-flex__cell--stretch{display:table;table-layout:fixed;width:100%}.md-flex__ellipsis{display:table-cell;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.md-content__inner{margin:2.4rem 1.6rem}.md-content__copyright{display:block}.md-header{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);position:fixed;top:0;left:0;right:0;height:5.6rem;z-index:1;background:#3f51b5;color:#fff}.md-header-nav{padding:.4rem}.md-header-nav__icon{display:inline-block;position:relative;z-index:1;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-header-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-header-nav__title{padding:0 2rem;font-size:1.8rem;line-height:4.8rem}.md-footer{position:absolute;width:100%;bottom:0}.md-footer-pagination{background:rgba(0,0,0,.87);color:#fff}.md-footer-nav{overflow:auto;padding:.4rem}.md-footer-nav__link{padding-top:2.8rem;padding-bottom:.8rem}.md-footer-nav__link--prev{float:left;width:25%}.md-footer-nav__link--next{float:right;width:75%;text-align:right}.md-footer-nav__icon{display:inline-block;font-size:2.4rem;padding:.8rem;margin:.4rem;cursor:pointer;border-radius:100%;-webkit-transition:background .25s;transition:background .25s}.md-footer-nav__icon:active{background:hsla(0,0%,100%,.12)}.md-footer-nav__title{position:relative;padding:0 .4rem;font-size:1.8rem;line-height:4.8rem}.md-footer-nav__direction{position:absolute;left:0;right:0;padding:0 .4rem;margin-top:-2rem;font-size:1.5rem;color:hsla(0,0%,100%,.7)}.md-nav,.md-nav h3{font-size:1.28rem;line-height:1.2}.md-nav--toc{border-left:.4rem solid #3f51b5}.md-nav__list{list-style:none}.md-nav__list .md-nav__list{margin-left:1.2rem}.md-nav__toggle~.md-nav__list{max-height:0;overflow:hidden}.md-nav__toggle:checked~.md-nav__list{max-height:100%}.md-nav__item{margin:.8rem 0 0;line-height:1.6rem}.md-nav__link{display:block;overflow:hidden;text-overflow:ellipsis;-webkit-transition:color .125s;transition:color .125s}.md-nav__link--marked{color:rgba(0,0,0,.54)}.md-nav__link--active,.md-nav__link:active,.md-nav__link:hover{color:#536dfe}.md-search{position:relative}.md-search__overlay{display:none}.md-search__inner{padding:.8rem .8rem 0}.md-search__form{position:relative;text-align:right;border-radius:.2rem}.md-search__icon{position:absolute;top:.8rem;left:1.2rem;font-size:2.4rem;-webkit-transition:color .25s;transition:color .25s;cursor:pointer}.md-search__input{padding:0 .8rem 0 6.4rem;border-radius:.2rem}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:rgba(0,0,0,.54)}.md-sidebar{position:relative;width:24.2rem;float:left;overflow:visible}.md-sidebar.md-js__sidebar--locked{position:fixed;top:5.6rem}.md-sidebar--secondary{display:none}.md-sidebar__scrollwrap{margin:2.4rem .4rem;overflow-y:scroll;-webkit-overflow-scrolling:touch}.js .md-sidebar__scrollwrap{position:absolute;top:0;left:0;bottom:0;right:0}.md-sidebar__scrollwrap::-webkit-scrollbar{width:.4rem;height:.4rem}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb{background:rgba(0,0,0,.26)}.md-sidebar__inner{padding:1.2rem}.admonition{position:relative;padding:.8rem 1.6rem;margin:2rem 0;background:rgba(68,138,255,.05);border-left:3.2rem solid #448aff;border-radius:.2rem}.admonition:before{content:"edit";display:block;position:absolute;top:.2rem;left:-2.6rem;float:left;font-family:Material Icons;font-weight:400;font-size:2rem;vertical-align:-.1em;color:#fff}.admonition-title{font-size:1.28rem;font-weight:700;line-height:2rem;text-transform:uppercase;color:#2979ff}html .admonition-title{margin-bottom:1.6rem}html .admonition-title+*{margin-top:1.6rem}.admonition :first-child{margin-top:0}.admonition :last-child{margin-bottom:0}.admonition.idea,.admonition.tip{background:rgba(0,191,165,.05);border-color:#00bfa5}.admonition.idea:before,.admonition.tip:before{content:"whatshot"}.admonition.idea .admonition-title,.admonition.tip .admonition-title{color:#00bfa5}.admonition.check,.admonition.success{background:rgba(0,230,118,.05);border-color:#00e676}.admonition.check:before,.admonition.success:before{content:"done"}.admonition.check .admonition-title,.admonition.success .admonition-title{color:#00e676}.admonition.warn,.admonition.warning{background:rgba(255,145,0,.05);border-color:#ff9100}.admonition.warn:before,.admonition.warning:before{content:"warning"}.admonition.warn .admonition-title,.admonition.warning .admonition-title{color:#ff9100}.admonition.fail,.admonition.failure{background:rgba(255,82,82,.05);border-color:#ff5252}.admonition.fail:before,.admonition.failure:before{content:"clear"}.admonition.fail .admonition-title,.admonition.failure .admonition-title{color:#ff5252}.admonition.danger,.admonition.fatal{background:rgba(255,23,68,.05);border-color:#ff1744}.admonition.danger:before,.admonition.fatal:before{content:"flash_on"}.admonition.danger .admonition-title,.admonition.fatal .admonition-title{color:#ff1744}.admonition.bug,.admonition.error{background:rgba(245,0,87,.05);border-color:#f50057}.admonition.bug:before,.admonition.error:before{content:"bug_report"}.admonition.bug .admonition-title,.admonition.error .admonition-title{color:#f50057}.code .err,.codehilite .err{color:#a61717}.code .o,.codehilite .o{color:inherit}.code .ge,.codehilite .ge{color:#000}.code .gr,.codehilite .gr{color:#a00}.code .gh,.codehilite .gh{color:#999}.code .go,.codehilite .go{color:#888}.code .gp,.codehilite .gp{color:#555}.code .gs,.codehilite .gs{color:inherit}.code .gu,.codehilite .gu{color:#aaa}.code .gt,.codehilite .gt{color:#a00}.code .k,.code .kc,.code .kd,.code .kn,.code .kp,.codehilite .k,.codehilite .kc,.codehilite .kd,.codehilite .kn,.codehilite .kp{color:#a71d5d}.code .kr,.code .kt,.codehilite .kr,.codehilite .kt{color:#0086b3}.code .c,.code .cm,.codehilite .c,.codehilite .cm{color:#969896}.code .cp,.codehilite .cp{color:#666}.code .c1,.code .cs,.codehilite .c1,.codehilite .cs{color:#969896}.code .bp,.code .na,.code .nb,.code .nc,.code .nd,.code .ne,.code .nf,.code .ni,.code .nl,.code .nn,.code .no,.code .nt,.code .nv,.code .vc,.code .vg,.code .vi,.codehilite .bp,.codehilite .na,.codehilite .nb,.codehilite .nc,.codehilite .nd,.codehilite .ne,.codehilite .nf,.codehilite .ni,.codehilite .nl,.codehilite .nn,.codehilite .no,.codehilite .nt,.codehilite .nv,.codehilite .vc,.codehilite .vg,.codehilite .vi{color:#795da3}.code .ow,.codehilite .ow{color:inherit}.code .il,.code .m,.code .mf,.code .mh,.code .mi,.code .mo,.codehilite .il,.codehilite .m,.codehilite .mf,.codehilite .mh,.codehilite .mi,.codehilite .mo{color:#0086b3}.code .s,.code .s2,.code .sb,.code .sc,.code .sd,.code .se,.code .sh,.code .si,.code .sx,.codehilite .s,.codehilite .s2,.codehilite .sb,.codehilite .sc,.codehilite .sd,.codehilite .se,.codehilite .sh,.codehilite .si,.codehilite .sx{color:#183691}.code .sr,.codehilite .sr{color:#009926}.code .s1,.codehilite .s1{color:#d01040}.code .ss,.codehilite .ss{color:#990073}.code .gd,.codehilite .gd{color:#000;background-color:#fdd}.code .gi,.codehilite .gi{color:#000;background-color:#dfd}.code .w,.codehilite .w{color:transparent}.md-content--typeset .footnote>ol{margin-left:0}.md-content--typeset .footnote>ol>li:hover .footnote-backref,.md-content--typeset .footnote>ol>li:target .footnote-backref{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.md-content--typeset .footnote>ol>li:hover .footnote-backref:hover,.md-content--typeset .footnote>ol>li:target .footnote-backref{color:#536dfe}.md-content--typeset .footnote-ref:before{position:absolute;content:" ";pointer-events:none;padding-top:8.4rem;margin-top:-8.4rem}.md-content--typeset .footnote-backref{position:absolute;font-size:2rem;vertical-align:middle;opacity:0;color:rgba(0,0,0,.26);-webkit-transform:translate3d(.5rem,0,0);transform:translate3d(.5rem,0,0);-webkit-transition:opacity .125s .125s,color .25s,-webkit-transform .25s .125s;transition:opacity .125s .125s,color .25s,-webkit-transform .25s .125s;transition:opacity .125s .125s,transform .25s .125s,color .25s;transition:opacity .125s .125s,transform .25s .125s,color .25s,-webkit-transform .25s .125s}.md-content--typeset .footnote-backref:first-letter{font-size:0}.md-content--typeset .footnote-backref:after{content:"keyboard_return"}.md-content--typeset .headerlink{display:inline-block;margin-left:1rem;opacity:0;color:rgba(0,0,0,.26);-webkit-transform:translate3d(0,.5rem,0);transform:translate3d(0,.5rem,0);-webkit-transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,color .25s,-webkit-transform .25s .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s;transition:opacity .125s .25s,transform .25s .25s,color .25s,-webkit-transform .25s .25s}.md-content--typeset [id]:hover .headerlink,.md-content--typeset [id]:target .headerlink{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.md-content--typeset [id]:hover .headerlink:hover,.md-content--typeset [id]:target .headerlink{color:#536dfe}.md-content--typeset h1[id]:before{content:" ";display:block;padding-top:11rem;margin-top:-11rem}.md-content--typeset h2[id]:before{content:" ";display:block;padding-top:8.2rem;margin-top:-8.2rem}.md-content--typeset h3[id]:before{content:" ";display:block;padding-top:8.4rem;margin-top:-8.4rem}.md-content--typeset h4[id]:before{content:" ";display:block;padding-top:8.6rem;margin-top:-8.6rem}.md-content--typeset h5[id]:before,.md-content--typeset h6[id]:before{content:" ";display:block;padding-top:9rem;margin-top:-9rem}.md-search__suggest{background:#fff;border-radius:0 0 .3rem .3rem;color:#000;text-align:left;border-top:.1rem solid rgba(0,0,0,.07);display:none}.md-search__input:focus~.md-search__suggest{display:block}.md-search__input:focus{border-radius:.3rem .3rem 0 0}@media only screen and (max-width:74.9375em){#md-toggle-drawer:checked~.md-overlay{width:100%;height:100%;opacity:1;-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.md-sidebar--primary{position:fixed;top:0;width:24.2em;height:100%;z-index:3;background:#fff;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),-webkit-transform .25s cubic-bezier(.4,0,.2,1);-webkit-transform:translate3d(-24.2em,0,0);transform:translate3d(-24.2em,0,0)}.no-csstransforms3d .md-sidebar--primary{display:none}#md-toggle-drawer:checked~.md-container .md-sidebar--primary{-webkit-transform:translateZ(0);transform:translateZ(0)}.no-csstransforms3d #md-toggle-drawer:checked~.md-container .md-sidebar--primary{display:block}.md-sidebar--primary .md-sidebar__scrollwrap{margin:0}}@media only screen and (min-width:60em){.md-content{margin-right:24.2rem}.md-sidebar--secondary{display:block;float:right}.md-sidebar--secondary.md-js__sidebar--locked{margin-left:100%;-webkit-transform:translate(-100%);transform:translate(-100%)}}@media only screen and (min-width:75em){.md-content{margin-left:24.2rem}.md-content__inner{margin:2.4rem}.md-sidebar__inner{border-right:.1rem solid rgba(0,0,0,.07)}}@media only screen and (min-width:45em){.md-header-nav__icon.md-icon--search{display:none}.md-search__inner{padding:.4rem}.md-search__input{width:23rem;height:4rem;padding-left:4.8rem;font-size:1.6rem;background:hsla(0,0%,100%,.12);color:#fff;-webkit-transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1);transition:color .25s,background-color .25s,width .25s cubic-bezier(.1,.7,.1,1)}.md-search__input+.md-search__icon,.md-search__input::-webkit-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::-moz-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input:-ms-input-placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input+.md-search__icon,.md-search__input::placeholder{color:#fff;-webkit-transition:color .25s;transition:color .25s}.md-search__input:focus{background:#fff;color:rgba(0,0,0,.87);width:40rem}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input:focus+.md-search__icon,.md-search__input:focus::placeholder{color:rgba(0,0,0,.54)}}@media only screen and (min-width:30em){.md-footer-nav__link{width:50%}}@media only screen and (max-width:29.9375em){.md-footer-nav__link--prev .md-footer-nav__title{display:none}}@media only screen and (max-width:44.9375em){.md-search__overlay{display:block;position:absolute;top:.4rem;left:.4rem;width:4rem;height:4rem;overflow:hidden;z-index:0;opacity:0;background:#eee;border-radius:100%;transform-orgin:center;-webkit-transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s;transition:opacity .2s .2s,transform .3s .1s,-webkit-transform .3s .1s}#md-toggle-search:checked~.md-header .md-search__overlay{z-index:1;opacity:1;-webkit-transform:scale(40);transform:scale(40);-webkit-transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,transform .4s;transition:opacity .1s,transform .4s,-webkit-transform .4s}.md-search__form{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.md-search__icon{top:1.2rem}.md-search__icon:before{content:"arrow_back"}.md-search__input{width:100%;height:4.8rem;font-size:1.8rem}.md-search__inner{position:fixed;top:0;left:100%;width:100%;height:56px;opacity:0;z-index:2;-webkit-transform:translate3d(5%,0,0);transform:translate3d(5%,0,0);-webkit-transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1);transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s;transition:transform .3s .15s cubic-bezier(.1,.7,.1,1),opacity .15s .15s,-webkit-transform .3s .15s cubic-bezier(.1,.7,.1,1)}#md-toggle-search:checked~.md-header .md-search__inner{-webkit-transform:translateZ(0);transform:translateZ(0);left:0;opacity:1}.md-search__suggest{position:relative;z-index:2}}@media only screen and (min-width:60em) and (min-width:75em){.md-sidebar--secondary.md-js__sidebar--locked{margin-left:120rem}} \ No newline at end of file diff --git a/material/base.html b/material/base.html index dd9804529..ca7b73f64 100644 --- a/material/base.html +++ b/material/base.html @@ -25,14 +25,14 @@ {% endif %} {% endblock %} - + {% for path in extra_css %} {% endfor %} - + @@ -58,9 +58,13 @@ {{ copyright }} – {% endif %} This document was created with - MkDocs + + MkDocs + and the - Material + + Material + theme. diff --git a/material/manifest.json b/material/manifest.json index 02f938d6d..9726185df 100644 --- a/material/manifest.json +++ b/material/manifest.json @@ -1,6 +1,6 @@ { "assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico", "assets/javascripts/application.js": "assets/javascripts/application-e9877e2824.js", - "assets/javascripts/modernizr.js": "assets/javascripts/modernizr-31a00ebfc6.js", - "assets/stylesheets/application.css": "assets/stylesheets/application-8e9e9d1cff.css" + "assets/javascripts/modernizr.js": "assets/javascripts/modernizr-ca288b1d5b.js", + "assets/stylesheets/application.css": "assets/stylesheets/application-28991d4685.css" } \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 81f691c6e..289d1c3ad 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -48,8 +48,10 @@ extra: # Extensions markdown_extensions: - - codehilite - admonition + - codehilite + - footnotes + - meta - toc: permalink: 'ΒΆ' @@ -57,6 +59,12 @@ markdown_extensions: pages: - Material: index.md - Getting started: getting-started.md + - Extensions: + - Admonition: extensions/admonition.md + - Codehilite: extensions/codehilite.md + - Footnotes: extensions/footnotes.md + - Permalinks: extensions/permalinks.md + - Meta: extensions/meta.md - Specimen: specimen.md - Customization: customization.md - License: license.md \ No newline at end of file diff --git a/src/assets/stylesheets/_shame.scss b/src/assets/stylesheets/_shame.scss index 80eae38cc..98fb4f7fd 100644 --- a/src/assets/stylesheets/_shame.scss +++ b/src/assets/stylesheets/_shame.scss @@ -24,15 +24,6 @@ * Nothing to see here, move along * ------------------------------------------------------------------------- */ -// Specificity? -.md-content .admonition-title { - margin: 0; - + * { - margin-top: 0; - margin-bottom: 0; - } -} - .md-search__suggest { background: $md-color-white; border-radius: 0 0 px2rem(3px) px2rem(3px); diff --git a/src/assets/stylesheets/application.scss b/src/assets/stylesheets/application.scss index 6142bf43f..c3b9060cf 100644 --- a/src/assets/stylesheets/application.scss +++ b/src/assets/stylesheets/application.scss @@ -51,6 +51,7 @@ @import "extensions/admonition"; @import "extensions/codehilite"; +@import "extensions/footnotes"; @import "extensions/permalinks"; @import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/base/_typeset.scss b/src/assets/stylesheets/base/_typeset.scss index b6692ea86..efb1eb789 100644 --- a/src/assets/stylesheets/base/_typeset.scss +++ b/src/assets/stylesheets/base/_typeset.scss @@ -73,7 +73,7 @@ pre, code { * Body copy */ p { - margin: 2.0rem 0; + margin: 1.25em 0; } /* @@ -85,16 +85,6 @@ pre, code { line-height: 1.3; letter-spacing: -.01em; color: $md-color-black--light; - - /* - * Correct anchor offset - */ - &:before { - content: " "; - display: block; - padding-top: (5.6rem + 2.4rem + 3.0rem); - margin-top: -(5.6rem + 2.4rem + 3.0rem); - } } /* @@ -106,16 +96,6 @@ pre, code { font-weight: 300; line-height: 1.4; letter-spacing: -.01em; - - /* - * Correct anchor offset - */ - &:before { - content: " "; - display: block; - padding-top: (5.6rem + 2.4rem + 0.2rem); - margin-top: -(5.6rem + 2.4rem + 0.2rem); - } } /* @@ -127,16 +107,6 @@ pre, code { font-weight: 400; line-height: 1.5; letter-spacing: -.01em; - - /* - * Correct anchor offset - */ - &:before { - content: " "; - display: block; - padding-top: (5.6rem + 2.4rem + 0.4rem); - margin-top: -(5.6rem + 2.4rem + 0.4rem); - } } /* @@ -147,23 +117,13 @@ pre, code { } /* - * 4th, 5th and 6th level headline + * 4th level headline */ h4 { margin-top: 1.6rem; font-size: ms(0); font-weight: 700; letter-spacing: -.01em; - - /* - * Correct anchor offset - */ - &:before { - content: " "; - display: block; - padding-top: (5.6rem + 2.4rem + 0.8rem); - margin-top: -(5.6rem + 2.4rem + 0.8rem); - } } /* @@ -175,16 +135,6 @@ pre, code { font-weight: 700; letter-spacing: -.01em; color: $md-color-black--light; - - /* - * Correct anchor offset - */ - &:before { - content: " "; - display: block; - padding-top: (5.6rem + 2.4rem + 1.0rem); - margin-top: -(5.6rem + 2.4rem + 1.0rem); - } } /* @@ -199,7 +149,14 @@ pre, code { */ a { color: $md-color-primary; - transition: color .125s; + + /* + * Also enable transition on pseudo elements + */ + &, + &:before { + transition: color .125s; + } /* * Active links @@ -256,9 +213,18 @@ pre, code { * Smaller text */ small { + font-size: smaller; color: $md-color-black--light; } + /* + * Superscript and subscript + */ + sup, + sub { + margin-left: 0.1rem; + } + /* * Horizontal separators */ @@ -300,7 +266,8 @@ pre, code { /* * Unordered and ordered lists */ - ul, ol { + ul, + ol { margin-left: 1.0rem; /* @@ -320,7 +287,8 @@ pre, code { /* * Nested lists */ - ul, ol { + ul, + ol { padding-top: 1.0rem; margin-bottom: 1.0rem; margin-left: 1.0rem; diff --git a/src/assets/stylesheets/extensions/_admonition.scss b/src/assets/stylesheets/extensions/_admonition.scss index 1343dd67d..79b97c1dd 100644 --- a/src/assets/stylesheets/extensions/_admonition.scss +++ b/src/assets/stylesheets/extensions/_admonition.scss @@ -61,6 +61,34 @@ line-height: 2.0rem; text-transform: uppercase; color: $clr-blue-a400; + + /* + * Ensure smaller spacing to next element + */ + html & { + margin-bottom: 1.6rem; + } + + /* + * Ensure smaller spacing to next element + */ + html & + * { + margin-top: 1.6rem; + } + } + + /* + * Remove spacing on first element + */ + :first-child { + margin-top: 0; + } + + /* + * Remove spacing on last element + */ + :last-child { + margin-bottom: 0; } /* @@ -69,7 +97,7 @@ @each $names, $appearance in ( tip idea: $clr-teal-a700 "whatshot", success check: $clr-green-a400 "done", - warning: $clr-orange-a400 "warning", + warning warn: $clr-orange-a400 "warning", failure fail: $clr-red-a200 "clear", danger fatal: $clr-red-a400 "flash_on", bug error: $clr-pink-a400 "bug_report" diff --git a/src/assets/stylesheets/extensions/_footnotes.scss b/src/assets/stylesheets/extensions/_footnotes.scss new file mode 100644 index 000000000..24376d4bb --- /dev/null +++ b/src/assets/stylesheets/extensions/_footnotes.scss @@ -0,0 +1,118 @@ +/* + * Copyright (c) 2016 Martin Donath + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +/* ---------------------------------------------------------------------------- + * Footnotes extension + * ------------------------------------------------------------------------- */ + +/* + * Scoped in typesetted content for greater specificity + */ +.md-content--typeset { + + /* + * Footnote + */ + .footnote { + @extend small; + + /* + * Remove additional spacing on footnotes + */ + > ol { + margin-left: 0; + + /* + * Single footnote + */ + > li { + + // TODO: this doesn't work entirely + // &:before { + // display: block; + // content: " "; + // padding-top: (5.6rem + 2.4rem + 0.4rem); + // margin-top: -(5.6rem + 2.4rem + 0.4rem); + // } + + /* + * Make permalink visible on hover + */ + &:hover .footnote-backref, + &:target .footnote-backref { + opacity: 1; + transform: translate3d(0, 0, 0); + } + + /* + * Active or targeted permalink + */ + &:hover .footnote-backref:hover, + &:target .footnote-backref { + color: $md-color-accent; + } + } + } + + /* + * Correct anchor offset; + */ + &-ref:before { + position: absolute; + content: " "; + pointer-events: none; + padding-top: (5.6rem + 2.4rem + 0.4rem); + margin-top: -(5.6rem + 2.4rem + 0.4rem); + } + + /* + * Make backref transparent for custom icon + */ + &-backref { + @extend .md-icon; + + position: absolute; + font-size: 2.0rem; + vertical-align: middle; + opacity: 0; + color: $md-color-black--lighter; + transform: translate3d(0.5rem, 0, 0); + transition: opacity .125s .125s, + transform .25s .125s, + color .25s; + + /* + * Hack: remove Unicode arrow for icon + */ + &:first-letter { + font-size: 0; + } + + /* + * Icon + */ + &:after { + content: "keyboard_return"; + } + } + } +} \ No newline at end of file diff --git a/src/assets/stylesheets/extensions/_permalinks.scss b/src/assets/stylesheets/extensions/_permalinks.scss index bda6c084d..199639609 100644 --- a/src/assets/stylesheets/extensions/_permalinks.scss +++ b/src/assets/stylesheets/extensions/_permalinks.scss @@ -25,9 +25,9 @@ * ------------------------------------------------------------------------- */ /* - * Scope in content for greater specificity + * Scoped in typesetted content for greater specificity */ -.md-content { +.md-content--typeset { /* * Permalink @@ -41,26 +41,47 @@ transition: opacity .125s .25s, transform .25s .25s, color .25s; - } /* - * Only show permalinks in active state + * All headers with permalinks have ids */ - h1, h2, h3, h4, h5, h6 { + [id] { + + /* + * Make permalink visible on hover + */ &:hover .headerlink, &:target .headerlink { - margin-left: 1.0rem; opacity: 1; transform: translate3d(0, 0, 0); } /* - * Active or targeted link + * Active or targeted permalink */ &:hover .headerlink:hover, &:target .headerlink { color: $md-color-accent; } } + + /* + * Correct anchor offset of headlines + */ + @each $level, $delta in ( + h1: 3.0rem, + h2: 0.2rem, + h3: 0.4rem, + h4: 0.6rem, + h5: 1.0rem, + h6: 1.0rem + ) { + #{$level}[id]:before { + content: " "; + display: block; + padding-top: (5.6rem + 2.4rem + $delta); + margin-top: -(5.6rem + 2.4rem + $delta); + } + } } \ No newline at end of file diff --git a/src/base.html b/src/base.html index 5d0805c51..47ca21f6b 100644 --- a/src/base.html +++ b/src/base.html @@ -130,10 +130,13 @@ {{ copyright }} – {% endif %} This document was created with - MkDocs + + MkDocs + and the - Material + + Material + theme.