From 3678fa53f0fe34dd15d5a374be8d9a55d7235c3f Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 9 Feb 2016 12:58:55 +0100 Subject: [PATCH] Preparing release --- .gitignore | 3 +- CHANGELOG | 2 +- Gulpfile.js | 32 +- MANIFEST.in | 3 +- README.txt | 2 +- bower.json | 4 +- {materializr => material}/__init__.py | 0 .../assets/fonts/icon.eot | Bin .../assets/fonts/icon.svg | 0 .../assets/fonts/icon.ttf | Bin .../assets/fonts/icon.woff | Bin .../assets/images/favicon-e565ddfa.ico | Bin material/assets/images/favicon.ico | Bin 0 -> 1150 bytes .../javascripts/application-1a680198.js | 3 +- .../assets/javascripts/application.js | 0 .../assets/javascripts/modernizr-79394028.js | 1 + .../assets/javascripts/modernizr.js | 0 .../stylesheets/application-9ec7095f.css | 1 + .../assets/stylesheets/application.css | 92 +- {materializr => material}/base.html | 17 +- {materializr => material}/drawer.html | 0 {materializr => material}/footer.html | 0 {materializr => material}/header.html | 0 material/manifest.json | 6 + {materializr => material}/nav.html | 0 .../assets/javascripts/modernizr-e95367ea.js | 2208 -------------- .../stylesheets/application-dd5b6433.css | 1 - .../stylesheets/application.blue-5e22f1b7.css | 1 - .../assets/stylesheets/application.blue.css | 2584 ----------------- .../application.green-ed0b1b20.css | 1 - .../assets/stylesheets/application.green.css | 2584 ----------------- .../stylesheets/application.grey-35d3a667.css | 1 - .../assets/stylesheets/application.grey.css | 2584 ----------------- .../stylesheets/application.pink-c98c1339.css | 1 - .../assets/stylesheets/application.pink.css | 2584 ----------------- .../application.purple-d52c9e49.css | 1 - .../assets/stylesheets/application.purple.css | 2584 ----------------- .../stylesheets/application.red-9049f37d.css | 1 - .../assets/stylesheets/application.red.css | 2584 ----------------- .../stylesheets/application.teal-51e9fed7.css | 1 - .../assets/stylesheets/application.teal.css | 2584 ----------------- materializr/manifest.json | 12 - mkdocs.yml | 16 +- package.json | 6 +- setup.py | 6 +- src/assets/stylesheets/application.blue.scss | 56 - src/assets/stylesheets/application.green.scss | 56 - src/assets/stylesheets/application.grey.scss | 56 - src/assets/stylesheets/application.pink.scss | 56 - .../stylesheets/application.purple.scss | 56 - src/assets/stylesheets/application.red.scss | 56 - src/assets/stylesheets/application.teal.scss | 56 - .../modules/article/_appearance.scss | 32 + .../stylesheets/modules/article/_layout.scss | 75 +- .../modules/article/_typography.scss | 19 + src/base.html | 20 +- 56 files changed, 274 insertions(+), 20774 deletions(-) rename {materializr => material}/__init__.py (100%) rename {materializr => material}/assets/fonts/icon.eot (100%) rename {materializr => material}/assets/fonts/icon.svg (100%) rename {materializr => material}/assets/fonts/icon.ttf (100%) rename {materializr => material}/assets/fonts/icon.woff (100%) rename materializr/assets/images/favicon.ico => material/assets/images/favicon-e565ddfa.ico (100%) create mode 100644 material/assets/images/favicon.ico rename materializr/assets/javascripts/application-3bd5fcbd.js => material/assets/javascripts/application-1a680198.js (97%) rename {materializr => material}/assets/javascripts/application.js (100%) create mode 100644 material/assets/javascripts/modernizr-79394028.js rename {materializr => material}/assets/javascripts/modernizr.js (100%) create mode 100644 material/assets/stylesheets/application-9ec7095f.css rename {materializr => material}/assets/stylesheets/application.css (97%) rename {materializr => material}/base.html (89%) rename {materializr => material}/drawer.html (100%) rename {materializr => material}/footer.html (100%) rename {materializr => material}/header.html (100%) create mode 100644 material/manifest.json rename {materializr => material}/nav.html (100%) delete mode 100644 materializr/assets/javascripts/modernizr-e95367ea.js delete mode 100644 materializr/assets/stylesheets/application-dd5b6433.css delete mode 100644 materializr/assets/stylesheets/application.blue-5e22f1b7.css delete mode 100644 materializr/assets/stylesheets/application.blue.css delete mode 100644 materializr/assets/stylesheets/application.green-ed0b1b20.css delete mode 100644 materializr/assets/stylesheets/application.green.css delete mode 100644 materializr/assets/stylesheets/application.grey-35d3a667.css delete mode 100644 materializr/assets/stylesheets/application.grey.css delete mode 100644 materializr/assets/stylesheets/application.pink-c98c1339.css delete mode 100644 materializr/assets/stylesheets/application.pink.css delete mode 100644 materializr/assets/stylesheets/application.purple-d52c9e49.css delete mode 100644 materializr/assets/stylesheets/application.purple.css delete mode 100644 materializr/assets/stylesheets/application.red-9049f37d.css delete mode 100644 materializr/assets/stylesheets/application.red.css delete mode 100644 materializr/assets/stylesheets/application.teal-51e9fed7.css delete mode 100644 materializr/assets/stylesheets/application.teal.css delete mode 100644 materializr/manifest.json delete mode 100644 src/assets/stylesheets/application.blue.scss delete mode 100644 src/assets/stylesheets/application.green.scss delete mode 100644 src/assets/stylesheets/application.grey.scss delete mode 100644 src/assets/stylesheets/application.pink.scss delete mode 100644 src/assets/stylesheets/application.purple.scss delete mode 100644 src/assets/stylesheets/application.red.scss delete mode 100644 src/assets/stylesheets/application.teal.scss diff --git a/.gitignore b/.gitignore index be39f03b1..9c5346675 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,8 @@ node_modules # Build files build MANIFEST +site # Distribution files dist -mkdocs_materializr.egg-info \ No newline at end of file +mkdocs_material.egg-info \ No newline at end of file diff --git a/CHANGELOG b/CHANGELOG index 8d2a458aa..ce7e835e3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,3 @@ -materializr-0.1.0 (2016-xx-xx) +mkdocs-material-0.1.0 (2016-xx-xx) * Initial release \ No newline at end of file diff --git a/Gulpfile.js b/Gulpfile.js index da0230181..89f75ed99 100755 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -105,7 +105,7 @@ gulp.task('assets:stylesheets', function() { ])) .pipe(gulpif(args.sourcemaps, sourcemaps.write())) .pipe(gulpif(args.production, mincss())) - .pipe(gulp.dest('materializr/assets/stylesheets/')); + .pipe(gulp.dest('material/assets/stylesheets/')); }); /* @@ -127,7 +127,7 @@ gulp.task('assets:javascripts', function() { .pipe(concat('application.js')) .pipe(gulpif(args.sourcemaps, sourcemaps.write())) .pipe(gulpif(args.production, uglify())) - .pipe(gulp.dest('materializr/assets/javascripts/')); + .pipe(gulp.dest('material/assets/javascripts/')); }); /* @@ -138,8 +138,8 @@ gulp.task('assets:modernizr', [ 'assets:javascripts' ], function() { return gulp.src([ - 'materializr/assets/stylesheets/application.css', - 'materializr/assets/javascripts/application.js' + 'material/assets/stylesheets/application.css', + 'material/assets/javascripts/application.js' ]).pipe( modernizr({ options: [ @@ -153,22 +153,22 @@ gulp.task('assets:modernizr', [ .pipe(addsrc.append('bower_components/respond/dest/respond.src.js')) .pipe(concat('modernizr.js')) .pipe(gulpif(args.production, uglify())) - .pipe(gulp.dest('materializr/assets/javascripts')); + .pipe(gulp.dest('material/assets/javascripts')); }); /* * Copy static assets like images and webfonts. */ gulp.task('assets:static', function() { - return gulp.src('src/assets/{fonts,images}/*.{ico,jpg,png,gif}') + return gulp.src('src/assets/{fonts,images}/*.{jpg,png,gif}') .pipe(gulpif(args.production, minimage({ optimizationLevel: 5, progressive: true, interlaced: true }))) - .pipe(addsrc.append('src/assets/{fonts,images}/*.{eot,svg,ttf,woff}')) - .pipe(gulp.dest('materializr/assets/')); + .pipe(addsrc.append('src/assets/{fonts,images}/*.{ico,eot,svg,ttf,woff}')) + .pipe(gulp.dest('material/assets/')); }); /* @@ -191,20 +191,20 @@ gulp.task('assets:views', args.production ? [ .pipe(compact()) .pipe(gulpif(args.production, addsrc.append([ - 'materializr/manifest.json', - 'materializr/**/*.css' + 'material/manifest.json', + 'material/**/*.css' ]))) .pipe(gulpif(args.production, collect())) .pipe(ignore.exclude(/manifest\.json$/)) - .pipe(gulp.dest('materializr')); + .pipe(gulp.dest('material')); }); /* * Clean outdated revisions. */ gulp.task('assets:revisions:clean', function() { - return gulp.src(['materializr/**/*.{css,js,png,jpg,gif}']) - .pipe(ignore.include(/-[a-f0-9]{8}\.(css|js|png|jpg|gif)$/)) + return gulp.src(['material/**/*.{ico,css,js,png,jpg,gif}']) + .pipe(ignore.include(/-[a-f0-9]{8}\.(ico|css|js|png|jpg|gif)$/)) .pipe(vinyl(clean)); }); @@ -217,12 +217,12 @@ gulp.task('assets:revisions', [ 'assets:javascripts', 'assets:static' ], function() { - return gulp.src(['materializr/**/*.{css,js,png,jpg,gif}']) + return gulp.src(['material/**/*.{ico,css,js,png,jpg,gif}']) .pipe(ignore.exclude(/-[a-f0-9]{8}\.(css|js|png|jpg|gif)$/)) .pipe(rev()) - .pipe(gulp.dest('materializr')) + .pipe(gulp.dest('material')) .pipe(rev.manifest('manifest.json')) - .pipe(gulp.dest('materializr')); + .pipe(gulp.dest('material')); }); /* diff --git a/MANIFEST.in b/MANIFEST.in index db8265244..770a07a04 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ -recursive-include materializr *.ico *.js *.css *.html *.eot *.svg *.ttf *.woff +recursive-include material *.ico *.js *.css *.html *.eot *.svg *.ttf *.woff +recursive-exclude site * recursive-exclude * __pycache__ recursive-exclude * *.py[co] \ No newline at end of file diff --git a/README.txt b/README.txt index dff074d77..ed0cf54c1 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -materializr +mkdocs-material =========== A material design theme for MkDocs diff --git a/bower.json b/bower.json index b6f5df1d5..ef9ed144c 100644 --- a/bower.json +++ b/bower.json @@ -1,8 +1,8 @@ { - "name": "materializr", + "name": "mkdocs-material", "version": "0.1.0", "description": "A material design theme for MkDocs", - "homepage": "https://github.com/squidfunk/materializr", + "homepage": "https://github.com/squidfunk/mkdocs-material", "authors": [ "squidfunk " ], diff --git a/materializr/__init__.py b/material/__init__.py similarity index 100% rename from materializr/__init__.py rename to material/__init__.py diff --git a/materializr/assets/fonts/icon.eot b/material/assets/fonts/icon.eot similarity index 100% rename from materializr/assets/fonts/icon.eot rename to material/assets/fonts/icon.eot diff --git a/materializr/assets/fonts/icon.svg b/material/assets/fonts/icon.svg similarity index 100% rename from materializr/assets/fonts/icon.svg rename to material/assets/fonts/icon.svg diff --git a/materializr/assets/fonts/icon.ttf b/material/assets/fonts/icon.ttf similarity index 100% rename from materializr/assets/fonts/icon.ttf rename to material/assets/fonts/icon.ttf diff --git a/materializr/assets/fonts/icon.woff b/material/assets/fonts/icon.woff similarity index 100% rename from materializr/assets/fonts/icon.woff rename to material/assets/fonts/icon.woff diff --git a/materializr/assets/images/favicon.ico b/material/assets/images/favicon-e565ddfa.ico similarity index 100% rename from materializr/assets/images/favicon.ico rename to material/assets/images/favicon-e565ddfa.ico diff --git a/material/assets/images/favicon.ico b/material/assets/images/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..e85006a3ce1c6fd81faa6d5a13095519c4a6fc96 GIT binary patch literal 1150 zcmd6lF-yZh9L1kl>(HSEK`2y^4yB6->f+$wD)=oNY!UheIt03Q=;qj=;8*Bap_4*& za8yAl;wmmx5Yyi^7dXN-WYdJ-{qNqpcez|5t#Fr0qTSYcPTG`I2PBk8r$~4kg^0zN zCJe(rhix3do!L$bZ+IuZ{i08x=JR3=e+M4pv0KsKA??{u_*EFfo|`p&t`Vf=jn{)F z1fKk9hWsmYwqWAP^JO*5u*R;*L&dX3H$%S7oB$f0{ISh{QVXuncnzN67WQH2`lip7 zhX+VI$6x$1+$8gMjh4+1l0N#8_0Fh=N#EwpKk{SeE!)SHFB@xQFX3y+8sF#_@!bDW eIdI-IC`$c%>bk?KbPeN9RHtL<1^)v~#xMt8oB^@` literal 0 HcmV?d00001 diff --git a/materializr/assets/javascripts/application-3bd5fcbd.js b/material/assets/javascripts/application-1a680198.js similarity index 97% rename from materializr/assets/javascripts/application-3bd5fcbd.js rename to material/assets/javascripts/application-1a680198.js index b44e49334..c08d519a7 100644 --- a/materializr/assets/javascripts/application-3bd5fcbd.js +++ b/material/assets/javascripts/application-1a680198.js @@ -1 +1,2 @@ -function pegasus(e,t){return t=new XMLHttpRequest,t.open("GET",e),e=[],t.onreadystatechange=t.then=function(n,o,i,r){if(n&&n.call&&(e=[,n,o]),4==t.readyState&&(i=e[0|t.status/200])){try{r=JSON.parse(t.responseText)}catch(s){r=null}i(r,t)}},t.send(),t}if("document"in self&&("classList"in document.createElement("_")?!function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,o=arguments.length;for(n=0;o>n;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}():!function(e){"use strict";if("Element"in e){var t="classList",n="prototype",o=e.Element[n],i=Object,r=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array[n].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},c=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return s.call(e,t)},l=function(e){for(var t=r.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],o=0,i=n.length;i>o;o++)this.push(n[o]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=l[n]=[],h=function(){return new l(this)};if(a[n]=Error[n],u.item=function(e){return this[e]||null},u.contains=function(e){return e+="",-1!==c(this,e)},u.add=function(){var e,t=arguments,n=0,o=t.length,i=!1;do e=t[n]+"",-1===c(this,e)&&(this.push(e),i=!0);while(++nc;c++)a[s[c]]=i(a[s[c]],a);n&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,n,o){var i=Node.prototype.removeEventListener;"click"===e?i.call(t,e,n.hijacked||n,o):i.call(t,e,n,o)},t.addEventListener=function(e,n,o){var i=Node.prototype.addEventListener;"click"===e?i.call(t,e,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),o):i.call(t,e,n,o)}),"function"==typeof t.onclick&&(r=t.onclick,t.addEventListener("click",function(e){r(e)},!1),t.onclick=null)}}var t=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!t,o=/iP(ad|hone|od)/.test(navigator.userAgent)&&!t,i=o&&/OS 4_\d(_\d)?/.test(navigator.userAgent),r=o&&/OS [6-7]_\d/.test(navigator.userAgent),s=navigator.userAgent.indexOf("BB10")>0;e.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(o&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},e.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},e.prototype.sendClick=function(e,t){var n,o;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),o=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},e.prototype.determineEventType=function(e){return n&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},e.prototype.focus=function(e){var t;o&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},e.prototype.updateScrollParent=function(e){var t,n;if(t=e.fastClickScrollParent,!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},e.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},e.prototype.onTouchStart=function(e){var t,n,r;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],o){if(r=window.getSelection(),r.rangeCount&&!r.isCollapsed)return!0;if(!i){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTimen||Math.abs(t.pageY-this.touchStartY)>n?!0:!1},e.prototype.onTouchMove=function(e){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},e.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},e.prototype.onTouchEnd=function(e){var t,s,a,c,l,u=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,s=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,r&&(l=e.changedTouches[0],u=document.elementFromPoint(l.pageX-window.pageXOffset,l.pageY-window.pageYOffset)||u,u.fastClickScrollParent=this.targetElement.fastClickScrollParent),a=u.tagName.toLowerCase(),"label"===a){if(t=this.findControl(u)){if(this.focus(u),n)return!1;u=t}}else if(this.needsFocus(u))return e.timeStamp-s>100||o&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(u),this.sendClick(u,e),o&&"select"===a||(this.targetElement=null,e.preventDefault()),!1);return o&&!i&&(c=u.fastClickScrollParent,c&&c.fastClickLastScrollTop!==c.scrollTop)?!0:(this.needsClick(u)||(e.preventDefault(),this.sendClick(u,e)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.prototype.onMouse=function(e){return this.targetElement?e.forwardedTouchEvent?!0:e.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1):!0:!0},e.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail?!0:(t=this.onMouse(e),t||(this.targetElement=null),t)},e.prototype.destroy=function(){var e=this.layer;n&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},e.notNeeded=function(e){var t,o,i,r;if("undefined"==typeof window.ontouchstart)return!0;if(o=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(o>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(s&&(i=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),i[1]>=10&&i[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction?!0:(r=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],r>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===e.style.touchAction||"manipulation"===e.style.touchAction?!0:!1)},e.attach=function(t,n){return new e(t,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return e}):"undefined"!=typeof module&&module.exports?(module.exports=e.attach,module.exports.FastClick=e):window.FastClick=e}(),function(){var e=function(t){var n=new e.Index;return n.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),t&&t.call(n,n),n};e.version="0.5.12",e.utils={},e.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),e.EventEmitter=function(){this.events={}},e.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},e.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);this.events[e].splice(n,1),this.events[e].length||delete this.events[e]}},e.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)})}},e.EventEmitter.prototype.hasHandler=function(e){return e in this.events},e.tokenizer=function(e){return arguments.length&&null!=e&&void 0!=e?Array.isArray(e)?e.map(function(e){return e.toLowerCase()}):e.toString().trim().toLowerCase().split(/[\s\-]+/):[]},e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions={},e.Pipeline.registerFunction=function(t,n){n in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+n),t.label=n,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var n=t.label&&t.label in this.registeredFunctions;n||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var n=new e.Pipeline;return t.forEach(function(t){var o=e.Pipeline.registeredFunctions[t];if(!o)throw new Error("Cannot load un-registered function: "+t);n.add(o)}),n},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,n){e.Pipeline.warnIfFunctionNotRegistered(n);var o=this._stack.indexOf(t);if(-1==o)throw new Error("Cannot find existingFn");o+=1,this._stack.splice(o,0,n)},e.Pipeline.prototype.before=function(t,n){e.Pipeline.warnIfFunctionNotRegistered(n);var o=this._stack.indexOf(t);if(-1==o)throw new Error("Cannot find existingFn");this._stack.splice(o,0,n)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._stack.length,i=0;n>i;i++){for(var r=e[i],s=0;o>s&&(r=this._stack[s](r,i,e),void 0!==r);s++);void 0!==r&&t.push(r)}return t},e.Pipeline.prototype.reset=function(){this._stack=[]},e.Pipeline.prototype.toJSON=function(){return this._stack.map(function(t){return e.Pipeline.warnIfFunctionNotRegistered(t),t.label})},e.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},e.Vector.Node=function(e,t,n){this.idx=e,this.val=t,this.next=n},e.Vector.prototype.insert=function(t,n){this._magnitude=void 0;var o=this.list;if(!o)return this.list=new e.Vector.Node(t,n,o),this.length++;if(tn.idx?n=n.next:(o+=t.val*n.val,t=t.next,n=n.next);return o},e.Vector.prototype.similarity=function(e){return this.dot(e)/(this.magnitude()*e.magnitude())},e.SortedSet=function(){this.length=0,this.elements=[]},e.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},e.SortedSet.prototype.add=function(){var e,t;for(e=0;e1;){if(r===e)return i;e>r&&(t=i),r>e&&(n=i),o=n-t,i=t+Math.floor(o/2),r=this.elements[i]}return r===e?i:-1},e.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];o>1;)e>r&&(t=i),r>e&&(n=i),o=n-t,i=t+Math.floor(o/2),r=this.elements[i];return r>e?i:e>r?i+1:void 0},e.SortedSet.prototype.intersect=function(t){for(var n=new e.SortedSet,o=0,i=0,r=this.length,s=t.length,a=this.elements,c=t.elements;;){if(o>r-1||i>s-1)break;a[o]!==c[i]?a[o]c[i]&&i++:(n.add(a[o]),o++,i++)}return n},e.SortedSet.prototype.clone=function(){var t=new e.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},e.SortedSet.prototype.union=function(e){var t,n,o;return this.length>=e.length?(t=this,n=e):(t=e,n=this),o=t.clone(),o.add.apply(o,n.toArray()),o},e.SortedSet.prototype.toJSON=function(){return this.toArray()},e.Index=function(){this._fields=[],this._ref="id",this.pipeline=new e.Pipeline,this.documentStore=new e.Store,this.tokenStore=new e.TokenStore,this.corpusTokens=new e.SortedSet,this.eventEmitter=new e.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},e.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},e.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},e.Index.load=function(t){t.version!==e.version&&e.utils.warn("version mismatch: current "+e.version+" importing "+t.version);var n=new this;return n._fields=t.fields,n._ref=t.ref,n.documentStore=e.Store.load(t.documentStore),n.tokenStore=e.TokenStore.load(t.tokenStore),n.corpusTokens=e.SortedSet.load(t.corpusTokens),n.pipeline=e.Pipeline.load(t.pipeline),n},e.Index.prototype.field=function(e,t){var t=t||{},n={name:e,boost:t.boost||1};return this._fields.push(n),this},e.Index.prototype.ref=function(e){return this._ref=e,this},e.Index.prototype.add=function(t,n){var o={},i=new e.SortedSet,r=t[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(n){var r=this.pipeline.run(e.tokenizer(t[n.name]));o[n.name]=r,e.SortedSet.prototype.add.apply(i,r)},this),this.documentStore.set(r,i),e.SortedSet.prototype.add.apply(this.corpusTokens,i.toArray());for(var s=0;s0&&(o=1+Math.log(this.documentStore.length/n)),this._idfCache[t]=o},e.Index.prototype.search=function(t){var n=this.pipeline.run(e.tokenizer(t)),o=new e.Vector,i=[],r=this._fields.reduce(function(e,t){return e+t.boost},0),s=n.some(function(e){return this.tokenStore.has(e)},this);if(!s)return[];n.forEach(function(t,n,s){var a=1/s.length*this._fields.length*r,c=this,l=this.tokenStore.expand(t).reduce(function(n,i){var r=c.corpusTokens.indexOf(i),s=c.idf(i),l=1,u=new e.SortedSet;if(i!==t){var h=Math.max(3,i.length-t.length);l=1/Math.log(h)}return r>-1&&o.insert(r,a*s*l),Object.keys(c.tokenStore.get(i)).forEach(function(e){u.add(e)}),n.union(u)},new e.SortedSet);i.push(l)},this);var a=i.reduce(function(e,t){return e.intersect(t)});return a.map(function(e){return{ref:e,score:o.similarity(this.documentVector(e))}},this).sort(function(e,t){return t.score-e.score})},e.Index.prototype.documentVector=function(t){for(var n=this.documentStore.get(t),o=n.length,i=new e.Vector,r=0;o>r;r++){var s=n.elements[r],a=this.tokenStore.get(s)[t].tf,c=this.idf(s);i.insert(this.corpusTokens.indexOf(s),a*c)}return i},e.Index.prototype.toJSON=function(){return{version:e.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},e.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},e.Store=function(){this.store={},this.length=0},e.Store.load=function(t){var n=new this;return n.length=t.length,n.store=Object.keys(t.store).reduce(function(n,o){return n[o]=e.SortedSet.load(t.store[o]),n},{}),n},e.Store.prototype.set=function(e,t){this.has(e)||this.length++,this.store[e]=t},e.Store.prototype.get=function(e){return this.store[e]},e.Store.prototype.has=function(e){return e in this.store},e.Store.prototype.remove=function(e){this.has(e)&&(delete this.store[e],this.length--)},e.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},e.stemmer=function(){var e={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},t={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",o="[aeiouy]",i=n+"[^aeiouy]*",r=o+"[aeiou]*",s="^("+i+")?"+r+i,a="^("+i+")?"+r+i+"("+r+")?$",c="^("+i+")?"+r+i+r+i,l="^("+i+")?"+o,u=new RegExp(s),h=new RegExp(c),d=new RegExp(a),f=new RegExp(l),p=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,g=/^(.+?)(ed|ing)$/,y=/.$/,w=/(at|bl|iz)$/,S=new RegExp("([^aeiouylsz])\\1$"),k=new RegExp("^"+i+o+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,x=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,T=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,C=/^(.+?)(s|t)(ion)$/,L=/^(.+?)e$/,_=/ll$/,O=new RegExp("^"+i+o+"[^aeiouwxy]$"),A=function(n){var o,i,r,s,a,c,l;if(n.length<3)return n;if(r=n.substr(0,1),"y"==r&&(n=r.toUpperCase()+n.substr(1)),s=p,a=m,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=v,a=g,s.test(n)){var A=s.exec(n);s=u,s.test(A[1])&&(s=y,n=n.replace(s,""))}else if(a.test(n)){var A=a.exec(n);o=A[1],a=f,a.test(o)&&(n=o,a=w,c=S,l=k,a.test(n)?n+="e":c.test(n)?(s=y,n=n.replace(s,"")):l.test(n)&&(n+="e"))}if(s=E,s.test(n)){var A=s.exec(n);o=A[1],n=o+"i"}if(s=b,s.test(n)){var A=s.exec(n);o=A[1],i=A[2],s=u,s.test(o)&&(n=o+e[i])}if(s=x,s.test(n)){var A=s.exec(n);o=A[1],i=A[2],s=u,s.test(o)&&(n=o+t[i])}if(s=T,a=C,s.test(n)){var A=s.exec(n);o=A[1],s=h,s.test(o)&&(n=o)}else if(a.test(n)){var A=a.exec(n);o=A[1]+A[2],a=h,a.test(o)&&(n=o)}if(s=L,s.test(n)){var A=s.exec(n);o=A[1],s=h,a=d,c=O,(s.test(o)||a.test(o)&&!c.test(o))&&(n=o)}return s=_,a=h,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==r&&(n=r.toLowerCase()+n.substr(1)),n};return A}(),e.Pipeline.registerFunction(e.stemmer,"stemmer"),e.stopWordFilter=function(t){return t&&e.stopWordFilter.stopWords[t]!==t?t:void 0},e.stopWordFilter.stopWords={a:"a",able:"able",about:"about",across:"across",after:"after",all:"all",almost:"almost",also:"also",am:"am",among:"among",an:"an",and:"and",any:"any",are:"are",as:"as",at:"at",be:"be",because:"because",been:"been",but:"but",by:"by",can:"can",cannot:"cannot",could:"could",dear:"dear",did:"did","do":"do",does:"does",either:"either","else":"else",ever:"ever",every:"every","for":"for",from:"from",get:"get",got:"got",had:"had",has:"has",have:"have",he:"he",her:"her",hers:"hers",him:"him",his:"his",how:"how",however:"however",i:"i","if":"if","in":"in",into:"into",is:"is",it:"it",its:"its",just:"just",least:"least",let:"let",like:"like",likely:"likely",may:"may",me:"me",might:"might",most:"most",must:"must",my:"my",neither:"neither",no:"no",nor:"nor",not:"not",of:"of",off:"off",often:"often",on:"on",only:"only",or:"or",other:"other",our:"our",own:"own",rather:"rather",said:"said",say:"say",says:"says",she:"she",should:"should",since:"since",so:"so",some:"some",than:"than",that:"that",the:"the",their:"their",them:"them",then:"then",there:"there",these:"these",they:"they","this":"this",tis:"tis",to:"to",too:"too",twas:"twas",us:"us",wants:"wants",was:"was",we:"we",were:"were",what:"what",when:"when",where:"where",which:"which","while":"while",who:"who",whom:"whom",why:"why",will:"will","with":"with",would:"would",yet:"yet",you:"you",your:"your"},e.Pipeline.registerFunction(e.stopWordFilter,"stopWordFilter"),e.trimmer=function(e){var t=e.replace(/^\W+/,"").replace(/\W+$/,"");return""===t?void 0:t},e.Pipeline.registerFunction(e.trimmer,"trimmer"),e.TokenStore=function(){this.root={docs:{}},this.length=0},e.TokenStore.load=function(e){var t=new this;return t.root=e.root,t.length=e.length,t},e.TokenStore.prototype.add=function(e,t,n){var n=n||this.root,o=e[0],i=e.slice(1);return o in n||(n[o]={docs:{}}),0===i.length?(n[o].docs[t.ref]=t,void(this.length+=1)):this.add(i,t,n[o])},e.TokenStore.prototype.has=function(e){if(!e)return!1;for(var t=this.root,n=0;ne){for(;" "!=this[e]&&--e>0;);return this.substring(0,e)+"…"}return this},HTMLElement.prototype.wrap=function(e){e.length||(e=[e]);for(var t=e.length-1;t>=0;t--){var n=t>0?this.cloneNode(!0):this,o=e[t],i=o.parentNode,r=o.nextSibling;n.appendChild(o),r?i.insertBefore(n,r):i.appendChild(n)}},document.addEventListener("DOMContentLoaded",function(){"use strict";Modernizr.addTest("ios",function(){return!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}),Modernizr.addTest("standalone",function(){return!!navigator.standalone}),FastClick.attach(document.body);var e=document.getElementById("toggle-search"),t=(document.getElementById("reset-search"),document.querySelector(".drawer")),n=document.querySelectorAll(".anchor"),o=document.querySelector(".search .field"),i=document.querySelector(".query"),r=document.querySelector(".results .meta");Array.prototype.forEach.call(n,function(e){e.querySelector("a").addEventListener("click",function(){document.getElementById("toggle-drawer").checked=!1,document.body.classList.remove("toggle-drawer")})});var s=window.pageYOffset,a=function(){var e=window.pageYOffset+window.innerHeight,n=Math.max(0,window.innerHeight-t.offsetHeight);e>document.body.clientHeight-(96-n)?"absolute"!=t.style.position&&(t.style.position="absolute",t.style.top=null,t.style.bottom=0):t.offsetHeightt.offsetTop+t.offsetHeight?(t.style.position="fixed",t.style.top=null,t.style.bottom="-96px"):window.pageYOffsets?t.style.top&&(t.style.position="absolute",t.style.top=Math.max(0,s)+"px",t.style.bottom=null):t.style.bottom&&(t.style.position="absolute",t.style.top=e-t.offsetHeight+"px",t.style.bottom=null),s=Math.max(0,window.pageYOffset)},c=function(){var e=document.querySelector(".main");window.removeEventListener("scroll",a),matchMedia("only screen and (max-width: 959px)").matches?(t.style.position=null,t.style.top=null,t.style.bottom=null):t.offsetHeight+96o;o++)e1e3&&(n=(n/1e3).toFixed(1)+"k");var o=document.querySelector(".repo-stars .count");o.innerHTML=n},function(e,t){console.error(e,t.status)})}),"standalone"in window.navigator&&window.navigator.standalone){var node,remotes=!1;document.addEventListener("click",function(e){for(node=e.target;"A"!==node.nodeName&&"HTML"!==node.nodeName;)node=node.parentNode;"href"in node&&-1!==node.href.indexOf("http")&&(-1!==node.href.indexOf(document.location.host)||remotes)&&(e.preventDefault(),document.location.href=node.href)},!1)} \ No newline at end of file +function pegasus(e,t){return t=new XMLHttpRequest,t.open("GET",e),e=[],t.onreadystatechange=t.then=function(n,o,i,r){if(n&&n.call&&(e=[,n,o]),4==t.readyState&&(i=e[0|t.status/200])){try{r=JSON.parse(t.responseText)}catch(s){r=null}i(r,t)}},t.send(),t}if("document"in self&&("classList"in document.createElement("_")?!function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,o=arguments.length;for(n=0;o>n;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}():!function(e){"use strict";if("Element"in e){var t="classList",n="prototype",o=e.Element[n],i=Object,r=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array[n].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},c=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return s.call(e,t)},l=function(e){for(var t=r.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],o=0,i=n.length;i>o;o++)this.push(n[o]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=l[n]=[],h=function(){return new l(this)};if(a[n]=Error[n],u.item=function(e){return this[e]||null},u.contains=function(e){return e+="",-1!==c(this,e)},u.add=function(){var e,t=arguments,n=0,o=t.length,i=!1;do e=t[n]+"",-1===c(this,e)&&(this.push(e),i=!0);while(++nc;c++)a[s[c]]=i(a[s[c]],a);n&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,n,o){var i=Node.prototype.removeEventListener;"click"===e?i.call(t,e,n.hijacked||n,o):i.call(t,e,n,o)},t.addEventListener=function(e,n,o){var i=Node.prototype.addEventListener;"click"===e?i.call(t,e,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),o):i.call(t,e,n,o)}),"function"==typeof t.onclick&&(r=t.onclick,t.addEventListener("click",function(e){r(e)},!1),t.onclick=null)}}var t=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!t,o=/iP(ad|hone|od)/.test(navigator.userAgent)&&!t,i=o&&/OS 4_\d(_\d)?/.test(navigator.userAgent),r=o&&/OS [6-7]_\d/.test(navigator.userAgent),s=navigator.userAgent.indexOf("BB10")>0;e.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(o&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},e.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},e.prototype.sendClick=function(e,t){var n,o;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),o=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},e.prototype.determineEventType=function(e){return n&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},e.prototype.focus=function(e){var t;o&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},e.prototype.updateScrollParent=function(e){var t,n;if(t=e.fastClickScrollParent,!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},e.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},e.prototype.onTouchStart=function(e){var t,n,r;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],o){if(r=window.getSelection(),r.rangeCount&&!r.isCollapsed)return!0;if(!i){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTimen||Math.abs(t.pageY-this.touchStartY)>n?!0:!1},e.prototype.onTouchMove=function(e){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},e.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},e.prototype.onTouchEnd=function(e){var t,s,a,c,l,u=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,s=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,r&&(l=e.changedTouches[0],u=document.elementFromPoint(l.pageX-window.pageXOffset,l.pageY-window.pageYOffset)||u,u.fastClickScrollParent=this.targetElement.fastClickScrollParent),a=u.tagName.toLowerCase(),"label"===a){if(t=this.findControl(u)){if(this.focus(u),n)return!1;u=t}}else if(this.needsFocus(u))return e.timeStamp-s>100||o&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(u),this.sendClick(u,e),o&&"select"===a||(this.targetElement=null,e.preventDefault()),!1);return o&&!i&&(c=u.fastClickScrollParent,c&&c.fastClickLastScrollTop!==c.scrollTop)?!0:(this.needsClick(u)||(e.preventDefault(),this.sendClick(u,e)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.prototype.onMouse=function(e){return this.targetElement?e.forwardedTouchEvent?!0:e.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1):!0:!0},e.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail?!0:(t=this.onMouse(e),t||(this.targetElement=null),t)},e.prototype.destroy=function(){var e=this.layer;n&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},e.notNeeded=function(e){var t,o,i,r;if("undefined"==typeof window.ontouchstart)return!0;if(o=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(o>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(s&&(i=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),i[1]>=10&&i[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction?!0:(r=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],r>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===e.style.touchAction||"manipulation"===e.style.touchAction?!0:!1)},e.attach=function(t,n){return new e(t,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return e}):"undefined"!=typeof module&&module.exports?(module.exports=e.attach,module.exports.FastClick=e):window.FastClick=e}(),function(){var e=function(t){var n=new e.Index;return n.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),t&&t.call(n,n),n};e.version="0.5.12",e.utils={},e.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),e.EventEmitter=function(){this.events={}},e.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},e.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);this.events[e].splice(n,1),this.events[e].length||delete this.events[e]}},e.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)})}},e.EventEmitter.prototype.hasHandler=function(e){return e in this.events},e.tokenizer=function(e){return arguments.length&&null!=e&&void 0!=e?Array.isArray(e)?e.map(function(e){return e.toLowerCase()}):e.toString().trim().toLowerCase().split(/[\s\-]+/):[]},e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions={},e.Pipeline.registerFunction=function(t,n){n in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+n),t.label=n,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var n=t.label&&t.label in this.registeredFunctions;n||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var n=new e.Pipeline;return t.forEach(function(t){var o=e.Pipeline.registeredFunctions[t];if(!o)throw new Error("Cannot load un-registered function: "+t);n.add(o)}),n},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,n){e.Pipeline.warnIfFunctionNotRegistered(n);var o=this._stack.indexOf(t);if(-1==o)throw new Error("Cannot find existingFn");o+=1,this._stack.splice(o,0,n)},e.Pipeline.prototype.before=function(t,n){e.Pipeline.warnIfFunctionNotRegistered(n);var o=this._stack.indexOf(t);if(-1==o)throw new Error("Cannot find existingFn");this._stack.splice(o,0,n)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._stack.length,i=0;n>i;i++){for(var r=e[i],s=0;o>s&&(r=this._stack[s](r,i,e),void 0!==r);s++);void 0!==r&&t.push(r)}return t},e.Pipeline.prototype.reset=function(){this._stack=[]},e.Pipeline.prototype.toJSON=function(){return this._stack.map(function(t){return e.Pipeline.warnIfFunctionNotRegistered(t),t.label})},e.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},e.Vector.Node=function(e,t,n){this.idx=e,this.val=t,this.next=n},e.Vector.prototype.insert=function(t,n){this._magnitude=void 0;var o=this.list;if(!o)return this.list=new e.Vector.Node(t,n,o),this.length++;if(tn.idx?n=n.next:(o+=t.val*n.val,t=t.next,n=n.next);return o},e.Vector.prototype.similarity=function(e){return this.dot(e)/(this.magnitude()*e.magnitude())},e.SortedSet=function(){this.length=0,this.elements=[]},e.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},e.SortedSet.prototype.add=function(){var e,t;for(e=0;e1;){if(r===e)return i;e>r&&(t=i),r>e&&(n=i),o=n-t,i=t+Math.floor(o/2),r=this.elements[i]}return r===e?i:-1},e.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];o>1;)e>r&&(t=i),r>e&&(n=i),o=n-t,i=t+Math.floor(o/2),r=this.elements[i];return r>e?i:e>r?i+1:void 0},e.SortedSet.prototype.intersect=function(t){for(var n=new e.SortedSet,o=0,i=0,r=this.length,s=t.length,a=this.elements,c=t.elements;;){if(o>r-1||i>s-1)break;a[o]!==c[i]?a[o]c[i]&&i++:(n.add(a[o]),o++,i++)}return n},e.SortedSet.prototype.clone=function(){var t=new e.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},e.SortedSet.prototype.union=function(e){var t,n,o;return this.length>=e.length?(t=this,n=e):(t=e,n=this),o=t.clone(),o.add.apply(o,n.toArray()),o},e.SortedSet.prototype.toJSON=function(){return this.toArray()},e.Index=function(){this._fields=[],this._ref="id",this.pipeline=new e.Pipeline,this.documentStore=new e.Store,this.tokenStore=new e.TokenStore,this.corpusTokens=new e.SortedSet,this.eventEmitter=new e.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},e.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},e.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},e.Index.load=function(t){t.version!==e.version&&e.utils.warn("version mismatch: current "+e.version+" importing "+t.version);var n=new this;return n._fields=t.fields,n._ref=t.ref,n.documentStore=e.Store.load(t.documentStore),n.tokenStore=e.TokenStore.load(t.tokenStore),n.corpusTokens=e.SortedSet.load(t.corpusTokens),n.pipeline=e.Pipeline.load(t.pipeline),n},e.Index.prototype.field=function(e,t){var t=t||{},n={name:e,boost:t.boost||1};return this._fields.push(n),this},e.Index.prototype.ref=function(e){return this._ref=e,this},e.Index.prototype.add=function(t,n){var o={},i=new e.SortedSet,r=t[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(n){var r=this.pipeline.run(e.tokenizer(t[n.name]));o[n.name]=r,e.SortedSet.prototype.add.apply(i,r)},this),this.documentStore.set(r,i),e.SortedSet.prototype.add.apply(this.corpusTokens,i.toArray());for(var s=0;s0&&(o=1+Math.log(this.documentStore.length/n)),this._idfCache[t]=o},e.Index.prototype.search=function(t){var n=this.pipeline.run(e.tokenizer(t)),o=new e.Vector,i=[],r=this._fields.reduce(function(e,t){return e+t.boost},0),s=n.some(function(e){return this.tokenStore.has(e)},this);if(!s)return[];n.forEach(function(t,n,s){var a=1/s.length*this._fields.length*r,c=this,l=this.tokenStore.expand(t).reduce(function(n,i){var r=c.corpusTokens.indexOf(i),s=c.idf(i),l=1,u=new e.SortedSet;if(i!==t){var h=Math.max(3,i.length-t.length);l=1/Math.log(h)}return r>-1&&o.insert(r,a*s*l),Object.keys(c.tokenStore.get(i)).forEach(function(e){u.add(e)}),n.union(u)},new e.SortedSet);i.push(l)},this);var a=i.reduce(function(e,t){return e.intersect(t)});return a.map(function(e){return{ref:e,score:o.similarity(this.documentVector(e))}},this).sort(function(e,t){return t.score-e.score})},e.Index.prototype.documentVector=function(t){for(var n=this.documentStore.get(t),o=n.length,i=new e.Vector,r=0;o>r;r++){var s=n.elements[r],a=this.tokenStore.get(s)[t].tf,c=this.idf(s);i.insert(this.corpusTokens.indexOf(s),a*c)}return i},e.Index.prototype.toJSON=function(){return{version:e.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},e.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},e.Store=function(){this.store={},this.length=0},e.Store.load=function(t){var n=new this;return n.length=t.length,n.store=Object.keys(t.store).reduce(function(n,o){return n[o]=e.SortedSet.load(t.store[o]),n},{}),n},e.Store.prototype.set=function(e,t){this.has(e)||this.length++,this.store[e]=t},e.Store.prototype.get=function(e){return this.store[e]},e.Store.prototype.has=function(e){return e in this.store},e.Store.prototype.remove=function(e){this.has(e)&&(delete this.store[e],this.length--)},e.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},e.stemmer=function(){var e={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},t={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",o="[aeiouy]",i=n+"[^aeiouy]*",r=o+"[aeiou]*",s="^("+i+")?"+r+i,a="^("+i+")?"+r+i+"("+r+")?$",c="^("+i+")?"+r+i+r+i,l="^("+i+")?"+o,u=new RegExp(s),h=new RegExp(c),d=new RegExp(a),f=new RegExp(l),p=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,g=/^(.+?)(ed|ing)$/,y=/.$/,w=/(at|bl|iz)$/,S=new RegExp("([^aeiouylsz])\\1$"),k=new RegExp("^"+i+o+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,x=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,b=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,T=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,C=/^(.+?)(s|t)(ion)$/,L=/^(.+?)e$/,_=/ll$/,O=new RegExp("^"+i+o+"[^aeiouwxy]$"),A=function(n){var o,i,r,s,a,c,l;if(n.length<3)return n;if(r=n.substr(0,1),"y"==r&&(n=r.toUpperCase()+n.substr(1)),s=p,a=m,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=v,a=g,s.test(n)){var A=s.exec(n);s=u,s.test(A[1])&&(s=y,n=n.replace(s,""))}else if(a.test(n)){var A=a.exec(n);o=A[1],a=f,a.test(o)&&(n=o,a=w,c=S,l=k,a.test(n)?n+="e":c.test(n)?(s=y,n=n.replace(s,"")):l.test(n)&&(n+="e"))}if(s=E,s.test(n)){var A=s.exec(n);o=A[1],n=o+"i"}if(s=x,s.test(n)){var A=s.exec(n);o=A[1],i=A[2],s=u,s.test(o)&&(n=o+e[i])}if(s=b,s.test(n)){var A=s.exec(n);o=A[1],i=A[2],s=u,s.test(o)&&(n=o+t[i])}if(s=T,a=C,s.test(n)){var A=s.exec(n);o=A[1],s=h,s.test(o)&&(n=o)}else if(a.test(n)){var A=a.exec(n);o=A[1]+A[2],a=h,a.test(o)&&(n=o)}if(s=L,s.test(n)){var A=s.exec(n);o=A[1],s=h,a=d,c=O,(s.test(o)||a.test(o)&&!c.test(o))&&(n=o)}return s=_,a=h,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==r&&(n=r.toLowerCase()+n.substr(1)),n};return A}(),e.Pipeline.registerFunction(e.stemmer,"stemmer"),e.stopWordFilter=function(t){return t&&e.stopWordFilter.stopWords[t]!==t?t:void 0},e.stopWordFilter.stopWords={a:"a",able:"able",about:"about",across:"across",after:"after",all:"all",almost:"almost",also:"also",am:"am",among:"among",an:"an",and:"and",any:"any",are:"are",as:"as",at:"at",be:"be",because:"because",been:"been",but:"but",by:"by",can:"can",cannot:"cannot",could:"could",dear:"dear",did:"did","do":"do",does:"does",either:"either","else":"else",ever:"ever",every:"every","for":"for",from:"from",get:"get",got:"got",had:"had",has:"has",have:"have",he:"he",her:"her",hers:"hers",him:"him",his:"his",how:"how",however:"however",i:"i","if":"if","in":"in",into:"into",is:"is",it:"it",its:"its",just:"just",least:"least",let:"let",like:"like",likely:"likely",may:"may",me:"me",might:"might",most:"most",must:"must",my:"my",neither:"neither",no:"no",nor:"nor",not:"not",of:"of",off:"off",often:"often",on:"on",only:"only",or:"or",other:"other",our:"our",own:"own",rather:"rather",said:"said",say:"say",says:"says",she:"she",should:"should",since:"since",so:"so",some:"some",than:"than",that:"that",the:"the",their:"their",them:"them",then:"then",there:"there",these:"these",they:"they","this":"this",tis:"tis",to:"to",too:"too",twas:"twas",us:"us",wants:"wants",was:"was",we:"we",were:"were",what:"what",when:"when",where:"where",which:"which","while":"while",who:"who",whom:"whom",why:"why",will:"will","with":"with",would:"would",yet:"yet",you:"you",your:"your"},e.Pipeline.registerFunction(e.stopWordFilter,"stopWordFilter"),e.trimmer=function(e){var t=e.replace(/^\W+/,"").replace(/\W+$/,"");return""===t?void 0:t},e.Pipeline.registerFunction(e.trimmer,"trimmer"),e.TokenStore=function(){this.root={docs:{}},this.length=0},e.TokenStore.load=function(e){var t=new this;return t.root=e.root,t.length=e.length,t},e.TokenStore.prototype.add=function(e,t,n){var n=n||this.root,o=e[0],i=e.slice(1);return o in n||(n[o]={docs:{}}),0===i.length?(n[o].docs[t.ref]=t,void(this.length+=1)):this.add(i,t,n[o])},e.TokenStore.prototype.has=function(e){if(!e)return!1;for(var t=this.root,n=0;ne){for(;" "!=this[e]&&--e>0;);return this.substring(0,e)+"…"}return this},HTMLElement.prototype.wrap=function(e){e.length||(e=[e]);for(var t=e.length-1;t>=0;t--){var n=t>0?this.cloneNode(!0):this,o=e[t],i=o.parentNode,r=o.nextSibling;n.appendChild(o),r?i.insertBefore(n,r):i.appendChild(n)}},document.addEventListener("DOMContentLoaded",function(){"use strict";Modernizr.addTest("ios",function(){return!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}),Modernizr.addTest("standalone",function(){return!!navigator.standalone}),FastClick.attach(document.body);var e=document.getElementById("toggle-search"),t=(document.getElementById("reset-search"),document.querySelector(".drawer")),n=document.querySelectorAll(".anchor"),o=document.querySelector(".search .field"),i=document.querySelector(".query"),r=document.querySelector(".results .meta");Array.prototype.forEach.call(n,function(e){e.querySelector("a").addEventListener("click",function(){document.getElementById("toggle-drawer").checked=!1,document.body.classList.remove("toggle-drawer")})});var s=window.pageYOffset,a=function(){var e=window.pageYOffset+window.innerHeight,n=Math.max(0,window.innerHeight-t.offsetHeight);e>document.body.clientHeight-(96-n)?"absolute"!=t.style.position&&(t.style.position="absolute",t.style.top=null,t.style.bottom=0):t.offsetHeightt.offsetTop+t.offsetHeight?(t.style.position="fixed",t.style.top=null,t.style.bottom="-96px"):window.pageYOffsets?t.style.top&&(t.style.position="absolute",t.style.top=Math.max(0,s)+"px",t.style.bottom=null):t.style.bottom&&(t.style.position="absolute",t.style.top=e-t.offsetHeight+"px",t.style.bottom=null),s=Math.max(0,window.pageYOffset)},c=function(){var e=document.querySelector(".main");window.removeEventListener("scroll",a),matchMedia("only screen and (max-width: 959px)").matches?(t.style.position=null,t.style.top=null,t.style.bottom=null):t.offsetHeight+96o;o++)e1e4?n=(n/1e3).toFixed(0)+"k":n>1e3&&(n=(n/1e3).toFixed(1)+"k");var o=document.querySelector(".repo-stars .count");o.innerHTML=n},function(e,t){console.error(e,t.status)})}),"standalone"in window.navigator&&window.navigator.standalone){var node,remotes=!1;document.addEventListener("click",function(e){for(node=e.target;"A"!==node.nodeName&&"HTML"!==node.nodeName;)node=node.parentNode;"href"in node&&-1!==node.href.indexOf("http")&&(-1!==node.href.indexOf(document.location.host)||remotes)&&(e.preventDefault(),document.location.href=node.href); +},!1)} \ No newline at end of file diff --git a/materializr/assets/javascripts/application.js b/material/assets/javascripts/application.js similarity index 100% rename from materializr/assets/javascripts/application.js rename to material/assets/javascripts/application.js diff --git a/material/assets/javascripts/modernizr-79394028.js b/material/assets/javascripts/modernizr-79394028.js new file mode 100644 index 000000000..1bc9082d4 --- /dev/null +++ b/material/assets/javascripts/modernizr-79394028.js @@ -0,0 +1 @@ +!function(e,t,n){function r(e,t){return typeof e===t}function i(){var e,t,n,i,o,a,s;for(var l in x)if(x.hasOwnProperty(l)){if(e=[],t=x[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=_.style[h],l(h,"-")&&(h=m(h)),_.style[h]!==n){if(o||r(i,"undefined"))return a(),"pfx"==t?h:!0;try{_.style[h]=i}catch(y){}if(_.style[h]!=g)return a(),"pfx"==t?h:!0}return a(),!1}function g(e,t,n){var i;for(var o in e)if(e[o]in t)return n===!1?e[o]:(i=t[e[o]],r(i,"function")?s(i,n||t):i);return!1}function v(e,t,n,i,o){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,i,o):(s=(e+" "+R.join(a+" ")+a).split(" "),g(s,t,n))}function y(e,t,r){return v(e,n,n,t,r)}var x=[],E={_version:"3.3.0",_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){x.push({name:e,fn:t,options:n})},addAsyncTest:function(e){x.push({name:null,fn:e})}},S=function(){};S.prototype=E,S=new S;var w,b=[],T=t.documentElement,C="svg"===T.nodeName.toLowerCase();!function(){var e={}.hasOwnProperty;w=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=T.elements;return"string"==typeof e?e.split(" "):e}function i(e,t){var n=T.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),T.elements=n+" "+e,u(t)}function o(e){var t=b[e[S]];return t||(t={},w++,e[S]=w,b[w]=t),t}function a(e,n,r){if(n||(n=t),g)return n.createElement(e);r||(r=o(n));var i;return i=r.cache[e]?r.cache[e].cloneNode():E.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!i.canHaveChildren||x.test(e)||i.tagUrn?i:r.frag.appendChild(i)}function s(e,n){if(e||(e=t),g)return e.createDocumentFragment();n=n||o(e);for(var i=n.frag.cloneNode(),a=0,s=r(),l=s.length;l>a;a++)i.createElement(s[a]);return i}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 T.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}")(T,t.frag)}function u(e){e||(e=t);var r=o(e);return!T.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 c(e){for(var t,n=e.getElementsByTagName("*"),i=n.length,o=RegExp("^(?:"+r().join("|")+")$","i"),a=[];i--;)t=n[i],o.test(t.nodeName)&&a.push(t.applyElement(f(t)));return a}function f(e){for(var t,n=e.attributes,r=n.length,i=e.ownerDocument.createElement(N+":"+e.nodeName);r--;)t=n[r],t.specified&&i.setAttribute(t.nodeName,t.nodeValue);return i.style.cssText=e.style.cssText,i}function d(e){for(var t,n=e.split("{"),i=n.length,o=RegExp("(^|[\\s,>+~])("+r().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),a="$1"+N+"\\:$2";i--;)t=n[i]=n[i].split("}"),t[t.length-1]=t[t.length-1].replace(o,a),n[i]=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,i,a=o(e),s=e.namespaces,l=e.parentWindow;return!_||e.printShived?e:("undefined"==typeof s[N]&&s.add(N),l.attachEvent("onbeforeprint",function(){t();for(var o,a,s,l=e.styleSheets,u=[],f=l.length,p=Array(f);f--;)p[f]=l[f];for(;s=p.pop();)if(!s.disabled&&C.test(s.media)){try{o=s.imports,a=o.length}catch(m){a=0}for(f=0;a>f;f++)p.push(o[f]);try{u.push(s.cssText)}catch(m){}}u=d(u.reverse().join("")),i=c(e),r=n(e,u)}),l.attachEvent("onafterprint",function(){p(i),clearTimeout(a._removeSheetTimer),a._removeSheetTimer=setTimeout(t,500)}),e.printShived=!0,e)}var h,g,v="3.7.3",y=e.html5||{},x=/^<|^(?: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",w=0,b={};!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 T={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:u,createElement:a,createDocumentFragment:s,addElements:i};e.html5=T,u(t);var C=/^$|\b(?:all|print)\b/,N="html5shiv",_=!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)}();T.type+=" print",T.shivPrint=m,m(t),"object"==typeof module&&module.exports&&(module.exports=T)}("undefined"!=typeof e?e:this,t);var N={elem:u("modernizr")};S._q.push(function(){delete N.elem});var _={style:N.elem.style};S._q.unshift(function(){delete _.style});var z=(E.testProp=function(e,t,r){return h([e],n,t,r)},function(){function e(e,t){var i;return e?(t&&"string"!=typeof t||(t=u(t||"div")),e="on"+e,i=e in t,!i&&r&&(t.setAttribute||(t=u("div")),t.setAttribute(e,""),i="function"==typeof t[e],t[e]!==n&&(t[e]=n),t.removeAttribute(e)),i):!1}var r=!("onblur"in t.documentElement);return e}());E.hasEvent=z,S.addTest("inputsearchevent",z("search")),S.addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);var k=E.testStyles=f,$=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,i=533>t&&e.match(/android/gi);return n||i||r}();$?S.addTest("fontface",!1):k('@font-face {font-family:"font";src:url("https://")}',function(e,n){var r=t.getElementById("smodernizr"),i=r.sheet||r.styleSheet,o=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"",a=/src/i.test(o)&&0===o.indexOf(n.split(" ")[0]);S.addTest("fontface",a)});var j="Moz O ms Webkit",P=E._config.usePrefixes?j.split(" "):[];E._cssomPrefixes=P;var R=E._config.usePrefixes?j.toLowerCase().split(" "):[];E._domPrefixes=R,E.testAllProps=v,E.testAllProps=y;var A="CSS"in e&&"supports"in e.CSS,F="supportsCSS"in e;S.addTest("supports",A||F),S.addTest("csstransforms3d",function(){var e=!!y("perspective","1px",!0),t=S._config.usePrefixes;if(e&&(!t||"webkitPerspective"in T.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("json","JSON"in e&&"parse"in JSON&&"stringify"in JSON),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=u("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")),i(),o(b),delete E.addTest,delete E.addAsyncTest;for(var M=0;M #mq-test-1 { width: 42px; }',r.insertBefore(o,i),n=42===a.offsetWidth,r.removeChild(o),{matches:n,media:e}}}(e.document)}(this),function(e){"use strict";function t(){E(!0)}var n={};e.respond=n,n.update=function(){};var r=[],i=function(){var t=!1;try{t=new e.XMLHttpRequest}catch(n){t=new e.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),o=function(e,t){var n=i();n&&(n.open("GET",e,!0),n.onreadystatechange=function(){4!==n.readyState||200!==n.status&&304!==n.status||t(n.responseText)},4!==n.readyState&&n.send(null))};if(n.ajax=o,n.queue=r,n.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},n.mediaQueriesSupported=e.matchMedia&&null!==e.matchMedia("only all")&&e.matchMedia("only all").matches,!n.mediaQueriesSupported){var a,s,l,u=e.document,c=u.documentElement,f=[],d=[],p=[],m={},h=30,g=u.getElementsByTagName("head")[0]||c,v=u.getElementsByTagName("base")[0],y=g.getElementsByTagName("link"),x=function(){var e,t=u.createElement("div"),n=u.body,r=c.style.fontSize,i=n&&n.style.fontSize,o=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=o=u.createElement("body"),n.style.background="none"),c.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(t),o&&c.insertBefore(n,c.firstChild),e=t.offsetWidth,o?c.removeChild(n):n.removeChild(t),c.style.fontSize=r,i&&(n.style.fontSize=i),e=l=parseFloat(e)},E=function(t){var n="clientWidth",r=c[n],i="CSS1Compat"===u.compatMode&&r||u.body[n]||r,o={},m=y[y.length-1],v=(new Date).getTime();if(t&&a&&h>v-a)return e.clearTimeout(s),void(s=e.setTimeout(E,h));a=v;for(var S in f)if(f.hasOwnProperty(S)){var w=f[S],b=w.minw,T=w.maxw,C=null===b,N=null===T,_="em";b&&(b=parseFloat(b)*(b.indexOf(_)>-1?l||x():1)),T&&(T=parseFloat(T)*(T.indexOf(_)>-1?l||x():1)),w.hasquery&&(C&&N||!(C||i>=b)||!(N||T>=i))||(o[w.media]||(o[w.media]=[]),o[w.media].push(d[w.rules]))}for(var z in p)p.hasOwnProperty(z)&&p[z]&&p[z].parentNode===g&&g.removeChild(p[z]);p.length=0;for(var k in o)if(o.hasOwnProperty(k)){var $=u.createElement("style"),j=o[k].join("\n");$.type="text/css",$.media=k,g.insertBefore($,m.nextSibling),$.styleSheet?$.styleSheet.cssText=j:$.appendChild(u.createTextNode(j)),p.push($)}},S=function(e,t,r){var i=e.replace(n.regex.keyframes,"").match(n.regex.media),o=i&&i.length||0;t=t.substring(0,t.lastIndexOf("/"));var a=function(e){return e.replace(n.regex.urls,"$1"+t+"$2$3")},s=!o&&r;t.length&&(t+="/"),s&&(o=1);for(var l=0;o>l;l++){var u,c,p,m;s?(u=r,d.push(a(e))):(u=i[l].match(n.regex.findStyles)&&RegExp.$1,d.push(RegExp.$2&&a(RegExp.$2))),p=u.split(","),m=p.length;for(var h=0;m>h;h++)c=p[h],f.push({media:c.split("(")[0].match(n.regex.only)&&RegExp.$2||"all",rules:d.length-1,hasquery:c.indexOf("(")>-1,minw:c.match(n.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:c.match(n.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}E()},w=function(){if(r.length){var t=r.shift();o(t.href,function(n){S(n,t.href,t.media),m[t.href]=!0,e.setTimeout(function(){w()},0)})}},b=function(){for(var t=0;tcode,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{color:#3f51b5}pre{background:rgba(0,0,0,.05)}pre,pre code{color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k,.kn{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.bp,.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#3f51b5}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#3f51b5;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#3f51b5}.drawer .toc a:focus,.drawer .toc a:hover{color:#009688}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.article table,.repo a{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;background:#009688;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.repo a .count{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.article a,.article h1,.article h2{color:#3f51b5}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.article h1,.results .list a{border-bottom:1px solid rgba(0,0,0,.12)}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#3f51b5 50%);background:linear-gradient(to bottom,#fff 50%,#3f51b5 50%)}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a:focus,.article a:hover{color:#009688}.article table th{background:#6f7dc8;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#3f51b5;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.pagination .direction{color:rgba(255,255,255,.7)}.admonition{background:#eceef8}.admonition pre{background:rgba(255,255,255,.3)}.admonition.warning{background:#fce8e9}.article h2 a,.article h3 a,.article h4 a,.article h5 a,.article h6 a{color:rgba(0,0,0,.26)}.article{font-size:14px;line-height:1.7em;overflow-x:hidden}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article{position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:1.333334em;padding:20px 0 42px}.article h2{font-size:20px;line-height:1.4em;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article h4{font-size:14px;padding-top:76px;margin-top:-56px}.ios.standalone .article h3,.ios.standalone .article h4{padding-top:20px;margin-top:0}.article ol,.article p,.article ul{margin-top:1.5em}.article li{margin-top:.75em;margin-left:18px}.article li p{display:inline}.article ul li:before{content:"\e602";display:inline-block;font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article hr{margin-top:1.5em}.article img{max-width:100%}.article pre{padding:16px;margin:1.5em -16px 0;line-height:1.5em;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article table{border-radius:3px;margin:3em 0 1.5em;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:1.5em -16px;padding:1.5em 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.admonition{margin:20px -16px 0;padding:20px 16px}.admonition>:first-child{margin-top:0}.article h1 a{display:none}.article h4{font-weight:400;font-style:italic}.admonition-title{font-weight:700}.article h2 a,.article h3 a,.article h4 a,.article h5 a,.article h6 a{float:right;margin-left:20px;font-weight:400;font-style:normal}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#3f51b5;color:#fff;font-weight:700}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase;font-weight:700}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#3f51b5;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:1.5em -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article h3,.article h4{padding-top:84px;margin-top:-64px}.ios.standalone .article h3,.ios.standalone .article h4{padding-top:20px;margin-top:0}.article pre{padding:1.5em 24px;margin:1.5em -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.admonition{margin:20px -24px 0;padding:20px 24px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#3f51b5}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.css b/material/assets/stylesheets/application.css similarity index 97% rename from materializr/assets/stylesheets/application.css rename to material/assets/stylesheets/application.css index ec30976d1..3b9b5f8be 100644 --- a/materializr/assets/stylesheets/application.css +++ b/material/assets/stylesheets/application.css @@ -1555,6 +1555,28 @@ pre span { .pagination .direction { color: rgba(255, 255, 255, 0.7); } +/* + * Admonition support + */ +.admonition { + background: #eceef8; + /* + * Embedded code blocks + */ + /* + * A warning hint + */ } + .admonition pre { + background: rgba(255, 255, 255, 0.3); } + .admonition.warning { + background: #fce8e9; } + +/* + * Permalink support + */ +.article h2 a, .article h3 a, .article h4 a, .article h5 a, .article h6 a { + color: rgba(0, 0, 0, 0.26); } + /* * Copyright (c) 2016 Martin Donath * @@ -1585,6 +1607,7 @@ pre span { .article { font-size: 14px; line-height: 1.7em; + overflow-x: hidden; /* [tablet landscape+]: Indent to account for drawer */ /* * Clearfix @@ -1672,8 +1695,16 @@ pre span { padding-top: 36px; margin: 0; } .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { + font-size: 14px; + padding-top: 76px; + margin-top: -56px; + /* + * No offset correction in iOS web application + */ } + .ios.standalone .article h3, .ios.standalone .article h4 { + padding-top: 20px; + margin-top: 0; } + .article p, .article ul, .article ol { margin-top: 1.5em; } .article li { margin-top: 0.75em; @@ -1841,6 +1872,35 @@ pre span { font-size: 18px; padding: 11px 0 13px; } +/* + * Admonition support + */ +.admonition { + margin: 20px -16px 0; + padding: 20px 16px; + /* + * Remove redundant margin of first child + */ + /* [tablet portait+]: Increase horizontal spacing */ } + .admonition > :first-child { + margin-top: 0; } + +/* + * Permalink support + */ +.article { + /* + * Hide link to main headline + */ + /* + * Align permalinks on the right + */ } + .article h1 a { + display: none; } + .article h2 a, .article h3 a, .article h4 a, .article h5 a, .article h6 a { + float: right; + margin-left: 20px; } + /* * Copyright (c) 2016 Martin Donath * @@ -1881,6 +1941,19 @@ pre span { font-weight: 400; font-style: italic; } +/* + * Admonition support + */ +.admonition-title { + font-weight: 700; } + +/* + * Permalink support + */ +.article h2 a, .article h3 a, .article h4 a, .article h5 a, .article h6 a { + font-weight: 400; + font-style: normal; } + /* * Copyright (c) 2016 Martin Donath * @@ -2362,8 +2435,6 @@ pre span { /* ---------------------------------------------------------------------------- * Nothing to see here, move along * ------------------------------------------------------------------------- */ -.admonition { - background: red; } @media only screen and (min-width: 960px) { .backdrop { background: #f2f2f2; } @@ -2445,6 +2516,8 @@ pre span { .article {/* * Account for larged header bar and anchors *//* + * Sub headlines + *//* * Increase spacing for code blocks */ } .article h2 { @@ -2455,6 +2528,14 @@ pre span { .ios.standalone .article h2 { padding-top: 28px; margin-top: 8px; } + .article h3, .article h4 { + padding-top: 84px; + margin-top: -64px;/* + * No offset correction in iOS web application + */ } + .ios.standalone .article h3, .ios.standalone .article h4 { + padding-top: 20px; + margin-top: 0; } .article pre { padding: 1.5em 24px; margin: 1.5em -24px 0; } @@ -2473,6 +2554,9 @@ pre span { bottom: 40px; } .pagination .stretch { padding: 0 8px; } + .admonition { + margin: 20px -24px 0; + padding: 20px 24px; } .bar.search .query { font-size: 20px; padding: 12px 0; } diff --git a/materializr/base.html b/material/base.html similarity index 89% rename from materializr/base.html rename to material/base.html index 07bed2c31..9accfd581 100644 --- a/materializr/base.html +++ b/material/base.html @@ -28,16 +28,11 @@ - - + + - {% if config.extra.color %} - {% set color = config.extra.color %} - - {% else %} - - {% endif %} + {% for path in extra_css %} {% endfor %} @@ -54,7 +49,7 @@ {% include "header.html" %}
- {% set h1 = "\x3c/h1\x3e" in content %} + {% set h1 = "\x3ch1 id=" in content %}
{% include "drawer.html" %}
@@ -75,8 +70,8 @@ Documentation built with MkDocs using the - - Materializr + + Material theme. diff --git a/materializr/drawer.html b/material/drawer.html similarity index 100% rename from materializr/drawer.html rename to material/drawer.html diff --git a/materializr/footer.html b/material/footer.html similarity index 100% rename from materializr/footer.html rename to material/footer.html diff --git a/materializr/header.html b/material/header.html similarity index 100% rename from materializr/header.html rename to material/header.html diff --git a/material/manifest.json b/material/manifest.json new file mode 100644 index 000000000..32610ca4e --- /dev/null +++ b/material/manifest.json @@ -0,0 +1,6 @@ +{ + "assets/images/favicon.ico": "assets/images/favicon-e565ddfa.ico", + "assets/javascripts/application.js": "assets/javascripts/application-1a680198.js", + "assets/javascripts/modernizr.js": "assets/javascripts/modernizr-79394028.js", + "assets/stylesheets/application.css": "assets/stylesheets/application-9ec7095f.css" +} \ No newline at end of file diff --git a/materializr/nav.html b/material/nav.html similarity index 100% rename from materializr/nav.html rename to material/nav.html diff --git a/materializr/assets/javascripts/modernizr-e95367ea.js b/materializr/assets/javascripts/modernizr-e95367ea.js deleted file mode 100644 index 255e68fd9..000000000 --- a/materializr/assets/javascripts/modernizr-e95367ea.js +++ /dev/null @@ -1,2208 +0,0 @@ -/*! - * modernizr v3.3.0 - * Build http://modernizr.com/download?-checked-contains-csstransforms3d-fontface-json-search-svg-target-addtest-fnbind-printshiv-setclasses-testprop-dontmin - * - * Copyright (c) - * Faruk Ates - * Paul Irish - * Alex Sexton - * Ryan Seddon - * Patrick Kettner - * Stu Cox - * Richard Herrera - - * MIT License - */ - -/* - * Modernizr tests which native CSS3 and HTML5 features are available in the - * current UA and makes the results available to you in two ways: as properties on - * a global `Modernizr` object, and as classes on the `` 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.0', - - // 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); - }; - - - /** - * Modernizr.hasEvent() detects support for a given event - * - * @memberof Modernizr - * @name Modernizr.hasEvent - * @optionName Modernizr.hasEvent() - * @optionProp hasEvent - * @access public - * @function hasEvent - * @param {string|*} eventName - the name of an event to test for (e.g. "resize") - * @param {Element|string} [element=HTMLDivElement] - is the element|document|window|tagName to test on - * @returns {boolean} - * @example - * `Modernizr.hasEvent` lets you determine if the browser supports a supplied event. - * By default, it does this detection on a div element - * - * ```js - * hasEvent('blur') // true; - * ``` - * - * However, you are able to give an object as a second argument to hasEvent to - * detect an event on something other than a div. - * - * ```js - * hasEvent('devicelight', window) // true; - * ``` - * - */ - - var hasEvent = (function() { - - // Detect whether event support can be detected via `in`. Test on a DOM element - // using the "blur" event b/c it should always exist. bit.ly/event-detection - var needsFallback = !('onblur' in document.documentElement); - - function inner(eventName, element) { - - var isSupported; - if (!eventName) { return false; } - if (!element || typeof element === 'string') { - element = createElement(element || 'div'); - } - - // Testing via the `in` operator is sufficient for modern browsers and IE. - // When using `setAttribute`, IE skips "unload", WebKit skips "unload" and - // "resize", whereas `in` "catches" those. - eventName = 'on' + eventName; - isSupported = eventName in element; - - // Fallback technique for old Firefox - bit.ly/event-detection - if (!isSupported && needsFallback) { - if (!element.setAttribute) { - // Switch to generic element if it lacks `setAttribute`. - // It could be the `document`, `window`, or something else. - element = createElement('div'); - } - - element.setAttribute(eventName, ''); - isSupported = typeof element[eventName] === 'function'; - - if (element[eventName] !== undefined) { - // If property was created, "remove it" by setting value to `undefined`. - element[eventName] = undefined; - } - element.removeAttribute(eventName); - } - - return isSupported; - } - return inner; - })(); - - - ModernizrProto.hasEvent = hasEvent; - -/*! -{ - "name": "input[search] search event", - "property": "search", - "tags": ["input","search"], - "authors": ["Calvin Webster"], - "notes": [{ - "name": "Wufoo demo", - "href": "http://www.wufoo.com/html5/types/5-search.html?" - }, { - "name": "CSS Tricks", - "href": "http://css-tricks.com/webkit-html5-search-inputs/" - }] -} -!*/ -/* DOC -There is a custom `search` event implemented in webkit browsers when using an `input[search]` element. -*/ - - Modernizr.addTest('inputsearchevent', hasEvent('search')); - -/*! -{ - "name": "SVG", - "property": "svg", - "caniuse": "svg", - "tags": ["svg"], - "authors": ["Erik Dahlstrom"], - "polyfills": [ - "svgweb", - "raphael", - "amplesdk", - "canvg", - "svg-boilerplate", - "sie", - "dojogfx", - "fabricjs" - ] -} -!*/ -/* DOC -Detects support for SVG in `` or `` elements. -*/ - - Modernizr.addTest('svg', !!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect); - - - /** - * 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 http://github.com/Modernizr/Modernizr/issues/342", - "False Postive: WP7 http://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": "http://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": "JSON", - "property": "json", - "caniuse": "json", - "notes": [{ - "name": "MDN documentation", - "href": "http://developer.mozilla.org/en/JSON" - }], - "polyfills": ["json2"] -} -!*/ -/* DOC -Detects native support for JSON handling functions. -*/ - - // this will also succeed if you've loaded the JSON2.js polyfill ahead of time - // ... but that should be obvious. :) - - Modernizr.addTest('json', 'JSON' in window && 'parse' in JSON && 'stringify' in JSON); - -/*! -{ - "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); -/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */ -/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */ -(function(w) { - "use strict"; - w.matchMedia = w.matchMedia || function(doc, undefined) { - var bool, docElem = doc.documentElement, refNode = docElem.firstElementChild || docElem.firstChild, fakeBody = doc.createElement("body"), div = doc.createElement("div"); - div.id = "mq-test-1"; - div.style.cssText = "position:absolute;top:-100em"; - fakeBody.style.background = "none"; - fakeBody.appendChild(div); - return function(q) { - div.innerHTML = '­'; - docElem.insertBefore(fakeBody, refNode); - bool = div.offsetWidth === 42; - docElem.removeChild(fakeBody); - return { - matches: bool, - media: q - }; - }; - }(w.document); -})(this); - -/*! Respond.js v1.4.0: min/max-width media query polyfill. (c) Scott Jehl. MIT Lic. j.mp/respondjs */ -(function(w) { - "use strict"; - var respond = {}; - w.respond = respond; - respond.update = function() {}; - var requestQueue = [], xmlHttp = function() { - var xmlhttpmethod = false; - try { - xmlhttpmethod = new w.XMLHttpRequest(); - } catch (e) { - xmlhttpmethod = new w.ActiveXObject("Microsoft.XMLHTTP"); - } - return function() { - return xmlhttpmethod; - }; - }(), ajax = function(url, callback) { - var req = xmlHttp(); - if (!req) { - return; - } - req.open("GET", url, true); - req.onreadystatechange = function() { - if (req.readyState !== 4 || req.status !== 200 && req.status !== 304) { - return; - } - callback(req.responseText); - }; - if (req.readyState === 4) { - return; - } - req.send(null); - }; - respond.ajax = ajax; - respond.queue = requestQueue; - respond.regex = { - media: /@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi, - keyframes: /@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi, - urls: /(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g, - findStyles: /@media *([^\{]+)\{([\S\s]+?)$/, - only: /(only\s+)?([a-zA-Z]+)\s?/, - minw: /\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/, - maxw: /\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/ - }; - respond.mediaQueriesSupported = w.matchMedia && w.matchMedia("only all") !== null && w.matchMedia("only all").matches; - if (respond.mediaQueriesSupported) { - return; - } - var doc = w.document, docElem = doc.documentElement, mediastyles = [], rules = [], appendedEls = [], parsedSheets = {}, resizeThrottle = 30, head = doc.getElementsByTagName("head")[0] || docElem, base = doc.getElementsByTagName("base")[0], links = head.getElementsByTagName("link"), lastCall, resizeDefer, eminpx, getEmValue = function() { - var ret, div = doc.createElement("div"), body = doc.body, originalHTMLFontSize = docElem.style.fontSize, originalBodyFontSize = body && body.style.fontSize, fakeUsed = false; - div.style.cssText = "position:absolute;font-size:1em;width:1em"; - if (!body) { - body = fakeUsed = doc.createElement("body"); - body.style.background = "none"; - } - docElem.style.fontSize = "100%"; - body.style.fontSize = "100%"; - body.appendChild(div); - if (fakeUsed) { - docElem.insertBefore(body, docElem.firstChild); - } - ret = div.offsetWidth; - if (fakeUsed) { - docElem.removeChild(body); - } else { - body.removeChild(div); - } - docElem.style.fontSize = originalHTMLFontSize; - if (originalBodyFontSize) { - body.style.fontSize = originalBodyFontSize; - } - ret = eminpx = parseFloat(ret); - return ret; - }, applyMedia = function(fromResize) { - var name = "clientWidth", docElemProp = docElem[name], currWidth = doc.compatMode === "CSS1Compat" && docElemProp || doc.body[name] || docElemProp, styleBlocks = {}, lastLink = links[links.length - 1], now = new Date().getTime(); - if (fromResize && lastCall && now - lastCall < resizeThrottle) { - w.clearTimeout(resizeDefer); - resizeDefer = w.setTimeout(applyMedia, resizeThrottle); - return; - } else { - lastCall = now; - } - for (var i in mediastyles) { - if (mediastyles.hasOwnProperty(i)) { - var thisstyle = mediastyles[i], min = thisstyle.minw, max = thisstyle.maxw, minnull = min === null, maxnull = max === null, em = "em"; - if (!!min) { - min = parseFloat(min) * (min.indexOf(em) > -1 ? eminpx || getEmValue() : 1); - } - if (!!max) { - max = parseFloat(max) * (max.indexOf(em) > -1 ? eminpx || getEmValue() : 1); - } - if (!thisstyle.hasquery || (!minnull || !maxnull) && (minnull || currWidth >= min) && (maxnull || currWidth <= max)) { - if (!styleBlocks[thisstyle.media]) { - styleBlocks[thisstyle.media] = []; - } - styleBlocks[thisstyle.media].push(rules[thisstyle.rules]); - } - } - } - for (var j in appendedEls) { - if (appendedEls.hasOwnProperty(j)) { - if (appendedEls[j] && appendedEls[j].parentNode === head) { - head.removeChild(appendedEls[j]); - } - } - } - appendedEls.length = 0; - for (var k in styleBlocks) { - if (styleBlocks.hasOwnProperty(k)) { - var ss = doc.createElement("style"), css = styleBlocks[k].join("\n"); - ss.type = "text/css"; - ss.media = k; - head.insertBefore(ss, lastLink.nextSibling); - if (ss.styleSheet) { - ss.styleSheet.cssText = css; - } else { - ss.appendChild(doc.createTextNode(css)); - } - appendedEls.push(ss); - } - } - }, translate = function(styles, href, media) { - var qs = styles.replace(respond.regex.keyframes, "").match(respond.regex.media), ql = qs && qs.length || 0; - href = href.substring(0, href.lastIndexOf("/")); - var repUrls = function(css) { - return css.replace(respond.regex.urls, "$1" + href + "$2$3"); - }, useMedia = !ql && media; - if (href.length) { - href += "/"; - } - if (useMedia) { - ql = 1; - } - for (var i = 0; i < ql; i++) { - var fullq, thisq, eachq, eql; - if (useMedia) { - fullq = media; - rules.push(repUrls(styles)); - } else { - fullq = qs[i].match(respond.regex.findStyles) && RegExp.$1; - rules.push(RegExp.$2 && repUrls(RegExp.$2)); - } - eachq = fullq.split(","); - eql = eachq.length; - for (var j = 0; j < eql; j++) { - thisq = eachq[j]; - mediastyles.push({ - media: thisq.split("(")[0].match(respond.regex.only) && RegExp.$2 || "all", - rules: rules.length - 1, - hasquery: thisq.indexOf("(") > -1, - minw: thisq.match(respond.regex.minw) && parseFloat(RegExp.$1) + (RegExp.$2 || ""), - maxw: thisq.match(respond.regex.maxw) && parseFloat(RegExp.$1) + (RegExp.$2 || "") - }); - } - } - applyMedia(); - }, makeRequests = function() { - if (requestQueue.length) { - var thisRequest = requestQueue.shift(); - ajax(thisRequest.href, function(styles) { - translate(styles, thisRequest.href, thisRequest.media); - parsedSheets[thisRequest.href] = true; - w.setTimeout(function() { - makeRequests(); - }, 0); - }); - } - }, ripCSS = function() { - for (var i = 0; i < links.length; i++) { - var sheet = links[i], href = sheet.href, media = sheet.media, isCSS = sheet.rel && sheet.rel.toLowerCase() === "stylesheet"; - if (!!href && isCSS && !parsedSheets[href]) { - if (sheet.styleSheet && sheet.styleSheet.rawCssText) { - translate(sheet.styleSheet.rawCssText, href, media); - parsedSheets[href] = true; - } else { - if (!/^([a-zA-Z:]*\/\/)/.test(href) && !base || href.replace(RegExp.$1, "").split("/")[0] === w.location.host) { - if (href.substring(0, 2) === "//") { - href = w.location.protocol + href; - } - requestQueue.push({ - href: href, - media: media - }); - } - } - } - } - makeRequests(); - }; - ripCSS(); - respond.update = ripCSS; - respond.getEmValue = getEmValue; - function callMedia() { - applyMedia(true); - } - if (w.addEventListener) { - w.addEventListener("resize", callMedia, false); - } else if (w.attachEvent) { - w.attachEvent("onresize", callMedia); - } -})(this); \ No newline at end of file diff --git a/materializr/assets/stylesheets/application-dd5b6433.css b/materializr/assets/stylesheets/application-dd5b6433.css deleted file mode 100644 index 6c61d1f73..000000000 --- a/materializr/assets/stylesheets/application-dd5b6433.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#3f51b5}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#3f51b5;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#3f51b5}.drawer .toc a:focus,.drawer .toc a:hover{color:#009688}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#009688;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#3f51b5 50%);background:linear-gradient(to bottom,#fff 50%,#3f51b5 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#3f51b5}.article a:focus,.article a:hover{color:#009688}.article table th{background:#6f7dc8;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#3f51b5;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#3f51b5;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#3f51b5;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#3f51b5}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.blue-5e22f1b7.css b/materializr/assets/stylesheets/application.blue-5e22f1b7.css deleted file mode 100644 index 4a11a94ee..000000000 --- a/materializr/assets/stylesheets/application.blue-5e22f1b7.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#03a9f4}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#03a9f4;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#03a9f4}.drawer .toc a:focus,.drawer .toc a:hover{color:#ff2d6f}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#ff2d6f;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#03a9f4 50%);background:linear-gradient(to bottom,#fff 50%,#03a9f4 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#03a9f4}.article a:focus,.article a:hover{color:#ff2d6f}.article table th{background:#42bff7;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#03a9f4;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#03a9f4;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#03a9f4;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#03a9f4}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.blue.css b/materializr/assets/stylesheets/application.blue.css deleted file mode 100644 index f517209f1..000000000 --- a/materializr/assets/stylesheets/application.blue.css +++ /dev/null @@ -1,2584 +0,0 @@ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Resets - * ------------------------------------------------------------------------- */ -/* - * Enfore correct box model - the prefixed versions are necessary for older - * browsers, i.e. Chrome < 10, Firefox < 29, Safari < 6 and Android < 4 - */ -html { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; } - -/* - * All elements shall inherit the document default - */ -*, *:before, *:after { - box-sizing: inherit; - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; } - -/* - * 16px --> 10px, browser default - */ -html { - font-size: 62.5%; - -webkit-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; } - -/* - * Reset spacing and borders for all tags - */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, main, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; } - -/* - * Reset list styles - */ -ul { - list-style: none; } - -/* - * Reset table styles - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -/* - * Reset table cell styles - */ -td { - text-align: left; - font-weight: normal; - vertical-align: middle; } - -/* - * Reset (native) button styles - */ -button { - outline: 0; - padding: 0; - background: transparent; - border: none; - font-size: inherit; } - -/* - * Reset (native) input styles - */ -input { - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - -o-appearance: none; - appearance: none; - outline: none; - border: none; } - -/* - * Reset link styles - */ -a { - text-decoration: none; - color: inherit; } - -/* - * Reset tap outlines on iOS and Android - */ -a, button, label, input { - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - -webkit-tap-highlight-color: transparent; } - -/* - * Reset headlines - */ -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* - * Primary and accent color - */ -/* - * Black opacities - */ -/* - * White opacities - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Code highlighter - * ------------------------------------------------------------------------- */ -/* - * Inline code - */ -code { - color: #03a9f4; } - -/* - * Code block - */ -pre { - background: rgba(0, 0, 0, 0.05); - /* - * Ensure correct color - */ } - pre, pre code { - color: rgba(0, 0, 0, 0.87); } - -/* - * Operators and comments - */ -.o, .c, .c1, .cm { - color: rgba(0, 0, 0, 0.54); } - -/* - * Keywords - */ -.k, .kn { - color: #A71D5D; } - -/* - * Types and functions - */ -.kt, .kd, .n.f { - color: #0086B3; } - -/* - * Strings - */ -.s { - color: #183691; } - -/* - * Constants and numbers - */ -.mi, .bp { - color: #9575CD; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Font faces - * ------------------------------------------------------------------------- */ -/* - * Icon font - */ -@font-face { - font-family: 'Icon'; - src: url("/assets/fonts/icon.eot?52m981"); - src: url("/assets/fonts/icon.eot?#iefix52m981") format("embedded-opentype"), url("/assets/fonts/icon.woff?52m981") format("woff"), url("/assets/fonts/icon.ttf?52m981") format("truetype"), url("/assets/fonts/icon.svg?52m981#icon") format("svg"); - font-weight: normal; - font-style: normal; } - -/* ---------------------------------------------------------------------------- - * Representational classes - * ------------------------------------------------------------------------- */ -/* - * Base icon class - */ -.icon { - font-family: 'Icon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* - * Magnifying glass - */ -.icon-search:before { - content: "\e600"; } - -/* - * Back arrow - */ -.icon-back:before { - content: "\e601"; } - -/* - * Link indicator - */ -.icon-link:before { - content: "\e602"; } - -/* - * Close button - */ -.icon-close:before { - content: "\e603"; } - -/* - * Hamburger icon - */ -.icon-menu:before { - content: "\e604"; } - -/* - * Forward arrow - */ -.icon-forward:before { - content: "\e605"; } - -/* - * Twitter icon - */ -.icon-twitter:before { - content: "\e606"; } - -/* - * GitHub icon - */ -.icon-github:before { - content: "\e607"; } - -/* - * Download icon - */ -.icon-download:before { - content: "\e608"; } - -/* - * Star icon - */ -.icon-star:before { - content: "\e609"; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Defaults - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Helper functions - * ------------------------------------------------------------------------- */ -/* - * Choose minimum and maximum device widths. - */ -/* - * Select minimum and maximum widths for a device breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for numeric breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query breakpoint. - */ -/* - * An orientation media query breakpoint. - */ -/* - * A maximum-aspect-ratio media query breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for device breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query device breakpoint. - */ -/* - * A minimum media query device breakpoint. - */ -/* - * A maximum media query device breakpoint. - */ -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base animation - * ------------------------------------------------------------------------- */ -/* - * Animate color on hover - */ -a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Overlay - */ -.overlay { - -webkit-transition: opacity .25s, width .0s .25s, height .0s .25s; - transition: opacity .25s, width .0s .25s, height .0s .25s; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - -webkit-transition: opacity .25s, width .0s, height .0s; - transition: opacity .25s, width .0s, height .0s; } - -/* - * Application header - check for javascript to omit flashing - */ -.js .header { - -webkit-transition: background .6s, color .6s; - transition: background .6s, color .6s; - /* - * Status bar - */ } - .js .header:before { - -webkit-transition: background .6s; - transition: background .6s; } - -/* - * Extended visible touch area on icon - */ -.button .icon { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base appearance - * ------------------------------------------------------------------------- */ -/* - * Device specific background hacks related to rubberband - */ -body { - color: rgba(0, 0, 0, 0.87); - /* Hack [Chrome, Opera]: Set background color in Chrome and Opera */ - /* - * Don't tint menu bar on iOS - */ } - @supports (-webkit-appearance: none) { - body { - background: #03a9f4; } } - .ios body { - background: white; } - -/* - * Horizontal separators - */ -hr { - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.12); } - -/* - * Toggle button - */ -.toggle-button { - cursor: pointer; - color: inherit; } - -/* - * Backdrop - */ -.backdrop { - background: white; - /* [tablet landscape+]: Introduce paper with shadow */ } - -/* - * Backdrop paper with shadow - */ -.backdrop-paper:after { - background: white; - /* [tablet landscape+]: Add drop shadow */ } - -/* - * Overlay - */ -.overlay { - background: rgba(0, 0, 0, 0.54); - opacity: 0; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - opacity: 1; } - -/* - * Application header - */ -.header { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #03a9f4; - color: white; - /* - * Add status bar overlay for iOS web application - */ } - .ios.standalone .header:before { - background: rgba(0, 0, 0, 0.12); } - -/* - * Navigation path within header bar - */ -.bar .path { - color: rgba(255, 255, 255, 0.7); } - -/* - * Draw round area around icon on touch - */ -.button .icon { - border-radius: 100%; } - -/* - * Pushed/clicked icon - */ -.button .icon:active { - background: rgba(255, 255, 255, 0.12); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base layout - * ------------------------------------------------------------------------- */ -/* - * Stretch container to viewport - */ -html { - height: 100%; } - -/* - * Stretch body to container and leave room for sticky footer. - */ -body { - position: relative; - min-height: 100%; } - -/* - * Horizontal separators - */ -hr { - display: block; - height: 1px; - padding: 0; - margin: 0; } - -/* - * Lock body (e.g. in search mode) - */ -.locked { - height: 100%; - overflow: hidden; } - -/* - * Scrollable container - */ -.scrollable { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* - * Content wrapper - */ } - .scrollable .wrapper { - height: 100%; - /* Hack [iOS]: Force overflow scrolling */ } - .ios .scrollable .wrapper { - margin-bottom: 2px; } - -/* - * Toggle states and button - */ -.toggle { - display: none; - /* - * Toggle button - */ } - .toggle-button { - display: block; } - -/* - * Backdrop - */ -.backdrop { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: -1; } - -/* - * Backdrop paper container - */ -.backdrop-paper { - max-width: 1200px; - height: 100%; - margin-left: auto; - margin-right: auto; - /* - * Actual paper - */ } - .backdrop-paper:after { - content: " "; - display: block; - height: 100%; - margin-left: 262px; } - -/* - * Overlay - */ -.overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - z-index: 4; - /* [tablet landscape-]: Trigger overlay */ } - -/* - * Application header stays always on top - */ -.header { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - position: fixed; - top: 0; - left: 0; - z-index: 3; - height: 56px; - padding: 4px; - overflow: hidden; - /* [tablet portait+]: Larger header bar */ - /* [screen+]: Stretch to screen */ - /* - * Absolute positioning in iOS web application - */ } - .ios.standalone .header { - position: absolute; - /* [orientation: portrait]: Account for status bar in portrait mode */ } - -/* - * Header bar - */ -.bar { - display: table; - max-width: 1184px; - margin-left: auto; - margin-right: auto; - /* - * Links should span icons entirely - */ - /* - * Hide search button, in case javascript is not available. - */ - /* - * Navigation path - */ } - .bar a { - display: block; } - .no-js .bar .button-search { - display: none; } - .bar .path { - /* - * Correct icon alignment - */ - /* [tablet portait-]: Hide path */ } - .bar .path .icon:before { - vertical-align: -1.5px; } - -/* - * Buttons - */ -.button { - display: table-cell; - vertical-align: top; - width: 1%; - /* - * Remove native spacing on button - */ - /* - * Button icons - */ } - .button button { - margin: 0; - padding: 0; - /* Hack [IE]: Remove button offset in active state */ } - .button button:active:before { - position: relative; - top: 0; - left: 0; } - .button .icon { - display: inline-block; - font-size: 24px; - padding: 8px; - margin: 4px; } - -/* - * Hide source and twitter button - */ -.button-github, -.button-twitter { - /* [mobile landscape-]: Hide button */ } - -/* - * Hide menu button - */ -.button-menu { - /* [tablet landscape+]: Hide button */ } - -/* - * Stretch content to remaining space - */ -.stretch { - display: table; - table-layout: fixed; - width: 100%; - /* - * Set vertical spacing for header - */ - /* - * Title with ellipsis on overflow - */ } - .header .stretch { - padding: 0 20px; - /* [tablet portait]: Increase vertical spacing */ - /* [tablet portait+]: Account for missing menu icon */ } - .stretch .title { - display: table-cell; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - /* - * Increase header font size - */ } - .header .stretch .title { - font-size: 18px; - padding: 13px 0; - /* [tablet portait+]: Slightly larger typography in header */ } - -/* - * Main content - */ -.main { - max-width: 1200px; - margin-left: auto; - margin-right: auto; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base typography - * ------------------------------------------------------------------------- */ -/* - * Default font styles - */ -body, input { - font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 400; - /* Enable font-smoothing in Webkit and FF */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface body, .no-fontface input { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -/* - * Proportional fonts - */ -pre, code { - font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface pre, .no-fontface code { - font-family: 'Courier New', 'Courier', monospace; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer animation - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Hide menu */ - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .main .drawer, - .toggle-drawer .drawer { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - /* - * Just show drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, .no-csstransforms3d - .toggle-drawer .drawer { - display: block; } - -/* - * No color transition for project link - */ -.project { - -webkit-transition: none; - transition: none; } - -/* - * Project logo image - */ -.project .logo img { - -webkit-transition: box-shadow .4s; - transition: box-shadow .4s; } - -/* - * Repository buttons - */ -.repo a { - -webkit-transition: box-shadow .4s, opacity .4s; - transition: box-shadow .4s, opacity .4s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer appearance - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Light gray background */ - /* - * Color links - */ - /* - * Main sections - */ - /* - * Content wrapper - */ } - .drawer .toc a { - /* - * Current active element - */ - /* - * Hovered link - */ } - .drawer .toc a.current { - color: #03a9f4; } - .drawer .toc a:hover, .drawer .toc a:focus { - color: #ff2d6f; } - .drawer .section { - color: rgba(0, 0, 0, 0.54); } - .drawer .wrapper { - /* [tablet landscape-]: Light gray background */ } - -/* - * Project information - */ -.project { - /* [tablet landscape-]: Add drop shadow */ - /* - * Add status bar overlay for iOS web application - */ - /* - * Project logo - */ - /* - * Scale logo on hover - */ } - .ios.standalone .project:before { - background: rgba(0, 0, 0, 0.12); } - .project .logo img { - background: white; - border-radius: 100%; } - .project:hover .logo img, - .project:focus .logo img { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); } - -/* - * Repository buttons - */ -.repo a { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #ff2d6f; - color: white; - border-radius: 3px; - /* - * Hovered button - */ - /* - * Stars - */ } - .repo a:hover, .repo a:focus { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); - opacity: 0.8; } - .repo a .count { - background: rgba(0, 0, 0, 0.26); - color: white; - border-radius: 0px 3px 3px 0px; - /* - * Star bubble - */ } - .repo a .count:before { - border-width: 15px 5px 15px 0; - border-color: transparent rgba(0, 0, 0, 0.26); - border-style: solid; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer layout - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - width: 262px; - font-size: 13px; - line-height: 1.0em; - /* [tablet landscape-]: Fixed positioning */ - /* [tablet landscape+]: Inline with content */ - /* Hack [iOS]: Mitigate scrolling of parent container on boundaries */ - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ - /* - * Scrollable container - */ } - .ios .drawer { - overflow: scroll; - -webkit-overflow-scrolling: touch; } - .drawer .toc li a { - display: block; - padding: 14.5px 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } - .drawer .toc li.anchor a { - padding: 10px 24px 10px 48px; } - .drawer .section { - display: block; - font-size: 11px; - padding: 14.5px 24px; } - .drawer .scrollable { - top: 104px; - z-index: -1; - /* [tablet landscape+]: Revert fixed positioning */ - /* - * Leave room for status bar in iOS web application - */ - /* - * Content wrapper - */ } - .ios.standalone .drawer .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .drawer .scrollable .wrapper { - height: auto; - min-height: 100%; - /* - * Add spacing at top and bottom of separator - */ - /* - * Add spacing at top and bottom of top level navigation - */ } - .drawer .scrollable .wrapper hr { - margin: 12px 0; - /* [screen+]: Shorten separator */ - /* Hack [IE]: Left-align horizontal rule */ - margin-right: auto; } - .drawer .scrollable .wrapper .toc { - margin: 12px 0; } - -/* - * Project information - */ -.project { - display: block; - /* - * Leave room for status bar in iOS web application - */ - /* - * Project banner - */ - /* - * Project logo - */ - /* - * Project name - */ - /* - * Shrink font, if a logo is given. - */ } - .ios.standalone .project { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .project .banner { - display: table; - width: 100%; - height: 104px; - padding: 20px; } - .project .logo { - display: table-cell; - width: 64px; - padding-right: 12px; - /* - * Project logo image - */ } - .project .logo img { - display: block; - width: 64px; - height: 64px; } - .project .name { - display: table-cell; - padding-left: 4px; - font-size: 14px; - line-height: 1.25em; - vertical-align: middle; - /* [tablet portait+]: Slightly larger project name */ } - .project .logo + .name { - font-size: 12px; } - -/* - * Repository - */ -.repo { - margin: 24px 0; - text-align: center; - /* - * Inline buttons - */ - /* - * Buttons - */ } - .repo li { - display: inline-block; - padding-right: 12px; - white-space: nowrap; - /* - * No padding on last button - */ } - .repo li:last-child { - padding-right: 0; } - .repo a { - display: inline-block; - padding: 0px 10px 0px 6px; - font-size: 12px; - line-height: 30px; - height: 30px; - /* - * Slightly larger icons - */ - /* - * Stars - */ } - .repo a .icon { - font-size: 18px; - vertical-align: -3px; } - .repo a .count { - display: inline-block; - position: relative; - padding: 0px 8px 0 4px; - margin: 0 -10px 0 8px; - font-size: 12px; - /* - * Star bubble - */ - /* - * Hide count, in case javascript is not available. - */ } - .repo a .count:before { - content: " "; - display: block; - position: absolute; - top: 0px; - left: -5px; } - .no-js .repo a .count { - display: none; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer typography - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ } - .drawer .toc li a { - font-weight: 700; } - .drawer .toc li.anchor a { - font-weight: 400; } - .drawer .section { - text-transform: uppercase; - font-weight: 700; } - -/* - * Repository buttons - */ -.repo a { - text-transform: uppercase; - font-weight: 700; - /* - * Stars - */ } - .repo a .count { - text-transform: none; - font-weight: 700; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article animation - * ------------------------------------------------------------------------- */ -/* - * Fade color after highlighting - */ -pre span { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Copyright and theme information - */ -.copyright { - /* - * Animate color on hover - */ } - .copyright a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article appearance - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Differing top and bottom rubberband backgrounds in iOS web application - */ - /* - * Headlines and chapters in primary color - */ - /* - * Lower border for main headline - */ - /* - * Color links - */ - /* - * Data tables - */ } - .ios.standalone .article { - background: -webkit-linear-gradient(top, white 50%, #03a9f4 50%); - background: linear-gradient(to bottom, white 50%, #03a9f4 50%); - /* Hack [iOS]: Mitigate black bounding box with linear gradient */ } - .ios.standalone .article .wrapper { - background: -webkit-linear-gradient(top, white 50%, white 50%); - background: linear-gradient(to bottom, white 50%, white 50%); } - .article h1, .article h2 { - color: #03a9f4; } - .article h1 { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); } - .article a { - color: #03a9f4; - /* - * Hovered link - */ } - .article a:hover, .article a:focus { - color: #ff2d6f; } - .article table { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - border-radius: 3px; - /* - * Table heading - */ - /* - * Table cell - */ } - .article table th { - background: #42bff7; - color: white; - /* - * Round upper left border - */ - /* - * Round upper right border - */ } - .article table th:first-child { - border-top-left-radius: 3px; } - .article table th:last-child { - border-top-right-radius: 3px; } - .article table td { - border-top: 1px solid rgba(0, 0, 0, 0.05); } - -/* - * Article footer - */ -.footer { - background: #03a9f4; - color: white; } - -/* - * Copyright and theme information - */ -.copyright { - color: rgba(0, 0, 0, 0.54); } - -/* - * Pagination - */ -.pagination { - /* - * Inherit color for links - */ - /* - * Smaller font size for direction - */ } - .pagination a, - .pagination a:hover, - .pagination a:focus { - color: inherit; } - .pagination .direction { - color: rgba(255, 255, 255, 0.7); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article layout - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - font-size: 14px; - line-height: 1.7em; - /* [tablet landscape+]: Indent to account for drawer */ - /* - * Clearfix - */ - /* - * Article wrapper - */ - /* - * Enable overflow scrolling in iOS web application - */ - /* - * Article headline - */ - /* - * Article chapters - */ - /* - * Sub headlines - */ - /* - * Paragraphs and section titles - */ - /* - * List elements - */ - /* - * Add icon for elements of an unordered list - */ - /* - * Inline code snippets must not wrap - */ - /* - * Add spacing at top of separator - */ - /* - * Limit images to article container - */ - /* - * Code listing container - */ - /* - * Data tables - */ - /* - * Data table wrapper, in case javascript is available - */ - /* [tablet portait+]: Increase spacing */ } - .article:after { - content: " "; - display: block; - clear: both; } - .article .wrapper { - padding: 116px 16px 92px; - /* [tablet portait+]: Increase top spacing */ } - .ios.standalone .article { - position: absolute; - top: 56px; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* [orientation: portrait]: Account for status bar in portrait mode */ - /* - * Article wrapper - */ } - .ios.standalone .article .wrapper { - position: relative; - min-height: 100%; - padding-top: 60px; - margin-bottom: 2px; } - .article h1 { - font-size: 24px; - line-height: 1.333334em; - padding: 20px 0 42px; } - .article h2 { - font-size: 20px; - line-height: 1.4em; - padding-top: 92px; - margin-top: -56px; - /* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 36px; - margin: 0; } - .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { - margin-top: 1.5em; } - .article li { - margin-top: 0.75em; - margin-left: 18px; - /* - * Inline paragraphs in list elements - */ } - .article li p { - display: inline; } - .article ul li:before { - content: "\e602"; - display: inline-block; - font-family: 'Icon'; - font-size: 16px; - width: 1.2em; - margin-left: -1.2em; - vertical-align: -0.1em; } - .article p > code { - white-space: nowrap; } - .article hr { - margin-top: 1.5em; } - .article img { - max-width: 100%; } - .article pre { - padding: 16px; - margin: 1.5em -16px 0; - line-height: 1.5em; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table { - margin: 3.0em 0 1.5em; - font-size: 13px; - /* - * The semi-cool solution, in case javascript is not available - */ - /* - * Table heading - */ - /* - * Table cell - */ } - .no-js .article table { - display: inline-block; - max-width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table th { - min-width: 100px; - padding: 12px 16px; - font-size: 12px; - text-align: left; - white-space: nowrap; } - .article table td { - padding: 12px 16px; - white-space: nowrap; } - .article .data { - margin: 1.5em -16px; - padding: 1.5em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - text-align: center; - /* - * Data table - */ - /* [tablet portait+]: Increase spacing */ } - .article .data table { - display: inline-block; - margin: 0 16px; - text-align: left; } - -/* - * Article footer - */ -.footer { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 0 4px; - /* [tablet portait+]: Larger spacing */ - /* [tablet landscape+]: Stretch footer to viewport */ } - -/* - * Copyright and theme information - */ -.copyright { - margin: 20px 0; - /* [tablet landscape+]: Add bottom spacing */ } - -/* - * Pagination - */ -.pagination { - max-width: 1184px; - height: 92px; - padding: 4px 0; - margin-left: auto; - margin-right: auto; - overflow: hidden; - /* [tablet portait+]: Larger pagination and spacing */ - /* - * Links should span icons entirely - */ - /* - * Previous and next page - */ - /* - * Previous page - */ - /* - * Next page - */ - /* - * Link to page - */ - /* - * Put direction over page title - */ - /* - * Decrease indent for stretching content - */ - /* [mobile landscape+]: Proportional width for pagination */ - /* [tablet portrait+]: Increase vertical spacing */ } - .pagination a { - display: block; - height: 100%; } - .pagination .previous, - .pagination .next { - position: relative; - float: left; - height: 100%; } - .pagination .previous { - width: 25%; - /* - * Hide direction - */ - /* - * Hide title - */ } - .pagination .previous .direction { - display: none; } - .pagination .previous .stretch { - display: none; } - .pagination .next { - width: 75%; - text-align: right; } - .pagination .page { - display: table; - position: absolute; - bottom: 4px; } - .pagination .direction { - display: block; - position: absolute; - bottom: 40px; - width: 100%; - font-size: 15px; - line-height: 20px; - padding: 0 52px; } - .pagination .stretch { - padding: 0 4px; - /* - * Correct vertical spacing - */ } - .pagination .stretch .title { - font-size: 18px; - padding: 11px 0 13px; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article typography - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Third-level headlines should be bold - */ - /* - * Fourth-level headlines should be italic - */ } - .article h3 { - font-weight: 700; } - .article h4 { - font-weight: 400; - font-style: italic; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search animation - * ------------------------------------------------------------------------- */ -/* - * Animate header bar in offset and opacity - */ -.bar { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - /* - * Active search mode - */ - /* - * Search animations - */ } - #toggle-search:checked ~ .header .bar, - .toggle-search .bar { - -webkit-transform: translate3d(0, -56px, 0); - transform: translate3d(0, -56px, 0); } - .bar.search { - /* - * Hide reset button by default - */ - /* - * Show reset button if search is not empty - */ } - .bar.search .button-reset { - -webkit-transform: scale(0.5, 0.5); - transform: scale(0.5, 0.5); - -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - opacity: 0; } - .bar.search.non-empty .button-reset { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - opacity: 1; } - -/* - * Search results - */ -.results { - -webkit-transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - /* - * Active search mode - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - -webkit-transition: opacity .4s, width .0s, height .0s; - transition: opacity .4s, width .0s, height .0s; } - .results .list a { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * Just hide and show bars, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Show default bar - */ - /* - * Hide search bar - */ - /* - * Active search mode - */ } - .no-csstransforms3d .bar.default { - display: table; } - .no-csstransforms3d .bar.search { - display: none; - margin-top: 0; } - .no-csstransforms3d #toggle-search:checked ~ .header, - .no-csstransforms3d .toggle-search { - /* - * Hide default bar - */ - /* - * Show search bar - */ } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, - .no-csstransforms3d .toggle-search .bar.default { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, - .no-csstransforms3d .toggle-search .bar.search { - display: table; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search appearance - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - opacity: 0; - /* - * Search input - */ - /* - * Pushed/clicked icon - */ } - .bar.search .query { - background: transparent; - color: rgba(0, 0, 0, 0.87); - /* - * Search input placeholder - */ } - .bar.search .query::-webkit-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query::-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .button .icon:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Search results - */ -.results { - box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); - background: white; - color: rgba(0, 0, 0, 0.87); - opacity: 0; - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - opacity: 1; } - .results .meta { - background: #03a9f4; - color: white; } - .results .list a { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - /* - * Remove border on last element - */ - /* - * Active item link - */ } - .results .list a:last-child { - border-bottom: none; } - .results .list a:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Article link - */ -.result span { - color: rgba(0, 0, 0, 0.54); } - -/* - * Active search bar - */ -#toggle-search:checked ~ .header, -.toggle-search .header { - background: white; - color: rgba(0, 0, 0, 0.54); - /* - * Add darker status bar overlay in search mode - */ - /* - * Fade out default header bar - */ - /* - * Fade in search header bar - */ } - #toggle-search:checked ~ .header:before, - .toggle-search .header:before { - background: rgba(0, 0, 0, 0.54); } - #toggle-search:checked ~ .header .bar.default, - .toggle-search .header .bar.default { - opacity: 0; } - #toggle-search:checked ~ .header .bar.search, - .toggle-search .header .bar.search { - opacity: 1; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search layout - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - margin-top: 8px; - /* - * Search input - */ } - .bar.search .query { - font-size: 18px; - padding: 13px 0; - margin: 0; - width: 100%; - height: 48px; - /* [tablet portait+]: Slightly larger typo */ - /* Hack [IE]: Hide redundant clear button */ } - .bar.search .query::-ms-clear { - display: none; } - -/* - * Search results - */ -.results { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 100%; - z-index: 2; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - /* [tablet landscape+]: Limit results to five entries */ - /* - * Scrollable container - */ - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - .results .scrollable { - top: 56px; - /* [tablet portait+]: Increase vertical spacing */ - /* [tablet landscape+]: Limit results to five entries */ - /* - * Leave room for status bar in iOS web application - */ } - .ios.standalone .results .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - width: 100%; - /* Hack [Firefox]: div doesn't collapse, unless this is applied */ - overflow-y: visible; - /* [tablet portait+]: Stretch to viewport */ } - .results .meta { - font-weight: 700; - /* - * Number of results - */ } - .results .meta strong { - display: block; - font-size: 11px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 16px; - /* [tablet portait+]: Increase vertical spacing */ } - .results .list a { - display: block; } - -/* - * Search result item - */ -.result { - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 12px 16px 16px; - /* [tablet portait+]: Increase vertical spacing */ - /* - * Article title - */ - /* - * Article link - */ } - .result h1 { - line-height: 24px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - .result span { - font-size: 12px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - -/* - * Switch visibility, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Hide search results - */ - /* - * Active search mode - */ } - .no-csstransforms3d .results { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .main, - .no-csstransforms3d .toggle-search { - /* - * Show search results - */ } - .no-csstransforms3d #toggle-search:checked ~ .main .results, - .no-csstransforms3d .toggle-search .results { - display: block; - overflow: auto; } - -/* - * 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. - */ -/* - * Search meta data - */ -.meta { - text-transform: uppercase; - font-weight: 700; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Print overrides - * ------------------------------------------------------------------------- */ -/* - * Print styles - */ - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Nothing to see here, move along - * ------------------------------------------------------------------------- */ -.admonition { - background: red; } -@media only screen and (min-width: 960px) { - .backdrop { - background: #f2f2f2; } - .backdrop-paper:after { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); } - .button-menu { - display: none; } - .drawer { - position: static; - float: left; - height: auto; - margin-bottom: 96px; - padding-top: 80px; } - .drawer .scrollable { - position: static; } - .article { - margin-left: 262px; } - .footer { - z-index: 5; } - .copyright { - margin-bottom: 64px; } - .results { - height: auto; - top: 64px; } - .results .scrollable { - position: static; - max-height: 413px; } } -@media only screen and (max-width: 959px) { - .overlay {/* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - width: 100%; - height: 100%; } - .drawer { - -webkit-transform: translate3d(-262px, 0, 0); - transform: translate3d(-262px, 0, 0); - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);/* - * Just hide drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d .drawer { - display: none; } - .drawer { - background: #f2f2f2; } - .drawer .wrapper { - background: #f2f2f2; } - .project { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #03a9f4; - color: white; } - .drawer { - position: fixed; - z-index: 5; - height: 100%; } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - height: 100%; } } -@media only screen and (min-width: 720px) { - .header { - height: 64px; - padding: 8px; } - .header .stretch { - padding: 0 16px 0 16px; } - .header .stretch .title { - font-size: 20px; - padding: 12px 0; } - .project .name { - margin: 26px 0 0 5px; } - .article .wrapper { - padding: 128px 24px 96px; } - .article .data { - margin: 1.5em -24px;/* - * Data table - */ } - .article .data table { - margin: 0 24px; } - .article {/* - * Account for larged header bar and anchors - *//* - * Increase spacing for code blocks - */ } - .article h2 { - padding-top: 100px; - margin-top: -64px;/* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 28px; - margin-top: 8px; } - .article pre { - padding: 1.5em 24px; - margin: 1.5em -24px 0; } - .footer { - padding: 0 8px; } - .pagination { - height: 96px; - padding: 8px 0; } - .pagination {/* - * Increase vertical spacing - *//* - * Increase vertical spacing - */ } - .pagination .direction { - padding: 0 56px; - bottom: 40px; } - .pagination .stretch { - padding: 0 8px; } - .bar.search .query { - font-size: 20px; - padding: 12px 0; } - .results .scrollable { - top: 64px; } - .results .meta strong { - padding: 16px 24px; } - .result { - padding: 16px 24px 20px; } } -@media only screen and (min-width: 1200px) { - .header { - width: 100%; } - .drawer .scrollable .wrapper hr { - width: 48px; } } -@media only screen and (orientation: portrait) { - .ios.standalone .header { - height: 76px; - padding-top: 24px;/* [tablet portait+]: Larger header bar *//* - * Add status bar overlay - */ } - .ios.standalone .header:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .drawer .scrollable { - top: 124px; } - .ios.standalone .project { - padding-top: 20px;/* - * Add status bar overlay - */ } - .ios.standalone .project:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .article { - position: absolute; - top: 76px; - right: 0; - bottom: 0; - left: 0; } - .ios.standalone .results .scrollable { - top: 76px;/* [tablet portait+]: Increase vertical spacing */ } } -@media only screen and (orientation: portrait) and (min-width: 720px) { - .ios.standalone .header { - height: 84px; - padding-top: 28px; } - .ios.standalone .results .scrollable { - top: 84px; } } -@media only screen and (max-width: 719px) { - .bar .path { - display: none; } } -@media only screen and (max-width: 479px) { - .button-github, - .button-twitter { - display: none; } } -@media only screen and (min-width: 720px) and (max-width: 959px) { - .header .stretch { - padding: 0 24px; } } -@media only screen and (min-width: 480px) { - .pagination {/* - * Previous and next page - *//* - * Previous page - */ } - .pagination .previous, - .pagination .next { - width: 50%; } - .pagination .previous { - width: 50%;/* - * Show direction - *//* - * Show title - */ } - .pagination .previous .direction { - display: block; } - .pagination .previous .stretch { - display: table; } } -@media print {/* - * Hide non-relevant elements - */ - .header, .project, .footer { - display: none; }/* - * Article - */ - .article {/* - * Remove color in all code blocks - *//* - * Border-radius makes this table entirely black on paper, so scrap it - */ } - .article pre, .article pre * { - color: rgba(0, 0, 0, 0.87) !important; } - .article table { - border-radius: none; - box-shadow: none;/* - * Color header - */ } - .article table th { - color: #03a9f4; } } diff --git a/materializr/assets/stylesheets/application.green-ed0b1b20.css b/materializr/assets/stylesheets/application.green-ed0b1b20.css deleted file mode 100644 index 2e1274bc6..000000000 --- a/materializr/assets/stylesheets/application.green-ed0b1b20.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#689f38}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#689f38;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#689f38}.drawer .toc a:focus,.drawer .toc a:hover{color:#00b8d4}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#00b8d4;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#689f38 50%);background:linear-gradient(to bottom,#fff 50%,#689f38 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#689f38}.article a:focus,.article a:hover{color:#00b8d4}.article table th{background:#8eb76a;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#689f38;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#689f38;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#689f38;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#689f38}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.green.css b/materializr/assets/stylesheets/application.green.css deleted file mode 100644 index 74d0f64e0..000000000 --- a/materializr/assets/stylesheets/application.green.css +++ /dev/null @@ -1,2584 +0,0 @@ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Resets - * ------------------------------------------------------------------------- */ -/* - * Enfore correct box model - the prefixed versions are necessary for older - * browsers, i.e. Chrome < 10, Firefox < 29, Safari < 6 and Android < 4 - */ -html { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; } - -/* - * All elements shall inherit the document default - */ -*, *:before, *:after { - box-sizing: inherit; - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; } - -/* - * 16px --> 10px, browser default - */ -html { - font-size: 62.5%; - -webkit-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; } - -/* - * Reset spacing and borders for all tags - */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, main, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; } - -/* - * Reset list styles - */ -ul { - list-style: none; } - -/* - * Reset table styles - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -/* - * Reset table cell styles - */ -td { - text-align: left; - font-weight: normal; - vertical-align: middle; } - -/* - * Reset (native) button styles - */ -button { - outline: 0; - padding: 0; - background: transparent; - border: none; - font-size: inherit; } - -/* - * Reset (native) input styles - */ -input { - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - -o-appearance: none; - appearance: none; - outline: none; - border: none; } - -/* - * Reset link styles - */ -a { - text-decoration: none; - color: inherit; } - -/* - * Reset tap outlines on iOS and Android - */ -a, button, label, input { - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - -webkit-tap-highlight-color: transparent; } - -/* - * Reset headlines - */ -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* - * Primary and accent color - */ -/* - * Black opacities - */ -/* - * White opacities - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Code highlighter - * ------------------------------------------------------------------------- */ -/* - * Inline code - */ -code { - color: #689f38; } - -/* - * Code block - */ -pre { - background: rgba(0, 0, 0, 0.05); - /* - * Ensure correct color - */ } - pre, pre code { - color: rgba(0, 0, 0, 0.87); } - -/* - * Operators and comments - */ -.o, .c, .c1, .cm { - color: rgba(0, 0, 0, 0.54); } - -/* - * Keywords - */ -.k, .kn { - color: #A71D5D; } - -/* - * Types and functions - */ -.kt, .kd, .n.f { - color: #0086B3; } - -/* - * Strings - */ -.s { - color: #183691; } - -/* - * Constants and numbers - */ -.mi, .bp { - color: #9575CD; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Font faces - * ------------------------------------------------------------------------- */ -/* - * Icon font - */ -@font-face { - font-family: 'Icon'; - src: url("/assets/fonts/icon.eot?52m981"); - src: url("/assets/fonts/icon.eot?#iefix52m981") format("embedded-opentype"), url("/assets/fonts/icon.woff?52m981") format("woff"), url("/assets/fonts/icon.ttf?52m981") format("truetype"), url("/assets/fonts/icon.svg?52m981#icon") format("svg"); - font-weight: normal; - font-style: normal; } - -/* ---------------------------------------------------------------------------- - * Representational classes - * ------------------------------------------------------------------------- */ -/* - * Base icon class - */ -.icon { - font-family: 'Icon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* - * Magnifying glass - */ -.icon-search:before { - content: "\e600"; } - -/* - * Back arrow - */ -.icon-back:before { - content: "\e601"; } - -/* - * Link indicator - */ -.icon-link:before { - content: "\e602"; } - -/* - * Close button - */ -.icon-close:before { - content: "\e603"; } - -/* - * Hamburger icon - */ -.icon-menu:before { - content: "\e604"; } - -/* - * Forward arrow - */ -.icon-forward:before { - content: "\e605"; } - -/* - * Twitter icon - */ -.icon-twitter:before { - content: "\e606"; } - -/* - * GitHub icon - */ -.icon-github:before { - content: "\e607"; } - -/* - * Download icon - */ -.icon-download:before { - content: "\e608"; } - -/* - * Star icon - */ -.icon-star:before { - content: "\e609"; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Defaults - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Helper functions - * ------------------------------------------------------------------------- */ -/* - * Choose minimum and maximum device widths. - */ -/* - * Select minimum and maximum widths for a device breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for numeric breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query breakpoint. - */ -/* - * An orientation media query breakpoint. - */ -/* - * A maximum-aspect-ratio media query breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for device breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query device breakpoint. - */ -/* - * A minimum media query device breakpoint. - */ -/* - * A maximum media query device breakpoint. - */ -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base animation - * ------------------------------------------------------------------------- */ -/* - * Animate color on hover - */ -a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Overlay - */ -.overlay { - -webkit-transition: opacity .25s, width .0s .25s, height .0s .25s; - transition: opacity .25s, width .0s .25s, height .0s .25s; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - -webkit-transition: opacity .25s, width .0s, height .0s; - transition: opacity .25s, width .0s, height .0s; } - -/* - * Application header - check for javascript to omit flashing - */ -.js .header { - -webkit-transition: background .6s, color .6s; - transition: background .6s, color .6s; - /* - * Status bar - */ } - .js .header:before { - -webkit-transition: background .6s; - transition: background .6s; } - -/* - * Extended visible touch area on icon - */ -.button .icon { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base appearance - * ------------------------------------------------------------------------- */ -/* - * Device specific background hacks related to rubberband - */ -body { - color: rgba(0, 0, 0, 0.87); - /* Hack [Chrome, Opera]: Set background color in Chrome and Opera */ - /* - * Don't tint menu bar on iOS - */ } - @supports (-webkit-appearance: none) { - body { - background: #689f38; } } - .ios body { - background: white; } - -/* - * Horizontal separators - */ -hr { - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.12); } - -/* - * Toggle button - */ -.toggle-button { - cursor: pointer; - color: inherit; } - -/* - * Backdrop - */ -.backdrop { - background: white; - /* [tablet landscape+]: Introduce paper with shadow */ } - -/* - * Backdrop paper with shadow - */ -.backdrop-paper:after { - background: white; - /* [tablet landscape+]: Add drop shadow */ } - -/* - * Overlay - */ -.overlay { - background: rgba(0, 0, 0, 0.54); - opacity: 0; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - opacity: 1; } - -/* - * Application header - */ -.header { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #689f38; - color: white; - /* - * Add status bar overlay for iOS web application - */ } - .ios.standalone .header:before { - background: rgba(0, 0, 0, 0.12); } - -/* - * Navigation path within header bar - */ -.bar .path { - color: rgba(255, 255, 255, 0.7); } - -/* - * Draw round area around icon on touch - */ -.button .icon { - border-radius: 100%; } - -/* - * Pushed/clicked icon - */ -.button .icon:active { - background: rgba(255, 255, 255, 0.12); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base layout - * ------------------------------------------------------------------------- */ -/* - * Stretch container to viewport - */ -html { - height: 100%; } - -/* - * Stretch body to container and leave room for sticky footer. - */ -body { - position: relative; - min-height: 100%; } - -/* - * Horizontal separators - */ -hr { - display: block; - height: 1px; - padding: 0; - margin: 0; } - -/* - * Lock body (e.g. in search mode) - */ -.locked { - height: 100%; - overflow: hidden; } - -/* - * Scrollable container - */ -.scrollable { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* - * Content wrapper - */ } - .scrollable .wrapper { - height: 100%; - /* Hack [iOS]: Force overflow scrolling */ } - .ios .scrollable .wrapper { - margin-bottom: 2px; } - -/* - * Toggle states and button - */ -.toggle { - display: none; - /* - * Toggle button - */ } - .toggle-button { - display: block; } - -/* - * Backdrop - */ -.backdrop { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: -1; } - -/* - * Backdrop paper container - */ -.backdrop-paper { - max-width: 1200px; - height: 100%; - margin-left: auto; - margin-right: auto; - /* - * Actual paper - */ } - .backdrop-paper:after { - content: " "; - display: block; - height: 100%; - margin-left: 262px; } - -/* - * Overlay - */ -.overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - z-index: 4; - /* [tablet landscape-]: Trigger overlay */ } - -/* - * Application header stays always on top - */ -.header { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - position: fixed; - top: 0; - left: 0; - z-index: 3; - height: 56px; - padding: 4px; - overflow: hidden; - /* [tablet portait+]: Larger header bar */ - /* [screen+]: Stretch to screen */ - /* - * Absolute positioning in iOS web application - */ } - .ios.standalone .header { - position: absolute; - /* [orientation: portrait]: Account for status bar in portrait mode */ } - -/* - * Header bar - */ -.bar { - display: table; - max-width: 1184px; - margin-left: auto; - margin-right: auto; - /* - * Links should span icons entirely - */ - /* - * Hide search button, in case javascript is not available. - */ - /* - * Navigation path - */ } - .bar a { - display: block; } - .no-js .bar .button-search { - display: none; } - .bar .path { - /* - * Correct icon alignment - */ - /* [tablet portait-]: Hide path */ } - .bar .path .icon:before { - vertical-align: -1.5px; } - -/* - * Buttons - */ -.button { - display: table-cell; - vertical-align: top; - width: 1%; - /* - * Remove native spacing on button - */ - /* - * Button icons - */ } - .button button { - margin: 0; - padding: 0; - /* Hack [IE]: Remove button offset in active state */ } - .button button:active:before { - position: relative; - top: 0; - left: 0; } - .button .icon { - display: inline-block; - font-size: 24px; - padding: 8px; - margin: 4px; } - -/* - * Hide source and twitter button - */ -.button-github, -.button-twitter { - /* [mobile landscape-]: Hide button */ } - -/* - * Hide menu button - */ -.button-menu { - /* [tablet landscape+]: Hide button */ } - -/* - * Stretch content to remaining space - */ -.stretch { - display: table; - table-layout: fixed; - width: 100%; - /* - * Set vertical spacing for header - */ - /* - * Title with ellipsis on overflow - */ } - .header .stretch { - padding: 0 20px; - /* [tablet portait]: Increase vertical spacing */ - /* [tablet portait+]: Account for missing menu icon */ } - .stretch .title { - display: table-cell; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - /* - * Increase header font size - */ } - .header .stretch .title { - font-size: 18px; - padding: 13px 0; - /* [tablet portait+]: Slightly larger typography in header */ } - -/* - * Main content - */ -.main { - max-width: 1200px; - margin-left: auto; - margin-right: auto; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base typography - * ------------------------------------------------------------------------- */ -/* - * Default font styles - */ -body, input { - font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 400; - /* Enable font-smoothing in Webkit and FF */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface body, .no-fontface input { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -/* - * Proportional fonts - */ -pre, code { - font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface pre, .no-fontface code { - font-family: 'Courier New', 'Courier', monospace; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer animation - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Hide menu */ - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .main .drawer, - .toggle-drawer .drawer { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - /* - * Just show drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, .no-csstransforms3d - .toggle-drawer .drawer { - display: block; } - -/* - * No color transition for project link - */ -.project { - -webkit-transition: none; - transition: none; } - -/* - * Project logo image - */ -.project .logo img { - -webkit-transition: box-shadow .4s; - transition: box-shadow .4s; } - -/* - * Repository buttons - */ -.repo a { - -webkit-transition: box-shadow .4s, opacity .4s; - transition: box-shadow .4s, opacity .4s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer appearance - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Light gray background */ - /* - * Color links - */ - /* - * Main sections - */ - /* - * Content wrapper - */ } - .drawer .toc a { - /* - * Current active element - */ - /* - * Hovered link - */ } - .drawer .toc a.current { - color: #689f38; } - .drawer .toc a:hover, .drawer .toc a:focus { - color: #00b8d4; } - .drawer .section { - color: rgba(0, 0, 0, 0.54); } - .drawer .wrapper { - /* [tablet landscape-]: Light gray background */ } - -/* - * Project information - */ -.project { - /* [tablet landscape-]: Add drop shadow */ - /* - * Add status bar overlay for iOS web application - */ - /* - * Project logo - */ - /* - * Scale logo on hover - */ } - .ios.standalone .project:before { - background: rgba(0, 0, 0, 0.12); } - .project .logo img { - background: white; - border-radius: 100%; } - .project:hover .logo img, - .project:focus .logo img { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); } - -/* - * Repository buttons - */ -.repo a { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #00b8d4; - color: white; - border-radius: 3px; - /* - * Hovered button - */ - /* - * Stars - */ } - .repo a:hover, .repo a:focus { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); - opacity: 0.8; } - .repo a .count { - background: rgba(0, 0, 0, 0.26); - color: white; - border-radius: 0px 3px 3px 0px; - /* - * Star bubble - */ } - .repo a .count:before { - border-width: 15px 5px 15px 0; - border-color: transparent rgba(0, 0, 0, 0.26); - border-style: solid; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer layout - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - width: 262px; - font-size: 13px; - line-height: 1.0em; - /* [tablet landscape-]: Fixed positioning */ - /* [tablet landscape+]: Inline with content */ - /* Hack [iOS]: Mitigate scrolling of parent container on boundaries */ - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ - /* - * Scrollable container - */ } - .ios .drawer { - overflow: scroll; - -webkit-overflow-scrolling: touch; } - .drawer .toc li a { - display: block; - padding: 14.5px 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } - .drawer .toc li.anchor a { - padding: 10px 24px 10px 48px; } - .drawer .section { - display: block; - font-size: 11px; - padding: 14.5px 24px; } - .drawer .scrollable { - top: 104px; - z-index: -1; - /* [tablet landscape+]: Revert fixed positioning */ - /* - * Leave room for status bar in iOS web application - */ - /* - * Content wrapper - */ } - .ios.standalone .drawer .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .drawer .scrollable .wrapper { - height: auto; - min-height: 100%; - /* - * Add spacing at top and bottom of separator - */ - /* - * Add spacing at top and bottom of top level navigation - */ } - .drawer .scrollable .wrapper hr { - margin: 12px 0; - /* [screen+]: Shorten separator */ - /* Hack [IE]: Left-align horizontal rule */ - margin-right: auto; } - .drawer .scrollable .wrapper .toc { - margin: 12px 0; } - -/* - * Project information - */ -.project { - display: block; - /* - * Leave room for status bar in iOS web application - */ - /* - * Project banner - */ - /* - * Project logo - */ - /* - * Project name - */ - /* - * Shrink font, if a logo is given. - */ } - .ios.standalone .project { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .project .banner { - display: table; - width: 100%; - height: 104px; - padding: 20px; } - .project .logo { - display: table-cell; - width: 64px; - padding-right: 12px; - /* - * Project logo image - */ } - .project .logo img { - display: block; - width: 64px; - height: 64px; } - .project .name { - display: table-cell; - padding-left: 4px; - font-size: 14px; - line-height: 1.25em; - vertical-align: middle; - /* [tablet portait+]: Slightly larger project name */ } - .project .logo + .name { - font-size: 12px; } - -/* - * Repository - */ -.repo { - margin: 24px 0; - text-align: center; - /* - * Inline buttons - */ - /* - * Buttons - */ } - .repo li { - display: inline-block; - padding-right: 12px; - white-space: nowrap; - /* - * No padding on last button - */ } - .repo li:last-child { - padding-right: 0; } - .repo a { - display: inline-block; - padding: 0px 10px 0px 6px; - font-size: 12px; - line-height: 30px; - height: 30px; - /* - * Slightly larger icons - */ - /* - * Stars - */ } - .repo a .icon { - font-size: 18px; - vertical-align: -3px; } - .repo a .count { - display: inline-block; - position: relative; - padding: 0px 8px 0 4px; - margin: 0 -10px 0 8px; - font-size: 12px; - /* - * Star bubble - */ - /* - * Hide count, in case javascript is not available. - */ } - .repo a .count:before { - content: " "; - display: block; - position: absolute; - top: 0px; - left: -5px; } - .no-js .repo a .count { - display: none; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer typography - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ } - .drawer .toc li a { - font-weight: 700; } - .drawer .toc li.anchor a { - font-weight: 400; } - .drawer .section { - text-transform: uppercase; - font-weight: 700; } - -/* - * Repository buttons - */ -.repo a { - text-transform: uppercase; - font-weight: 700; - /* - * Stars - */ } - .repo a .count { - text-transform: none; - font-weight: 700; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article animation - * ------------------------------------------------------------------------- */ -/* - * Fade color after highlighting - */ -pre span { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Copyright and theme information - */ -.copyright { - /* - * Animate color on hover - */ } - .copyright a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article appearance - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Differing top and bottom rubberband backgrounds in iOS web application - */ - /* - * Headlines and chapters in primary color - */ - /* - * Lower border for main headline - */ - /* - * Color links - */ - /* - * Data tables - */ } - .ios.standalone .article { - background: -webkit-linear-gradient(top, white 50%, #689f38 50%); - background: linear-gradient(to bottom, white 50%, #689f38 50%); - /* Hack [iOS]: Mitigate black bounding box with linear gradient */ } - .ios.standalone .article .wrapper { - background: -webkit-linear-gradient(top, white 50%, white 50%); - background: linear-gradient(to bottom, white 50%, white 50%); } - .article h1, .article h2 { - color: #689f38; } - .article h1 { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); } - .article a { - color: #689f38; - /* - * Hovered link - */ } - .article a:hover, .article a:focus { - color: #00b8d4; } - .article table { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - border-radius: 3px; - /* - * Table heading - */ - /* - * Table cell - */ } - .article table th { - background: #8eb76a; - color: white; - /* - * Round upper left border - */ - /* - * Round upper right border - */ } - .article table th:first-child { - border-top-left-radius: 3px; } - .article table th:last-child { - border-top-right-radius: 3px; } - .article table td { - border-top: 1px solid rgba(0, 0, 0, 0.05); } - -/* - * Article footer - */ -.footer { - background: #689f38; - color: white; } - -/* - * Copyright and theme information - */ -.copyright { - color: rgba(0, 0, 0, 0.54); } - -/* - * Pagination - */ -.pagination { - /* - * Inherit color for links - */ - /* - * Smaller font size for direction - */ } - .pagination a, - .pagination a:hover, - .pagination a:focus { - color: inherit; } - .pagination .direction { - color: rgba(255, 255, 255, 0.7); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article layout - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - font-size: 14px; - line-height: 1.7em; - /* [tablet landscape+]: Indent to account for drawer */ - /* - * Clearfix - */ - /* - * Article wrapper - */ - /* - * Enable overflow scrolling in iOS web application - */ - /* - * Article headline - */ - /* - * Article chapters - */ - /* - * Sub headlines - */ - /* - * Paragraphs and section titles - */ - /* - * List elements - */ - /* - * Add icon for elements of an unordered list - */ - /* - * Inline code snippets must not wrap - */ - /* - * Add spacing at top of separator - */ - /* - * Limit images to article container - */ - /* - * Code listing container - */ - /* - * Data tables - */ - /* - * Data table wrapper, in case javascript is available - */ - /* [tablet portait+]: Increase spacing */ } - .article:after { - content: " "; - display: block; - clear: both; } - .article .wrapper { - padding: 116px 16px 92px; - /* [tablet portait+]: Increase top spacing */ } - .ios.standalone .article { - position: absolute; - top: 56px; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* [orientation: portrait]: Account for status bar in portrait mode */ - /* - * Article wrapper - */ } - .ios.standalone .article .wrapper { - position: relative; - min-height: 100%; - padding-top: 60px; - margin-bottom: 2px; } - .article h1 { - font-size: 24px; - line-height: 1.333334em; - padding: 20px 0 42px; } - .article h2 { - font-size: 20px; - line-height: 1.4em; - padding-top: 92px; - margin-top: -56px; - /* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 36px; - margin: 0; } - .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { - margin-top: 1.5em; } - .article li { - margin-top: 0.75em; - margin-left: 18px; - /* - * Inline paragraphs in list elements - */ } - .article li p { - display: inline; } - .article ul li:before { - content: "\e602"; - display: inline-block; - font-family: 'Icon'; - font-size: 16px; - width: 1.2em; - margin-left: -1.2em; - vertical-align: -0.1em; } - .article p > code { - white-space: nowrap; } - .article hr { - margin-top: 1.5em; } - .article img { - max-width: 100%; } - .article pre { - padding: 16px; - margin: 1.5em -16px 0; - line-height: 1.5em; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table { - margin: 3.0em 0 1.5em; - font-size: 13px; - /* - * The semi-cool solution, in case javascript is not available - */ - /* - * Table heading - */ - /* - * Table cell - */ } - .no-js .article table { - display: inline-block; - max-width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table th { - min-width: 100px; - padding: 12px 16px; - font-size: 12px; - text-align: left; - white-space: nowrap; } - .article table td { - padding: 12px 16px; - white-space: nowrap; } - .article .data { - margin: 1.5em -16px; - padding: 1.5em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - text-align: center; - /* - * Data table - */ - /* [tablet portait+]: Increase spacing */ } - .article .data table { - display: inline-block; - margin: 0 16px; - text-align: left; } - -/* - * Article footer - */ -.footer { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 0 4px; - /* [tablet portait+]: Larger spacing */ - /* [tablet landscape+]: Stretch footer to viewport */ } - -/* - * Copyright and theme information - */ -.copyright { - margin: 20px 0; - /* [tablet landscape+]: Add bottom spacing */ } - -/* - * Pagination - */ -.pagination { - max-width: 1184px; - height: 92px; - padding: 4px 0; - margin-left: auto; - margin-right: auto; - overflow: hidden; - /* [tablet portait+]: Larger pagination and spacing */ - /* - * Links should span icons entirely - */ - /* - * Previous and next page - */ - /* - * Previous page - */ - /* - * Next page - */ - /* - * Link to page - */ - /* - * Put direction over page title - */ - /* - * Decrease indent for stretching content - */ - /* [mobile landscape+]: Proportional width for pagination */ - /* [tablet portrait+]: Increase vertical spacing */ } - .pagination a { - display: block; - height: 100%; } - .pagination .previous, - .pagination .next { - position: relative; - float: left; - height: 100%; } - .pagination .previous { - width: 25%; - /* - * Hide direction - */ - /* - * Hide title - */ } - .pagination .previous .direction { - display: none; } - .pagination .previous .stretch { - display: none; } - .pagination .next { - width: 75%; - text-align: right; } - .pagination .page { - display: table; - position: absolute; - bottom: 4px; } - .pagination .direction { - display: block; - position: absolute; - bottom: 40px; - width: 100%; - font-size: 15px; - line-height: 20px; - padding: 0 52px; } - .pagination .stretch { - padding: 0 4px; - /* - * Correct vertical spacing - */ } - .pagination .stretch .title { - font-size: 18px; - padding: 11px 0 13px; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article typography - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Third-level headlines should be bold - */ - /* - * Fourth-level headlines should be italic - */ } - .article h3 { - font-weight: 700; } - .article h4 { - font-weight: 400; - font-style: italic; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search animation - * ------------------------------------------------------------------------- */ -/* - * Animate header bar in offset and opacity - */ -.bar { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - /* - * Active search mode - */ - /* - * Search animations - */ } - #toggle-search:checked ~ .header .bar, - .toggle-search .bar { - -webkit-transform: translate3d(0, -56px, 0); - transform: translate3d(0, -56px, 0); } - .bar.search { - /* - * Hide reset button by default - */ - /* - * Show reset button if search is not empty - */ } - .bar.search .button-reset { - -webkit-transform: scale(0.5, 0.5); - transform: scale(0.5, 0.5); - -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - opacity: 0; } - .bar.search.non-empty .button-reset { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - opacity: 1; } - -/* - * Search results - */ -.results { - -webkit-transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - /* - * Active search mode - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - -webkit-transition: opacity .4s, width .0s, height .0s; - transition: opacity .4s, width .0s, height .0s; } - .results .list a { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * Just hide and show bars, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Show default bar - */ - /* - * Hide search bar - */ - /* - * Active search mode - */ } - .no-csstransforms3d .bar.default { - display: table; } - .no-csstransforms3d .bar.search { - display: none; - margin-top: 0; } - .no-csstransforms3d #toggle-search:checked ~ .header, - .no-csstransforms3d .toggle-search { - /* - * Hide default bar - */ - /* - * Show search bar - */ } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, - .no-csstransforms3d .toggle-search .bar.default { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, - .no-csstransforms3d .toggle-search .bar.search { - display: table; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search appearance - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - opacity: 0; - /* - * Search input - */ - /* - * Pushed/clicked icon - */ } - .bar.search .query { - background: transparent; - color: rgba(0, 0, 0, 0.87); - /* - * Search input placeholder - */ } - .bar.search .query::-webkit-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query::-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .button .icon:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Search results - */ -.results { - box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); - background: white; - color: rgba(0, 0, 0, 0.87); - opacity: 0; - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - opacity: 1; } - .results .meta { - background: #689f38; - color: white; } - .results .list a { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - /* - * Remove border on last element - */ - /* - * Active item link - */ } - .results .list a:last-child { - border-bottom: none; } - .results .list a:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Article link - */ -.result span { - color: rgba(0, 0, 0, 0.54); } - -/* - * Active search bar - */ -#toggle-search:checked ~ .header, -.toggle-search .header { - background: white; - color: rgba(0, 0, 0, 0.54); - /* - * Add darker status bar overlay in search mode - */ - /* - * Fade out default header bar - */ - /* - * Fade in search header bar - */ } - #toggle-search:checked ~ .header:before, - .toggle-search .header:before { - background: rgba(0, 0, 0, 0.54); } - #toggle-search:checked ~ .header .bar.default, - .toggle-search .header .bar.default { - opacity: 0; } - #toggle-search:checked ~ .header .bar.search, - .toggle-search .header .bar.search { - opacity: 1; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search layout - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - margin-top: 8px; - /* - * Search input - */ } - .bar.search .query { - font-size: 18px; - padding: 13px 0; - margin: 0; - width: 100%; - height: 48px; - /* [tablet portait+]: Slightly larger typo */ - /* Hack [IE]: Hide redundant clear button */ } - .bar.search .query::-ms-clear { - display: none; } - -/* - * Search results - */ -.results { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 100%; - z-index: 2; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - /* [tablet landscape+]: Limit results to five entries */ - /* - * Scrollable container - */ - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - .results .scrollable { - top: 56px; - /* [tablet portait+]: Increase vertical spacing */ - /* [tablet landscape+]: Limit results to five entries */ - /* - * Leave room for status bar in iOS web application - */ } - .ios.standalone .results .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - width: 100%; - /* Hack [Firefox]: div doesn't collapse, unless this is applied */ - overflow-y: visible; - /* [tablet portait+]: Stretch to viewport */ } - .results .meta { - font-weight: 700; - /* - * Number of results - */ } - .results .meta strong { - display: block; - font-size: 11px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 16px; - /* [tablet portait+]: Increase vertical spacing */ } - .results .list a { - display: block; } - -/* - * Search result item - */ -.result { - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 12px 16px 16px; - /* [tablet portait+]: Increase vertical spacing */ - /* - * Article title - */ - /* - * Article link - */ } - .result h1 { - line-height: 24px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - .result span { - font-size: 12px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - -/* - * Switch visibility, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Hide search results - */ - /* - * Active search mode - */ } - .no-csstransforms3d .results { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .main, - .no-csstransforms3d .toggle-search { - /* - * Show search results - */ } - .no-csstransforms3d #toggle-search:checked ~ .main .results, - .no-csstransforms3d .toggle-search .results { - display: block; - overflow: auto; } - -/* - * 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. - */ -/* - * Search meta data - */ -.meta { - text-transform: uppercase; - font-weight: 700; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Print overrides - * ------------------------------------------------------------------------- */ -/* - * Print styles - */ - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Nothing to see here, move along - * ------------------------------------------------------------------------- */ -.admonition { - background: red; } -@media only screen and (min-width: 960px) { - .backdrop { - background: #f2f2f2; } - .backdrop-paper:after { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); } - .button-menu { - display: none; } - .drawer { - position: static; - float: left; - height: auto; - margin-bottom: 96px; - padding-top: 80px; } - .drawer .scrollable { - position: static; } - .article { - margin-left: 262px; } - .footer { - z-index: 5; } - .copyright { - margin-bottom: 64px; } - .results { - height: auto; - top: 64px; } - .results .scrollable { - position: static; - max-height: 413px; } } -@media only screen and (max-width: 959px) { - .overlay {/* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - width: 100%; - height: 100%; } - .drawer { - -webkit-transform: translate3d(-262px, 0, 0); - transform: translate3d(-262px, 0, 0); - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);/* - * Just hide drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d .drawer { - display: none; } - .drawer { - background: #f2f2f2; } - .drawer .wrapper { - background: #f2f2f2; } - .project { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #689f38; - color: white; } - .drawer { - position: fixed; - z-index: 5; - height: 100%; } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - height: 100%; } } -@media only screen and (min-width: 720px) { - .header { - height: 64px; - padding: 8px; } - .header .stretch { - padding: 0 16px 0 16px; } - .header .stretch .title { - font-size: 20px; - padding: 12px 0; } - .project .name { - margin: 26px 0 0 5px; } - .article .wrapper { - padding: 128px 24px 96px; } - .article .data { - margin: 1.5em -24px;/* - * Data table - */ } - .article .data table { - margin: 0 24px; } - .article {/* - * Account for larged header bar and anchors - *//* - * Increase spacing for code blocks - */ } - .article h2 { - padding-top: 100px; - margin-top: -64px;/* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 28px; - margin-top: 8px; } - .article pre { - padding: 1.5em 24px; - margin: 1.5em -24px 0; } - .footer { - padding: 0 8px; } - .pagination { - height: 96px; - padding: 8px 0; } - .pagination {/* - * Increase vertical spacing - *//* - * Increase vertical spacing - */ } - .pagination .direction { - padding: 0 56px; - bottom: 40px; } - .pagination .stretch { - padding: 0 8px; } - .bar.search .query { - font-size: 20px; - padding: 12px 0; } - .results .scrollable { - top: 64px; } - .results .meta strong { - padding: 16px 24px; } - .result { - padding: 16px 24px 20px; } } -@media only screen and (min-width: 1200px) { - .header { - width: 100%; } - .drawer .scrollable .wrapper hr { - width: 48px; } } -@media only screen and (orientation: portrait) { - .ios.standalone .header { - height: 76px; - padding-top: 24px;/* [tablet portait+]: Larger header bar *//* - * Add status bar overlay - */ } - .ios.standalone .header:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .drawer .scrollable { - top: 124px; } - .ios.standalone .project { - padding-top: 20px;/* - * Add status bar overlay - */ } - .ios.standalone .project:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .article { - position: absolute; - top: 76px; - right: 0; - bottom: 0; - left: 0; } - .ios.standalone .results .scrollable { - top: 76px;/* [tablet portait+]: Increase vertical spacing */ } } -@media only screen and (orientation: portrait) and (min-width: 720px) { - .ios.standalone .header { - height: 84px; - padding-top: 28px; } - .ios.standalone .results .scrollable { - top: 84px; } } -@media only screen and (max-width: 719px) { - .bar .path { - display: none; } } -@media only screen and (max-width: 479px) { - .button-github, - .button-twitter { - display: none; } } -@media only screen and (min-width: 720px) and (max-width: 959px) { - .header .stretch { - padding: 0 24px; } } -@media only screen and (min-width: 480px) { - .pagination {/* - * Previous and next page - *//* - * Previous page - */ } - .pagination .previous, - .pagination .next { - width: 50%; } - .pagination .previous { - width: 50%;/* - * Show direction - *//* - * Show title - */ } - .pagination .previous .direction { - display: block; } - .pagination .previous .stretch { - display: table; } } -@media print {/* - * Hide non-relevant elements - */ - .header, .project, .footer { - display: none; }/* - * Article - */ - .article {/* - * Remove color in all code blocks - *//* - * Border-radius makes this table entirely black on paper, so scrap it - */ } - .article pre, .article pre * { - color: rgba(0, 0, 0, 0.87) !important; } - .article table { - border-radius: none; - box-shadow: none;/* - * Color header - */ } - .article table th { - color: #689f38; } } diff --git a/materializr/assets/stylesheets/application.grey-35d3a667.css b/materializr/assets/stylesheets/application.grey-35d3a667.css deleted file mode 100644 index af4e671a8..000000000 --- a/materializr/assets/stylesheets/application.grey-35d3a667.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#455a64}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#455a64;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#455a64}.drawer .toc a:focus,.drawer .toc a:hover{color:#ff2d6f}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#ff2d6f;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#455a64 50%);background:linear-gradient(to bottom,#fff 50%,#455a64 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#455a64}.article a:focus,.article a:hover{color:#ff2d6f}.article table th{background:#74838b;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#455a64;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#455a64;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#455a64;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#455a64}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.grey.css b/materializr/assets/stylesheets/application.grey.css deleted file mode 100644 index ab4a75080..000000000 --- a/materializr/assets/stylesheets/application.grey.css +++ /dev/null @@ -1,2584 +0,0 @@ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Resets - * ------------------------------------------------------------------------- */ -/* - * Enfore correct box model - the prefixed versions are necessary for older - * browsers, i.e. Chrome < 10, Firefox < 29, Safari < 6 and Android < 4 - */ -html { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; } - -/* - * All elements shall inherit the document default - */ -*, *:before, *:after { - box-sizing: inherit; - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; } - -/* - * 16px --> 10px, browser default - */ -html { - font-size: 62.5%; - -webkit-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; } - -/* - * Reset spacing and borders for all tags - */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, main, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; } - -/* - * Reset list styles - */ -ul { - list-style: none; } - -/* - * Reset table styles - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -/* - * Reset table cell styles - */ -td { - text-align: left; - font-weight: normal; - vertical-align: middle; } - -/* - * Reset (native) button styles - */ -button { - outline: 0; - padding: 0; - background: transparent; - border: none; - font-size: inherit; } - -/* - * Reset (native) input styles - */ -input { - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - -o-appearance: none; - appearance: none; - outline: none; - border: none; } - -/* - * Reset link styles - */ -a { - text-decoration: none; - color: inherit; } - -/* - * Reset tap outlines on iOS and Android - */ -a, button, label, input { - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - -webkit-tap-highlight-color: transparent; } - -/* - * Reset headlines - */ -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* - * Primary and accent color - */ -/* - * Black opacities - */ -/* - * White opacities - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Code highlighter - * ------------------------------------------------------------------------- */ -/* - * Inline code - */ -code { - color: #455a64; } - -/* - * Code block - */ -pre { - background: rgba(0, 0, 0, 0.05); - /* - * Ensure correct color - */ } - pre, pre code { - color: rgba(0, 0, 0, 0.87); } - -/* - * Operators and comments - */ -.o, .c, .c1, .cm { - color: rgba(0, 0, 0, 0.54); } - -/* - * Keywords - */ -.k, .kn { - color: #A71D5D; } - -/* - * Types and functions - */ -.kt, .kd, .n.f { - color: #0086B3; } - -/* - * Strings - */ -.s { - color: #183691; } - -/* - * Constants and numbers - */ -.mi, .bp { - color: #9575CD; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Font faces - * ------------------------------------------------------------------------- */ -/* - * Icon font - */ -@font-face { - font-family: 'Icon'; - src: url("/assets/fonts/icon.eot?52m981"); - src: url("/assets/fonts/icon.eot?#iefix52m981") format("embedded-opentype"), url("/assets/fonts/icon.woff?52m981") format("woff"), url("/assets/fonts/icon.ttf?52m981") format("truetype"), url("/assets/fonts/icon.svg?52m981#icon") format("svg"); - font-weight: normal; - font-style: normal; } - -/* ---------------------------------------------------------------------------- - * Representational classes - * ------------------------------------------------------------------------- */ -/* - * Base icon class - */ -.icon { - font-family: 'Icon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* - * Magnifying glass - */ -.icon-search:before { - content: "\e600"; } - -/* - * Back arrow - */ -.icon-back:before { - content: "\e601"; } - -/* - * Link indicator - */ -.icon-link:before { - content: "\e602"; } - -/* - * Close button - */ -.icon-close:before { - content: "\e603"; } - -/* - * Hamburger icon - */ -.icon-menu:before { - content: "\e604"; } - -/* - * Forward arrow - */ -.icon-forward:before { - content: "\e605"; } - -/* - * Twitter icon - */ -.icon-twitter:before { - content: "\e606"; } - -/* - * GitHub icon - */ -.icon-github:before { - content: "\e607"; } - -/* - * Download icon - */ -.icon-download:before { - content: "\e608"; } - -/* - * Star icon - */ -.icon-star:before { - content: "\e609"; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Defaults - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Helper functions - * ------------------------------------------------------------------------- */ -/* - * Choose minimum and maximum device widths. - */ -/* - * Select minimum and maximum widths for a device breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for numeric breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query breakpoint. - */ -/* - * An orientation media query breakpoint. - */ -/* - * A maximum-aspect-ratio media query breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for device breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query device breakpoint. - */ -/* - * A minimum media query device breakpoint. - */ -/* - * A maximum media query device breakpoint. - */ -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base animation - * ------------------------------------------------------------------------- */ -/* - * Animate color on hover - */ -a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Overlay - */ -.overlay { - -webkit-transition: opacity .25s, width .0s .25s, height .0s .25s; - transition: opacity .25s, width .0s .25s, height .0s .25s; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - -webkit-transition: opacity .25s, width .0s, height .0s; - transition: opacity .25s, width .0s, height .0s; } - -/* - * Application header - check for javascript to omit flashing - */ -.js .header { - -webkit-transition: background .6s, color .6s; - transition: background .6s, color .6s; - /* - * Status bar - */ } - .js .header:before { - -webkit-transition: background .6s; - transition: background .6s; } - -/* - * Extended visible touch area on icon - */ -.button .icon { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base appearance - * ------------------------------------------------------------------------- */ -/* - * Device specific background hacks related to rubberband - */ -body { - color: rgba(0, 0, 0, 0.87); - /* Hack [Chrome, Opera]: Set background color in Chrome and Opera */ - /* - * Don't tint menu bar on iOS - */ } - @supports (-webkit-appearance: none) { - body { - background: #455a64; } } - .ios body { - background: white; } - -/* - * Horizontal separators - */ -hr { - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.12); } - -/* - * Toggle button - */ -.toggle-button { - cursor: pointer; - color: inherit; } - -/* - * Backdrop - */ -.backdrop { - background: white; - /* [tablet landscape+]: Introduce paper with shadow */ } - -/* - * Backdrop paper with shadow - */ -.backdrop-paper:after { - background: white; - /* [tablet landscape+]: Add drop shadow */ } - -/* - * Overlay - */ -.overlay { - background: rgba(0, 0, 0, 0.54); - opacity: 0; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - opacity: 1; } - -/* - * Application header - */ -.header { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #455a64; - color: white; - /* - * Add status bar overlay for iOS web application - */ } - .ios.standalone .header:before { - background: rgba(0, 0, 0, 0.12); } - -/* - * Navigation path within header bar - */ -.bar .path { - color: rgba(255, 255, 255, 0.7); } - -/* - * Draw round area around icon on touch - */ -.button .icon { - border-radius: 100%; } - -/* - * Pushed/clicked icon - */ -.button .icon:active { - background: rgba(255, 255, 255, 0.12); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base layout - * ------------------------------------------------------------------------- */ -/* - * Stretch container to viewport - */ -html { - height: 100%; } - -/* - * Stretch body to container and leave room for sticky footer. - */ -body { - position: relative; - min-height: 100%; } - -/* - * Horizontal separators - */ -hr { - display: block; - height: 1px; - padding: 0; - margin: 0; } - -/* - * Lock body (e.g. in search mode) - */ -.locked { - height: 100%; - overflow: hidden; } - -/* - * Scrollable container - */ -.scrollable { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* - * Content wrapper - */ } - .scrollable .wrapper { - height: 100%; - /* Hack [iOS]: Force overflow scrolling */ } - .ios .scrollable .wrapper { - margin-bottom: 2px; } - -/* - * Toggle states and button - */ -.toggle { - display: none; - /* - * Toggle button - */ } - .toggle-button { - display: block; } - -/* - * Backdrop - */ -.backdrop { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: -1; } - -/* - * Backdrop paper container - */ -.backdrop-paper { - max-width: 1200px; - height: 100%; - margin-left: auto; - margin-right: auto; - /* - * Actual paper - */ } - .backdrop-paper:after { - content: " "; - display: block; - height: 100%; - margin-left: 262px; } - -/* - * Overlay - */ -.overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - z-index: 4; - /* [tablet landscape-]: Trigger overlay */ } - -/* - * Application header stays always on top - */ -.header { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - position: fixed; - top: 0; - left: 0; - z-index: 3; - height: 56px; - padding: 4px; - overflow: hidden; - /* [tablet portait+]: Larger header bar */ - /* [screen+]: Stretch to screen */ - /* - * Absolute positioning in iOS web application - */ } - .ios.standalone .header { - position: absolute; - /* [orientation: portrait]: Account for status bar in portrait mode */ } - -/* - * Header bar - */ -.bar { - display: table; - max-width: 1184px; - margin-left: auto; - margin-right: auto; - /* - * Links should span icons entirely - */ - /* - * Hide search button, in case javascript is not available. - */ - /* - * Navigation path - */ } - .bar a { - display: block; } - .no-js .bar .button-search { - display: none; } - .bar .path { - /* - * Correct icon alignment - */ - /* [tablet portait-]: Hide path */ } - .bar .path .icon:before { - vertical-align: -1.5px; } - -/* - * Buttons - */ -.button { - display: table-cell; - vertical-align: top; - width: 1%; - /* - * Remove native spacing on button - */ - /* - * Button icons - */ } - .button button { - margin: 0; - padding: 0; - /* Hack [IE]: Remove button offset in active state */ } - .button button:active:before { - position: relative; - top: 0; - left: 0; } - .button .icon { - display: inline-block; - font-size: 24px; - padding: 8px; - margin: 4px; } - -/* - * Hide source and twitter button - */ -.button-github, -.button-twitter { - /* [mobile landscape-]: Hide button */ } - -/* - * Hide menu button - */ -.button-menu { - /* [tablet landscape+]: Hide button */ } - -/* - * Stretch content to remaining space - */ -.stretch { - display: table; - table-layout: fixed; - width: 100%; - /* - * Set vertical spacing for header - */ - /* - * Title with ellipsis on overflow - */ } - .header .stretch { - padding: 0 20px; - /* [tablet portait]: Increase vertical spacing */ - /* [tablet portait+]: Account for missing menu icon */ } - .stretch .title { - display: table-cell; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - /* - * Increase header font size - */ } - .header .stretch .title { - font-size: 18px; - padding: 13px 0; - /* [tablet portait+]: Slightly larger typography in header */ } - -/* - * Main content - */ -.main { - max-width: 1200px; - margin-left: auto; - margin-right: auto; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base typography - * ------------------------------------------------------------------------- */ -/* - * Default font styles - */ -body, input { - font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 400; - /* Enable font-smoothing in Webkit and FF */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface body, .no-fontface input { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -/* - * Proportional fonts - */ -pre, code { - font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface pre, .no-fontface code { - font-family: 'Courier New', 'Courier', monospace; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer animation - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Hide menu */ - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .main .drawer, - .toggle-drawer .drawer { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - /* - * Just show drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, .no-csstransforms3d - .toggle-drawer .drawer { - display: block; } - -/* - * No color transition for project link - */ -.project { - -webkit-transition: none; - transition: none; } - -/* - * Project logo image - */ -.project .logo img { - -webkit-transition: box-shadow .4s; - transition: box-shadow .4s; } - -/* - * Repository buttons - */ -.repo a { - -webkit-transition: box-shadow .4s, opacity .4s; - transition: box-shadow .4s, opacity .4s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer appearance - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Light gray background */ - /* - * Color links - */ - /* - * Main sections - */ - /* - * Content wrapper - */ } - .drawer .toc a { - /* - * Current active element - */ - /* - * Hovered link - */ } - .drawer .toc a.current { - color: #455a64; } - .drawer .toc a:hover, .drawer .toc a:focus { - color: #ff2d6f; } - .drawer .section { - color: rgba(0, 0, 0, 0.54); } - .drawer .wrapper { - /* [tablet landscape-]: Light gray background */ } - -/* - * Project information - */ -.project { - /* [tablet landscape-]: Add drop shadow */ - /* - * Add status bar overlay for iOS web application - */ - /* - * Project logo - */ - /* - * Scale logo on hover - */ } - .ios.standalone .project:before { - background: rgba(0, 0, 0, 0.12); } - .project .logo img { - background: white; - border-radius: 100%; } - .project:hover .logo img, - .project:focus .logo img { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); } - -/* - * Repository buttons - */ -.repo a { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #ff2d6f; - color: white; - border-radius: 3px; - /* - * Hovered button - */ - /* - * Stars - */ } - .repo a:hover, .repo a:focus { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); - opacity: 0.8; } - .repo a .count { - background: rgba(0, 0, 0, 0.26); - color: white; - border-radius: 0px 3px 3px 0px; - /* - * Star bubble - */ } - .repo a .count:before { - border-width: 15px 5px 15px 0; - border-color: transparent rgba(0, 0, 0, 0.26); - border-style: solid; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer layout - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - width: 262px; - font-size: 13px; - line-height: 1.0em; - /* [tablet landscape-]: Fixed positioning */ - /* [tablet landscape+]: Inline with content */ - /* Hack [iOS]: Mitigate scrolling of parent container on boundaries */ - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ - /* - * Scrollable container - */ } - .ios .drawer { - overflow: scroll; - -webkit-overflow-scrolling: touch; } - .drawer .toc li a { - display: block; - padding: 14.5px 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } - .drawer .toc li.anchor a { - padding: 10px 24px 10px 48px; } - .drawer .section { - display: block; - font-size: 11px; - padding: 14.5px 24px; } - .drawer .scrollable { - top: 104px; - z-index: -1; - /* [tablet landscape+]: Revert fixed positioning */ - /* - * Leave room for status bar in iOS web application - */ - /* - * Content wrapper - */ } - .ios.standalone .drawer .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .drawer .scrollable .wrapper { - height: auto; - min-height: 100%; - /* - * Add spacing at top and bottom of separator - */ - /* - * Add spacing at top and bottom of top level navigation - */ } - .drawer .scrollable .wrapper hr { - margin: 12px 0; - /* [screen+]: Shorten separator */ - /* Hack [IE]: Left-align horizontal rule */ - margin-right: auto; } - .drawer .scrollable .wrapper .toc { - margin: 12px 0; } - -/* - * Project information - */ -.project { - display: block; - /* - * Leave room for status bar in iOS web application - */ - /* - * Project banner - */ - /* - * Project logo - */ - /* - * Project name - */ - /* - * Shrink font, if a logo is given. - */ } - .ios.standalone .project { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .project .banner { - display: table; - width: 100%; - height: 104px; - padding: 20px; } - .project .logo { - display: table-cell; - width: 64px; - padding-right: 12px; - /* - * Project logo image - */ } - .project .logo img { - display: block; - width: 64px; - height: 64px; } - .project .name { - display: table-cell; - padding-left: 4px; - font-size: 14px; - line-height: 1.25em; - vertical-align: middle; - /* [tablet portait+]: Slightly larger project name */ } - .project .logo + .name { - font-size: 12px; } - -/* - * Repository - */ -.repo { - margin: 24px 0; - text-align: center; - /* - * Inline buttons - */ - /* - * Buttons - */ } - .repo li { - display: inline-block; - padding-right: 12px; - white-space: nowrap; - /* - * No padding on last button - */ } - .repo li:last-child { - padding-right: 0; } - .repo a { - display: inline-block; - padding: 0px 10px 0px 6px; - font-size: 12px; - line-height: 30px; - height: 30px; - /* - * Slightly larger icons - */ - /* - * Stars - */ } - .repo a .icon { - font-size: 18px; - vertical-align: -3px; } - .repo a .count { - display: inline-block; - position: relative; - padding: 0px 8px 0 4px; - margin: 0 -10px 0 8px; - font-size: 12px; - /* - * Star bubble - */ - /* - * Hide count, in case javascript is not available. - */ } - .repo a .count:before { - content: " "; - display: block; - position: absolute; - top: 0px; - left: -5px; } - .no-js .repo a .count { - display: none; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer typography - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ } - .drawer .toc li a { - font-weight: 700; } - .drawer .toc li.anchor a { - font-weight: 400; } - .drawer .section { - text-transform: uppercase; - font-weight: 700; } - -/* - * Repository buttons - */ -.repo a { - text-transform: uppercase; - font-weight: 700; - /* - * Stars - */ } - .repo a .count { - text-transform: none; - font-weight: 700; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article animation - * ------------------------------------------------------------------------- */ -/* - * Fade color after highlighting - */ -pre span { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Copyright and theme information - */ -.copyright { - /* - * Animate color on hover - */ } - .copyright a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article appearance - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Differing top and bottom rubberband backgrounds in iOS web application - */ - /* - * Headlines and chapters in primary color - */ - /* - * Lower border for main headline - */ - /* - * Color links - */ - /* - * Data tables - */ } - .ios.standalone .article { - background: -webkit-linear-gradient(top, white 50%, #455a64 50%); - background: linear-gradient(to bottom, white 50%, #455a64 50%); - /* Hack [iOS]: Mitigate black bounding box with linear gradient */ } - .ios.standalone .article .wrapper { - background: -webkit-linear-gradient(top, white 50%, white 50%); - background: linear-gradient(to bottom, white 50%, white 50%); } - .article h1, .article h2 { - color: #455a64; } - .article h1 { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); } - .article a { - color: #455a64; - /* - * Hovered link - */ } - .article a:hover, .article a:focus { - color: #ff2d6f; } - .article table { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - border-radius: 3px; - /* - * Table heading - */ - /* - * Table cell - */ } - .article table th { - background: #74838b; - color: white; - /* - * Round upper left border - */ - /* - * Round upper right border - */ } - .article table th:first-child { - border-top-left-radius: 3px; } - .article table th:last-child { - border-top-right-radius: 3px; } - .article table td { - border-top: 1px solid rgba(0, 0, 0, 0.05); } - -/* - * Article footer - */ -.footer { - background: #455a64; - color: white; } - -/* - * Copyright and theme information - */ -.copyright { - color: rgba(0, 0, 0, 0.54); } - -/* - * Pagination - */ -.pagination { - /* - * Inherit color for links - */ - /* - * Smaller font size for direction - */ } - .pagination a, - .pagination a:hover, - .pagination a:focus { - color: inherit; } - .pagination .direction { - color: rgba(255, 255, 255, 0.7); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article layout - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - font-size: 14px; - line-height: 1.7em; - /* [tablet landscape+]: Indent to account for drawer */ - /* - * Clearfix - */ - /* - * Article wrapper - */ - /* - * Enable overflow scrolling in iOS web application - */ - /* - * Article headline - */ - /* - * Article chapters - */ - /* - * Sub headlines - */ - /* - * Paragraphs and section titles - */ - /* - * List elements - */ - /* - * Add icon for elements of an unordered list - */ - /* - * Inline code snippets must not wrap - */ - /* - * Add spacing at top of separator - */ - /* - * Limit images to article container - */ - /* - * Code listing container - */ - /* - * Data tables - */ - /* - * Data table wrapper, in case javascript is available - */ - /* [tablet portait+]: Increase spacing */ } - .article:after { - content: " "; - display: block; - clear: both; } - .article .wrapper { - padding: 116px 16px 92px; - /* [tablet portait+]: Increase top spacing */ } - .ios.standalone .article { - position: absolute; - top: 56px; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* [orientation: portrait]: Account for status bar in portrait mode */ - /* - * Article wrapper - */ } - .ios.standalone .article .wrapper { - position: relative; - min-height: 100%; - padding-top: 60px; - margin-bottom: 2px; } - .article h1 { - font-size: 24px; - line-height: 1.333334em; - padding: 20px 0 42px; } - .article h2 { - font-size: 20px; - line-height: 1.4em; - padding-top: 92px; - margin-top: -56px; - /* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 36px; - margin: 0; } - .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { - margin-top: 1.5em; } - .article li { - margin-top: 0.75em; - margin-left: 18px; - /* - * Inline paragraphs in list elements - */ } - .article li p { - display: inline; } - .article ul li:before { - content: "\e602"; - display: inline-block; - font-family: 'Icon'; - font-size: 16px; - width: 1.2em; - margin-left: -1.2em; - vertical-align: -0.1em; } - .article p > code { - white-space: nowrap; } - .article hr { - margin-top: 1.5em; } - .article img { - max-width: 100%; } - .article pre { - padding: 16px; - margin: 1.5em -16px 0; - line-height: 1.5em; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table { - margin: 3.0em 0 1.5em; - font-size: 13px; - /* - * The semi-cool solution, in case javascript is not available - */ - /* - * Table heading - */ - /* - * Table cell - */ } - .no-js .article table { - display: inline-block; - max-width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table th { - min-width: 100px; - padding: 12px 16px; - font-size: 12px; - text-align: left; - white-space: nowrap; } - .article table td { - padding: 12px 16px; - white-space: nowrap; } - .article .data { - margin: 1.5em -16px; - padding: 1.5em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - text-align: center; - /* - * Data table - */ - /* [tablet portait+]: Increase spacing */ } - .article .data table { - display: inline-block; - margin: 0 16px; - text-align: left; } - -/* - * Article footer - */ -.footer { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 0 4px; - /* [tablet portait+]: Larger spacing */ - /* [tablet landscape+]: Stretch footer to viewport */ } - -/* - * Copyright and theme information - */ -.copyright { - margin: 20px 0; - /* [tablet landscape+]: Add bottom spacing */ } - -/* - * Pagination - */ -.pagination { - max-width: 1184px; - height: 92px; - padding: 4px 0; - margin-left: auto; - margin-right: auto; - overflow: hidden; - /* [tablet portait+]: Larger pagination and spacing */ - /* - * Links should span icons entirely - */ - /* - * Previous and next page - */ - /* - * Previous page - */ - /* - * Next page - */ - /* - * Link to page - */ - /* - * Put direction over page title - */ - /* - * Decrease indent for stretching content - */ - /* [mobile landscape+]: Proportional width for pagination */ - /* [tablet portrait+]: Increase vertical spacing */ } - .pagination a { - display: block; - height: 100%; } - .pagination .previous, - .pagination .next { - position: relative; - float: left; - height: 100%; } - .pagination .previous { - width: 25%; - /* - * Hide direction - */ - /* - * Hide title - */ } - .pagination .previous .direction { - display: none; } - .pagination .previous .stretch { - display: none; } - .pagination .next { - width: 75%; - text-align: right; } - .pagination .page { - display: table; - position: absolute; - bottom: 4px; } - .pagination .direction { - display: block; - position: absolute; - bottom: 40px; - width: 100%; - font-size: 15px; - line-height: 20px; - padding: 0 52px; } - .pagination .stretch { - padding: 0 4px; - /* - * Correct vertical spacing - */ } - .pagination .stretch .title { - font-size: 18px; - padding: 11px 0 13px; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article typography - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Third-level headlines should be bold - */ - /* - * Fourth-level headlines should be italic - */ } - .article h3 { - font-weight: 700; } - .article h4 { - font-weight: 400; - font-style: italic; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search animation - * ------------------------------------------------------------------------- */ -/* - * Animate header bar in offset and opacity - */ -.bar { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - /* - * Active search mode - */ - /* - * Search animations - */ } - #toggle-search:checked ~ .header .bar, - .toggle-search .bar { - -webkit-transform: translate3d(0, -56px, 0); - transform: translate3d(0, -56px, 0); } - .bar.search { - /* - * Hide reset button by default - */ - /* - * Show reset button if search is not empty - */ } - .bar.search .button-reset { - -webkit-transform: scale(0.5, 0.5); - transform: scale(0.5, 0.5); - -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - opacity: 0; } - .bar.search.non-empty .button-reset { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - opacity: 1; } - -/* - * Search results - */ -.results { - -webkit-transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - /* - * Active search mode - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - -webkit-transition: opacity .4s, width .0s, height .0s; - transition: opacity .4s, width .0s, height .0s; } - .results .list a { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * Just hide and show bars, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Show default bar - */ - /* - * Hide search bar - */ - /* - * Active search mode - */ } - .no-csstransforms3d .bar.default { - display: table; } - .no-csstransforms3d .bar.search { - display: none; - margin-top: 0; } - .no-csstransforms3d #toggle-search:checked ~ .header, - .no-csstransforms3d .toggle-search { - /* - * Hide default bar - */ - /* - * Show search bar - */ } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, - .no-csstransforms3d .toggle-search .bar.default { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, - .no-csstransforms3d .toggle-search .bar.search { - display: table; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search appearance - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - opacity: 0; - /* - * Search input - */ - /* - * Pushed/clicked icon - */ } - .bar.search .query { - background: transparent; - color: rgba(0, 0, 0, 0.87); - /* - * Search input placeholder - */ } - .bar.search .query::-webkit-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query::-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .button .icon:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Search results - */ -.results { - box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); - background: white; - color: rgba(0, 0, 0, 0.87); - opacity: 0; - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - opacity: 1; } - .results .meta { - background: #455a64; - color: white; } - .results .list a { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - /* - * Remove border on last element - */ - /* - * Active item link - */ } - .results .list a:last-child { - border-bottom: none; } - .results .list a:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Article link - */ -.result span { - color: rgba(0, 0, 0, 0.54); } - -/* - * Active search bar - */ -#toggle-search:checked ~ .header, -.toggle-search .header { - background: white; - color: rgba(0, 0, 0, 0.54); - /* - * Add darker status bar overlay in search mode - */ - /* - * Fade out default header bar - */ - /* - * Fade in search header bar - */ } - #toggle-search:checked ~ .header:before, - .toggle-search .header:before { - background: rgba(0, 0, 0, 0.54); } - #toggle-search:checked ~ .header .bar.default, - .toggle-search .header .bar.default { - opacity: 0; } - #toggle-search:checked ~ .header .bar.search, - .toggle-search .header .bar.search { - opacity: 1; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search layout - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - margin-top: 8px; - /* - * Search input - */ } - .bar.search .query { - font-size: 18px; - padding: 13px 0; - margin: 0; - width: 100%; - height: 48px; - /* [tablet portait+]: Slightly larger typo */ - /* Hack [IE]: Hide redundant clear button */ } - .bar.search .query::-ms-clear { - display: none; } - -/* - * Search results - */ -.results { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 100%; - z-index: 2; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - /* [tablet landscape+]: Limit results to five entries */ - /* - * Scrollable container - */ - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - .results .scrollable { - top: 56px; - /* [tablet portait+]: Increase vertical spacing */ - /* [tablet landscape+]: Limit results to five entries */ - /* - * Leave room for status bar in iOS web application - */ } - .ios.standalone .results .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - width: 100%; - /* Hack [Firefox]: div doesn't collapse, unless this is applied */ - overflow-y: visible; - /* [tablet portait+]: Stretch to viewport */ } - .results .meta { - font-weight: 700; - /* - * Number of results - */ } - .results .meta strong { - display: block; - font-size: 11px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 16px; - /* [tablet portait+]: Increase vertical spacing */ } - .results .list a { - display: block; } - -/* - * Search result item - */ -.result { - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 12px 16px 16px; - /* [tablet portait+]: Increase vertical spacing */ - /* - * Article title - */ - /* - * Article link - */ } - .result h1 { - line-height: 24px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - .result span { - font-size: 12px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - -/* - * Switch visibility, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Hide search results - */ - /* - * Active search mode - */ } - .no-csstransforms3d .results { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .main, - .no-csstransforms3d .toggle-search { - /* - * Show search results - */ } - .no-csstransforms3d #toggle-search:checked ~ .main .results, - .no-csstransforms3d .toggle-search .results { - display: block; - overflow: auto; } - -/* - * 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. - */ -/* - * Search meta data - */ -.meta { - text-transform: uppercase; - font-weight: 700; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Print overrides - * ------------------------------------------------------------------------- */ -/* - * Print styles - */ - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Nothing to see here, move along - * ------------------------------------------------------------------------- */ -.admonition { - background: red; } -@media only screen and (min-width: 960px) { - .backdrop { - background: #f2f2f2; } - .backdrop-paper:after { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); } - .button-menu { - display: none; } - .drawer { - position: static; - float: left; - height: auto; - margin-bottom: 96px; - padding-top: 80px; } - .drawer .scrollable { - position: static; } - .article { - margin-left: 262px; } - .footer { - z-index: 5; } - .copyright { - margin-bottom: 64px; } - .results { - height: auto; - top: 64px; } - .results .scrollable { - position: static; - max-height: 413px; } } -@media only screen and (max-width: 959px) { - .overlay {/* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - width: 100%; - height: 100%; } - .drawer { - -webkit-transform: translate3d(-262px, 0, 0); - transform: translate3d(-262px, 0, 0); - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);/* - * Just hide drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d .drawer { - display: none; } - .drawer { - background: #f2f2f2; } - .drawer .wrapper { - background: #f2f2f2; } - .project { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #455a64; - color: white; } - .drawer { - position: fixed; - z-index: 5; - height: 100%; } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - height: 100%; } } -@media only screen and (min-width: 720px) { - .header { - height: 64px; - padding: 8px; } - .header .stretch { - padding: 0 16px 0 16px; } - .header .stretch .title { - font-size: 20px; - padding: 12px 0; } - .project .name { - margin: 26px 0 0 5px; } - .article .wrapper { - padding: 128px 24px 96px; } - .article .data { - margin: 1.5em -24px;/* - * Data table - */ } - .article .data table { - margin: 0 24px; } - .article {/* - * Account for larged header bar and anchors - *//* - * Increase spacing for code blocks - */ } - .article h2 { - padding-top: 100px; - margin-top: -64px;/* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 28px; - margin-top: 8px; } - .article pre { - padding: 1.5em 24px; - margin: 1.5em -24px 0; } - .footer { - padding: 0 8px; } - .pagination { - height: 96px; - padding: 8px 0; } - .pagination {/* - * Increase vertical spacing - *//* - * Increase vertical spacing - */ } - .pagination .direction { - padding: 0 56px; - bottom: 40px; } - .pagination .stretch { - padding: 0 8px; } - .bar.search .query { - font-size: 20px; - padding: 12px 0; } - .results .scrollable { - top: 64px; } - .results .meta strong { - padding: 16px 24px; } - .result { - padding: 16px 24px 20px; } } -@media only screen and (min-width: 1200px) { - .header { - width: 100%; } - .drawer .scrollable .wrapper hr { - width: 48px; } } -@media only screen and (orientation: portrait) { - .ios.standalone .header { - height: 76px; - padding-top: 24px;/* [tablet portait+]: Larger header bar *//* - * Add status bar overlay - */ } - .ios.standalone .header:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .drawer .scrollable { - top: 124px; } - .ios.standalone .project { - padding-top: 20px;/* - * Add status bar overlay - */ } - .ios.standalone .project:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .article { - position: absolute; - top: 76px; - right: 0; - bottom: 0; - left: 0; } - .ios.standalone .results .scrollable { - top: 76px;/* [tablet portait+]: Increase vertical spacing */ } } -@media only screen and (orientation: portrait) and (min-width: 720px) { - .ios.standalone .header { - height: 84px; - padding-top: 28px; } - .ios.standalone .results .scrollable { - top: 84px; } } -@media only screen and (max-width: 719px) { - .bar .path { - display: none; } } -@media only screen and (max-width: 479px) { - .button-github, - .button-twitter { - display: none; } } -@media only screen and (min-width: 720px) and (max-width: 959px) { - .header .stretch { - padding: 0 24px; } } -@media only screen and (min-width: 480px) { - .pagination {/* - * Previous and next page - *//* - * Previous page - */ } - .pagination .previous, - .pagination .next { - width: 50%; } - .pagination .previous { - width: 50%;/* - * Show direction - *//* - * Show title - */ } - .pagination .previous .direction { - display: block; } - .pagination .previous .stretch { - display: table; } } -@media print {/* - * Hide non-relevant elements - */ - .header, .project, .footer { - display: none; }/* - * Article - */ - .article {/* - * Remove color in all code blocks - *//* - * Border-radius makes this table entirely black on paper, so scrap it - */ } - .article pre, .article pre * { - color: rgba(0, 0, 0, 0.87) !important; } - .article table { - border-radius: none; - box-shadow: none;/* - * Color header - */ } - .article table th { - color: #455a64; } } diff --git a/materializr/assets/stylesheets/application.pink-c98c1339.css b/materializr/assets/stylesheets/application.pink-c98c1339.css deleted file mode 100644 index 7b7039002..000000000 --- a/materializr/assets/stylesheets/application.pink-c98c1339.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#e91e63}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#e91e63;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#e91e63}.drawer .toc a:focus,.drawer .toc a:hover{color:#3d5afe}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#3d5afe;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#e91e63 50%);background:linear-gradient(to bottom,#fff 50%,#e91e63 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#e91e63}.article a:focus,.article a:hover{color:#3d5afe}.article table th{background:#ef568a;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#e91e63;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#e91e63;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#e91e63;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#e91e63}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.pink.css b/materializr/assets/stylesheets/application.pink.css deleted file mode 100644 index 420f0017b..000000000 --- a/materializr/assets/stylesheets/application.pink.css +++ /dev/null @@ -1,2584 +0,0 @@ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Resets - * ------------------------------------------------------------------------- */ -/* - * Enfore correct box model - the prefixed versions are necessary for older - * browsers, i.e. Chrome < 10, Firefox < 29, Safari < 6 and Android < 4 - */ -html { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; } - -/* - * All elements shall inherit the document default - */ -*, *:before, *:after { - box-sizing: inherit; - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; } - -/* - * 16px --> 10px, browser default - */ -html { - font-size: 62.5%; - -webkit-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; } - -/* - * Reset spacing and borders for all tags - */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, main, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; } - -/* - * Reset list styles - */ -ul { - list-style: none; } - -/* - * Reset table styles - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -/* - * Reset table cell styles - */ -td { - text-align: left; - font-weight: normal; - vertical-align: middle; } - -/* - * Reset (native) button styles - */ -button { - outline: 0; - padding: 0; - background: transparent; - border: none; - font-size: inherit; } - -/* - * Reset (native) input styles - */ -input { - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - -o-appearance: none; - appearance: none; - outline: none; - border: none; } - -/* - * Reset link styles - */ -a { - text-decoration: none; - color: inherit; } - -/* - * Reset tap outlines on iOS and Android - */ -a, button, label, input { - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - -webkit-tap-highlight-color: transparent; } - -/* - * Reset headlines - */ -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* - * Primary and accent color - */ -/* - * Black opacities - */ -/* - * White opacities - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Code highlighter - * ------------------------------------------------------------------------- */ -/* - * Inline code - */ -code { - color: #e91e63; } - -/* - * Code block - */ -pre { - background: rgba(0, 0, 0, 0.05); - /* - * Ensure correct color - */ } - pre, pre code { - color: rgba(0, 0, 0, 0.87); } - -/* - * Operators and comments - */ -.o, .c, .c1, .cm { - color: rgba(0, 0, 0, 0.54); } - -/* - * Keywords - */ -.k, .kn { - color: #A71D5D; } - -/* - * Types and functions - */ -.kt, .kd, .n.f { - color: #0086B3; } - -/* - * Strings - */ -.s { - color: #183691; } - -/* - * Constants and numbers - */ -.mi, .bp { - color: #9575CD; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Font faces - * ------------------------------------------------------------------------- */ -/* - * Icon font - */ -@font-face { - font-family: 'Icon'; - src: url("/assets/fonts/icon.eot?52m981"); - src: url("/assets/fonts/icon.eot?#iefix52m981") format("embedded-opentype"), url("/assets/fonts/icon.woff?52m981") format("woff"), url("/assets/fonts/icon.ttf?52m981") format("truetype"), url("/assets/fonts/icon.svg?52m981#icon") format("svg"); - font-weight: normal; - font-style: normal; } - -/* ---------------------------------------------------------------------------- - * Representational classes - * ------------------------------------------------------------------------- */ -/* - * Base icon class - */ -.icon { - font-family: 'Icon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* - * Magnifying glass - */ -.icon-search:before { - content: "\e600"; } - -/* - * Back arrow - */ -.icon-back:before { - content: "\e601"; } - -/* - * Link indicator - */ -.icon-link:before { - content: "\e602"; } - -/* - * Close button - */ -.icon-close:before { - content: "\e603"; } - -/* - * Hamburger icon - */ -.icon-menu:before { - content: "\e604"; } - -/* - * Forward arrow - */ -.icon-forward:before { - content: "\e605"; } - -/* - * Twitter icon - */ -.icon-twitter:before { - content: "\e606"; } - -/* - * GitHub icon - */ -.icon-github:before { - content: "\e607"; } - -/* - * Download icon - */ -.icon-download:before { - content: "\e608"; } - -/* - * Star icon - */ -.icon-star:before { - content: "\e609"; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Defaults - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Helper functions - * ------------------------------------------------------------------------- */ -/* - * Choose minimum and maximum device widths. - */ -/* - * Select minimum and maximum widths for a device breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for numeric breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query breakpoint. - */ -/* - * An orientation media query breakpoint. - */ -/* - * A maximum-aspect-ratio media query breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for device breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query device breakpoint. - */ -/* - * A minimum media query device breakpoint. - */ -/* - * A maximum media query device breakpoint. - */ -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base animation - * ------------------------------------------------------------------------- */ -/* - * Animate color on hover - */ -a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Overlay - */ -.overlay { - -webkit-transition: opacity .25s, width .0s .25s, height .0s .25s; - transition: opacity .25s, width .0s .25s, height .0s .25s; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - -webkit-transition: opacity .25s, width .0s, height .0s; - transition: opacity .25s, width .0s, height .0s; } - -/* - * Application header - check for javascript to omit flashing - */ -.js .header { - -webkit-transition: background .6s, color .6s; - transition: background .6s, color .6s; - /* - * Status bar - */ } - .js .header:before { - -webkit-transition: background .6s; - transition: background .6s; } - -/* - * Extended visible touch area on icon - */ -.button .icon { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base appearance - * ------------------------------------------------------------------------- */ -/* - * Device specific background hacks related to rubberband - */ -body { - color: rgba(0, 0, 0, 0.87); - /* Hack [Chrome, Opera]: Set background color in Chrome and Opera */ - /* - * Don't tint menu bar on iOS - */ } - @supports (-webkit-appearance: none) { - body { - background: #e91e63; } } - .ios body { - background: white; } - -/* - * Horizontal separators - */ -hr { - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.12); } - -/* - * Toggle button - */ -.toggle-button { - cursor: pointer; - color: inherit; } - -/* - * Backdrop - */ -.backdrop { - background: white; - /* [tablet landscape+]: Introduce paper with shadow */ } - -/* - * Backdrop paper with shadow - */ -.backdrop-paper:after { - background: white; - /* [tablet landscape+]: Add drop shadow */ } - -/* - * Overlay - */ -.overlay { - background: rgba(0, 0, 0, 0.54); - opacity: 0; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - opacity: 1; } - -/* - * Application header - */ -.header { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #e91e63; - color: white; - /* - * Add status bar overlay for iOS web application - */ } - .ios.standalone .header:before { - background: rgba(0, 0, 0, 0.12); } - -/* - * Navigation path within header bar - */ -.bar .path { - color: rgba(255, 255, 255, 0.7); } - -/* - * Draw round area around icon on touch - */ -.button .icon { - border-radius: 100%; } - -/* - * Pushed/clicked icon - */ -.button .icon:active { - background: rgba(255, 255, 255, 0.12); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base layout - * ------------------------------------------------------------------------- */ -/* - * Stretch container to viewport - */ -html { - height: 100%; } - -/* - * Stretch body to container and leave room for sticky footer. - */ -body { - position: relative; - min-height: 100%; } - -/* - * Horizontal separators - */ -hr { - display: block; - height: 1px; - padding: 0; - margin: 0; } - -/* - * Lock body (e.g. in search mode) - */ -.locked { - height: 100%; - overflow: hidden; } - -/* - * Scrollable container - */ -.scrollable { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* - * Content wrapper - */ } - .scrollable .wrapper { - height: 100%; - /* Hack [iOS]: Force overflow scrolling */ } - .ios .scrollable .wrapper { - margin-bottom: 2px; } - -/* - * Toggle states and button - */ -.toggle { - display: none; - /* - * Toggle button - */ } - .toggle-button { - display: block; } - -/* - * Backdrop - */ -.backdrop { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: -1; } - -/* - * Backdrop paper container - */ -.backdrop-paper { - max-width: 1200px; - height: 100%; - margin-left: auto; - margin-right: auto; - /* - * Actual paper - */ } - .backdrop-paper:after { - content: " "; - display: block; - height: 100%; - margin-left: 262px; } - -/* - * Overlay - */ -.overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - z-index: 4; - /* [tablet landscape-]: Trigger overlay */ } - -/* - * Application header stays always on top - */ -.header { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - position: fixed; - top: 0; - left: 0; - z-index: 3; - height: 56px; - padding: 4px; - overflow: hidden; - /* [tablet portait+]: Larger header bar */ - /* [screen+]: Stretch to screen */ - /* - * Absolute positioning in iOS web application - */ } - .ios.standalone .header { - position: absolute; - /* [orientation: portrait]: Account for status bar in portrait mode */ } - -/* - * Header bar - */ -.bar { - display: table; - max-width: 1184px; - margin-left: auto; - margin-right: auto; - /* - * Links should span icons entirely - */ - /* - * Hide search button, in case javascript is not available. - */ - /* - * Navigation path - */ } - .bar a { - display: block; } - .no-js .bar .button-search { - display: none; } - .bar .path { - /* - * Correct icon alignment - */ - /* [tablet portait-]: Hide path */ } - .bar .path .icon:before { - vertical-align: -1.5px; } - -/* - * Buttons - */ -.button { - display: table-cell; - vertical-align: top; - width: 1%; - /* - * Remove native spacing on button - */ - /* - * Button icons - */ } - .button button { - margin: 0; - padding: 0; - /* Hack [IE]: Remove button offset in active state */ } - .button button:active:before { - position: relative; - top: 0; - left: 0; } - .button .icon { - display: inline-block; - font-size: 24px; - padding: 8px; - margin: 4px; } - -/* - * Hide source and twitter button - */ -.button-github, -.button-twitter { - /* [mobile landscape-]: Hide button */ } - -/* - * Hide menu button - */ -.button-menu { - /* [tablet landscape+]: Hide button */ } - -/* - * Stretch content to remaining space - */ -.stretch { - display: table; - table-layout: fixed; - width: 100%; - /* - * Set vertical spacing for header - */ - /* - * Title with ellipsis on overflow - */ } - .header .stretch { - padding: 0 20px; - /* [tablet portait]: Increase vertical spacing */ - /* [tablet portait+]: Account for missing menu icon */ } - .stretch .title { - display: table-cell; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - /* - * Increase header font size - */ } - .header .stretch .title { - font-size: 18px; - padding: 13px 0; - /* [tablet portait+]: Slightly larger typography in header */ } - -/* - * Main content - */ -.main { - max-width: 1200px; - margin-left: auto; - margin-right: auto; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base typography - * ------------------------------------------------------------------------- */ -/* - * Default font styles - */ -body, input { - font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 400; - /* Enable font-smoothing in Webkit and FF */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface body, .no-fontface input { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -/* - * Proportional fonts - */ -pre, code { - font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface pre, .no-fontface code { - font-family: 'Courier New', 'Courier', monospace; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer animation - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Hide menu */ - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .main .drawer, - .toggle-drawer .drawer { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - /* - * Just show drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, .no-csstransforms3d - .toggle-drawer .drawer { - display: block; } - -/* - * No color transition for project link - */ -.project { - -webkit-transition: none; - transition: none; } - -/* - * Project logo image - */ -.project .logo img { - -webkit-transition: box-shadow .4s; - transition: box-shadow .4s; } - -/* - * Repository buttons - */ -.repo a { - -webkit-transition: box-shadow .4s, opacity .4s; - transition: box-shadow .4s, opacity .4s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer appearance - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Light gray background */ - /* - * Color links - */ - /* - * Main sections - */ - /* - * Content wrapper - */ } - .drawer .toc a { - /* - * Current active element - */ - /* - * Hovered link - */ } - .drawer .toc a.current { - color: #e91e63; } - .drawer .toc a:hover, .drawer .toc a:focus { - color: #3d5afe; } - .drawer .section { - color: rgba(0, 0, 0, 0.54); } - .drawer .wrapper { - /* [tablet landscape-]: Light gray background */ } - -/* - * Project information - */ -.project { - /* [tablet landscape-]: Add drop shadow */ - /* - * Add status bar overlay for iOS web application - */ - /* - * Project logo - */ - /* - * Scale logo on hover - */ } - .ios.standalone .project:before { - background: rgba(0, 0, 0, 0.12); } - .project .logo img { - background: white; - border-radius: 100%; } - .project:hover .logo img, - .project:focus .logo img { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); } - -/* - * Repository buttons - */ -.repo a { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #3d5afe; - color: white; - border-radius: 3px; - /* - * Hovered button - */ - /* - * Stars - */ } - .repo a:hover, .repo a:focus { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); - opacity: 0.8; } - .repo a .count { - background: rgba(0, 0, 0, 0.26); - color: white; - border-radius: 0px 3px 3px 0px; - /* - * Star bubble - */ } - .repo a .count:before { - border-width: 15px 5px 15px 0; - border-color: transparent rgba(0, 0, 0, 0.26); - border-style: solid; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer layout - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - width: 262px; - font-size: 13px; - line-height: 1.0em; - /* [tablet landscape-]: Fixed positioning */ - /* [tablet landscape+]: Inline with content */ - /* Hack [iOS]: Mitigate scrolling of parent container on boundaries */ - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ - /* - * Scrollable container - */ } - .ios .drawer { - overflow: scroll; - -webkit-overflow-scrolling: touch; } - .drawer .toc li a { - display: block; - padding: 14.5px 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } - .drawer .toc li.anchor a { - padding: 10px 24px 10px 48px; } - .drawer .section { - display: block; - font-size: 11px; - padding: 14.5px 24px; } - .drawer .scrollable { - top: 104px; - z-index: -1; - /* [tablet landscape+]: Revert fixed positioning */ - /* - * Leave room for status bar in iOS web application - */ - /* - * Content wrapper - */ } - .ios.standalone .drawer .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .drawer .scrollable .wrapper { - height: auto; - min-height: 100%; - /* - * Add spacing at top and bottom of separator - */ - /* - * Add spacing at top and bottom of top level navigation - */ } - .drawer .scrollable .wrapper hr { - margin: 12px 0; - /* [screen+]: Shorten separator */ - /* Hack [IE]: Left-align horizontal rule */ - margin-right: auto; } - .drawer .scrollable .wrapper .toc { - margin: 12px 0; } - -/* - * Project information - */ -.project { - display: block; - /* - * Leave room for status bar in iOS web application - */ - /* - * Project banner - */ - /* - * Project logo - */ - /* - * Project name - */ - /* - * Shrink font, if a logo is given. - */ } - .ios.standalone .project { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .project .banner { - display: table; - width: 100%; - height: 104px; - padding: 20px; } - .project .logo { - display: table-cell; - width: 64px; - padding-right: 12px; - /* - * Project logo image - */ } - .project .logo img { - display: block; - width: 64px; - height: 64px; } - .project .name { - display: table-cell; - padding-left: 4px; - font-size: 14px; - line-height: 1.25em; - vertical-align: middle; - /* [tablet portait+]: Slightly larger project name */ } - .project .logo + .name { - font-size: 12px; } - -/* - * Repository - */ -.repo { - margin: 24px 0; - text-align: center; - /* - * Inline buttons - */ - /* - * Buttons - */ } - .repo li { - display: inline-block; - padding-right: 12px; - white-space: nowrap; - /* - * No padding on last button - */ } - .repo li:last-child { - padding-right: 0; } - .repo a { - display: inline-block; - padding: 0px 10px 0px 6px; - font-size: 12px; - line-height: 30px; - height: 30px; - /* - * Slightly larger icons - */ - /* - * Stars - */ } - .repo a .icon { - font-size: 18px; - vertical-align: -3px; } - .repo a .count { - display: inline-block; - position: relative; - padding: 0px 8px 0 4px; - margin: 0 -10px 0 8px; - font-size: 12px; - /* - * Star bubble - */ - /* - * Hide count, in case javascript is not available. - */ } - .repo a .count:before { - content: " "; - display: block; - position: absolute; - top: 0px; - left: -5px; } - .no-js .repo a .count { - display: none; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer typography - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ } - .drawer .toc li a { - font-weight: 700; } - .drawer .toc li.anchor a { - font-weight: 400; } - .drawer .section { - text-transform: uppercase; - font-weight: 700; } - -/* - * Repository buttons - */ -.repo a { - text-transform: uppercase; - font-weight: 700; - /* - * Stars - */ } - .repo a .count { - text-transform: none; - font-weight: 700; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article animation - * ------------------------------------------------------------------------- */ -/* - * Fade color after highlighting - */ -pre span { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Copyright and theme information - */ -.copyright { - /* - * Animate color on hover - */ } - .copyright a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article appearance - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Differing top and bottom rubberband backgrounds in iOS web application - */ - /* - * Headlines and chapters in primary color - */ - /* - * Lower border for main headline - */ - /* - * Color links - */ - /* - * Data tables - */ } - .ios.standalone .article { - background: -webkit-linear-gradient(top, white 50%, #e91e63 50%); - background: linear-gradient(to bottom, white 50%, #e91e63 50%); - /* Hack [iOS]: Mitigate black bounding box with linear gradient */ } - .ios.standalone .article .wrapper { - background: -webkit-linear-gradient(top, white 50%, white 50%); - background: linear-gradient(to bottom, white 50%, white 50%); } - .article h1, .article h2 { - color: #e91e63; } - .article h1 { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); } - .article a { - color: #e91e63; - /* - * Hovered link - */ } - .article a:hover, .article a:focus { - color: #3d5afe; } - .article table { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - border-radius: 3px; - /* - * Table heading - */ - /* - * Table cell - */ } - .article table th { - background: #ef568a; - color: white; - /* - * Round upper left border - */ - /* - * Round upper right border - */ } - .article table th:first-child { - border-top-left-radius: 3px; } - .article table th:last-child { - border-top-right-radius: 3px; } - .article table td { - border-top: 1px solid rgba(0, 0, 0, 0.05); } - -/* - * Article footer - */ -.footer { - background: #e91e63; - color: white; } - -/* - * Copyright and theme information - */ -.copyright { - color: rgba(0, 0, 0, 0.54); } - -/* - * Pagination - */ -.pagination { - /* - * Inherit color for links - */ - /* - * Smaller font size for direction - */ } - .pagination a, - .pagination a:hover, - .pagination a:focus { - color: inherit; } - .pagination .direction { - color: rgba(255, 255, 255, 0.7); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article layout - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - font-size: 14px; - line-height: 1.7em; - /* [tablet landscape+]: Indent to account for drawer */ - /* - * Clearfix - */ - /* - * Article wrapper - */ - /* - * Enable overflow scrolling in iOS web application - */ - /* - * Article headline - */ - /* - * Article chapters - */ - /* - * Sub headlines - */ - /* - * Paragraphs and section titles - */ - /* - * List elements - */ - /* - * Add icon for elements of an unordered list - */ - /* - * Inline code snippets must not wrap - */ - /* - * Add spacing at top of separator - */ - /* - * Limit images to article container - */ - /* - * Code listing container - */ - /* - * Data tables - */ - /* - * Data table wrapper, in case javascript is available - */ - /* [tablet portait+]: Increase spacing */ } - .article:after { - content: " "; - display: block; - clear: both; } - .article .wrapper { - padding: 116px 16px 92px; - /* [tablet portait+]: Increase top spacing */ } - .ios.standalone .article { - position: absolute; - top: 56px; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* [orientation: portrait]: Account for status bar in portrait mode */ - /* - * Article wrapper - */ } - .ios.standalone .article .wrapper { - position: relative; - min-height: 100%; - padding-top: 60px; - margin-bottom: 2px; } - .article h1 { - font-size: 24px; - line-height: 1.333334em; - padding: 20px 0 42px; } - .article h2 { - font-size: 20px; - line-height: 1.4em; - padding-top: 92px; - margin-top: -56px; - /* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 36px; - margin: 0; } - .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { - margin-top: 1.5em; } - .article li { - margin-top: 0.75em; - margin-left: 18px; - /* - * Inline paragraphs in list elements - */ } - .article li p { - display: inline; } - .article ul li:before { - content: "\e602"; - display: inline-block; - font-family: 'Icon'; - font-size: 16px; - width: 1.2em; - margin-left: -1.2em; - vertical-align: -0.1em; } - .article p > code { - white-space: nowrap; } - .article hr { - margin-top: 1.5em; } - .article img { - max-width: 100%; } - .article pre { - padding: 16px; - margin: 1.5em -16px 0; - line-height: 1.5em; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table { - margin: 3.0em 0 1.5em; - font-size: 13px; - /* - * The semi-cool solution, in case javascript is not available - */ - /* - * Table heading - */ - /* - * Table cell - */ } - .no-js .article table { - display: inline-block; - max-width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table th { - min-width: 100px; - padding: 12px 16px; - font-size: 12px; - text-align: left; - white-space: nowrap; } - .article table td { - padding: 12px 16px; - white-space: nowrap; } - .article .data { - margin: 1.5em -16px; - padding: 1.5em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - text-align: center; - /* - * Data table - */ - /* [tablet portait+]: Increase spacing */ } - .article .data table { - display: inline-block; - margin: 0 16px; - text-align: left; } - -/* - * Article footer - */ -.footer { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 0 4px; - /* [tablet portait+]: Larger spacing */ - /* [tablet landscape+]: Stretch footer to viewport */ } - -/* - * Copyright and theme information - */ -.copyright { - margin: 20px 0; - /* [tablet landscape+]: Add bottom spacing */ } - -/* - * Pagination - */ -.pagination { - max-width: 1184px; - height: 92px; - padding: 4px 0; - margin-left: auto; - margin-right: auto; - overflow: hidden; - /* [tablet portait+]: Larger pagination and spacing */ - /* - * Links should span icons entirely - */ - /* - * Previous and next page - */ - /* - * Previous page - */ - /* - * Next page - */ - /* - * Link to page - */ - /* - * Put direction over page title - */ - /* - * Decrease indent for stretching content - */ - /* [mobile landscape+]: Proportional width for pagination */ - /* [tablet portrait+]: Increase vertical spacing */ } - .pagination a { - display: block; - height: 100%; } - .pagination .previous, - .pagination .next { - position: relative; - float: left; - height: 100%; } - .pagination .previous { - width: 25%; - /* - * Hide direction - */ - /* - * Hide title - */ } - .pagination .previous .direction { - display: none; } - .pagination .previous .stretch { - display: none; } - .pagination .next { - width: 75%; - text-align: right; } - .pagination .page { - display: table; - position: absolute; - bottom: 4px; } - .pagination .direction { - display: block; - position: absolute; - bottom: 40px; - width: 100%; - font-size: 15px; - line-height: 20px; - padding: 0 52px; } - .pagination .stretch { - padding: 0 4px; - /* - * Correct vertical spacing - */ } - .pagination .stretch .title { - font-size: 18px; - padding: 11px 0 13px; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article typography - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Third-level headlines should be bold - */ - /* - * Fourth-level headlines should be italic - */ } - .article h3 { - font-weight: 700; } - .article h4 { - font-weight: 400; - font-style: italic; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search animation - * ------------------------------------------------------------------------- */ -/* - * Animate header bar in offset and opacity - */ -.bar { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - /* - * Active search mode - */ - /* - * Search animations - */ } - #toggle-search:checked ~ .header .bar, - .toggle-search .bar { - -webkit-transform: translate3d(0, -56px, 0); - transform: translate3d(0, -56px, 0); } - .bar.search { - /* - * Hide reset button by default - */ - /* - * Show reset button if search is not empty - */ } - .bar.search .button-reset { - -webkit-transform: scale(0.5, 0.5); - transform: scale(0.5, 0.5); - -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - opacity: 0; } - .bar.search.non-empty .button-reset { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - opacity: 1; } - -/* - * Search results - */ -.results { - -webkit-transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - /* - * Active search mode - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - -webkit-transition: opacity .4s, width .0s, height .0s; - transition: opacity .4s, width .0s, height .0s; } - .results .list a { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * Just hide and show bars, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Show default bar - */ - /* - * Hide search bar - */ - /* - * Active search mode - */ } - .no-csstransforms3d .bar.default { - display: table; } - .no-csstransforms3d .bar.search { - display: none; - margin-top: 0; } - .no-csstransforms3d #toggle-search:checked ~ .header, - .no-csstransforms3d .toggle-search { - /* - * Hide default bar - */ - /* - * Show search bar - */ } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, - .no-csstransforms3d .toggle-search .bar.default { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, - .no-csstransforms3d .toggle-search .bar.search { - display: table; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search appearance - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - opacity: 0; - /* - * Search input - */ - /* - * Pushed/clicked icon - */ } - .bar.search .query { - background: transparent; - color: rgba(0, 0, 0, 0.87); - /* - * Search input placeholder - */ } - .bar.search .query::-webkit-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query::-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .button .icon:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Search results - */ -.results { - box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); - background: white; - color: rgba(0, 0, 0, 0.87); - opacity: 0; - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - opacity: 1; } - .results .meta { - background: #e91e63; - color: white; } - .results .list a { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - /* - * Remove border on last element - */ - /* - * Active item link - */ } - .results .list a:last-child { - border-bottom: none; } - .results .list a:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Article link - */ -.result span { - color: rgba(0, 0, 0, 0.54); } - -/* - * Active search bar - */ -#toggle-search:checked ~ .header, -.toggle-search .header { - background: white; - color: rgba(0, 0, 0, 0.54); - /* - * Add darker status bar overlay in search mode - */ - /* - * Fade out default header bar - */ - /* - * Fade in search header bar - */ } - #toggle-search:checked ~ .header:before, - .toggle-search .header:before { - background: rgba(0, 0, 0, 0.54); } - #toggle-search:checked ~ .header .bar.default, - .toggle-search .header .bar.default { - opacity: 0; } - #toggle-search:checked ~ .header .bar.search, - .toggle-search .header .bar.search { - opacity: 1; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search layout - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - margin-top: 8px; - /* - * Search input - */ } - .bar.search .query { - font-size: 18px; - padding: 13px 0; - margin: 0; - width: 100%; - height: 48px; - /* [tablet portait+]: Slightly larger typo */ - /* Hack [IE]: Hide redundant clear button */ } - .bar.search .query::-ms-clear { - display: none; } - -/* - * Search results - */ -.results { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 100%; - z-index: 2; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - /* [tablet landscape+]: Limit results to five entries */ - /* - * Scrollable container - */ - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - .results .scrollable { - top: 56px; - /* [tablet portait+]: Increase vertical spacing */ - /* [tablet landscape+]: Limit results to five entries */ - /* - * Leave room for status bar in iOS web application - */ } - .ios.standalone .results .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - width: 100%; - /* Hack [Firefox]: div doesn't collapse, unless this is applied */ - overflow-y: visible; - /* [tablet portait+]: Stretch to viewport */ } - .results .meta { - font-weight: 700; - /* - * Number of results - */ } - .results .meta strong { - display: block; - font-size: 11px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 16px; - /* [tablet portait+]: Increase vertical spacing */ } - .results .list a { - display: block; } - -/* - * Search result item - */ -.result { - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 12px 16px 16px; - /* [tablet portait+]: Increase vertical spacing */ - /* - * Article title - */ - /* - * Article link - */ } - .result h1 { - line-height: 24px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - .result span { - font-size: 12px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - -/* - * Switch visibility, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Hide search results - */ - /* - * Active search mode - */ } - .no-csstransforms3d .results { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .main, - .no-csstransforms3d .toggle-search { - /* - * Show search results - */ } - .no-csstransforms3d #toggle-search:checked ~ .main .results, - .no-csstransforms3d .toggle-search .results { - display: block; - overflow: auto; } - -/* - * 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. - */ -/* - * Search meta data - */ -.meta { - text-transform: uppercase; - font-weight: 700; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Print overrides - * ------------------------------------------------------------------------- */ -/* - * Print styles - */ - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Nothing to see here, move along - * ------------------------------------------------------------------------- */ -.admonition { - background: red; } -@media only screen and (min-width: 960px) { - .backdrop { - background: #f2f2f2; } - .backdrop-paper:after { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); } - .button-menu { - display: none; } - .drawer { - position: static; - float: left; - height: auto; - margin-bottom: 96px; - padding-top: 80px; } - .drawer .scrollable { - position: static; } - .article { - margin-left: 262px; } - .footer { - z-index: 5; } - .copyright { - margin-bottom: 64px; } - .results { - height: auto; - top: 64px; } - .results .scrollable { - position: static; - max-height: 413px; } } -@media only screen and (max-width: 959px) { - .overlay {/* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - width: 100%; - height: 100%; } - .drawer { - -webkit-transform: translate3d(-262px, 0, 0); - transform: translate3d(-262px, 0, 0); - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);/* - * Just hide drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d .drawer { - display: none; } - .drawer { - background: #f2f2f2; } - .drawer .wrapper { - background: #f2f2f2; } - .project { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #e91e63; - color: white; } - .drawer { - position: fixed; - z-index: 5; - height: 100%; } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - height: 100%; } } -@media only screen and (min-width: 720px) { - .header { - height: 64px; - padding: 8px; } - .header .stretch { - padding: 0 16px 0 16px; } - .header .stretch .title { - font-size: 20px; - padding: 12px 0; } - .project .name { - margin: 26px 0 0 5px; } - .article .wrapper { - padding: 128px 24px 96px; } - .article .data { - margin: 1.5em -24px;/* - * Data table - */ } - .article .data table { - margin: 0 24px; } - .article {/* - * Account for larged header bar and anchors - *//* - * Increase spacing for code blocks - */ } - .article h2 { - padding-top: 100px; - margin-top: -64px;/* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 28px; - margin-top: 8px; } - .article pre { - padding: 1.5em 24px; - margin: 1.5em -24px 0; } - .footer { - padding: 0 8px; } - .pagination { - height: 96px; - padding: 8px 0; } - .pagination {/* - * Increase vertical spacing - *//* - * Increase vertical spacing - */ } - .pagination .direction { - padding: 0 56px; - bottom: 40px; } - .pagination .stretch { - padding: 0 8px; } - .bar.search .query { - font-size: 20px; - padding: 12px 0; } - .results .scrollable { - top: 64px; } - .results .meta strong { - padding: 16px 24px; } - .result { - padding: 16px 24px 20px; } } -@media only screen and (min-width: 1200px) { - .header { - width: 100%; } - .drawer .scrollable .wrapper hr { - width: 48px; } } -@media only screen and (orientation: portrait) { - .ios.standalone .header { - height: 76px; - padding-top: 24px;/* [tablet portait+]: Larger header bar *//* - * Add status bar overlay - */ } - .ios.standalone .header:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .drawer .scrollable { - top: 124px; } - .ios.standalone .project { - padding-top: 20px;/* - * Add status bar overlay - */ } - .ios.standalone .project:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .article { - position: absolute; - top: 76px; - right: 0; - bottom: 0; - left: 0; } - .ios.standalone .results .scrollable { - top: 76px;/* [tablet portait+]: Increase vertical spacing */ } } -@media only screen and (orientation: portrait) and (min-width: 720px) { - .ios.standalone .header { - height: 84px; - padding-top: 28px; } - .ios.standalone .results .scrollable { - top: 84px; } } -@media only screen and (max-width: 719px) { - .bar .path { - display: none; } } -@media only screen and (max-width: 479px) { - .button-github, - .button-twitter { - display: none; } } -@media only screen and (min-width: 720px) and (max-width: 959px) { - .header .stretch { - padding: 0 24px; } } -@media only screen and (min-width: 480px) { - .pagination {/* - * Previous and next page - *//* - * Previous page - */ } - .pagination .previous, - .pagination .next { - width: 50%; } - .pagination .previous { - width: 50%;/* - * Show direction - *//* - * Show title - */ } - .pagination .previous .direction { - display: block; } - .pagination .previous .stretch { - display: table; } } -@media print {/* - * Hide non-relevant elements - */ - .header, .project, .footer { - display: none; }/* - * Article - */ - .article {/* - * Remove color in all code blocks - *//* - * Border-radius makes this table entirely black on paper, so scrap it - */ } - .article pre, .article pre * { - color: rgba(0, 0, 0, 0.87) !important; } - .article table { - border-radius: none; - box-shadow: none;/* - * Color header - */ } - .article table th { - color: #e91e63; } } diff --git a/materializr/assets/stylesheets/application.purple-d52c9e49.css b/materializr/assets/stylesheets/application.purple-d52c9e49.css deleted file mode 100644 index a8f883e86..000000000 --- a/materializr/assets/stylesheets/application.purple-d52c9e49.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#673ab7}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#673ab7;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#673ab7}.drawer .toc a:focus,.drawer .toc a:hover{color:#64dd17}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#64dd17;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#673ab7 50%);background:linear-gradient(to bottom,#fff 50%,#673ab7 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#673ab7}.article a:focus,.article a:hover{color:#64dd17}.article table th{background:#8d6bc9;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#673ab7;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#673ab7;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#673ab7;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#673ab7}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.purple.css b/materializr/assets/stylesheets/application.purple.css deleted file mode 100644 index fc489a7d9..000000000 --- a/materializr/assets/stylesheets/application.purple.css +++ /dev/null @@ -1,2584 +0,0 @@ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Resets - * ------------------------------------------------------------------------- */ -/* - * Enfore correct box model - the prefixed versions are necessary for older - * browsers, i.e. Chrome < 10, Firefox < 29, Safari < 6 and Android < 4 - */ -html { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; } - -/* - * All elements shall inherit the document default - */ -*, *:before, *:after { - box-sizing: inherit; - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; } - -/* - * 16px --> 10px, browser default - */ -html { - font-size: 62.5%; - -webkit-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; } - -/* - * Reset spacing and borders for all tags - */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, main, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; } - -/* - * Reset list styles - */ -ul { - list-style: none; } - -/* - * Reset table styles - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -/* - * Reset table cell styles - */ -td { - text-align: left; - font-weight: normal; - vertical-align: middle; } - -/* - * Reset (native) button styles - */ -button { - outline: 0; - padding: 0; - background: transparent; - border: none; - font-size: inherit; } - -/* - * Reset (native) input styles - */ -input { - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - -o-appearance: none; - appearance: none; - outline: none; - border: none; } - -/* - * Reset link styles - */ -a { - text-decoration: none; - color: inherit; } - -/* - * Reset tap outlines on iOS and Android - */ -a, button, label, input { - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - -webkit-tap-highlight-color: transparent; } - -/* - * Reset headlines - */ -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* - * Primary and accent color - */ -/* - * Black opacities - */ -/* - * White opacities - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Code highlighter - * ------------------------------------------------------------------------- */ -/* - * Inline code - */ -code { - color: #673ab7; } - -/* - * Code block - */ -pre { - background: rgba(0, 0, 0, 0.05); - /* - * Ensure correct color - */ } - pre, pre code { - color: rgba(0, 0, 0, 0.87); } - -/* - * Operators and comments - */ -.o, .c, .c1, .cm { - color: rgba(0, 0, 0, 0.54); } - -/* - * Keywords - */ -.k, .kn { - color: #A71D5D; } - -/* - * Types and functions - */ -.kt, .kd, .n.f { - color: #0086B3; } - -/* - * Strings - */ -.s { - color: #183691; } - -/* - * Constants and numbers - */ -.mi, .bp { - color: #9575CD; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Font faces - * ------------------------------------------------------------------------- */ -/* - * Icon font - */ -@font-face { - font-family: 'Icon'; - src: url("/assets/fonts/icon.eot?52m981"); - src: url("/assets/fonts/icon.eot?#iefix52m981") format("embedded-opentype"), url("/assets/fonts/icon.woff?52m981") format("woff"), url("/assets/fonts/icon.ttf?52m981") format("truetype"), url("/assets/fonts/icon.svg?52m981#icon") format("svg"); - font-weight: normal; - font-style: normal; } - -/* ---------------------------------------------------------------------------- - * Representational classes - * ------------------------------------------------------------------------- */ -/* - * Base icon class - */ -.icon { - font-family: 'Icon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* - * Magnifying glass - */ -.icon-search:before { - content: "\e600"; } - -/* - * Back arrow - */ -.icon-back:before { - content: "\e601"; } - -/* - * Link indicator - */ -.icon-link:before { - content: "\e602"; } - -/* - * Close button - */ -.icon-close:before { - content: "\e603"; } - -/* - * Hamburger icon - */ -.icon-menu:before { - content: "\e604"; } - -/* - * Forward arrow - */ -.icon-forward:before { - content: "\e605"; } - -/* - * Twitter icon - */ -.icon-twitter:before { - content: "\e606"; } - -/* - * GitHub icon - */ -.icon-github:before { - content: "\e607"; } - -/* - * Download icon - */ -.icon-download:before { - content: "\e608"; } - -/* - * Star icon - */ -.icon-star:before { - content: "\e609"; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Defaults - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Helper functions - * ------------------------------------------------------------------------- */ -/* - * Choose minimum and maximum device widths. - */ -/* - * Select minimum and maximum widths for a device breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for numeric breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query breakpoint. - */ -/* - * An orientation media query breakpoint. - */ -/* - * A maximum-aspect-ratio media query breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for device breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query device breakpoint. - */ -/* - * A minimum media query device breakpoint. - */ -/* - * A maximum media query device breakpoint. - */ -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base animation - * ------------------------------------------------------------------------- */ -/* - * Animate color on hover - */ -a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Overlay - */ -.overlay { - -webkit-transition: opacity .25s, width .0s .25s, height .0s .25s; - transition: opacity .25s, width .0s .25s, height .0s .25s; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - -webkit-transition: opacity .25s, width .0s, height .0s; - transition: opacity .25s, width .0s, height .0s; } - -/* - * Application header - check for javascript to omit flashing - */ -.js .header { - -webkit-transition: background .6s, color .6s; - transition: background .6s, color .6s; - /* - * Status bar - */ } - .js .header:before { - -webkit-transition: background .6s; - transition: background .6s; } - -/* - * Extended visible touch area on icon - */ -.button .icon { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base appearance - * ------------------------------------------------------------------------- */ -/* - * Device specific background hacks related to rubberband - */ -body { - color: rgba(0, 0, 0, 0.87); - /* Hack [Chrome, Opera]: Set background color in Chrome and Opera */ - /* - * Don't tint menu bar on iOS - */ } - @supports (-webkit-appearance: none) { - body { - background: #673ab7; } } - .ios body { - background: white; } - -/* - * Horizontal separators - */ -hr { - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.12); } - -/* - * Toggle button - */ -.toggle-button { - cursor: pointer; - color: inherit; } - -/* - * Backdrop - */ -.backdrop { - background: white; - /* [tablet landscape+]: Introduce paper with shadow */ } - -/* - * Backdrop paper with shadow - */ -.backdrop-paper:after { - background: white; - /* [tablet landscape+]: Add drop shadow */ } - -/* - * Overlay - */ -.overlay { - background: rgba(0, 0, 0, 0.54); - opacity: 0; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - opacity: 1; } - -/* - * Application header - */ -.header { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #673ab7; - color: white; - /* - * Add status bar overlay for iOS web application - */ } - .ios.standalone .header:before { - background: rgba(0, 0, 0, 0.12); } - -/* - * Navigation path within header bar - */ -.bar .path { - color: rgba(255, 255, 255, 0.7); } - -/* - * Draw round area around icon on touch - */ -.button .icon { - border-radius: 100%; } - -/* - * Pushed/clicked icon - */ -.button .icon:active { - background: rgba(255, 255, 255, 0.12); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base layout - * ------------------------------------------------------------------------- */ -/* - * Stretch container to viewport - */ -html { - height: 100%; } - -/* - * Stretch body to container and leave room for sticky footer. - */ -body { - position: relative; - min-height: 100%; } - -/* - * Horizontal separators - */ -hr { - display: block; - height: 1px; - padding: 0; - margin: 0; } - -/* - * Lock body (e.g. in search mode) - */ -.locked { - height: 100%; - overflow: hidden; } - -/* - * Scrollable container - */ -.scrollable { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* - * Content wrapper - */ } - .scrollable .wrapper { - height: 100%; - /* Hack [iOS]: Force overflow scrolling */ } - .ios .scrollable .wrapper { - margin-bottom: 2px; } - -/* - * Toggle states and button - */ -.toggle { - display: none; - /* - * Toggle button - */ } - .toggle-button { - display: block; } - -/* - * Backdrop - */ -.backdrop { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: -1; } - -/* - * Backdrop paper container - */ -.backdrop-paper { - max-width: 1200px; - height: 100%; - margin-left: auto; - margin-right: auto; - /* - * Actual paper - */ } - .backdrop-paper:after { - content: " "; - display: block; - height: 100%; - margin-left: 262px; } - -/* - * Overlay - */ -.overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - z-index: 4; - /* [tablet landscape-]: Trigger overlay */ } - -/* - * Application header stays always on top - */ -.header { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - position: fixed; - top: 0; - left: 0; - z-index: 3; - height: 56px; - padding: 4px; - overflow: hidden; - /* [tablet portait+]: Larger header bar */ - /* [screen+]: Stretch to screen */ - /* - * Absolute positioning in iOS web application - */ } - .ios.standalone .header { - position: absolute; - /* [orientation: portrait]: Account for status bar in portrait mode */ } - -/* - * Header bar - */ -.bar { - display: table; - max-width: 1184px; - margin-left: auto; - margin-right: auto; - /* - * Links should span icons entirely - */ - /* - * Hide search button, in case javascript is not available. - */ - /* - * Navigation path - */ } - .bar a { - display: block; } - .no-js .bar .button-search { - display: none; } - .bar .path { - /* - * Correct icon alignment - */ - /* [tablet portait-]: Hide path */ } - .bar .path .icon:before { - vertical-align: -1.5px; } - -/* - * Buttons - */ -.button { - display: table-cell; - vertical-align: top; - width: 1%; - /* - * Remove native spacing on button - */ - /* - * Button icons - */ } - .button button { - margin: 0; - padding: 0; - /* Hack [IE]: Remove button offset in active state */ } - .button button:active:before { - position: relative; - top: 0; - left: 0; } - .button .icon { - display: inline-block; - font-size: 24px; - padding: 8px; - margin: 4px; } - -/* - * Hide source and twitter button - */ -.button-github, -.button-twitter { - /* [mobile landscape-]: Hide button */ } - -/* - * Hide menu button - */ -.button-menu { - /* [tablet landscape+]: Hide button */ } - -/* - * Stretch content to remaining space - */ -.stretch { - display: table; - table-layout: fixed; - width: 100%; - /* - * Set vertical spacing for header - */ - /* - * Title with ellipsis on overflow - */ } - .header .stretch { - padding: 0 20px; - /* [tablet portait]: Increase vertical spacing */ - /* [tablet portait+]: Account for missing menu icon */ } - .stretch .title { - display: table-cell; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - /* - * Increase header font size - */ } - .header .stretch .title { - font-size: 18px; - padding: 13px 0; - /* [tablet portait+]: Slightly larger typography in header */ } - -/* - * Main content - */ -.main { - max-width: 1200px; - margin-left: auto; - margin-right: auto; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base typography - * ------------------------------------------------------------------------- */ -/* - * Default font styles - */ -body, input { - font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 400; - /* Enable font-smoothing in Webkit and FF */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface body, .no-fontface input { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -/* - * Proportional fonts - */ -pre, code { - font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface pre, .no-fontface code { - font-family: 'Courier New', 'Courier', monospace; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer animation - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Hide menu */ - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .main .drawer, - .toggle-drawer .drawer { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - /* - * Just show drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, .no-csstransforms3d - .toggle-drawer .drawer { - display: block; } - -/* - * No color transition for project link - */ -.project { - -webkit-transition: none; - transition: none; } - -/* - * Project logo image - */ -.project .logo img { - -webkit-transition: box-shadow .4s; - transition: box-shadow .4s; } - -/* - * Repository buttons - */ -.repo a { - -webkit-transition: box-shadow .4s, opacity .4s; - transition: box-shadow .4s, opacity .4s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer appearance - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Light gray background */ - /* - * Color links - */ - /* - * Main sections - */ - /* - * Content wrapper - */ } - .drawer .toc a { - /* - * Current active element - */ - /* - * Hovered link - */ } - .drawer .toc a.current { - color: #673ab7; } - .drawer .toc a:hover, .drawer .toc a:focus { - color: #64dd17; } - .drawer .section { - color: rgba(0, 0, 0, 0.54); } - .drawer .wrapper { - /* [tablet landscape-]: Light gray background */ } - -/* - * Project information - */ -.project { - /* [tablet landscape-]: Add drop shadow */ - /* - * Add status bar overlay for iOS web application - */ - /* - * Project logo - */ - /* - * Scale logo on hover - */ } - .ios.standalone .project:before { - background: rgba(0, 0, 0, 0.12); } - .project .logo img { - background: white; - border-radius: 100%; } - .project:hover .logo img, - .project:focus .logo img { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); } - -/* - * Repository buttons - */ -.repo a { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #64dd17; - color: white; - border-radius: 3px; - /* - * Hovered button - */ - /* - * Stars - */ } - .repo a:hover, .repo a:focus { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); - opacity: 0.8; } - .repo a .count { - background: rgba(0, 0, 0, 0.26); - color: white; - border-radius: 0px 3px 3px 0px; - /* - * Star bubble - */ } - .repo a .count:before { - border-width: 15px 5px 15px 0; - border-color: transparent rgba(0, 0, 0, 0.26); - border-style: solid; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer layout - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - width: 262px; - font-size: 13px; - line-height: 1.0em; - /* [tablet landscape-]: Fixed positioning */ - /* [tablet landscape+]: Inline with content */ - /* Hack [iOS]: Mitigate scrolling of parent container on boundaries */ - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ - /* - * Scrollable container - */ } - .ios .drawer { - overflow: scroll; - -webkit-overflow-scrolling: touch; } - .drawer .toc li a { - display: block; - padding: 14.5px 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } - .drawer .toc li.anchor a { - padding: 10px 24px 10px 48px; } - .drawer .section { - display: block; - font-size: 11px; - padding: 14.5px 24px; } - .drawer .scrollable { - top: 104px; - z-index: -1; - /* [tablet landscape+]: Revert fixed positioning */ - /* - * Leave room for status bar in iOS web application - */ - /* - * Content wrapper - */ } - .ios.standalone .drawer .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .drawer .scrollable .wrapper { - height: auto; - min-height: 100%; - /* - * Add spacing at top and bottom of separator - */ - /* - * Add spacing at top and bottom of top level navigation - */ } - .drawer .scrollable .wrapper hr { - margin: 12px 0; - /* [screen+]: Shorten separator */ - /* Hack [IE]: Left-align horizontal rule */ - margin-right: auto; } - .drawer .scrollable .wrapper .toc { - margin: 12px 0; } - -/* - * Project information - */ -.project { - display: block; - /* - * Leave room for status bar in iOS web application - */ - /* - * Project banner - */ - /* - * Project logo - */ - /* - * Project name - */ - /* - * Shrink font, if a logo is given. - */ } - .ios.standalone .project { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .project .banner { - display: table; - width: 100%; - height: 104px; - padding: 20px; } - .project .logo { - display: table-cell; - width: 64px; - padding-right: 12px; - /* - * Project logo image - */ } - .project .logo img { - display: block; - width: 64px; - height: 64px; } - .project .name { - display: table-cell; - padding-left: 4px; - font-size: 14px; - line-height: 1.25em; - vertical-align: middle; - /* [tablet portait+]: Slightly larger project name */ } - .project .logo + .name { - font-size: 12px; } - -/* - * Repository - */ -.repo { - margin: 24px 0; - text-align: center; - /* - * Inline buttons - */ - /* - * Buttons - */ } - .repo li { - display: inline-block; - padding-right: 12px; - white-space: nowrap; - /* - * No padding on last button - */ } - .repo li:last-child { - padding-right: 0; } - .repo a { - display: inline-block; - padding: 0px 10px 0px 6px; - font-size: 12px; - line-height: 30px; - height: 30px; - /* - * Slightly larger icons - */ - /* - * Stars - */ } - .repo a .icon { - font-size: 18px; - vertical-align: -3px; } - .repo a .count { - display: inline-block; - position: relative; - padding: 0px 8px 0 4px; - margin: 0 -10px 0 8px; - font-size: 12px; - /* - * Star bubble - */ - /* - * Hide count, in case javascript is not available. - */ } - .repo a .count:before { - content: " "; - display: block; - position: absolute; - top: 0px; - left: -5px; } - .no-js .repo a .count { - display: none; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer typography - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ } - .drawer .toc li a { - font-weight: 700; } - .drawer .toc li.anchor a { - font-weight: 400; } - .drawer .section { - text-transform: uppercase; - font-weight: 700; } - -/* - * Repository buttons - */ -.repo a { - text-transform: uppercase; - font-weight: 700; - /* - * Stars - */ } - .repo a .count { - text-transform: none; - font-weight: 700; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article animation - * ------------------------------------------------------------------------- */ -/* - * Fade color after highlighting - */ -pre span { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Copyright and theme information - */ -.copyright { - /* - * Animate color on hover - */ } - .copyright a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article appearance - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Differing top and bottom rubberband backgrounds in iOS web application - */ - /* - * Headlines and chapters in primary color - */ - /* - * Lower border for main headline - */ - /* - * Color links - */ - /* - * Data tables - */ } - .ios.standalone .article { - background: -webkit-linear-gradient(top, white 50%, #673ab7 50%); - background: linear-gradient(to bottom, white 50%, #673ab7 50%); - /* Hack [iOS]: Mitigate black bounding box with linear gradient */ } - .ios.standalone .article .wrapper { - background: -webkit-linear-gradient(top, white 50%, white 50%); - background: linear-gradient(to bottom, white 50%, white 50%); } - .article h1, .article h2 { - color: #673ab7; } - .article h1 { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); } - .article a { - color: #673ab7; - /* - * Hovered link - */ } - .article a:hover, .article a:focus { - color: #64dd17; } - .article table { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - border-radius: 3px; - /* - * Table heading - */ - /* - * Table cell - */ } - .article table th { - background: #8d6bc9; - color: white; - /* - * Round upper left border - */ - /* - * Round upper right border - */ } - .article table th:first-child { - border-top-left-radius: 3px; } - .article table th:last-child { - border-top-right-radius: 3px; } - .article table td { - border-top: 1px solid rgba(0, 0, 0, 0.05); } - -/* - * Article footer - */ -.footer { - background: #673ab7; - color: white; } - -/* - * Copyright and theme information - */ -.copyright { - color: rgba(0, 0, 0, 0.54); } - -/* - * Pagination - */ -.pagination { - /* - * Inherit color for links - */ - /* - * Smaller font size for direction - */ } - .pagination a, - .pagination a:hover, - .pagination a:focus { - color: inherit; } - .pagination .direction { - color: rgba(255, 255, 255, 0.7); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article layout - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - font-size: 14px; - line-height: 1.7em; - /* [tablet landscape+]: Indent to account for drawer */ - /* - * Clearfix - */ - /* - * Article wrapper - */ - /* - * Enable overflow scrolling in iOS web application - */ - /* - * Article headline - */ - /* - * Article chapters - */ - /* - * Sub headlines - */ - /* - * Paragraphs and section titles - */ - /* - * List elements - */ - /* - * Add icon for elements of an unordered list - */ - /* - * Inline code snippets must not wrap - */ - /* - * Add spacing at top of separator - */ - /* - * Limit images to article container - */ - /* - * Code listing container - */ - /* - * Data tables - */ - /* - * Data table wrapper, in case javascript is available - */ - /* [tablet portait+]: Increase spacing */ } - .article:after { - content: " "; - display: block; - clear: both; } - .article .wrapper { - padding: 116px 16px 92px; - /* [tablet portait+]: Increase top spacing */ } - .ios.standalone .article { - position: absolute; - top: 56px; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* [orientation: portrait]: Account for status bar in portrait mode */ - /* - * Article wrapper - */ } - .ios.standalone .article .wrapper { - position: relative; - min-height: 100%; - padding-top: 60px; - margin-bottom: 2px; } - .article h1 { - font-size: 24px; - line-height: 1.333334em; - padding: 20px 0 42px; } - .article h2 { - font-size: 20px; - line-height: 1.4em; - padding-top: 92px; - margin-top: -56px; - /* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 36px; - margin: 0; } - .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { - margin-top: 1.5em; } - .article li { - margin-top: 0.75em; - margin-left: 18px; - /* - * Inline paragraphs in list elements - */ } - .article li p { - display: inline; } - .article ul li:before { - content: "\e602"; - display: inline-block; - font-family: 'Icon'; - font-size: 16px; - width: 1.2em; - margin-left: -1.2em; - vertical-align: -0.1em; } - .article p > code { - white-space: nowrap; } - .article hr { - margin-top: 1.5em; } - .article img { - max-width: 100%; } - .article pre { - padding: 16px; - margin: 1.5em -16px 0; - line-height: 1.5em; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table { - margin: 3.0em 0 1.5em; - font-size: 13px; - /* - * The semi-cool solution, in case javascript is not available - */ - /* - * Table heading - */ - /* - * Table cell - */ } - .no-js .article table { - display: inline-block; - max-width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table th { - min-width: 100px; - padding: 12px 16px; - font-size: 12px; - text-align: left; - white-space: nowrap; } - .article table td { - padding: 12px 16px; - white-space: nowrap; } - .article .data { - margin: 1.5em -16px; - padding: 1.5em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - text-align: center; - /* - * Data table - */ - /* [tablet portait+]: Increase spacing */ } - .article .data table { - display: inline-block; - margin: 0 16px; - text-align: left; } - -/* - * Article footer - */ -.footer { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 0 4px; - /* [tablet portait+]: Larger spacing */ - /* [tablet landscape+]: Stretch footer to viewport */ } - -/* - * Copyright and theme information - */ -.copyright { - margin: 20px 0; - /* [tablet landscape+]: Add bottom spacing */ } - -/* - * Pagination - */ -.pagination { - max-width: 1184px; - height: 92px; - padding: 4px 0; - margin-left: auto; - margin-right: auto; - overflow: hidden; - /* [tablet portait+]: Larger pagination and spacing */ - /* - * Links should span icons entirely - */ - /* - * Previous and next page - */ - /* - * Previous page - */ - /* - * Next page - */ - /* - * Link to page - */ - /* - * Put direction over page title - */ - /* - * Decrease indent for stretching content - */ - /* [mobile landscape+]: Proportional width for pagination */ - /* [tablet portrait+]: Increase vertical spacing */ } - .pagination a { - display: block; - height: 100%; } - .pagination .previous, - .pagination .next { - position: relative; - float: left; - height: 100%; } - .pagination .previous { - width: 25%; - /* - * Hide direction - */ - /* - * Hide title - */ } - .pagination .previous .direction { - display: none; } - .pagination .previous .stretch { - display: none; } - .pagination .next { - width: 75%; - text-align: right; } - .pagination .page { - display: table; - position: absolute; - bottom: 4px; } - .pagination .direction { - display: block; - position: absolute; - bottom: 40px; - width: 100%; - font-size: 15px; - line-height: 20px; - padding: 0 52px; } - .pagination .stretch { - padding: 0 4px; - /* - * Correct vertical spacing - */ } - .pagination .stretch .title { - font-size: 18px; - padding: 11px 0 13px; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article typography - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Third-level headlines should be bold - */ - /* - * Fourth-level headlines should be italic - */ } - .article h3 { - font-weight: 700; } - .article h4 { - font-weight: 400; - font-style: italic; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search animation - * ------------------------------------------------------------------------- */ -/* - * Animate header bar in offset and opacity - */ -.bar { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - /* - * Active search mode - */ - /* - * Search animations - */ } - #toggle-search:checked ~ .header .bar, - .toggle-search .bar { - -webkit-transform: translate3d(0, -56px, 0); - transform: translate3d(0, -56px, 0); } - .bar.search { - /* - * Hide reset button by default - */ - /* - * Show reset button if search is not empty - */ } - .bar.search .button-reset { - -webkit-transform: scale(0.5, 0.5); - transform: scale(0.5, 0.5); - -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - opacity: 0; } - .bar.search.non-empty .button-reset { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - opacity: 1; } - -/* - * Search results - */ -.results { - -webkit-transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - /* - * Active search mode - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - -webkit-transition: opacity .4s, width .0s, height .0s; - transition: opacity .4s, width .0s, height .0s; } - .results .list a { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * Just hide and show bars, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Show default bar - */ - /* - * Hide search bar - */ - /* - * Active search mode - */ } - .no-csstransforms3d .bar.default { - display: table; } - .no-csstransforms3d .bar.search { - display: none; - margin-top: 0; } - .no-csstransforms3d #toggle-search:checked ~ .header, - .no-csstransforms3d .toggle-search { - /* - * Hide default bar - */ - /* - * Show search bar - */ } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, - .no-csstransforms3d .toggle-search .bar.default { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, - .no-csstransforms3d .toggle-search .bar.search { - display: table; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search appearance - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - opacity: 0; - /* - * Search input - */ - /* - * Pushed/clicked icon - */ } - .bar.search .query { - background: transparent; - color: rgba(0, 0, 0, 0.87); - /* - * Search input placeholder - */ } - .bar.search .query::-webkit-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query::-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .button .icon:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Search results - */ -.results { - box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); - background: white; - color: rgba(0, 0, 0, 0.87); - opacity: 0; - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - opacity: 1; } - .results .meta { - background: #673ab7; - color: white; } - .results .list a { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - /* - * Remove border on last element - */ - /* - * Active item link - */ } - .results .list a:last-child { - border-bottom: none; } - .results .list a:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Article link - */ -.result span { - color: rgba(0, 0, 0, 0.54); } - -/* - * Active search bar - */ -#toggle-search:checked ~ .header, -.toggle-search .header { - background: white; - color: rgba(0, 0, 0, 0.54); - /* - * Add darker status bar overlay in search mode - */ - /* - * Fade out default header bar - */ - /* - * Fade in search header bar - */ } - #toggle-search:checked ~ .header:before, - .toggle-search .header:before { - background: rgba(0, 0, 0, 0.54); } - #toggle-search:checked ~ .header .bar.default, - .toggle-search .header .bar.default { - opacity: 0; } - #toggle-search:checked ~ .header .bar.search, - .toggle-search .header .bar.search { - opacity: 1; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search layout - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - margin-top: 8px; - /* - * Search input - */ } - .bar.search .query { - font-size: 18px; - padding: 13px 0; - margin: 0; - width: 100%; - height: 48px; - /* [tablet portait+]: Slightly larger typo */ - /* Hack [IE]: Hide redundant clear button */ } - .bar.search .query::-ms-clear { - display: none; } - -/* - * Search results - */ -.results { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 100%; - z-index: 2; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - /* [tablet landscape+]: Limit results to five entries */ - /* - * Scrollable container - */ - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - .results .scrollable { - top: 56px; - /* [tablet portait+]: Increase vertical spacing */ - /* [tablet landscape+]: Limit results to five entries */ - /* - * Leave room for status bar in iOS web application - */ } - .ios.standalone .results .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - width: 100%; - /* Hack [Firefox]: div doesn't collapse, unless this is applied */ - overflow-y: visible; - /* [tablet portait+]: Stretch to viewport */ } - .results .meta { - font-weight: 700; - /* - * Number of results - */ } - .results .meta strong { - display: block; - font-size: 11px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 16px; - /* [tablet portait+]: Increase vertical spacing */ } - .results .list a { - display: block; } - -/* - * Search result item - */ -.result { - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 12px 16px 16px; - /* [tablet portait+]: Increase vertical spacing */ - /* - * Article title - */ - /* - * Article link - */ } - .result h1 { - line-height: 24px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - .result span { - font-size: 12px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - -/* - * Switch visibility, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Hide search results - */ - /* - * Active search mode - */ } - .no-csstransforms3d .results { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .main, - .no-csstransforms3d .toggle-search { - /* - * Show search results - */ } - .no-csstransforms3d #toggle-search:checked ~ .main .results, - .no-csstransforms3d .toggle-search .results { - display: block; - overflow: auto; } - -/* - * 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. - */ -/* - * Search meta data - */ -.meta { - text-transform: uppercase; - font-weight: 700; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Print overrides - * ------------------------------------------------------------------------- */ -/* - * Print styles - */ - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Nothing to see here, move along - * ------------------------------------------------------------------------- */ -.admonition { - background: red; } -@media only screen and (min-width: 960px) { - .backdrop { - background: #f2f2f2; } - .backdrop-paper:after { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); } - .button-menu { - display: none; } - .drawer { - position: static; - float: left; - height: auto; - margin-bottom: 96px; - padding-top: 80px; } - .drawer .scrollable { - position: static; } - .article { - margin-left: 262px; } - .footer { - z-index: 5; } - .copyright { - margin-bottom: 64px; } - .results { - height: auto; - top: 64px; } - .results .scrollable { - position: static; - max-height: 413px; } } -@media only screen and (max-width: 959px) { - .overlay {/* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - width: 100%; - height: 100%; } - .drawer { - -webkit-transform: translate3d(-262px, 0, 0); - transform: translate3d(-262px, 0, 0); - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);/* - * Just hide drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d .drawer { - display: none; } - .drawer { - background: #f2f2f2; } - .drawer .wrapper { - background: #f2f2f2; } - .project { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #673ab7; - color: white; } - .drawer { - position: fixed; - z-index: 5; - height: 100%; } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - height: 100%; } } -@media only screen and (min-width: 720px) { - .header { - height: 64px; - padding: 8px; } - .header .stretch { - padding: 0 16px 0 16px; } - .header .stretch .title { - font-size: 20px; - padding: 12px 0; } - .project .name { - margin: 26px 0 0 5px; } - .article .wrapper { - padding: 128px 24px 96px; } - .article .data { - margin: 1.5em -24px;/* - * Data table - */ } - .article .data table { - margin: 0 24px; } - .article {/* - * Account for larged header bar and anchors - *//* - * Increase spacing for code blocks - */ } - .article h2 { - padding-top: 100px; - margin-top: -64px;/* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 28px; - margin-top: 8px; } - .article pre { - padding: 1.5em 24px; - margin: 1.5em -24px 0; } - .footer { - padding: 0 8px; } - .pagination { - height: 96px; - padding: 8px 0; } - .pagination {/* - * Increase vertical spacing - *//* - * Increase vertical spacing - */ } - .pagination .direction { - padding: 0 56px; - bottom: 40px; } - .pagination .stretch { - padding: 0 8px; } - .bar.search .query { - font-size: 20px; - padding: 12px 0; } - .results .scrollable { - top: 64px; } - .results .meta strong { - padding: 16px 24px; } - .result { - padding: 16px 24px 20px; } } -@media only screen and (min-width: 1200px) { - .header { - width: 100%; } - .drawer .scrollable .wrapper hr { - width: 48px; } } -@media only screen and (orientation: portrait) { - .ios.standalone .header { - height: 76px; - padding-top: 24px;/* [tablet portait+]: Larger header bar *//* - * Add status bar overlay - */ } - .ios.standalone .header:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .drawer .scrollable { - top: 124px; } - .ios.standalone .project { - padding-top: 20px;/* - * Add status bar overlay - */ } - .ios.standalone .project:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .article { - position: absolute; - top: 76px; - right: 0; - bottom: 0; - left: 0; } - .ios.standalone .results .scrollable { - top: 76px;/* [tablet portait+]: Increase vertical spacing */ } } -@media only screen and (orientation: portrait) and (min-width: 720px) { - .ios.standalone .header { - height: 84px; - padding-top: 28px; } - .ios.standalone .results .scrollable { - top: 84px; } } -@media only screen and (max-width: 719px) { - .bar .path { - display: none; } } -@media only screen and (max-width: 479px) { - .button-github, - .button-twitter { - display: none; } } -@media only screen and (min-width: 720px) and (max-width: 959px) { - .header .stretch { - padding: 0 24px; } } -@media only screen and (min-width: 480px) { - .pagination {/* - * Previous and next page - *//* - * Previous page - */ } - .pagination .previous, - .pagination .next { - width: 50%; } - .pagination .previous { - width: 50%;/* - * Show direction - *//* - * Show title - */ } - .pagination .previous .direction { - display: block; } - .pagination .previous .stretch { - display: table; } } -@media print {/* - * Hide non-relevant elements - */ - .header, .project, .footer { - display: none; }/* - * Article - */ - .article {/* - * Remove color in all code blocks - *//* - * Border-radius makes this table entirely black on paper, so scrap it - */ } - .article pre, .article pre * { - color: rgba(0, 0, 0, 0.87) !important; } - .article table { - border-radius: none; - box-shadow: none;/* - * Color header - */ } - .article table th { - color: #673ab7; } } diff --git a/materializr/assets/stylesheets/application.red-9049f37d.css b/materializr/assets/stylesheets/application.red-9049f37d.css deleted file mode 100644 index 05454c675..000000000 --- a/materializr/assets/stylesheets/application.red-9049f37d.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#e51c23}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#e51c23;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#e51c23}.drawer .toc a:focus,.drawer .toc a:hover{color:#00b0ff}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#00b0ff;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#e51c23 50%);background:linear-gradient(to bottom,#fff 50%,#e51c23 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#e51c23}.article a:focus,.article a:hover{color:#00b0ff}.article table th{background:#ec555a;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#e51c23;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#e51c23;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#e51c23;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#e51c23}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.red.css b/materializr/assets/stylesheets/application.red.css deleted file mode 100644 index f0868a796..000000000 --- a/materializr/assets/stylesheets/application.red.css +++ /dev/null @@ -1,2584 +0,0 @@ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Resets - * ------------------------------------------------------------------------- */ -/* - * Enfore correct box model - the prefixed versions are necessary for older - * browsers, i.e. Chrome < 10, Firefox < 29, Safari < 6 and Android < 4 - */ -html { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; } - -/* - * All elements shall inherit the document default - */ -*, *:before, *:after { - box-sizing: inherit; - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; } - -/* - * 16px --> 10px, browser default - */ -html { - font-size: 62.5%; - -webkit-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; } - -/* - * Reset spacing and borders for all tags - */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, main, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; } - -/* - * Reset list styles - */ -ul { - list-style: none; } - -/* - * Reset table styles - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -/* - * Reset table cell styles - */ -td { - text-align: left; - font-weight: normal; - vertical-align: middle; } - -/* - * Reset (native) button styles - */ -button { - outline: 0; - padding: 0; - background: transparent; - border: none; - font-size: inherit; } - -/* - * Reset (native) input styles - */ -input { - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - -o-appearance: none; - appearance: none; - outline: none; - border: none; } - -/* - * Reset link styles - */ -a { - text-decoration: none; - color: inherit; } - -/* - * Reset tap outlines on iOS and Android - */ -a, button, label, input { - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - -webkit-tap-highlight-color: transparent; } - -/* - * Reset headlines - */ -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* - * Primary and accent color - */ -/* - * Black opacities - */ -/* - * White opacities - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Code highlighter - * ------------------------------------------------------------------------- */ -/* - * Inline code - */ -code { - color: #e51c23; } - -/* - * Code block - */ -pre { - background: rgba(0, 0, 0, 0.05); - /* - * Ensure correct color - */ } - pre, pre code { - color: rgba(0, 0, 0, 0.87); } - -/* - * Operators and comments - */ -.o, .c, .c1, .cm { - color: rgba(0, 0, 0, 0.54); } - -/* - * Keywords - */ -.k, .kn { - color: #A71D5D; } - -/* - * Types and functions - */ -.kt, .kd, .n.f { - color: #0086B3; } - -/* - * Strings - */ -.s { - color: #183691; } - -/* - * Constants and numbers - */ -.mi, .bp { - color: #9575CD; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Font faces - * ------------------------------------------------------------------------- */ -/* - * Icon font - */ -@font-face { - font-family: 'Icon'; - src: url("/assets/fonts/icon.eot?52m981"); - src: url("/assets/fonts/icon.eot?#iefix52m981") format("embedded-opentype"), url("/assets/fonts/icon.woff?52m981") format("woff"), url("/assets/fonts/icon.ttf?52m981") format("truetype"), url("/assets/fonts/icon.svg?52m981#icon") format("svg"); - font-weight: normal; - font-style: normal; } - -/* ---------------------------------------------------------------------------- - * Representational classes - * ------------------------------------------------------------------------- */ -/* - * Base icon class - */ -.icon { - font-family: 'Icon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* - * Magnifying glass - */ -.icon-search:before { - content: "\e600"; } - -/* - * Back arrow - */ -.icon-back:before { - content: "\e601"; } - -/* - * Link indicator - */ -.icon-link:before { - content: "\e602"; } - -/* - * Close button - */ -.icon-close:before { - content: "\e603"; } - -/* - * Hamburger icon - */ -.icon-menu:before { - content: "\e604"; } - -/* - * Forward arrow - */ -.icon-forward:before { - content: "\e605"; } - -/* - * Twitter icon - */ -.icon-twitter:before { - content: "\e606"; } - -/* - * GitHub icon - */ -.icon-github:before { - content: "\e607"; } - -/* - * Download icon - */ -.icon-download:before { - content: "\e608"; } - -/* - * Star icon - */ -.icon-star:before { - content: "\e609"; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Defaults - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Helper functions - * ------------------------------------------------------------------------- */ -/* - * Choose minimum and maximum device widths. - */ -/* - * Select minimum and maximum widths for a device breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for numeric breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query breakpoint. - */ -/* - * An orientation media query breakpoint. - */ -/* - * A maximum-aspect-ratio media query breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for device breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query device breakpoint. - */ -/* - * A minimum media query device breakpoint. - */ -/* - * A maximum media query device breakpoint. - */ -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base animation - * ------------------------------------------------------------------------- */ -/* - * Animate color on hover - */ -a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Overlay - */ -.overlay { - -webkit-transition: opacity .25s, width .0s .25s, height .0s .25s; - transition: opacity .25s, width .0s .25s, height .0s .25s; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - -webkit-transition: opacity .25s, width .0s, height .0s; - transition: opacity .25s, width .0s, height .0s; } - -/* - * Application header - check for javascript to omit flashing - */ -.js .header { - -webkit-transition: background .6s, color .6s; - transition: background .6s, color .6s; - /* - * Status bar - */ } - .js .header:before { - -webkit-transition: background .6s; - transition: background .6s; } - -/* - * Extended visible touch area on icon - */ -.button .icon { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base appearance - * ------------------------------------------------------------------------- */ -/* - * Device specific background hacks related to rubberband - */ -body { - color: rgba(0, 0, 0, 0.87); - /* Hack [Chrome, Opera]: Set background color in Chrome and Opera */ - /* - * Don't tint menu bar on iOS - */ } - @supports (-webkit-appearance: none) { - body { - background: #e51c23; } } - .ios body { - background: white; } - -/* - * Horizontal separators - */ -hr { - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.12); } - -/* - * Toggle button - */ -.toggle-button { - cursor: pointer; - color: inherit; } - -/* - * Backdrop - */ -.backdrop { - background: white; - /* [tablet landscape+]: Introduce paper with shadow */ } - -/* - * Backdrop paper with shadow - */ -.backdrop-paper:after { - background: white; - /* [tablet landscape+]: Add drop shadow */ } - -/* - * Overlay - */ -.overlay { - background: rgba(0, 0, 0, 0.54); - opacity: 0; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - opacity: 1; } - -/* - * Application header - */ -.header { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #e51c23; - color: white; - /* - * Add status bar overlay for iOS web application - */ } - .ios.standalone .header:before { - background: rgba(0, 0, 0, 0.12); } - -/* - * Navigation path within header bar - */ -.bar .path { - color: rgba(255, 255, 255, 0.7); } - -/* - * Draw round area around icon on touch - */ -.button .icon { - border-radius: 100%; } - -/* - * Pushed/clicked icon - */ -.button .icon:active { - background: rgba(255, 255, 255, 0.12); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base layout - * ------------------------------------------------------------------------- */ -/* - * Stretch container to viewport - */ -html { - height: 100%; } - -/* - * Stretch body to container and leave room for sticky footer. - */ -body { - position: relative; - min-height: 100%; } - -/* - * Horizontal separators - */ -hr { - display: block; - height: 1px; - padding: 0; - margin: 0; } - -/* - * Lock body (e.g. in search mode) - */ -.locked { - height: 100%; - overflow: hidden; } - -/* - * Scrollable container - */ -.scrollable { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* - * Content wrapper - */ } - .scrollable .wrapper { - height: 100%; - /* Hack [iOS]: Force overflow scrolling */ } - .ios .scrollable .wrapper { - margin-bottom: 2px; } - -/* - * Toggle states and button - */ -.toggle { - display: none; - /* - * Toggle button - */ } - .toggle-button { - display: block; } - -/* - * Backdrop - */ -.backdrop { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: -1; } - -/* - * Backdrop paper container - */ -.backdrop-paper { - max-width: 1200px; - height: 100%; - margin-left: auto; - margin-right: auto; - /* - * Actual paper - */ } - .backdrop-paper:after { - content: " "; - display: block; - height: 100%; - margin-left: 262px; } - -/* - * Overlay - */ -.overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - z-index: 4; - /* [tablet landscape-]: Trigger overlay */ } - -/* - * Application header stays always on top - */ -.header { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - position: fixed; - top: 0; - left: 0; - z-index: 3; - height: 56px; - padding: 4px; - overflow: hidden; - /* [tablet portait+]: Larger header bar */ - /* [screen+]: Stretch to screen */ - /* - * Absolute positioning in iOS web application - */ } - .ios.standalone .header { - position: absolute; - /* [orientation: portrait]: Account for status bar in portrait mode */ } - -/* - * Header bar - */ -.bar { - display: table; - max-width: 1184px; - margin-left: auto; - margin-right: auto; - /* - * Links should span icons entirely - */ - /* - * Hide search button, in case javascript is not available. - */ - /* - * Navigation path - */ } - .bar a { - display: block; } - .no-js .bar .button-search { - display: none; } - .bar .path { - /* - * Correct icon alignment - */ - /* [tablet portait-]: Hide path */ } - .bar .path .icon:before { - vertical-align: -1.5px; } - -/* - * Buttons - */ -.button { - display: table-cell; - vertical-align: top; - width: 1%; - /* - * Remove native spacing on button - */ - /* - * Button icons - */ } - .button button { - margin: 0; - padding: 0; - /* Hack [IE]: Remove button offset in active state */ } - .button button:active:before { - position: relative; - top: 0; - left: 0; } - .button .icon { - display: inline-block; - font-size: 24px; - padding: 8px; - margin: 4px; } - -/* - * Hide source and twitter button - */ -.button-github, -.button-twitter { - /* [mobile landscape-]: Hide button */ } - -/* - * Hide menu button - */ -.button-menu { - /* [tablet landscape+]: Hide button */ } - -/* - * Stretch content to remaining space - */ -.stretch { - display: table; - table-layout: fixed; - width: 100%; - /* - * Set vertical spacing for header - */ - /* - * Title with ellipsis on overflow - */ } - .header .stretch { - padding: 0 20px; - /* [tablet portait]: Increase vertical spacing */ - /* [tablet portait+]: Account for missing menu icon */ } - .stretch .title { - display: table-cell; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - /* - * Increase header font size - */ } - .header .stretch .title { - font-size: 18px; - padding: 13px 0; - /* [tablet portait+]: Slightly larger typography in header */ } - -/* - * Main content - */ -.main { - max-width: 1200px; - margin-left: auto; - margin-right: auto; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base typography - * ------------------------------------------------------------------------- */ -/* - * Default font styles - */ -body, input { - font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 400; - /* Enable font-smoothing in Webkit and FF */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface body, .no-fontface input { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -/* - * Proportional fonts - */ -pre, code { - font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface pre, .no-fontface code { - font-family: 'Courier New', 'Courier', monospace; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer animation - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Hide menu */ - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .main .drawer, - .toggle-drawer .drawer { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - /* - * Just show drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, .no-csstransforms3d - .toggle-drawer .drawer { - display: block; } - -/* - * No color transition for project link - */ -.project { - -webkit-transition: none; - transition: none; } - -/* - * Project logo image - */ -.project .logo img { - -webkit-transition: box-shadow .4s; - transition: box-shadow .4s; } - -/* - * Repository buttons - */ -.repo a { - -webkit-transition: box-shadow .4s, opacity .4s; - transition: box-shadow .4s, opacity .4s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer appearance - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Light gray background */ - /* - * Color links - */ - /* - * Main sections - */ - /* - * Content wrapper - */ } - .drawer .toc a { - /* - * Current active element - */ - /* - * Hovered link - */ } - .drawer .toc a.current { - color: #e51c23; } - .drawer .toc a:hover, .drawer .toc a:focus { - color: #00b0ff; } - .drawer .section { - color: rgba(0, 0, 0, 0.54); } - .drawer .wrapper { - /* [tablet landscape-]: Light gray background */ } - -/* - * Project information - */ -.project { - /* [tablet landscape-]: Add drop shadow */ - /* - * Add status bar overlay for iOS web application - */ - /* - * Project logo - */ - /* - * Scale logo on hover - */ } - .ios.standalone .project:before { - background: rgba(0, 0, 0, 0.12); } - .project .logo img { - background: white; - border-radius: 100%; } - .project:hover .logo img, - .project:focus .logo img { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); } - -/* - * Repository buttons - */ -.repo a { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #00b0ff; - color: white; - border-radius: 3px; - /* - * Hovered button - */ - /* - * Stars - */ } - .repo a:hover, .repo a:focus { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); - opacity: 0.8; } - .repo a .count { - background: rgba(0, 0, 0, 0.26); - color: white; - border-radius: 0px 3px 3px 0px; - /* - * Star bubble - */ } - .repo a .count:before { - border-width: 15px 5px 15px 0; - border-color: transparent rgba(0, 0, 0, 0.26); - border-style: solid; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer layout - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - width: 262px; - font-size: 13px; - line-height: 1.0em; - /* [tablet landscape-]: Fixed positioning */ - /* [tablet landscape+]: Inline with content */ - /* Hack [iOS]: Mitigate scrolling of parent container on boundaries */ - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ - /* - * Scrollable container - */ } - .ios .drawer { - overflow: scroll; - -webkit-overflow-scrolling: touch; } - .drawer .toc li a { - display: block; - padding: 14.5px 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } - .drawer .toc li.anchor a { - padding: 10px 24px 10px 48px; } - .drawer .section { - display: block; - font-size: 11px; - padding: 14.5px 24px; } - .drawer .scrollable { - top: 104px; - z-index: -1; - /* [tablet landscape+]: Revert fixed positioning */ - /* - * Leave room for status bar in iOS web application - */ - /* - * Content wrapper - */ } - .ios.standalone .drawer .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .drawer .scrollable .wrapper { - height: auto; - min-height: 100%; - /* - * Add spacing at top and bottom of separator - */ - /* - * Add spacing at top and bottom of top level navigation - */ } - .drawer .scrollable .wrapper hr { - margin: 12px 0; - /* [screen+]: Shorten separator */ - /* Hack [IE]: Left-align horizontal rule */ - margin-right: auto; } - .drawer .scrollable .wrapper .toc { - margin: 12px 0; } - -/* - * Project information - */ -.project { - display: block; - /* - * Leave room for status bar in iOS web application - */ - /* - * Project banner - */ - /* - * Project logo - */ - /* - * Project name - */ - /* - * Shrink font, if a logo is given. - */ } - .ios.standalone .project { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .project .banner { - display: table; - width: 100%; - height: 104px; - padding: 20px; } - .project .logo { - display: table-cell; - width: 64px; - padding-right: 12px; - /* - * Project logo image - */ } - .project .logo img { - display: block; - width: 64px; - height: 64px; } - .project .name { - display: table-cell; - padding-left: 4px; - font-size: 14px; - line-height: 1.25em; - vertical-align: middle; - /* [tablet portait+]: Slightly larger project name */ } - .project .logo + .name { - font-size: 12px; } - -/* - * Repository - */ -.repo { - margin: 24px 0; - text-align: center; - /* - * Inline buttons - */ - /* - * Buttons - */ } - .repo li { - display: inline-block; - padding-right: 12px; - white-space: nowrap; - /* - * No padding on last button - */ } - .repo li:last-child { - padding-right: 0; } - .repo a { - display: inline-block; - padding: 0px 10px 0px 6px; - font-size: 12px; - line-height: 30px; - height: 30px; - /* - * Slightly larger icons - */ - /* - * Stars - */ } - .repo a .icon { - font-size: 18px; - vertical-align: -3px; } - .repo a .count { - display: inline-block; - position: relative; - padding: 0px 8px 0 4px; - margin: 0 -10px 0 8px; - font-size: 12px; - /* - * Star bubble - */ - /* - * Hide count, in case javascript is not available. - */ } - .repo a .count:before { - content: " "; - display: block; - position: absolute; - top: 0px; - left: -5px; } - .no-js .repo a .count { - display: none; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer typography - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ } - .drawer .toc li a { - font-weight: 700; } - .drawer .toc li.anchor a { - font-weight: 400; } - .drawer .section { - text-transform: uppercase; - font-weight: 700; } - -/* - * Repository buttons - */ -.repo a { - text-transform: uppercase; - font-weight: 700; - /* - * Stars - */ } - .repo a .count { - text-transform: none; - font-weight: 700; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article animation - * ------------------------------------------------------------------------- */ -/* - * Fade color after highlighting - */ -pre span { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Copyright and theme information - */ -.copyright { - /* - * Animate color on hover - */ } - .copyright a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article appearance - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Differing top and bottom rubberband backgrounds in iOS web application - */ - /* - * Headlines and chapters in primary color - */ - /* - * Lower border for main headline - */ - /* - * Color links - */ - /* - * Data tables - */ } - .ios.standalone .article { - background: -webkit-linear-gradient(top, white 50%, #e51c23 50%); - background: linear-gradient(to bottom, white 50%, #e51c23 50%); - /* Hack [iOS]: Mitigate black bounding box with linear gradient */ } - .ios.standalone .article .wrapper { - background: -webkit-linear-gradient(top, white 50%, white 50%); - background: linear-gradient(to bottom, white 50%, white 50%); } - .article h1, .article h2 { - color: #e51c23; } - .article h1 { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); } - .article a { - color: #e51c23; - /* - * Hovered link - */ } - .article a:hover, .article a:focus { - color: #00b0ff; } - .article table { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - border-radius: 3px; - /* - * Table heading - */ - /* - * Table cell - */ } - .article table th { - background: #ec555a; - color: white; - /* - * Round upper left border - */ - /* - * Round upper right border - */ } - .article table th:first-child { - border-top-left-radius: 3px; } - .article table th:last-child { - border-top-right-radius: 3px; } - .article table td { - border-top: 1px solid rgba(0, 0, 0, 0.05); } - -/* - * Article footer - */ -.footer { - background: #e51c23; - color: white; } - -/* - * Copyright and theme information - */ -.copyright { - color: rgba(0, 0, 0, 0.54); } - -/* - * Pagination - */ -.pagination { - /* - * Inherit color for links - */ - /* - * Smaller font size for direction - */ } - .pagination a, - .pagination a:hover, - .pagination a:focus { - color: inherit; } - .pagination .direction { - color: rgba(255, 255, 255, 0.7); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article layout - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - font-size: 14px; - line-height: 1.7em; - /* [tablet landscape+]: Indent to account for drawer */ - /* - * Clearfix - */ - /* - * Article wrapper - */ - /* - * Enable overflow scrolling in iOS web application - */ - /* - * Article headline - */ - /* - * Article chapters - */ - /* - * Sub headlines - */ - /* - * Paragraphs and section titles - */ - /* - * List elements - */ - /* - * Add icon for elements of an unordered list - */ - /* - * Inline code snippets must not wrap - */ - /* - * Add spacing at top of separator - */ - /* - * Limit images to article container - */ - /* - * Code listing container - */ - /* - * Data tables - */ - /* - * Data table wrapper, in case javascript is available - */ - /* [tablet portait+]: Increase spacing */ } - .article:after { - content: " "; - display: block; - clear: both; } - .article .wrapper { - padding: 116px 16px 92px; - /* [tablet portait+]: Increase top spacing */ } - .ios.standalone .article { - position: absolute; - top: 56px; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* [orientation: portrait]: Account for status bar in portrait mode */ - /* - * Article wrapper - */ } - .ios.standalone .article .wrapper { - position: relative; - min-height: 100%; - padding-top: 60px; - margin-bottom: 2px; } - .article h1 { - font-size: 24px; - line-height: 1.333334em; - padding: 20px 0 42px; } - .article h2 { - font-size: 20px; - line-height: 1.4em; - padding-top: 92px; - margin-top: -56px; - /* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 36px; - margin: 0; } - .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { - margin-top: 1.5em; } - .article li { - margin-top: 0.75em; - margin-left: 18px; - /* - * Inline paragraphs in list elements - */ } - .article li p { - display: inline; } - .article ul li:before { - content: "\e602"; - display: inline-block; - font-family: 'Icon'; - font-size: 16px; - width: 1.2em; - margin-left: -1.2em; - vertical-align: -0.1em; } - .article p > code { - white-space: nowrap; } - .article hr { - margin-top: 1.5em; } - .article img { - max-width: 100%; } - .article pre { - padding: 16px; - margin: 1.5em -16px 0; - line-height: 1.5em; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table { - margin: 3.0em 0 1.5em; - font-size: 13px; - /* - * The semi-cool solution, in case javascript is not available - */ - /* - * Table heading - */ - /* - * Table cell - */ } - .no-js .article table { - display: inline-block; - max-width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table th { - min-width: 100px; - padding: 12px 16px; - font-size: 12px; - text-align: left; - white-space: nowrap; } - .article table td { - padding: 12px 16px; - white-space: nowrap; } - .article .data { - margin: 1.5em -16px; - padding: 1.5em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - text-align: center; - /* - * Data table - */ - /* [tablet portait+]: Increase spacing */ } - .article .data table { - display: inline-block; - margin: 0 16px; - text-align: left; } - -/* - * Article footer - */ -.footer { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 0 4px; - /* [tablet portait+]: Larger spacing */ - /* [tablet landscape+]: Stretch footer to viewport */ } - -/* - * Copyright and theme information - */ -.copyright { - margin: 20px 0; - /* [tablet landscape+]: Add bottom spacing */ } - -/* - * Pagination - */ -.pagination { - max-width: 1184px; - height: 92px; - padding: 4px 0; - margin-left: auto; - margin-right: auto; - overflow: hidden; - /* [tablet portait+]: Larger pagination and spacing */ - /* - * Links should span icons entirely - */ - /* - * Previous and next page - */ - /* - * Previous page - */ - /* - * Next page - */ - /* - * Link to page - */ - /* - * Put direction over page title - */ - /* - * Decrease indent for stretching content - */ - /* [mobile landscape+]: Proportional width for pagination */ - /* [tablet portrait+]: Increase vertical spacing */ } - .pagination a { - display: block; - height: 100%; } - .pagination .previous, - .pagination .next { - position: relative; - float: left; - height: 100%; } - .pagination .previous { - width: 25%; - /* - * Hide direction - */ - /* - * Hide title - */ } - .pagination .previous .direction { - display: none; } - .pagination .previous .stretch { - display: none; } - .pagination .next { - width: 75%; - text-align: right; } - .pagination .page { - display: table; - position: absolute; - bottom: 4px; } - .pagination .direction { - display: block; - position: absolute; - bottom: 40px; - width: 100%; - font-size: 15px; - line-height: 20px; - padding: 0 52px; } - .pagination .stretch { - padding: 0 4px; - /* - * Correct vertical spacing - */ } - .pagination .stretch .title { - font-size: 18px; - padding: 11px 0 13px; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article typography - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Third-level headlines should be bold - */ - /* - * Fourth-level headlines should be italic - */ } - .article h3 { - font-weight: 700; } - .article h4 { - font-weight: 400; - font-style: italic; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search animation - * ------------------------------------------------------------------------- */ -/* - * Animate header bar in offset and opacity - */ -.bar { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - /* - * Active search mode - */ - /* - * Search animations - */ } - #toggle-search:checked ~ .header .bar, - .toggle-search .bar { - -webkit-transform: translate3d(0, -56px, 0); - transform: translate3d(0, -56px, 0); } - .bar.search { - /* - * Hide reset button by default - */ - /* - * Show reset button if search is not empty - */ } - .bar.search .button-reset { - -webkit-transform: scale(0.5, 0.5); - transform: scale(0.5, 0.5); - -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - opacity: 0; } - .bar.search.non-empty .button-reset { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - opacity: 1; } - -/* - * Search results - */ -.results { - -webkit-transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - /* - * Active search mode - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - -webkit-transition: opacity .4s, width .0s, height .0s; - transition: opacity .4s, width .0s, height .0s; } - .results .list a { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * Just hide and show bars, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Show default bar - */ - /* - * Hide search bar - */ - /* - * Active search mode - */ } - .no-csstransforms3d .bar.default { - display: table; } - .no-csstransforms3d .bar.search { - display: none; - margin-top: 0; } - .no-csstransforms3d #toggle-search:checked ~ .header, - .no-csstransforms3d .toggle-search { - /* - * Hide default bar - */ - /* - * Show search bar - */ } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, - .no-csstransforms3d .toggle-search .bar.default { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, - .no-csstransforms3d .toggle-search .bar.search { - display: table; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search appearance - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - opacity: 0; - /* - * Search input - */ - /* - * Pushed/clicked icon - */ } - .bar.search .query { - background: transparent; - color: rgba(0, 0, 0, 0.87); - /* - * Search input placeholder - */ } - .bar.search .query::-webkit-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query::-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .button .icon:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Search results - */ -.results { - box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); - background: white; - color: rgba(0, 0, 0, 0.87); - opacity: 0; - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - opacity: 1; } - .results .meta { - background: #e51c23; - color: white; } - .results .list a { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - /* - * Remove border on last element - */ - /* - * Active item link - */ } - .results .list a:last-child { - border-bottom: none; } - .results .list a:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Article link - */ -.result span { - color: rgba(0, 0, 0, 0.54); } - -/* - * Active search bar - */ -#toggle-search:checked ~ .header, -.toggle-search .header { - background: white; - color: rgba(0, 0, 0, 0.54); - /* - * Add darker status bar overlay in search mode - */ - /* - * Fade out default header bar - */ - /* - * Fade in search header bar - */ } - #toggle-search:checked ~ .header:before, - .toggle-search .header:before { - background: rgba(0, 0, 0, 0.54); } - #toggle-search:checked ~ .header .bar.default, - .toggle-search .header .bar.default { - opacity: 0; } - #toggle-search:checked ~ .header .bar.search, - .toggle-search .header .bar.search { - opacity: 1; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search layout - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - margin-top: 8px; - /* - * Search input - */ } - .bar.search .query { - font-size: 18px; - padding: 13px 0; - margin: 0; - width: 100%; - height: 48px; - /* [tablet portait+]: Slightly larger typo */ - /* Hack [IE]: Hide redundant clear button */ } - .bar.search .query::-ms-clear { - display: none; } - -/* - * Search results - */ -.results { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 100%; - z-index: 2; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - /* [tablet landscape+]: Limit results to five entries */ - /* - * Scrollable container - */ - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - .results .scrollable { - top: 56px; - /* [tablet portait+]: Increase vertical spacing */ - /* [tablet landscape+]: Limit results to five entries */ - /* - * Leave room for status bar in iOS web application - */ } - .ios.standalone .results .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - width: 100%; - /* Hack [Firefox]: div doesn't collapse, unless this is applied */ - overflow-y: visible; - /* [tablet portait+]: Stretch to viewport */ } - .results .meta { - font-weight: 700; - /* - * Number of results - */ } - .results .meta strong { - display: block; - font-size: 11px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 16px; - /* [tablet portait+]: Increase vertical spacing */ } - .results .list a { - display: block; } - -/* - * Search result item - */ -.result { - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 12px 16px 16px; - /* [tablet portait+]: Increase vertical spacing */ - /* - * Article title - */ - /* - * Article link - */ } - .result h1 { - line-height: 24px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - .result span { - font-size: 12px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - -/* - * Switch visibility, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Hide search results - */ - /* - * Active search mode - */ } - .no-csstransforms3d .results { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .main, - .no-csstransforms3d .toggle-search { - /* - * Show search results - */ } - .no-csstransforms3d #toggle-search:checked ~ .main .results, - .no-csstransforms3d .toggle-search .results { - display: block; - overflow: auto; } - -/* - * 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. - */ -/* - * Search meta data - */ -.meta { - text-transform: uppercase; - font-weight: 700; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Print overrides - * ------------------------------------------------------------------------- */ -/* - * Print styles - */ - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Nothing to see here, move along - * ------------------------------------------------------------------------- */ -.admonition { - background: red; } -@media only screen and (min-width: 960px) { - .backdrop { - background: #f2f2f2; } - .backdrop-paper:after { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); } - .button-menu { - display: none; } - .drawer { - position: static; - float: left; - height: auto; - margin-bottom: 96px; - padding-top: 80px; } - .drawer .scrollable { - position: static; } - .article { - margin-left: 262px; } - .footer { - z-index: 5; } - .copyright { - margin-bottom: 64px; } - .results { - height: auto; - top: 64px; } - .results .scrollable { - position: static; - max-height: 413px; } } -@media only screen and (max-width: 959px) { - .overlay {/* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - width: 100%; - height: 100%; } - .drawer { - -webkit-transform: translate3d(-262px, 0, 0); - transform: translate3d(-262px, 0, 0); - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);/* - * Just hide drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d .drawer { - display: none; } - .drawer { - background: #f2f2f2; } - .drawer .wrapper { - background: #f2f2f2; } - .project { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #e51c23; - color: white; } - .drawer { - position: fixed; - z-index: 5; - height: 100%; } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - height: 100%; } } -@media only screen and (min-width: 720px) { - .header { - height: 64px; - padding: 8px; } - .header .stretch { - padding: 0 16px 0 16px; } - .header .stretch .title { - font-size: 20px; - padding: 12px 0; } - .project .name { - margin: 26px 0 0 5px; } - .article .wrapper { - padding: 128px 24px 96px; } - .article .data { - margin: 1.5em -24px;/* - * Data table - */ } - .article .data table { - margin: 0 24px; } - .article {/* - * Account for larged header bar and anchors - *//* - * Increase spacing for code blocks - */ } - .article h2 { - padding-top: 100px; - margin-top: -64px;/* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 28px; - margin-top: 8px; } - .article pre { - padding: 1.5em 24px; - margin: 1.5em -24px 0; } - .footer { - padding: 0 8px; } - .pagination { - height: 96px; - padding: 8px 0; } - .pagination {/* - * Increase vertical spacing - *//* - * Increase vertical spacing - */ } - .pagination .direction { - padding: 0 56px; - bottom: 40px; } - .pagination .stretch { - padding: 0 8px; } - .bar.search .query { - font-size: 20px; - padding: 12px 0; } - .results .scrollable { - top: 64px; } - .results .meta strong { - padding: 16px 24px; } - .result { - padding: 16px 24px 20px; } } -@media only screen and (min-width: 1200px) { - .header { - width: 100%; } - .drawer .scrollable .wrapper hr { - width: 48px; } } -@media only screen and (orientation: portrait) { - .ios.standalone .header { - height: 76px; - padding-top: 24px;/* [tablet portait+]: Larger header bar *//* - * Add status bar overlay - */ } - .ios.standalone .header:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .drawer .scrollable { - top: 124px; } - .ios.standalone .project { - padding-top: 20px;/* - * Add status bar overlay - */ } - .ios.standalone .project:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .article { - position: absolute; - top: 76px; - right: 0; - bottom: 0; - left: 0; } - .ios.standalone .results .scrollable { - top: 76px;/* [tablet portait+]: Increase vertical spacing */ } } -@media only screen and (orientation: portrait) and (min-width: 720px) { - .ios.standalone .header { - height: 84px; - padding-top: 28px; } - .ios.standalone .results .scrollable { - top: 84px; } } -@media only screen and (max-width: 719px) { - .bar .path { - display: none; } } -@media only screen and (max-width: 479px) { - .button-github, - .button-twitter { - display: none; } } -@media only screen and (min-width: 720px) and (max-width: 959px) { - .header .stretch { - padding: 0 24px; } } -@media only screen and (min-width: 480px) { - .pagination {/* - * Previous and next page - *//* - * Previous page - */ } - .pagination .previous, - .pagination .next { - width: 50%; } - .pagination .previous { - width: 50%;/* - * Show direction - *//* - * Show title - */ } - .pagination .previous .direction { - display: block; } - .pagination .previous .stretch { - display: table; } } -@media print {/* - * Hide non-relevant elements - */ - .header, .project, .footer { - display: none; }/* - * Article - */ - .article {/* - * Remove color in all code blocks - *//* - * Border-radius makes this table entirely black on paper, so scrap it - */ } - .article pre, .article pre * { - color: rgba(0, 0, 0, 0.87) !important; } - .article table { - border-radius: none; - box-shadow: none;/* - * Color header - */ } - .article table th { - color: #e51c23; } } diff --git a/materializr/assets/stylesheets/application.teal-51e9fed7.css b/materializr/assets/stylesheets/application.teal-51e9fed7.css deleted file mode 100644 index 713292204..000000000 --- a/materializr/assets/stylesheets/application.teal-51e9fed7.css +++ /dev/null @@ -1 +0,0 @@ -button,input{outline:0;border:none}.article ul li:before,.icon{font-family:Icon}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,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{border:0;padding:0;margin:0}.drawer .toc li a,.stretch .title{text-overflow:ellipsis;white-space:nowrap}.article p>code,.drawer .toc li a,.repo li,.stretch .title{white-space:nowrap}html{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:62.5%;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;height:100%}*,:after,:before{box-sizing:inherit;-moz-box-sizing:inherit;-webkit-box-sizing:inherit}ul{list-style:none}table{border-collapse:collapse;border-spacing:0}td{text-align:left;font-weight:400;vertical-align:middle}button{padding:0;background:0 0;font-size:inherit}input{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}a{text-decoration:none;color:inherit;-webkit-transition:color .25s;transition:color .25s}a,button,input,label{-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,h5,h6{font-weight:inherit}.icon,body,input{font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{background:#f6f6f6;color:rgba(0,0,0,.87)}.c,.c1,.cm,.o{color:rgba(0,0,0,.54)}.k{color:#A71D5D}.kd,.kt,.n.f{color:#0086B3}.s{color:#183691}.mi{color:#9575CD}@font-face{font-family:Icon;src:url(/assets/fonts/icon.eot?52m981);src:url(/assets/fonts/icon.eot?#iefix52m981) format("embedded-opentype"),url(/assets/fonts/icon.woff?52m981) format("woff"),url(/assets/fonts/icon.ttf?52m981) format("truetype"),url(/assets/fonts/icon.svg?52m981#icon) format("svg");font-weight:400;font-style:normal}.icon{speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1}.icon-search:before{content:"\e600"}.icon-back:before{content:"\e601"}.icon-link:before{content:"\e602"}.icon-close:before{content:"\e603"}.icon-menu:before{content:"\e604"}.icon-forward:before{content:"\e605"}.icon-twitter:before{content:"\e606"}.icon-github:before{content:"\e607"}.icon-download:before{content:"\e608"}.icon-star:before{content:"\e609"}.article:after,.backdrop-paper:after,.repo a .count:before{content:" "}.overlay{-webkit-transition:opacity .25s,width 0s .25s,height 0s .25s;transition:opacity .25s,width 0s .25s,height 0s .25s}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{-webkit-transition:opacity .25s,width 0s,height 0s;transition:opacity .25s,width 0s,height 0s}.js .header{-webkit-transition:background .6s,color .6s;transition:background .6s,color .6s}.js .header:before{-webkit-transition:background .6s;transition:background .6s}.button .icon{-webkit-transition:background .25s;transition:background .25s}body{color:rgba(0,0,0,.87);position:relative;min-height:100%}.backdrop,.scrollable{position:absolute;left:0;bottom:0;right:0}@supports (-webkit-appearance:none){body{background:#009688}}.backdrop,.backdrop-paper:after,.ios body{background:#fff}hr{border-top:1px solid rgba(0,0,0,.12);display:block;height:1px}.backdrop-paper,.locked,.scrollable .wrapper{height:100%}.toggle-button{cursor:pointer;color:inherit}.overlay{background:rgba(0,0,0,.54);opacity:0}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{opacity:1}.header{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#009688;color:#fff}.ios.standalone .header:before{background:rgba(0,0,0,.12)}.bar .path{color:rgba(255,255,255,.7)}.button .icon:active{background:rgba(255,255,255,.12)}.locked{overflow:hidden}.scrollable{top:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios .scrollable .wrapper{margin-bottom:2px}.toggle{display:none}.toggle-button{display:block}.backdrop{top:0;z-index:-1}.header,.overlay{position:fixed;top:0}.backdrop-paper{max-width:1200px;margin-left:auto;margin-right:auto}.backdrop-paper:after{display:block;height:100%;margin-left:262px}.overlay{width:0;height:0;z-index:4}.header{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;left:0;z-index:3;height:56px;padding:4px;overflow:hidden}.ios.standalone .header{position:absolute}.bar{display:table;max-width:1184px;margin-left:auto;margin-right:auto}.bar a{display:block}.no-js .bar .button-search{display:none}.bar .path .icon:before{vertical-align:-1.5px}.button{display:table-cell;vertical-align:top;width:1%}.button button{margin:0;padding:0}.button button:active:before{position:relative;top:0;left:0}.button .icon{border-radius:100%;display:inline-block;font-size:24px;padding:8px;margin:4px}.stretch{display:table;table-layout:fixed;width:100%}.header .stretch{padding:0 20px}.stretch .title{display:table-cell;overflow:hidden}.drawer .section,.no-csstransforms3d #toggle-drawer:checked~.main .drawer,.no-csstransforms3d .toggle-drawer .drawer,.project{display:block}.header .stretch .title{font-size:18px;padding:13px 0}.main{max-width:1200px;margin-left:auto;margin-right:auto}body,input{font-family:Ubuntu,'Helvetica Neue',Helvetica,Arial,sans-serif}.no-fontface body,.no-fontface input{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}code,pre{font-family:'Ubuntu Mono','Courier New',Courier,monospace}.no-fontface code,.no-fontface pre{font-family:'Courier New',Courier,monospace}#toggle-drawer:checked~.main .drawer,.toggle-drawer .drawer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.project{-webkit-transition:none;transition:none}.project .logo img{-webkit-transition:box-shadow .4s;transition:box-shadow .4s}.drawer .toc a.current{color:#009688}.drawer .toc a:focus,.drawer .toc a:hover{color:#f50057}.drawer .section{color:rgba(0,0,0,.54)}.ios.standalone .project:before{background:rgba(0,0,0,.12)}.project .logo img{background:#fff;border-radius:100%}.project:focus .logo img,.project:hover .logo img{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12)}.repo a{-webkit-transition:box-shadow .4s,opacity .4s;transition:box-shadow .4s,opacity .4s;box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#f50057;color:#fff;border-radius:3px}.repo a:focus,.repo a:hover{box-shadow:0 7px 10px rgba(0,0,0,.3),0 10px 50px rgba(0,0,0,.12);opacity:.8}.drawer{width:262px;font-size:13px;line-height:1em}.ios .drawer{overflow:scroll;-webkit-overflow-scrolling:touch}.drawer .toc li a{display:block;padding:14.5px 24px;overflow:hidden;font-weight:700}.drawer .toc li.anchor a{padding:10px 24px 10px 48px;font-weight:400}.article h3,.meta,.repo a .count,.results .meta{font-weight:700}.drawer .section{font-size:11px;padding:14.5px 24px}.drawer .scrollable{top:104px;z-index:-1}.drawer .scrollable .wrapper{height:auto;min-height:100%}.drawer .scrollable .wrapper hr{margin:12px auto 12px 0}.drawer .scrollable .wrapper .toc{margin:12px 0}.project .banner{display:table;width:100%;height:104px;padding:20px}.project .logo{display:table-cell;width:64px;padding-right:12px}.project .logo img{display:block;width:64px;height:64px}.project .name{display:table-cell;padding-left:4px;font-size:14px;line-height:1.25em;vertical-align:middle}.repo a,.repo a .count,.repo li{display:inline-block}.project .logo+.name,.repo a{font-size:12px}.repo{margin:24px 0;text-align:center}.repo li{padding-right:12px}.repo li:last-child{padding-right:0}.repo a{padding:0 10px 0 6px;line-height:30px;height:30px}.repo a .icon{font-size:18px;vertical-align:-3px}.repo a .count{background:rgba(0,0,0,.26);color:#fff;border-radius:0 3px 3px 0;position:relative;padding:0 8px 0 4px;margin:0 -10px 0 8px;font-size:12px}.repo a .count:before{border-width:15px 5px 15px 0;border-color:transparent rgba(0,0,0,.26);border-style:solid;display:block;position:absolute;top:0;left:-5px}.no-js .repo a .count{display:none}.drawer .section,.repo a{text-transform:uppercase;font-weight:700}.repo a .count{text-transform:none}.copyright a,pre span{-webkit-transition:color .25s;transition:color .25s}.ios.standalone .article{background:-webkit-linear-gradient(top,#fff 50%,#009688 50%);background:linear-gradient(to bottom,#fff 50%,#009688 50%);position:absolute;top:56px;right:0;bottom:0;left:0;overflow:auto;-webkit-overflow-scrolling:touch}.ios.standalone .article .wrapper{background:-webkit-linear-gradient(top,#fff 50%,#fff 50%);background:linear-gradient(to bottom,#fff 50%,#fff 50%)}.article a,.article h1,.article h2,.article p>code,.article td>code{color:#009688}.article a:focus,.article a:hover{color:#f50057}.article table th{background:#40b0a6;color:#fff}.article table th:first-child{border-top-left-radius:3px}.article table th:last-child{border-top-right-radius:3px}.footer{background:#009688;color:#fff}.copyright{color:rgba(0,0,0,.54)}.pagination a,.pagination a:focus,.pagination a:hover{color:inherit}.article{font-size:14px;line-height:24px}.article:after{display:block;clear:both}.article .wrapper{padding:116px 16px 92px}.ios.standalone .article .wrapper{position:relative;min-height:100%;padding-top:60px;margin-bottom:2px}.article h1{font-size:24px;line-height:32px;padding-top:20px;margin-bottom:42px}.article h2{font-size:20px;line-height:28px;padding-top:92px;margin-top:-56px}.ios.standalone .article h2{padding-top:36px;margin:0}.article h3,.article li,.article p{font-size:14px;margin-top:20px}.article li{margin-left:18px}.article li p{display:inline}.article ul li:before{display:inline-block;content:'\e602';font-size:16px;width:1.2em;margin-left:-1.2em;vertical-align:-.1em}.article pre{padding:16px;margin:20px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch}.article table td,.article table th{padding:12px 16px;white-space:nowrap}.article pre code{line-height:21px}.article table{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);border-radius:3px;margin:40px 0 20px;font-size:13px}.no-js .article table{display:inline-block;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.article table th{min-width:100px;font-size:12px;text-align:left}.article table td{border-top:1px solid rgba(0,0,0,.05)}.article .data{margin:20px -16px;padding:20px 0;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center}.article .data table{display:inline-block;margin:0 16px;text-align:left}.footer{position:absolute;bottom:0;left:0;right:0;padding:0 4px}.copyright{margin:20px 0}.pagination{max-width:1184px;height:92px;padding:4px 0;margin-left:auto;margin-right:auto;overflow:hidden}.pagination a{display:block;height:100%}.pagination .next,.pagination .previous{position:relative;float:left;height:100%}.pagination .previous{width:25%}.pagination .previous .direction,.pagination .previous .stretch{display:none}.pagination .next{width:75%;text-align:right}.pagination .page{display:table;position:absolute;bottom:4px}.pagination .direction{color:rgba(255,255,255,.7);display:block;position:absolute;bottom:40px;width:100%;font-size:15px;line-height:20px;padding:0 52px}.pagination .stretch{padding:0 4px}.pagination .stretch .title{font-size:18px;padding:11px 0 13px}.bar{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition:opacity .2s cubic-bezier(.75,0,.25,1),-webkit-transform .4s cubic-bezier(.75,0,.25,1);transition:opacity .2s cubic-bezier(.75,0,.25,1),transform .4s cubic-bezier(.75,0,.25,1)}#toggle-search:checked~.header .bar,.toggle-search .bar{-webkit-transform:translate3d(0,-56px,0);transform:translate3d(0,-56px,0)}.bar.search .button-reset{-webkit-transform:scale(.5,.5);transform:scale(.5,.5);-webkit-transition:opacity .4s cubic-bezier(.1,.7,.1,1),-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .4s cubic-bezier(.1,.7,.1,1),transform .4s cubic-bezier(.1,.7,.1,1);opacity:0}.bar.search.non-empty .button-reset{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}.results{-webkit-transition:opacity .3s .1s,width 0s .4s,height 0s .4s;transition:opacity .3s .1s,width 0s .4s,height 0s .4s}#toggle-search:checked~.main .results,.toggle-search .results{-webkit-transition:opacity .4s,width 0s,height 0s;transition:opacity .4s,width 0s,height 0s}.results .list a{-webkit-transition:background .25s;transition:background .25s;border-bottom:1px solid rgba(0,0,0,.12)}.no-csstransforms3d .bar.default{display:table}.no-csstransforms3d .bar.search{display:none;margin-top:0}.no-csstransforms3d #toggle-search:checked~.header .bar.default,.no-csstransforms3d .toggle-search .bar.default{display:none}.no-csstransforms3d #toggle-search:checked~.header .bar.search,.no-csstransforms3d .toggle-search .bar.search{display:table}.bar.search{opacity:0;margin-top:8px}.bar.search .query{background:0 0;color:rgba(0,0,0,.87);font-size:18px;padding:13px 0;margin:0;width:100%;height:48px}.result,.results .meta strong{max-width:1200px;margin-left:auto;margin-right:auto}.bar.search .query::-webkit-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .query::-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-moz-placeholder{color:rgba(0,0,0,.26)}.bar.search .query:-ms-input-placeholder{color:rgba(0,0,0,.26)}.bar.search .button .icon:active{background:rgba(0,0,0,.12)}.results{box-shadow:0 4px 7px rgba(0,0,0,.23),0 8px 25px rgba(0,0,0,.05);background:#fff;color:rgba(0,0,0,.87);opacity:0;position:fixed;top:0;left:0;width:0;height:100%;z-index:2;overflow-y:scroll;-webkit-overflow-scrolling:touch}#toggle-search:checked~.main .results,.toggle-search .results{opacity:1;width:100%;overflow-y:visible}.result h1,.result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results .meta{background:#009688;color:#fff}.results .list a:last-child{border-bottom:none}.results .list a:active{background:rgba(0,0,0,.12)}#toggle-search:checked~.header,.toggle-search .header{background:#fff;color:rgba(0,0,0,.54)}#toggle-search:checked~.header:before,.toggle-search .header:before{background:rgba(0,0,0,.54)}#toggle-search:checked~.header .bar.default,.toggle-search .header .bar.default{opacity:0}#toggle-search:checked~.header .bar.search,.toggle-search .header .bar.search{opacity:1}.bar.search .query::-ms-clear{display:none}.results .scrollable{top:56px}.results .meta strong{display:block;font-size:11px;padding:16px}.results .list a{display:block}.result{padding:12px 16px 16px}.result h1{line-height:24px}.result span{color:rgba(0,0,0,.54);font-size:12px}.no-csstransforms3d .results{display:none}.no-csstransforms3d #toggle-search:checked~.main .results,.no-csstransforms3d .toggle-search .results{display:block;overflow:auto}.meta{text-transform:uppercase}@media only screen and (min-width:960px){.drawer,.drawer .scrollable{position:static}.backdrop{background:#f2f2f2}.backdrop-paper:after{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05)}.button-menu{display:none}.drawer{float:left;height:auto;margin-bottom:96px;padding-top:80px}.article{margin-left:262px}.footer{z-index:5}.copyright{margin-bottom:64px}.results{height:auto;top:64px}.results .scrollable{position:static;max-height:413px}}@media only screen and (max-width:959px){#toggle-search:checked~.main .results,.drawer,.toggle-search .results{height:100%}#toggle-drawer:checked~.overlay,.toggle-drawer .overlay{width:100%;height:100%}.drawer{-webkit-transform:translate3d(-262px,0,0);transform:translate3d(-262px,0,0);-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;z-index:5}.no-csstransforms3d .drawer{display:none}.drawer,.drawer .wrapper{background:#f2f2f2}.project{box-shadow:0 1.5px 3px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.05);background:#009688;color:#fff}}@media only screen and (min-width:720px){.header{height:64px;padding:8px}.header .stretch{padding:0 16px}.header .stretch .title{font-size:20px;padding:12px 0}.project .name{margin:26px 0 0 5px}.article .wrapper{padding:128px 24px 96px}.article .data{margin:20px -24px}.article .data table{margin:0 24px}.article h2{padding-top:100px;margin-top:-64px}.ios.standalone .article h2{padding-top:28px;margin-top:8px}.article pre{padding:20px 24px;margin:20px -24px 0}.footer{padding:0 8px}.pagination{height:96px;padding:8px 0}.pagination .direction{padding:0 56px;bottom:40px}.pagination .stretch{padding:0 8px}.bar.search .query{font-size:20px;padding:12px 0}.results .scrollable{top:64px}.results .meta strong{padding:16px 24px}.result{padding:16px 24px 20px}}@media only screen and (min-width:1200px){.header{width:100%}.drawer .scrollable .wrapper hr{width:48px}}@media only screen and (orientation:portrait){.ios.standalone .header{height:76px;padding-top:24px}.ios.standalone .header:before,.ios.standalone .project:before{content:" ";z-index:4;width:100%;height:20px;position:absolute;left:0}.ios.standalone .header:before{top:0}.ios.standalone .drawer .scrollable{top:124px}.ios.standalone .project{padding-top:20px}.ios.standalone .project:before{top:0}.ios.standalone .article{position:absolute;top:76px;right:0;bottom:0;left:0}.ios.standalone .results .scrollable{top:76px}}@media only screen and (orientation:portrait) and (min-width:720px){.ios.standalone .header{height:84px;padding-top:28px}.ios.standalone .results .scrollable{top:84px}}@media only screen and (max-width:719px){.bar .path{display:none}}@media only screen and (max-width:479px){.button-github,.button-twitter{display:none}}@media only screen and (min-width:720px) and (max-width:959px){.header .stretch{padding:0 24px}}@media only screen and (min-width:480px){.pagination .next,.pagination .previous{width:50%}.pagination .previous .direction{display:block}.pagination .previous .stretch{display:table}}@media print{.footer,.header,.project{display:none}.article pre,.article pre *{color:rgba(0,0,0,.87)!important}.article table{border-radius:none;box-shadow:none}.article table th{color:#009688}} \ No newline at end of file diff --git a/materializr/assets/stylesheets/application.teal.css b/materializr/assets/stylesheets/application.teal.css deleted file mode 100644 index b6293a26d..000000000 --- a/materializr/assets/stylesheets/application.teal.css +++ /dev/null @@ -1,2584 +0,0 @@ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Resets - * ------------------------------------------------------------------------- */ -/* - * Enfore correct box model - the prefixed versions are necessary for older - * browsers, i.e. Chrome < 10, Firefox < 29, Safari < 6 and Android < 4 - */ -html { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; } - -/* - * All elements shall inherit the document default - */ -*, *:before, *:after { - box-sizing: inherit; - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; } - -/* - * 16px --> 10px, browser default - */ -html { - font-size: 62.5%; - -webkit-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; } - -/* - * Reset spacing and borders for all tags - */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, main, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; } - -/* - * Reset list styles - */ -ul { - list-style: none; } - -/* - * Reset table styles - */ -table { - border-collapse: collapse; - border-spacing: 0; } - -/* - * Reset table cell styles - */ -td { - text-align: left; - font-weight: normal; - vertical-align: middle; } - -/* - * Reset (native) button styles - */ -button { - outline: 0; - padding: 0; - background: transparent; - border: none; - font-size: inherit; } - -/* - * Reset (native) input styles - */ -input { - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - -o-appearance: none; - appearance: none; - outline: none; - border: none; } - -/* - * Reset link styles - */ -a { - text-decoration: none; - color: inherit; } - -/* - * Reset tap outlines on iOS and Android - */ -a, button, label, input { - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - -webkit-tap-highlight-color: transparent; } - -/* - * Reset headlines - */ -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ -/* - * Primary and accent color - */ -/* - * Black opacities - */ -/* - * White opacities - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Code highlighter - * ------------------------------------------------------------------------- */ -/* - * Inline code - */ -code { - color: #009688; } - -/* - * Code block - */ -pre { - background: rgba(0, 0, 0, 0.05); - /* - * Ensure correct color - */ } - pre, pre code { - color: rgba(0, 0, 0, 0.87); } - -/* - * Operators and comments - */ -.o, .c, .c1, .cm { - color: rgba(0, 0, 0, 0.54); } - -/* - * Keywords - */ -.k, .kn { - color: #A71D5D; } - -/* - * Types and functions - */ -.kt, .kd, .n.f { - color: #0086B3; } - -/* - * Strings - */ -.s { - color: #183691; } - -/* - * Constants and numbers - */ -.mi, .bp { - color: #9575CD; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Font faces - * ------------------------------------------------------------------------- */ -/* - * Icon font - */ -@font-face { - font-family: 'Icon'; - src: url("/assets/fonts/icon.eot?52m981"); - src: url("/assets/fonts/icon.eot?#iefix52m981") format("embedded-opentype"), url("/assets/fonts/icon.woff?52m981") format("woff"), url("/assets/fonts/icon.ttf?52m981") format("truetype"), url("/assets/fonts/icon.svg?52m981#icon") format("svg"); - font-weight: normal; - font-style: normal; } - -/* ---------------------------------------------------------------------------- - * Representational classes - * ------------------------------------------------------------------------- */ -/* - * Base icon class - */ -.icon { - font-family: 'Icon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* - * Magnifying glass - */ -.icon-search:before { - content: "\e600"; } - -/* - * Back arrow - */ -.icon-back:before { - content: "\e601"; } - -/* - * Link indicator - */ -.icon-link:before { - content: "\e602"; } - -/* - * Close button - */ -.icon-close:before { - content: "\e603"; } - -/* - * Hamburger icon - */ -.icon-menu:before { - content: "\e604"; } - -/* - * Forward arrow - */ -.icon-forward:before { - content: "\e605"; } - -/* - * Twitter icon - */ -.icon-twitter:before { - content: "\e606"; } - -/* - * GitHub icon - */ -.icon-github:before { - content: "\e607"; } - -/* - * Download icon - */ -.icon-download:before { - content: "\e608"; } - -/* - * Star icon - */ -.icon-star:before { - content: "\e609"; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Defaults - * ------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------- - * Helper functions - * ------------------------------------------------------------------------- */ -/* - * Choose minimum and maximum device widths. - */ -/* - * Select minimum and maximum widths for a device breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for numeric breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query breakpoint. - */ -/* - * An orientation media query breakpoint. - */ -/* - * A maximum-aspect-ratio media query breakpoint. - */ -/* ---------------------------------------------------------------------------- - * Mixins for device breakpoints - * ------------------------------------------------------------------------- */ -/* - * A minimum-maximum media query device breakpoint. - */ -/* - * A minimum media query device breakpoint. - */ -/* - * A maximum media query device breakpoint. - */ -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base animation - * ------------------------------------------------------------------------- */ -/* - * Animate color on hover - */ -a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Overlay - */ -.overlay { - -webkit-transition: opacity .25s, width .0s .25s, height .0s .25s; - transition: opacity .25s, width .0s .25s, height .0s .25s; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - -webkit-transition: opacity .25s, width .0s, height .0s; - transition: opacity .25s, width .0s, height .0s; } - -/* - * Application header - check for javascript to omit flashing - */ -.js .header { - -webkit-transition: background .6s, color .6s; - transition: background .6s, color .6s; - /* - * Status bar - */ } - .js .header:before { - -webkit-transition: background .6s; - transition: background .6s; } - -/* - * Extended visible touch area on icon - */ -.button .icon { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base appearance - * ------------------------------------------------------------------------- */ -/* - * Device specific background hacks related to rubberband - */ -body { - color: rgba(0, 0, 0, 0.87); - /* Hack [Chrome, Opera]: Set background color in Chrome and Opera */ - /* - * Don't tint menu bar on iOS - */ } - @supports (-webkit-appearance: none) { - body { - background: #009688; } } - .ios body { - background: white; } - -/* - * Horizontal separators - */ -hr { - border: 0; - border-top: 1px solid rgba(0, 0, 0, 0.12); } - -/* - * Toggle button - */ -.toggle-button { - cursor: pointer; - color: inherit; } - -/* - * Backdrop - */ -.backdrop { - background: white; - /* [tablet landscape+]: Introduce paper with shadow */ } - -/* - * Backdrop paper with shadow - */ -.backdrop-paper:after { - background: white; - /* [tablet landscape+]: Add drop shadow */ } - -/* - * Overlay - */ -.overlay { - background: rgba(0, 0, 0, 0.54); - opacity: 0; - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - opacity: 1; } - -/* - * Application header - */ -.header { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #009688; - color: white; - /* - * Add status bar overlay for iOS web application - */ } - .ios.standalone .header:before { - background: rgba(0, 0, 0, 0.12); } - -/* - * Navigation path within header bar - */ -.bar .path { - color: rgba(255, 255, 255, 0.7); } - -/* - * Draw round area around icon on touch - */ -.button .icon { - border-radius: 100%; } - -/* - * Pushed/clicked icon - */ -.button .icon:active { - background: rgba(255, 255, 255, 0.12); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base layout - * ------------------------------------------------------------------------- */ -/* - * Stretch container to viewport - */ -html { - height: 100%; } - -/* - * Stretch body to container and leave room for sticky footer. - */ -body { - position: relative; - min-height: 100%; } - -/* - * Horizontal separators - */ -hr { - display: block; - height: 1px; - padding: 0; - margin: 0; } - -/* - * Lock body (e.g. in search mode) - */ -.locked { - height: 100%; - overflow: hidden; } - -/* - * Scrollable container - */ -.scrollable { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* - * Content wrapper - */ } - .scrollable .wrapper { - height: 100%; - /* Hack [iOS]: Force overflow scrolling */ } - .ios .scrollable .wrapper { - margin-bottom: 2px; } - -/* - * Toggle states and button - */ -.toggle { - display: none; - /* - * Toggle button - */ } - .toggle-button { - display: block; } - -/* - * Backdrop - */ -.backdrop { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: -1; } - -/* - * Backdrop paper container - */ -.backdrop-paper { - max-width: 1200px; - height: 100%; - margin-left: auto; - margin-right: auto; - /* - * Actual paper - */ } - .backdrop-paper:after { - content: " "; - display: block; - height: 100%; - margin-left: 262px; } - -/* - * Overlay - */ -.overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - z-index: 4; - /* [tablet landscape-]: Trigger overlay */ } - -/* - * Application header stays always on top - */ -.header { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - position: fixed; - top: 0; - left: 0; - z-index: 3; - height: 56px; - padding: 4px; - overflow: hidden; - /* [tablet portait+]: Larger header bar */ - /* [screen+]: Stretch to screen */ - /* - * Absolute positioning in iOS web application - */ } - .ios.standalone .header { - position: absolute; - /* [orientation: portrait]: Account for status bar in portrait mode */ } - -/* - * Header bar - */ -.bar { - display: table; - max-width: 1184px; - margin-left: auto; - margin-right: auto; - /* - * Links should span icons entirely - */ - /* - * Hide search button, in case javascript is not available. - */ - /* - * Navigation path - */ } - .bar a { - display: block; } - .no-js .bar .button-search { - display: none; } - .bar .path { - /* - * Correct icon alignment - */ - /* [tablet portait-]: Hide path */ } - .bar .path .icon:before { - vertical-align: -1.5px; } - -/* - * Buttons - */ -.button { - display: table-cell; - vertical-align: top; - width: 1%; - /* - * Remove native spacing on button - */ - /* - * Button icons - */ } - .button button { - margin: 0; - padding: 0; - /* Hack [IE]: Remove button offset in active state */ } - .button button:active:before { - position: relative; - top: 0; - left: 0; } - .button .icon { - display: inline-block; - font-size: 24px; - padding: 8px; - margin: 4px; } - -/* - * Hide source and twitter button - */ -.button-github, -.button-twitter { - /* [mobile landscape-]: Hide button */ } - -/* - * Hide menu button - */ -.button-menu { - /* [tablet landscape+]: Hide button */ } - -/* - * Stretch content to remaining space - */ -.stretch { - display: table; - table-layout: fixed; - width: 100%; - /* - * Set vertical spacing for header - */ - /* - * Title with ellipsis on overflow - */ } - .header .stretch { - padding: 0 20px; - /* [tablet portait]: Increase vertical spacing */ - /* [tablet portait+]: Account for missing menu icon */ } - .stretch .title { - display: table-cell; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - /* - * Increase header font size - */ } - .header .stretch .title { - font-size: 18px; - padding: 13px 0; - /* [tablet portait+]: Slightly larger typography in header */ } - -/* - * Main content - */ -.main { - max-width: 1200px; - margin-left: auto; - margin-right: auto; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Base typography - * ------------------------------------------------------------------------- */ -/* - * Default font styles - */ -body, input { - font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 400; - /* Enable font-smoothing in Webkit and FF */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface body, .no-fontface input { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -/* - * Proportional fonts - */ -pre, code { - font-family: 'Ubuntu Mono', 'Courier New', 'Courier', monospace; - /* - * Use system fonts, if browser doesn't support webfonts - */ } - .no-fontface pre, .no-fontface code { - font-family: 'Courier New', 'Courier', monospace; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer animation - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Hide menu */ - /* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .main .drawer, - .toggle-drawer .drawer { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - /* - * Just show drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, .no-csstransforms3d - .toggle-drawer .drawer { - display: block; } - -/* - * No color transition for project link - */ -.project { - -webkit-transition: none; - transition: none; } - -/* - * Project logo image - */ -.project .logo img { - -webkit-transition: box-shadow .4s; - transition: box-shadow .4s; } - -/* - * Repository buttons - */ -.repo a { - -webkit-transition: box-shadow .4s, opacity .4s; - transition: box-shadow .4s, opacity .4s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer appearance - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* [tablet landscape-]: Light gray background */ - /* - * Color links - */ - /* - * Main sections - */ - /* - * Content wrapper - */ } - .drawer .toc a { - /* - * Current active element - */ - /* - * Hovered link - */ } - .drawer .toc a.current { - color: #009688; } - .drawer .toc a:hover, .drawer .toc a:focus { - color: #f50057; } - .drawer .section { - color: rgba(0, 0, 0, 0.54); } - .drawer .wrapper { - /* [tablet landscape-]: Light gray background */ } - -/* - * Project information - */ -.project { - /* [tablet landscape-]: Add drop shadow */ - /* - * Add status bar overlay for iOS web application - */ - /* - * Project logo - */ - /* - * Scale logo on hover - */ } - .ios.standalone .project:before { - background: rgba(0, 0, 0, 0.12); } - .project .logo img { - background: white; - border-radius: 100%; } - .project:hover .logo img, - .project:focus .logo img { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); } - -/* - * Repository buttons - */ -.repo a { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #f50057; - color: white; - border-radius: 3px; - /* - * Hovered button - */ - /* - * Stars - */ } - .repo a:hover, .repo a:focus { - box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3), 0 10px 50px rgba(0, 0, 0, 0.12); - opacity: 0.8; } - .repo a .count { - background: rgba(0, 0, 0, 0.26); - color: white; - border-radius: 0px 3px 3px 0px; - /* - * Star bubble - */ } - .repo a .count:before { - border-width: 15px 5px 15px 0; - border-color: transparent rgba(0, 0, 0, 0.26); - border-style: solid; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer layout - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - width: 262px; - font-size: 13px; - line-height: 1.0em; - /* [tablet landscape-]: Fixed positioning */ - /* [tablet landscape+]: Inline with content */ - /* Hack [iOS]: Mitigate scrolling of parent container on boundaries */ - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ - /* - * Scrollable container - */ } - .ios .drawer { - overflow: scroll; - -webkit-overflow-scrolling: touch; } - .drawer .toc li a { - display: block; - padding: 14.5px 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } - .drawer .toc li.anchor a { - padding: 10px 24px 10px 48px; } - .drawer .section { - display: block; - font-size: 11px; - padding: 14.5px 24px; } - .drawer .scrollable { - top: 104px; - z-index: -1; - /* [tablet landscape+]: Revert fixed positioning */ - /* - * Leave room for status bar in iOS web application - */ - /* - * Content wrapper - */ } - .ios.standalone .drawer .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .drawer .scrollable .wrapper { - height: auto; - min-height: 100%; - /* - * Add spacing at top and bottom of separator - */ - /* - * Add spacing at top and bottom of top level navigation - */ } - .drawer .scrollable .wrapper hr { - margin: 12px 0; - /* [screen+]: Shorten separator */ - /* Hack [IE]: Left-align horizontal rule */ - margin-right: auto; } - .drawer .scrollable .wrapper .toc { - margin: 12px 0; } - -/* - * Project information - */ -.project { - display: block; - /* - * Leave room for status bar in iOS web application - */ - /* - * Project banner - */ - /* - * Project logo - */ - /* - * Project name - */ - /* - * Shrink font, if a logo is given. - */ } - .ios.standalone .project { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - .project .banner { - display: table; - width: 100%; - height: 104px; - padding: 20px; } - .project .logo { - display: table-cell; - width: 64px; - padding-right: 12px; - /* - * Project logo image - */ } - .project .logo img { - display: block; - width: 64px; - height: 64px; } - .project .name { - display: table-cell; - padding-left: 4px; - font-size: 14px; - line-height: 1.25em; - vertical-align: middle; - /* [tablet portait+]: Slightly larger project name */ } - .project .logo + .name { - font-size: 12px; } - -/* - * Repository - */ -.repo { - margin: 24px 0; - text-align: center; - /* - * Inline buttons - */ - /* - * Buttons - */ } - .repo li { - display: inline-block; - padding-right: 12px; - white-space: nowrap; - /* - * No padding on last button - */ } - .repo li:last-child { - padding-right: 0; } - .repo a { - display: inline-block; - padding: 0px 10px 0px 6px; - font-size: 12px; - line-height: 30px; - height: 30px; - /* - * Slightly larger icons - */ - /* - * Stars - */ } - .repo a .icon { - font-size: 18px; - vertical-align: -3px; } - .repo a .count { - display: inline-block; - position: relative; - padding: 0px 8px 0 4px; - margin: 0 -10px 0 8px; - font-size: 12px; - /* - * Star bubble - */ - /* - * Hide count, in case javascript is not available. - */ } - .repo a .count:before { - content: " "; - display: block; - position: absolute; - top: 0px; - left: -5px; } - .no-js .repo a .count { - display: none; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Drawer typography - * ------------------------------------------------------------------------- */ -/* - * Drawer container - */ -.drawer { - /* - * Links to articles - */ - /* - * Links to chapters inside the current article - */ - /* - * Main sections - */ } - .drawer .toc li a { - font-weight: 700; } - .drawer .toc li.anchor a { - font-weight: 400; } - .drawer .section { - text-transform: uppercase; - font-weight: 700; } - -/* - * Repository buttons - */ -.repo a { - text-transform: uppercase; - font-weight: 700; - /* - * Stars - */ } - .repo a .count { - text-transform: none; - font-weight: 700; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article animation - * ------------------------------------------------------------------------- */ -/* - * Fade color after highlighting - */ -pre span { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * Copyright and theme information - */ -.copyright { - /* - * Animate color on hover - */ } - .copyright a { - -webkit-transition: color .25s; - transition: color .25s; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article appearance - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Differing top and bottom rubberband backgrounds in iOS web application - */ - /* - * Headlines and chapters in primary color - */ - /* - * Lower border for main headline - */ - /* - * Color links - */ - /* - * Data tables - */ } - .ios.standalone .article { - background: -webkit-linear-gradient(top, white 50%, #009688 50%); - background: linear-gradient(to bottom, white 50%, #009688 50%); - /* Hack [iOS]: Mitigate black bounding box with linear gradient */ } - .ios.standalone .article .wrapper { - background: -webkit-linear-gradient(top, white 50%, white 50%); - background: linear-gradient(to bottom, white 50%, white 50%); } - .article h1, .article h2 { - color: #009688; } - .article h1 { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); } - .article a { - color: #009688; - /* - * Hovered link - */ } - .article a:hover, .article a:focus { - color: #f50057; } - .article table { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - border-radius: 3px; - /* - * Table heading - */ - /* - * Table cell - */ } - .article table th { - background: #40b0a6; - color: white; - /* - * Round upper left border - */ - /* - * Round upper right border - */ } - .article table th:first-child { - border-top-left-radius: 3px; } - .article table th:last-child { - border-top-right-radius: 3px; } - .article table td { - border-top: 1px solid rgba(0, 0, 0, 0.05); } - -/* - * Article footer - */ -.footer { - background: #009688; - color: white; } - -/* - * Copyright and theme information - */ -.copyright { - color: rgba(0, 0, 0, 0.54); } - -/* - * Pagination - */ -.pagination { - /* - * Inherit color for links - */ - /* - * Smaller font size for direction - */ } - .pagination a, - .pagination a:hover, - .pagination a:focus { - color: inherit; } - .pagination .direction { - color: rgba(255, 255, 255, 0.7); } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article layout - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - font-size: 14px; - line-height: 1.7em; - /* [tablet landscape+]: Indent to account for drawer */ - /* - * Clearfix - */ - /* - * Article wrapper - */ - /* - * Enable overflow scrolling in iOS web application - */ - /* - * Article headline - */ - /* - * Article chapters - */ - /* - * Sub headlines - */ - /* - * Paragraphs and section titles - */ - /* - * List elements - */ - /* - * Add icon for elements of an unordered list - */ - /* - * Inline code snippets must not wrap - */ - /* - * Add spacing at top of separator - */ - /* - * Limit images to article container - */ - /* - * Code listing container - */ - /* - * Data tables - */ - /* - * Data table wrapper, in case javascript is available - */ - /* [tablet portait+]: Increase spacing */ } - .article:after { - content: " "; - display: block; - clear: both; } - .article .wrapper { - padding: 116px 16px 92px; - /* [tablet portait+]: Increase top spacing */ } - .ios.standalone .article { - position: absolute; - top: 56px; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - /* [orientation: portrait]: Account for status bar in portrait mode */ - /* - * Article wrapper - */ } - .ios.standalone .article .wrapper { - position: relative; - min-height: 100%; - padding-top: 60px; - margin-bottom: 2px; } - .article h1 { - font-size: 24px; - line-height: 1.333334em; - padding: 20px 0 42px; } - .article h2 { - font-size: 20px; - line-height: 1.4em; - padding-top: 92px; - margin-top: -56px; - /* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 36px; - margin: 0; } - .article h3, .article h4 { - font-size: 1.0em; } - .article p, .article h3, .article h4, .article ul, .article ol { - margin-top: 1.5em; } - .article li { - margin-top: 0.75em; - margin-left: 18px; - /* - * Inline paragraphs in list elements - */ } - .article li p { - display: inline; } - .article ul li:before { - content: "\e602"; - display: inline-block; - font-family: 'Icon'; - font-size: 16px; - width: 1.2em; - margin-left: -1.2em; - vertical-align: -0.1em; } - .article p > code { - white-space: nowrap; } - .article hr { - margin-top: 1.5em; } - .article img { - max-width: 100%; } - .article pre { - padding: 16px; - margin: 1.5em -16px 0; - line-height: 1.5em; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table { - margin: 3.0em 0 1.5em; - font-size: 13px; - /* - * The semi-cool solution, in case javascript is not available - */ - /* - * Table heading - */ - /* - * Table cell - */ } - .no-js .article table { - display: inline-block; - max-width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - .article table th { - min-width: 100px; - padding: 12px 16px; - font-size: 12px; - text-align: left; - white-space: nowrap; } - .article table td { - padding: 12px 16px; - white-space: nowrap; } - .article .data { - margin: 1.5em -16px; - padding: 1.5em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - text-align: center; - /* - * Data table - */ - /* [tablet portait+]: Increase spacing */ } - .article .data table { - display: inline-block; - margin: 0 16px; - text-align: left; } - -/* - * Article footer - */ -.footer { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 0 4px; - /* [tablet portait+]: Larger spacing */ - /* [tablet landscape+]: Stretch footer to viewport */ } - -/* - * Copyright and theme information - */ -.copyright { - margin: 20px 0; - /* [tablet landscape+]: Add bottom spacing */ } - -/* - * Pagination - */ -.pagination { - max-width: 1184px; - height: 92px; - padding: 4px 0; - margin-left: auto; - margin-right: auto; - overflow: hidden; - /* [tablet portait+]: Larger pagination and spacing */ - /* - * Links should span icons entirely - */ - /* - * Previous and next page - */ - /* - * Previous page - */ - /* - * Next page - */ - /* - * Link to page - */ - /* - * Put direction over page title - */ - /* - * Decrease indent for stretching content - */ - /* [mobile landscape+]: Proportional width for pagination */ - /* [tablet portrait+]: Increase vertical spacing */ } - .pagination a { - display: block; - height: 100%; } - .pagination .previous, - .pagination .next { - position: relative; - float: left; - height: 100%; } - .pagination .previous { - width: 25%; - /* - * Hide direction - */ - /* - * Hide title - */ } - .pagination .previous .direction { - display: none; } - .pagination .previous .stretch { - display: none; } - .pagination .next { - width: 75%; - text-align: right; } - .pagination .page { - display: table; - position: absolute; - bottom: 4px; } - .pagination .direction { - display: block; - position: absolute; - bottom: 40px; - width: 100%; - font-size: 15px; - line-height: 20px; - padding: 0 52px; } - .pagination .stretch { - padding: 0 4px; - /* - * Correct vertical spacing - */ } - .pagination .stretch .title { - font-size: 18px; - padding: 11px 0 13px; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Article typography - * ------------------------------------------------------------------------- */ -/* - * Article - */ -.article { - /* - * Third-level headlines should be bold - */ - /* - * Fourth-level headlines should be italic - */ } - .article h3 { - font-weight: 700; } - .article h4 { - font-weight: 400; - font-style: italic; } - -/* - * 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. - */ -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search animation - * ------------------------------------------------------------------------- */ -/* - * Animate header bar in offset and opacity - */ -.bar { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); - /* - * Active search mode - */ - /* - * Search animations - */ } - #toggle-search:checked ~ .header .bar, - .toggle-search .bar { - -webkit-transform: translate3d(0, -56px, 0); - transform: translate3d(0, -56px, 0); } - .bar.search { - /* - * Hide reset button by default - */ - /* - * Show reset button if search is not empty - */ } - .bar.search .button-reset { - -webkit-transform: scale(0.5, 0.5); - transform: scale(0.5, 0.5); - -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); - opacity: 0; } - .bar.search.non-empty .button-reset { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - opacity: 1; } - -/* - * Search results - */ -.results { - -webkit-transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - transition: opacity .3s .1s, width .0s .4s, height .0s .4s; - /* - * Active search mode - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - -webkit-transition: opacity .4s, width .0s, height .0s; - transition: opacity .4s, width .0s, height .0s; } - .results .list a { - -webkit-transition: background .25s; - transition: background .25s; } - -/* - * Just hide and show bars, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Show default bar - */ - /* - * Hide search bar - */ - /* - * Active search mode - */ } - .no-csstransforms3d .bar.default { - display: table; } - .no-csstransforms3d .bar.search { - display: none; - margin-top: 0; } - .no-csstransforms3d #toggle-search:checked ~ .header, - .no-csstransforms3d .toggle-search { - /* - * Hide default bar - */ - /* - * Show search bar - */ } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, - .no-csstransforms3d .toggle-search .bar.default { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, - .no-csstransforms3d .toggle-search .bar.search { - display: table; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search appearance - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - opacity: 0; - /* - * Search input - */ - /* - * Pushed/clicked icon - */ } - .bar.search .query { - background: transparent; - color: rgba(0, 0, 0, 0.87); - /* - * Search input placeholder - */ } - .bar.search .query::-webkit-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query::-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-moz-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .query:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.26); } - .bar.search .button .icon:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Search results - */ -.results { - box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); - background: white; - color: rgba(0, 0, 0, 0.87); - opacity: 0; - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - opacity: 1; } - .results .meta { - background: #009688; - color: white; } - .results .list a { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - /* - * Remove border on last element - */ - /* - * Active item link - */ } - .results .list a:last-child { - border-bottom: none; } - .results .list a:active { - background: rgba(0, 0, 0, 0.12); } - -/* - * Article link - */ -.result span { - color: rgba(0, 0, 0, 0.54); } - -/* - * Active search bar - */ -#toggle-search:checked ~ .header, -.toggle-search .header { - background: white; - color: rgba(0, 0, 0, 0.54); - /* - * Add darker status bar overlay in search mode - */ - /* - * Fade out default header bar - */ - /* - * Fade in search header bar - */ } - #toggle-search:checked ~ .header:before, - .toggle-search .header:before { - background: rgba(0, 0, 0, 0.54); } - #toggle-search:checked ~ .header .bar.default, - .toggle-search .header .bar.default { - opacity: 0; } - #toggle-search:checked ~ .header .bar.search, - .toggle-search .header .bar.search { - opacity: 1; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Search layout - * ------------------------------------------------------------------------- */ -/* - * Search bar - */ -.bar.search { - margin-top: 8px; - /* - * Search input - */ } - .bar.search .query { - font-size: 18px; - padding: 13px 0; - margin: 0; - width: 100%; - height: 48px; - /* [tablet portait+]: Slightly larger typo */ - /* Hack [IE]: Hide redundant clear button */ } - .bar.search .query::-ms-clear { - display: none; } - -/* - * Search results - */ -.results { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 100%; - z-index: 2; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - /* [tablet landscape+]: Limit results to five entries */ - /* - * Scrollable container - */ - /* - * Active search mode - */ - /* - * Search meta data - */ - /* - * Search result item link - */ } - .results .scrollable { - top: 56px; - /* [tablet portait+]: Increase vertical spacing */ - /* [tablet landscape+]: Limit results to five entries */ - /* - * Leave room for status bar in iOS web application - */ } - .ios.standalone .results .scrollable { - /* [orientation: portrait]: Account for status bar in portrait mode */ } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - width: 100%; - /* Hack [Firefox]: div doesn't collapse, unless this is applied */ - overflow-y: visible; - /* [tablet portait+]: Stretch to viewport */ } - .results .meta { - font-weight: 700; - /* - * Number of results - */ } - .results .meta strong { - display: block; - font-size: 11px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 16px; - /* [tablet portait+]: Increase vertical spacing */ } - .results .list a { - display: block; } - -/* - * Search result item - */ -.result { - max-width: 1200px; - margin-left: auto; - margin-right: auto; - padding: 12px 16px 16px; - /* [tablet portait+]: Increase vertical spacing */ - /* - * Article title - */ - /* - * Article link - */ } - .result h1 { - line-height: 24px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - .result span { - font-size: 12px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; } - -/* - * Switch visibility, if browser doesn't support 3D transforms - */ -.no-csstransforms3d { - /* - * Hide search results - */ - /* - * Active search mode - */ } - .no-csstransforms3d .results { - display: none; } - .no-csstransforms3d #toggle-search:checked ~ .main, - .no-csstransforms3d .toggle-search { - /* - * Show search results - */ } - .no-csstransforms3d #toggle-search:checked ~ .main .results, - .no-csstransforms3d .toggle-search .results { - display: block; - overflow: auto; } - -/* - * 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. - */ -/* - * Search meta data - */ -.meta { - text-transform: uppercase; - font-weight: 700; } - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Print overrides - * ------------------------------------------------------------------------- */ -/* - * Print styles - */ - -/* - * 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. - */ -/* ---------------------------------------------------------------------------- - * Nothing to see here, move along - * ------------------------------------------------------------------------- */ -.admonition { - background: red; } -@media only screen and (min-width: 960px) { - .backdrop { - background: #f2f2f2; } - .backdrop-paper:after { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); } - .button-menu { - display: none; } - .drawer { - position: static; - float: left; - height: auto; - margin-bottom: 96px; - padding-top: 80px; } - .drawer .scrollable { - position: static; } - .article { - margin-left: 262px; } - .footer { - z-index: 5; } - .copyright { - margin-bottom: 64px; } - .results { - height: auto; - top: 64px; } - .results .scrollable { - position: static; - max-height: 413px; } } -@media only screen and (max-width: 959px) { - .overlay {/* - * Expanded drawer - */ } - #toggle-drawer:checked ~ .overlay, - .toggle-drawer .overlay { - width: 100%; - height: 100%; } - .drawer { - -webkit-transform: translate3d(-262px, 0, 0); - transform: translate3d(-262px, 0, 0); - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);/* - * Just hide drawer, if browser doesn't support 3D transforms - */ } - .no-csstransforms3d .drawer { - display: none; } - .drawer { - background: #f2f2f2; } - .drawer .wrapper { - background: #f2f2f2; } - .project { - box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); - background: #009688; - color: white; } - .drawer { - position: fixed; - z-index: 5; - height: 100%; } - #toggle-search:checked ~ .main .results, - .toggle-search .results { - height: 100%; } } -@media only screen and (min-width: 720px) { - .header { - height: 64px; - padding: 8px; } - .header .stretch { - padding: 0 16px 0 16px; } - .header .stretch .title { - font-size: 20px; - padding: 12px 0; } - .project .name { - margin: 26px 0 0 5px; } - .article .wrapper { - padding: 128px 24px 96px; } - .article .data { - margin: 1.5em -24px;/* - * Data table - */ } - .article .data table { - margin: 0 24px; } - .article {/* - * Account for larged header bar and anchors - *//* - * Increase spacing for code blocks - */ } - .article h2 { - padding-top: 100px; - margin-top: -64px;/* - * No offset correction in iOS web application - */ } - .ios.standalone .article h2 { - padding-top: 28px; - margin-top: 8px; } - .article pre { - padding: 1.5em 24px; - margin: 1.5em -24px 0; } - .footer { - padding: 0 8px; } - .pagination { - height: 96px; - padding: 8px 0; } - .pagination {/* - * Increase vertical spacing - *//* - * Increase vertical spacing - */ } - .pagination .direction { - padding: 0 56px; - bottom: 40px; } - .pagination .stretch { - padding: 0 8px; } - .bar.search .query { - font-size: 20px; - padding: 12px 0; } - .results .scrollable { - top: 64px; } - .results .meta strong { - padding: 16px 24px; } - .result { - padding: 16px 24px 20px; } } -@media only screen and (min-width: 1200px) { - .header { - width: 100%; } - .drawer .scrollable .wrapper hr { - width: 48px; } } -@media only screen and (orientation: portrait) { - .ios.standalone .header { - height: 76px; - padding-top: 24px;/* [tablet portait+]: Larger header bar *//* - * Add status bar overlay - */ } - .ios.standalone .header:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .drawer .scrollable { - top: 124px; } - .ios.standalone .project { - padding-top: 20px;/* - * Add status bar overlay - */ } - .ios.standalone .project:before { - content: " "; - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 20px; } - .ios.standalone .article { - position: absolute; - top: 76px; - right: 0; - bottom: 0; - left: 0; } - .ios.standalone .results .scrollable { - top: 76px;/* [tablet portait+]: Increase vertical spacing */ } } -@media only screen and (orientation: portrait) and (min-width: 720px) { - .ios.standalone .header { - height: 84px; - padding-top: 28px; } - .ios.standalone .results .scrollable { - top: 84px; } } -@media only screen and (max-width: 719px) { - .bar .path { - display: none; } } -@media only screen and (max-width: 479px) { - .button-github, - .button-twitter { - display: none; } } -@media only screen and (min-width: 720px) and (max-width: 959px) { - .header .stretch { - padding: 0 24px; } } -@media only screen and (min-width: 480px) { - .pagination {/* - * Previous and next page - *//* - * Previous page - */ } - .pagination .previous, - .pagination .next { - width: 50%; } - .pagination .previous { - width: 50%;/* - * Show direction - *//* - * Show title - */ } - .pagination .previous .direction { - display: block; } - .pagination .previous .stretch { - display: table; } } -@media print {/* - * Hide non-relevant elements - */ - .header, .project, .footer { - display: none; }/* - * Article - */ - .article {/* - * Remove color in all code blocks - *//* - * Border-radius makes this table entirely black on paper, so scrap it - */ } - .article pre, .article pre * { - color: rgba(0, 0, 0, 0.87) !important; } - .article table { - border-radius: none; - box-shadow: none;/* - * Color header - */ } - .article table th { - color: #009688; } } diff --git a/materializr/manifest.json b/materializr/manifest.json deleted file mode 100644 index 1a509e50d..000000000 --- a/materializr/manifest.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "assets/javascripts/application.js": "assets/javascripts/application-3bd5fcbd.js", - "assets/javascripts/modernizr.js": "assets/javascripts/modernizr-e95367ea.js", - "assets/stylesheets/application.blue.css": "assets/stylesheets/application.blue-5e22f1b7.css", - "assets/stylesheets/application.css": "assets/stylesheets/application-dd5b6433.css", - "assets/stylesheets/application.green.css": "assets/stylesheets/application.green-ed0b1b20.css", - "assets/stylesheets/application.grey.css": "assets/stylesheets/application.grey-35d3a667.css", - "assets/stylesheets/application.pink.css": "assets/stylesheets/application.pink-c98c1339.css", - "assets/stylesheets/application.purple.css": "assets/stylesheets/application.purple-d52c9e49.css", - "assets/stylesheets/application.red.css": "assets/stylesheets/application.red-9049f37d.css", - "assets/stylesheets/application.teal.css": "assets/stylesheets/application.teal-51e9fed7.css" -} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 1feed299b..5d93fa4fb 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,25 +19,24 @@ # IN THE SOFTWARE. # Project information -site_name: materializr +site_name: mkdocs-material site_description: A material design theme for MkDocs site_author: Martin Donath -site_url: https://squidfunk.com/materializr +site_url: https://github.com/squidfunk/mkdocs-material # Repository repo_name: GitHub -repo_url: https://github.com/squidfunk/materializr +repo_url: https://github.com/squidfunk/mkdocs-material # Copyright copyright: Copyright (c) 2016 Martin Donath # Documentation and theme -docs_dir: docs -theme_dir: materializr +theme_dir: material +theme: amelia # Extra variables extra: - color: version: 0.1.0 logo: author: @@ -48,7 +47,10 @@ extra: markdown_extensions: - fenced_code - codehilite(css_class=code) + - admonition + - toc: + permalink: ΒΆ # Page tree pages: - - About: index.md \ No newline at end of file +- Home: index.md \ No newline at end of file diff --git a/package.json b/package.json index 2ddeb4b1a..6752449f1 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "materializr", + "name": "mkdocs-material", "version": "0.1.0", "description": "A material design theme for MkDocs", - "homepage": "https://github.com/squidfunk/materializr", + "homepage": "https://github.com/squidfunk/mkdocs-material", "authors": [ "squidfunk " ], @@ -13,7 +13,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/squidfunk/materializr.git" + "url": "https://github.com/squidfunk/mkdocs-material.git" }, "private": true, "devDependencies": { diff --git a/setup.py b/setup.py index 942e398e9..1c5a36ce4 100644 --- a/setup.py +++ b/setup.py @@ -22,9 +22,9 @@ from setuptools import setup, find_packages # Package description setup( - name = 'mkdocs-materializr', + name = 'mkdocs-material', version = '0.1.0', - url = 'https://github.com/squidfunk/materializr', + url = 'https://github.com/squidfunk/mkdocs-material', license = 'MIT', description = 'A material design theme for MkDocs', author = 'Martin Donath', @@ -33,7 +33,7 @@ setup( include_package_data = True, entry_points = { 'mkdocs.themes': [ - 'materializr = materializr', + 'material = material', ] }, zip_safe = False diff --git a/src/assets/stylesheets/application.blue.scss b/src/assets/stylesheets/application.blue.scss deleted file mode 100644 index 62147a87c..000000000 --- a/src/assets/stylesheets/application.blue.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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. - */ - -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ - -@import "bourbon"; -@import "quantum-colors"; -@import "quantum-shadows"; - -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ - -$primary: $light-blue-500; -$accent: $red-a400; - -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ - -@import "reset"; -@import "palette"; -@import "highlight"; - -@import "fonts/icon"; - -@import "mixins/break"; - -@import "modules/base"; -@import "modules/drawer"; -@import "modules/article"; -@import "modules/search"; - -@import "print"; -@import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/application.green.scss b/src/assets/stylesheets/application.green.scss deleted file mode 100644 index 95f541730..000000000 --- a/src/assets/stylesheets/application.green.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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. - */ - -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ - -@import "bourbon"; -@import "quantum-colors"; -@import "quantum-shadows"; - -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ - -$primary: $light-green-700; -$accent: $cyan-a700; - -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ - -@import "reset"; -@import "palette"; -@import "highlight"; - -@import "fonts/icon"; - -@import "mixins/break"; - -@import "modules/base"; -@import "modules/drawer"; -@import "modules/article"; -@import "modules/search"; - -@import "print"; -@import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/application.grey.scss b/src/assets/stylesheets/application.grey.scss deleted file mode 100644 index f951e781e..000000000 --- a/src/assets/stylesheets/application.grey.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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. - */ - -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ - -@import "bourbon"; -@import "quantum-colors"; -@import "quantum-shadows"; - -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ - -$primary: $blue-grey-700; -$accent: $red-a400; - -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ - -@import "reset"; -@import "palette"; -@import "highlight"; - -@import "fonts/icon"; - -@import "mixins/break"; - -@import "modules/base"; -@import "modules/drawer"; -@import "modules/article"; -@import "modules/search"; - -@import "print"; -@import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/application.pink.scss b/src/assets/stylesheets/application.pink.scss deleted file mode 100644 index 47686c5da..000000000 --- a/src/assets/stylesheets/application.pink.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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. - */ - -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ - -@import "bourbon"; -@import "quantum-colors"; -@import "quantum-shadows"; - -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ - -$primary: $pink-500; -$accent: $indigo-a400; - -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ - -@import "reset"; -@import "palette"; -@import "highlight"; - -@import "fonts/icon"; - -@import "mixins/break"; - -@import "modules/base"; -@import "modules/drawer"; -@import "modules/article"; -@import "modules/search"; - -@import "print"; -@import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/application.purple.scss b/src/assets/stylesheets/application.purple.scss deleted file mode 100644 index dc19c8adb..000000000 --- a/src/assets/stylesheets/application.purple.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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. - */ - -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ - -@import "bourbon"; -@import "quantum-colors"; -@import "quantum-shadows"; - -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ - -$primary: $deep-purple-500; -$accent: $light-green-a700; - -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ - -@import "reset"; -@import "palette"; -@import "highlight"; - -@import "fonts/icon"; - -@import "mixins/break"; - -@import "modules/base"; -@import "modules/drawer"; -@import "modules/article"; -@import "modules/search"; - -@import "print"; -@import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/application.red.scss b/src/assets/stylesheets/application.red.scss deleted file mode 100644 index a11cf5f6b..000000000 --- a/src/assets/stylesheets/application.red.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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. - */ - -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ - -@import "bourbon"; -@import "quantum-colors"; -@import "quantum-shadows"; - -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ - -$primary: $red-500; -$accent: $light-blue-a400; - -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ - -@import "reset"; -@import "palette"; -@import "highlight"; - -@import "fonts/icon"; - -@import "mixins/break"; - -@import "modules/base"; -@import "modules/drawer"; -@import "modules/article"; -@import "modules/search"; - -@import "print"; -@import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/application.teal.scss b/src/assets/stylesheets/application.teal.scss deleted file mode 100644 index 8f472f84d..000000000 --- a/src/assets/stylesheets/application.teal.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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. - */ - -/* ---------------------------------------------------------------------------- - * Dependencies - * ------------------------------------------------------------------------- */ - -@import "bourbon"; -@import "quantum-colors"; -@import "quantum-shadows"; - -/* ---------------------------------------------------------------------------- - * Palette - * ------------------------------------------------------------------------- */ - -$primary: $teal-500; -$accent: $pink-a400; - -/* ---------------------------------------------------------------------------- - * Application - * ------------------------------------------------------------------------- */ - -@import "reset"; -@import "palette"; -@import "highlight"; - -@import "fonts/icon"; - -@import "mixins/break"; - -@import "modules/base"; -@import "modules/drawer"; -@import "modules/article"; -@import "modules/search"; - -@import "print"; -@import "shame"; \ No newline at end of file diff --git a/src/assets/stylesheets/modules/article/_appearance.scss b/src/assets/stylesheets/modules/article/_appearance.scss index 2dc231051..d3467e4e3 100644 --- a/src/assets/stylesheets/modules/article/_appearance.scss +++ b/src/assets/stylesheets/modules/article/_appearance.scss @@ -146,4 +146,36 @@ .direction { color: $white-light; } +} + +/* + * Admonition support + */ +.admonition { + background: mix($primary, $white, 10%); + + /* + * Embedded code blocks + */ + pre { + background: $white-lighter; + } + + /* + * A warning hint + */ + &.warning { + background: mix($red-500, $white, 10%); + } +} + +/* + * Permalink support + */ +.article { + h2, h3, h4, h5, h6 { + a { + color: $black-lighter; + } + } } \ No newline at end of file diff --git a/src/assets/stylesheets/modules/article/_layout.scss b/src/assets/stylesheets/modules/article/_layout.scss index 372c465db..aa22e0c0c 100644 --- a/src/assets/stylesheets/modules/article/_layout.scss +++ b/src/assets/stylesheets/modules/article/_layout.scss @@ -30,6 +30,7 @@ .article { font-size: 14px; line-height: 1.7em; + overflow-x: hidden; /* [tablet landscape+]: Indent to account for drawer */ @include break-from-device(tablet landscape) { @@ -113,13 +114,23 @@ * Sub headlines */ h3, h4 { - font-size: 1.0em; + font-size: 14px; + padding-top: (20px + 56px); + margin-top: (0 - 56px); + + /* + * No offset correction in iOS web application + */ + .ios.standalone & { + padding-top: 20px; + margin-top: 0; + } } /* * Paragraphs and section titles */ - p, h3, h4, ul, ol { + p, ul, ol { margin-top: 1.5em; } @@ -271,6 +282,22 @@ } } + /* + * Sub headlines + */ + h3, h4 { + padding-top: (20px + 64px); + margin-top: (0 - 64px); + + /* + * No offset correction in iOS web application + */ + .ios.standalone & { + padding-top: 20px; + margin-top: 0; + } + } + /* * Increase spacing for code blocks */ @@ -466,4 +493,48 @@ padding: 0 8px; } } +} + +/* + * Admonition support + */ +.admonition { + margin: 20px -16px 0; + padding: 20px 16px; + + /* + * Remove redundant margin of first child + */ + > :first-child { + margin-top: 0; + } + + /* [tablet portait+]: Increase horizontal spacing */ + @include break-from-device(tablet portrait) { + margin: 20px -24px 0; + padding: 20px 24px; + } +} + +/* + * Permalink support + */ +.article { + + /* + * Hide link to main headline + */ + h1 a { + display: none; + } + + /* + * Align permalinks on the right + */ + h2, h3, h4, h5, h6 { + a { + float: right; + margin-left: 20px; + } + } } \ No newline at end of file diff --git a/src/assets/stylesheets/modules/article/_typography.scss b/src/assets/stylesheets/modules/article/_typography.scss index 4ce88f6d6..d7ac5956b 100644 --- a/src/assets/stylesheets/modules/article/_typography.scss +++ b/src/assets/stylesheets/modules/article/_typography.scss @@ -43,4 +43,23 @@ font-weight: 400; font-style: italic; } +} + +/* + * Admonition support + */ +.admonition-title { + font-weight: 700; +} + +/* + * Permalink support + */ +.article { + h2, h3, h4, h5, h6 { + a { + font-weight: 400; + font-style: normal; + } + } } \ No newline at end of file diff --git a/src/base.html b/src/base.html index 83365855e..751c8d2c7 100644 --- a/src/base.html +++ b/src/base.html @@ -47,9 +47,9 @@ + href="{{ icon | default(base_url + '/assets/images/favicon.ico') }}" /> + href="{{ icon | default(base_url + '/assets/images/favicon.ico') }}" /> - {% if config.extra.color %} - {% set color = config.extra.color %} - - {% else %} - - {% endif %} + {% for path in extra_css %} {% endfor %} @@ -101,7 +95,7 @@ necessary for correctly rendering the table of contents which is embedded into the navigation and the actual headline. --> - {% set h1 = "\x3c/h1\x3e" in content %} + {% set h1 = "\x3ch1 id=" in content %}
@@ -132,9 +126,9 @@ Documentation built with MkDocs using the - - Materializr + Material theme.