Refactored Gulp workflow and added styles for extensions
4
.gitignore
vendored
@ -21,12 +21,12 @@
|
|||||||
# Mac OS X internals
|
# Mac OS X internals
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# Bower and NPM libraries
|
# NPM libraries
|
||||||
bower_components
|
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
# Build files
|
# Build files
|
||||||
build
|
build
|
||||||
|
manifest.json
|
||||||
MANIFEST
|
MANIFEST
|
||||||
site
|
site
|
||||||
|
|
||||||
|
202
Gulpfile.js
@ -28,16 +28,16 @@ var gulp = require('gulp');
|
|||||||
var addsrc = require('gulp-add-src');
|
var addsrc = require('gulp-add-src');
|
||||||
var args = require('yargs').argv;
|
var args = require('yargs').argv;
|
||||||
var autoprefix = require('autoprefixer');
|
var autoprefix = require('autoprefixer');
|
||||||
|
var changed = require('gulp-changed');
|
||||||
var child = require('child_process');
|
var child = require('child_process');
|
||||||
var clean = require('del');
|
var clean = require('del');
|
||||||
var collect = require('gulp-rev-collector');
|
|
||||||
var compact = require('gulp-remove-empty-lines');
|
var compact = require('gulp-remove-empty-lines');
|
||||||
var concat = require('gulp-concat');
|
var concat = require('gulp-concat');
|
||||||
var ignore = require('gulp-ignore');
|
var ignore = require('gulp-ignore');
|
||||||
var gulpif = require('gulp-if');
|
var gulpif = require('gulp-if');
|
||||||
var mincss = require('gulp-cssnano');
|
var mincss = require('gulp-cssnano');
|
||||||
var minhtml = require('gulp-htmlmin');
|
var minhtml = require('gulp-htmlmin');
|
||||||
var minimage = require('gulp-image-optimization');
|
var minsvg = require('gulp-svgmin');
|
||||||
var modernizr = require('gulp-modernizr');
|
var modernizr = require('gulp-modernizr');
|
||||||
var mqpacker = require('css-mqpacker');
|
var mqpacker = require('css-mqpacker');
|
||||||
var notifier = require('node-notifier');
|
var notifier = require('node-notifier');
|
||||||
@ -53,6 +53,7 @@ var stream = require('webpack-stream');
|
|||||||
var uglify = require('gulp-uglify');
|
var uglify = require('gulp-uglify');
|
||||||
var util = require('gulp-util');
|
var util = require('gulp-util');
|
||||||
var vinyl = require('vinyl-paths');
|
var vinyl = require('vinyl-paths');
|
||||||
|
var version = require('gulp-rev-replace');
|
||||||
var webpack = require('webpack');
|
var webpack = require('webpack');
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
@ -62,6 +63,9 @@ var webpack = require('webpack');
|
|||||||
/* MkDocs server */
|
/* MkDocs server */
|
||||||
var server = null;
|
var server = null;
|
||||||
|
|
||||||
|
/* Watching context */
|
||||||
|
var watch = false;
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* Overrides
|
* Overrides
|
||||||
* ------------------------------------------------------------------------- */
|
* ------------------------------------------------------------------------- */
|
||||||
@ -97,22 +101,45 @@ gulp.src = function() {
|
|||||||
* ------------------------------------------------------------------------- */
|
* ------------------------------------------------------------------------- */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Build stylesheets from SASS source.
|
* Clean stylesheets generated by build.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:lint:stylesheets', function() {
|
gulp.task('assets:clean:stylesheets', function() {
|
||||||
return gulp.src('src/assets/stylesheets/*.scss')
|
return gulp.src('material/assets/stylesheets/*')
|
||||||
.pipe(gulpif(args.production,
|
.pipe(vinyl(clean));
|
||||||
sasslint({
|
|
||||||
configFile: './.sass-lint.yml'
|
|
||||||
})))
|
|
||||||
.pipe(gulpif(args.production, sasslint.format()))
|
|
||||||
.pipe(gulpif(args.production, sasslint.failOnError()));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Clean javascripts generated by build.
|
||||||
|
*/
|
||||||
|
gulp.task('assets:clean:javascripts', function() {
|
||||||
|
return gulp.src('material/assets/javascripts/*')
|
||||||
|
.pipe(vinyl(clean));
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Clean images generated by build.
|
||||||
|
*/
|
||||||
|
gulp.task('assets:clean:images', function() {
|
||||||
|
return gulp.src('material/assets/images/*')
|
||||||
|
.pipe(vinyl(clean));
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Clean files generated by build.
|
||||||
|
*/
|
||||||
|
gulp.task('assets:clean', [
|
||||||
|
'assets:clean:stylesheets',
|
||||||
|
'assets:clean:javascripts',
|
||||||
|
'assets:clean:images'
|
||||||
|
]);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Build stylesheets from SASS source.
|
* Build stylesheets from SASS source.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:stylesheets', function() {
|
gulp.task('assets:build:stylesheets', args.production ? [
|
||||||
|
'assets:clean:stylesheets',
|
||||||
|
'assets:build:images',
|
||||||
|
] : [], function() {
|
||||||
return gulp.src('src/assets/stylesheets/*.scss')
|
return gulp.src('src/assets/stylesheets/*.scss')
|
||||||
.pipe(gulpif(args.sourcemaps, sourcemaps.init()))
|
.pipe(gulpif(args.sourcemaps, sourcemaps.init()))
|
||||||
.pipe(
|
.pipe(
|
||||||
@ -130,13 +157,24 @@ gulp.task('assets:stylesheets', function() {
|
|||||||
]))
|
]))
|
||||||
.pipe(gulpif(args.sourcemaps, sourcemaps.write()))
|
.pipe(gulpif(args.sourcemaps, sourcemaps.write()))
|
||||||
.pipe(gulpif(args.production, mincss()))
|
.pipe(gulpif(args.production, mincss()))
|
||||||
.pipe(gulp.dest('material/assets/stylesheets'));
|
.pipe(gulpif(args.production, rev()))
|
||||||
|
.pipe(gulpif(args.production,
|
||||||
|
version({ manifest: gulp.src('manifest.json') })))
|
||||||
|
.pipe(gulp.dest('material/assets/stylesheets'))
|
||||||
|
.pipe(gulpif(args.production,
|
||||||
|
rev.manifest('manifest.json', {
|
||||||
|
base: 'material/assets',
|
||||||
|
merge: true
|
||||||
|
})))
|
||||||
|
.pipe(gulpif(args.production, gulp.dest('material/assets')));
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Build javascripts by transpiling ES6 with babel.
|
* Build javascripts by transpiling ES6 with babel.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:javascripts', function() {
|
gulp.task('assets:build:javascripts', args.production ? [
|
||||||
|
'assets:clean:javascripts'
|
||||||
|
] : [], function() {
|
||||||
return gulp.src('src/assets/javascripts/**/*.js')
|
return gulp.src('src/assets/javascripts/**/*.js')
|
||||||
.pipe(
|
.pipe(
|
||||||
stream({
|
stream({
|
||||||
@ -177,15 +215,22 @@ gulp.task('assets:javascripts', function() {
|
|||||||
},
|
},
|
||||||
devtool: args.sourcemaps ? 'source-map' : ''
|
devtool: args.sourcemaps ? 'source-map' : ''
|
||||||
}))
|
}))
|
||||||
.pipe(gulp.dest('material/assets/javascripts'));
|
.pipe(gulpif(args.production, rev()))
|
||||||
|
.pipe(gulp.dest('material/assets/javascripts'))
|
||||||
|
.pipe(gulpif(args.production,
|
||||||
|
rev.manifest('manifest.json', {
|
||||||
|
base: 'material/assets',
|
||||||
|
merge: true
|
||||||
|
})))
|
||||||
|
.pipe(gulpif(args.production, gulp.dest('material/assets')));
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create a customized modernizr build.
|
* Create a customized modernizr build.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:modernizr', [
|
gulp.task('assets:build:modernizr', [
|
||||||
'assets:stylesheets',
|
'assets:build:stylesheets',
|
||||||
'assets:javascripts'
|
'assets:build:javascripts'
|
||||||
], function() {
|
], function() {
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
'material/assets/stylesheets/*.css',
|
'material/assets/stylesheets/*.css',
|
||||||
@ -202,35 +247,64 @@ gulp.task('assets:modernizr', [
|
|||||||
}))
|
}))
|
||||||
.pipe(concat('modernizr.js'))
|
.pipe(concat('modernizr.js'))
|
||||||
.pipe(gulpif(args.production, uglify()))
|
.pipe(gulpif(args.production, uglify()))
|
||||||
.pipe(gulp.dest('material/assets/javascripts'));
|
.pipe(gulpif(args.production, rev()))
|
||||||
|
.pipe(gulp.dest('material/assets/javascripts'))
|
||||||
|
.pipe(gulpif(args.production,
|
||||||
|
rev.manifest('manifest.json', {
|
||||||
|
base: 'material/assets',
|
||||||
|
merge: true
|
||||||
|
})))
|
||||||
|
.pipe(gulpif(args.production, gulp.dest('material/assets')));
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copy static assets like images and webfonts.
|
* Copy and minify vector graphics.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:static', function() {
|
gulp.task('assets:build:images:svg', function() {
|
||||||
return gulp.src('src/assets/images/**/*')
|
return gulp.src('src/assets/images/**/*.svg')
|
||||||
|
.pipe(gulpif(args.production, minsvg()))
|
||||||
|
.pipe(gulpif(args.production, rev()))
|
||||||
|
.pipe(gulp.dest('material/assets/images'))
|
||||||
.pipe(gulpif(args.production,
|
.pipe(gulpif(args.production,
|
||||||
minimage({
|
rev.manifest('manifest.json', {
|
||||||
optimizationLevel: 5,
|
base: 'material/assets',
|
||||||
progressive: true,
|
merge: true
|
||||||
interlaced: true
|
|
||||||
})))
|
})))
|
||||||
.pipe(gulp.dest('material/assets/images'));
|
.pipe(gulpif(args.production, gulp.dest('material/assets')));
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copy favicon.
|
||||||
|
*/
|
||||||
|
gulp.task('assets:build:images:ico', function() {
|
||||||
|
return gulp.src('src/assets/images/**/*.ico')
|
||||||
|
.pipe(gulp.dest('material/assets/images'))
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copy images.
|
||||||
|
*/
|
||||||
|
gulp.task('assets:build:images', [
|
||||||
|
'assets:clean:images'
|
||||||
|
], function() {
|
||||||
|
return gulp.start([
|
||||||
|
'assets:build:images:svg',
|
||||||
|
'assets:build:images:ico'
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Minify views.
|
* Minify views.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:views', args.production ? [
|
gulp.task('assets:build:views', args.production ? [
|
||||||
'assets:modernizr',
|
'assets:build:stylesheets',
|
||||||
'assets:revisions:clean',
|
'assets:build:modernizr',
|
||||||
'assets:revisions'
|
'assets:build:images'
|
||||||
] : [], function() {
|
] : [], function() {
|
||||||
var metadata = require('./package.json');
|
var metadata = require('./package.json');
|
||||||
return gulp.src([
|
return gulp.src('src/*.html')
|
||||||
'src/*.html'
|
.pipe(gulpif(watch, changed('material')))
|
||||||
]).pipe(
|
.pipe(
|
||||||
minhtml({
|
minhtml({
|
||||||
collapseBooleanAttributes: true,
|
collapseBooleanAttributes: true,
|
||||||
removeComments: true,
|
removeComments: true,
|
||||||
@ -242,38 +316,7 @@ gulp.task('assets:views', args.production ? [
|
|||||||
.pipe(replace('$theme-version$', metadata.version))
|
.pipe(replace('$theme-version$', metadata.version))
|
||||||
.pipe(compact())
|
.pipe(compact())
|
||||||
.pipe(gulpif(args.production,
|
.pipe(gulpif(args.production,
|
||||||
addsrc.append([
|
version({ manifest: gulp.src('manifest.json') })))
|
||||||
'material/manifest.json',
|
|
||||||
'material/**/*.css'
|
|
||||||
])))
|
|
||||||
.pipe(gulpif(args.production, collect()))
|
|
||||||
.pipe(ignore.exclude(/manifest\.json$/))
|
|
||||||
.pipe(gulp.dest('material'));
|
|
||||||
});
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Clean outdated revisions.
|
|
||||||
*/
|
|
||||||
gulp.task('assets:revisions:clean', function() {
|
|
||||||
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));
|
|
||||||
});
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Revision assets after build.
|
|
||||||
*/
|
|
||||||
gulp.task('assets:revisions', [
|
|
||||||
'assets:revisions:clean',
|
|
||||||
'assets:stylesheets',
|
|
||||||
'assets:javascripts',
|
|
||||||
'assets:static'
|
|
||||||
], function() {
|
|
||||||
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('material'))
|
|
||||||
.pipe(rev.manifest('manifest.json'))
|
|
||||||
.pipe(gulp.dest('material'));
|
.pipe(gulp.dest('material'));
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -281,38 +324,38 @@ gulp.task('assets:revisions', [
|
|||||||
* Build assets.
|
* Build assets.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:build', [
|
gulp.task('assets:build', [
|
||||||
'assets:stylesheets',
|
'assets:build:stylesheets',
|
||||||
'assets:javascripts',
|
'assets:build:javascripts',
|
||||||
'assets:modernizr',
|
'assets:build:modernizr',
|
||||||
'assets:static',
|
'assets:build:images',
|
||||||
'assets:views'
|
'assets:build:views'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Watch assets for changes and rebuild on the fly.
|
* Watch assets for changes and rebuild on the fly.
|
||||||
*/
|
*/
|
||||||
gulp.task('assets:watch', function() {
|
gulp.task('assets:watch', function() {
|
||||||
|
watch = true;
|
||||||
|
|
||||||
/* Rebuild stylesheets */
|
/* Rebuild stylesheets */
|
||||||
gulp.watch([
|
gulp.watch([
|
||||||
'src/assets/stylesheets/**/*.scss'
|
'src/assets/stylesheets/**/*.scss'
|
||||||
], ['assets:stylesheets']);
|
], ['assets:build:stylesheets']);
|
||||||
|
|
||||||
/* Rebuild javascripts */
|
/* Rebuild javascripts */
|
||||||
gulp.watch([
|
gulp.watch([
|
||||||
'src/assets/javascripts/**/*.js',
|
'src/assets/javascripts/**/*.js'
|
||||||
'bower.json'
|
], ['assets:build:javascripts']);
|
||||||
], ['assets:javascripts']);
|
|
||||||
|
|
||||||
/* Copy static assets */
|
/* Copy images */
|
||||||
gulp.watch([
|
gulp.watch([
|
||||||
'src/assets/{fonts,images}/*'
|
'src/assets/images/**/*'
|
||||||
], ['assets:static']);
|
], ['assets:build:images']);
|
||||||
|
|
||||||
/* Minify views */
|
/* Minify views */
|
||||||
gulp.watch([
|
gulp.watch([
|
||||||
'src/*.html'
|
'src/*.html'
|
||||||
], ['assets:views']);
|
], ['assets:build:views']);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
@ -360,6 +403,7 @@ gulp.task('mkdocs:serve', function() {
|
|||||||
* Build assets and documentation.
|
* Build assets and documentation.
|
||||||
*/
|
*/
|
||||||
gulp.task('build', [
|
gulp.task('build', [
|
||||||
|
'assets:clean',
|
||||||
'assets:build'
|
'assets:build'
|
||||||
].concat(args.mkdocs
|
].concat(args.mkdocs
|
||||||
? 'mkdocs:build'
|
? 'mkdocs:build'
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
<?xml version="1.0" standalone="no"?>
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<metadata>Generated by IcoMoon</metadata>
|
|
||||||
<defs>
|
|
||||||
<font id="icon" horiz-adv-x="1024">
|
|
||||||
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
|
||||||
<missing-glyph horiz-adv-x="1024" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="512" d="" />
|
|
||||||
<glyph unicode="" glyph-name="search" d="M661.333 341.334h-33.92l-11.733 11.733c41.813 48.427 66.987 111.36 66.987 180.267 0 153.173-124.16 277.333-277.333 277.333s-277.333-124.16-277.333-277.333 124.16-277.333 277.333-277.333c68.907 0 131.84 25.173 180.267 66.773l11.733-11.733v-33.707l213.333-212.907 63.573 63.573-212.907 213.333zM405.333 341.334c-106.027 0-192 85.973-192 192s85.973 192 192 192 192-85.973 192-192-85.973-192-192-192z" />
|
|
||||||
<glyph unicode="" glyph-name="arrow-back" d="M853.333 469.334h-519.253l238.293 238.293-60.373 60.373-341.333-341.333 341.333-341.333 60.373 60.373-238.293 238.293h519.253v85.333z" />
|
|
||||||
<glyph unicode="" glyph-name="chevron-right" d="M426.667 682.667l-60.373-60.373 195.627-195.627-195.627-195.627 60.373-60.373 256 256z" />
|
|
||||||
<glyph unicode="" glyph-name="close" d="M810.667 664.96l-60.373 60.373-238.293-238.293-238.293 238.293-60.373-60.373 238.293-238.293-238.293-238.293 60.373-60.373 238.293 238.293 238.293-238.293 60.373 60.373-238.293 238.293z" />
|
|
||||||
<glyph unicode="" glyph-name="menu" d="M128 170.667h768v85.333h-768v-85.333zM128 384h768v85.333h-768v-85.333zM128 682.667v-85.333h768v85.333h-768z" />
|
|
||||||
<glyph unicode="" glyph-name="arrow-forward" d="M512 768l-60.373-60.373 238.293-238.293h-519.253v-85.333h519.253l-238.293-238.293 60.373-60.373 341.333 341.333z" />
|
|
||||||
<glyph unicode="" glyph-name="twitter" d="M1024 744.249c-37.676-16.708-78.164-28.002-120.66-33.080 43.372 26 76.686 67.17 92.372 116.23-40.596-24.078-85.556-41.56-133.41-50.98-38.32 40.83-92.922 66.34-153.346 66.34-116.022 0-210.088-94.058-210.088-210.078 0-16.466 1.858-32.5 5.44-47.878-174.6 8.764-329.402 92.4-433.018 219.506-18.084-31.028-28.446-67.116-28.446-105.618 0-72.888 37.088-137.192 93.46-174.866-34.438 1.092-66.832 10.542-95.154 26.278-0.020-0.876-0.020-1.756-0.020-2.642 0-101.788 72.418-186.696 168.522-206-17.626-4.8-36.188-7.372-55.348-7.372-13.538 0-26.698 1.32-39.528 3.772 26.736-83.46 104.32-144.206 196.252-145.896-71.9-56.35-162.486-89.934-260.916-89.934-16.958 0-33.68 0.994-50.116 2.94 92.972-59.61 203.402-94.394 322.042-94.394 386.422 0 597.736 320.124 597.736 597.744 0 9.108-0.206 18.168-0.61 27.18 41.056 29.62 76.672 66.62 104.836 108.748z" />
|
|
||||||
<glyph unicode="" glyph-name="github" d="M512.008 926.025c-282.738 0-512.008-229.218-512.008-511.998 0-226.214 146.704-418.132 350.136-485.836 25.586-4.738 34.992 11.11 34.992 24.632 0 12.204-0.48 52.542-0.696 95.324-142.448-30.976-172.504 60.41-172.504 60.41-23.282 59.176-56.848 74.916-56.848 74.916-46.452 31.778 3.51 31.124 3.51 31.124 51.4-3.61 78.476-52.766 78.476-52.766 45.672-78.27 119.776-55.64 149.004-42.558 4.588 33.086 17.852 55.68 32.506 68.464-113.73 12.942-233.276 56.85-233.276 253.032 0 55.898 20.004 101.574 52.76 137.428-5.316 12.9-22.854 64.972 4.952 135.5 0 0 43.006 13.752 140.84-52.49 40.836 11.348 84.636 17.036 128.154 17.234 43.502-0.198 87.336-5.886 128.256-17.234 97.734 66.244 140.656 52.49 140.656 52.49 27.872-70.528 10.35-122.6 5.036-135.5 32.82-35.856 52.694-81.532 52.694-137.428 0-196.654-119.778-239.95-233.79-252.624 18.364-15.89 34.724-47.046 34.724-94.812 0-68.508-0.596-123.644-0.596-140.508 0-13.628 9.222-29.594 35.172-24.566 203.322 67.776 349.842 259.626 349.842 485.768 0 282.78-229.234 511.998-511.992 511.998z" />
|
|
||||||
<glyph unicode="" glyph-name="download" d="M810.667 554.667h-170.667v256h-256v-256h-170.667l298.667-298.667 298.667 298.667zM213.333 170.667v-85.333h597.333v85.333h-597.333z" />
|
|
||||||
<glyph unicode="" glyph-name="star" d="M512 201.814l263.68-159.147-69.973 299.947 232.96 201.813-306.773 26.027-119.893 282.88-119.893-282.88-306.773-26.027 232.96-201.813-69.973-299.947z" />
|
|
||||||
<glyph unicode="" glyph-name="warning" d="M554 340.667v172h-84v-172h84zM554 170.667v86h-84v-86h84zM42 42.667l470 810 470-810h-940z" />
|
|
||||||
<glyph unicode="" glyph-name="hint" d="M614 682.667h240v-426h-300l-16 84h-240v-298h-84v726h384z" />
|
|
||||||
</font></defs></svg>
|
|
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="352" height="448" viewBox="0 0 352 448"><path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875 1.5q-9.75-4.25-13.375-14.5t-.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875 6.875 16.875zm27.75-5.25q-3.5-26.75-28.25-41T154 165.25q-15.75 7-25.125 22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2 38-21t12.5-42zM291.25 74q-5-6.75-14-11.125t-14.5-5.5T245 54.25q-72.75-11.75-141.5.5-10.75 1.75-16.5 3t-13.75 5.5T60.75 74q7.5 7 19 11.375t18.375 5.5T120 93.75Q177 101 232 94q15.75-2 22.375-3t18.125-5.375T291.25 74zm14.25 258.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375 17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5T88.75 412 70.5 401.125t-13-15.375q-6.25-24-14.25-73l1.5-4 4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2 9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875 10T291.75 288q-63 31.5-152.5 22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875T25 232.75q-2.25-12.5-6.625-37.5t-7-40.375T5.5 118 0 78.5Q.75 72 4.375 66.375T12.25 57t11.25-7.5T35 43.875t12-4.625q31.25-11.5 78.25-16 94.75-9.25 169 12.5Q333 47.25 348 66.25q4 5 4.125 12.75t-1.375 13.5z"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
@ -1,3 +0,0 @@
|
|||||||
<svg width="352" height="448" viewBox="0 0 352 448" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875 1.5q-9.75-4.25-13.375-14.5t-0.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875 6.875 16.875zM231.5 209.5q-3.5-26.75-28.25-41t-49.25-3.25q-15.75 7-25.125 22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2 38-21t12.5-42zM291.25 74q-5-6.75-14-11.125t-14.5-5.5-17.75-3.125q-72.75-11.75-141.5 0.5-10.75 1.75-16.5 3t-13.75 5.5-12.5 10.75q7.5 7 19 11.375t18.375 5.5 21.875 2.875q57 7.25 112 0.25 15.75-2 22.375-3t18.125-5.375 18.75-11.625zM305.5 332.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375 17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5t-19.125-6.75-18.25-10.875-13-15.375q-6.25-24-14.25-73l1.5-4 4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2 9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875 10-13.625 7.75q-63 31.5-152.5 22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875-1.375-8.75q-2.25-12.5-6.625-37.5t-7-40.375-5.875-36.875-5.5-39.5q0.75-6.5 4.375-12.125t7.875-9.375 11.25-7.5 11.5-5.625 12-4.625q31.25-11.5 78.25-16 94.75-9.25 169 12.5 38.75 11.5 53.75 30.5 4 5 4.125 12.75t-1.375 13.5z" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="352" height="448" viewBox="0 0 352 448"><path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875 1.5q-9.75-4.25-13.375-14.5t-.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875 6.875 16.875zm27.75-5.25q-3.5-26.75-28.25-41T154 165.25q-15.75 7-25.125 22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2 38-21t12.5-42zM291.25 74q-5-6.75-14-11.125t-14.5-5.5T245 54.25q-72.75-11.75-141.5.5-10.75 1.75-16.5 3t-13.75 5.5T60.75 74q7.5 7 19 11.375t18.375 5.5T120 93.75Q177 101 232 94q15.75-2 22.375-3t18.125-5.375T291.25 74zm14.25 258.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375 17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5T88.75 412 70.5 401.125t-13-15.375q-6.25-24-14.25-73l1.5-4 4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2 9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875 10T291.75 288q-63 31.5-152.5 22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875T25 232.75q-2.25-12.5-6.625-37.5t-7-40.375T5.5 118 0 78.5Q.75 72 4.375 66.375T12.25 57t11.25-7.5T35 43.875t12-4.625q31.25-11.5 78.25-16 94.75-9.25 169 12.5Q333 47.25 348 66.25q4 5 4.125 12.75t-1.375 13.5z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
@ -1,3 +0,0 @@
|
|||||||
<svg width="352" height="448" viewBox="0 0 352 448" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875 1.5q-9.75-4.25-13.375-14.5t-0.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875 6.875 16.875zM231.5 209.5q-3.5-26.75-28.25-41t-49.25-3.25q-15.75 7-25.125 22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2 38-21t12.5-42zM291.25 74q-5-6.75-14-11.125t-14.5-5.5-17.75-3.125q-72.75-11.75-141.5 0.5-10.75 1.75-16.5 3t-13.75 5.5-12.5 10.75q7.5 7 19 11.375t18.375 5.5 21.875 2.875q57 7.25 112 0.25 15.75-2 22.375-3t18.125-5.375 18.75-11.625zM305.5 332.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375 17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5t-19.125-6.75-18.25-10.875-13-15.375q-6.25-24-14.25-73l1.5-4 4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2 9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875 10-13.625 7.75q-63 31.5-152.5 22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875-1.375-8.75q-2.25-12.5-6.625-37.5t-7-40.375-5.875-36.875-5.5-39.5q0.75-6.5 4.375-12.125t7.875-9.375 11.25-7.5 11.5-5.625 12-4.625q31.25-11.5 78.25-16 94.75-9.25 169 12.5 38.75 11.5 53.75 30.5 4 5 4.125 12.75t-1.375 13.5z" fill="white" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.2 KiB |
1
material/assets/images/icons/github-black-3dffdcccb0.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="448" viewBox="0 0 384 448"><path d="M192 32q52.25 0 96.375 25.75t69.875 69.875T384 224q0 62.75-36.625 112.875T252.75 406.25q-6.75 1.25-10-1.75t-3.25-7.5q0-.75.125-19.125t.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75 20.25-16.625 13.25-26.25T314.5 214q0-29.75-19.75-51.5 9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48 6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2 51Q69.5 184.25 69.5 214q0 21.25 5.125 37.5t13.125 26.25 20.125 16.75 23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25 1.25-16.375-5.375T89 318.5q-4.75-8-12.125-13t-12.375-6l-5-.75q-5.25 0-7.25 1.125T51 302.75t2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875 9.5T77 332.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75 13.875-.875l5.75-1q0 9.5.125 22.125T144.5 397q0 4.5-3.25 7.5t-10 1.75q-58-19.25-94.625-69.375T0 224q0-52.25 25.75-96.375T95.625 57.75 192 32zM72.75 307.75q.75-1.75-1.75-3-2.5-.75-3.25.5-.75 1.75 1.75 3 2.25 1.5 3.25-.5zm7.75 8.5q1.75-1.25-.5-4-2.5-2.25-4-.75-1.75 1.25.5 4 2.5 2.5 4 .75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0 4.5T88 327.5zM98.5 338q2-2-1-4.75-3-3-5-.75-2.25 2 1 4.75 3 3 5 .75zm14.25 6.25q.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75 1.5 4.75-1.5zm15.75 1.25q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75 4 0 4-2.75zM143 343q-.5-2.75-4.5-2.25-4 .75-3.5 3.75t4.5 2 3.5-3.5z"/></svg>
|
After Width: | Height: | Size: 1.4 KiB |
@ -1,3 +0,0 @@
|
|||||||
<svg width="384" height="448" viewBox="0 0 384 448" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M192 32q52.25 0 96.375 25.75t69.875 69.875 25.75 96.375q0 62.75-36.625 112.875t-94.625 69.375q-6.75 1.25-10-1.75t-3.25-7.5q0-0.75 0.125-19.125t0.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75 20.25-16.625 13.25-26.25 5.125-37.625q0-29.75-19.75-51.5 9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48 6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2 51-19.75 21.75-19.75 51.5 0 21.25 5.125 37.5t13.125 26.25 20.125 16.75 23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25 1.25-16.375-5.375-13.875-15.625q-4.75-8-12.125-13t-12.375-6l-5-0.75q-5.25 0-7.25 1.125t-1.25 2.875 2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875 9.5t7.875 12.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75 13.875-0.875l5.75-1q0 9.5 0.125 22.125t0.125 13.625q0 4.5-3.25 7.5t-10 1.75q-58-19.25-94.625-69.375t-36.625-112.875q0-52.25 25.75-96.375t69.875-69.875 96.375-25.75zM72.75 307.75q0.75-1.75-1.75-3-2.5-0.75-3.25 0.5-0.75 1.75 1.75 3 2.25 1.5 3.25-0.5zM80.5 316.25q1.75-1.25-0.5-4-2.5-2.25-4-0.75-1.75 1.25 0.5 4 2.5 2.5 4 0.75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0 4.5t4.25 1.75zM98.5 338q2-2-1-4.75-3-3-5-0.75-2.25 2 1 4.75 3 3 5 0.75zM112.75 344.25q0.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75 1.5 4.75-1.5zM128.5 345.5q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75 4 0 4-2.75zM143 343q-0.5-2.75-4.5-2.25-4 0.75-3.5 3.75t4.5 2 3.5-3.5z" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.5 KiB |
1
material/assets/images/icons/github-white-75cacf3601.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="448" viewBox="0 0 384 448"><path d="M192 32q52.25 0 96.375 25.75t69.875 69.875T384 224q0 62.75-36.625 112.875T252.75 406.25q-6.75 1.25-10-1.75t-3.25-7.5q0-.75.125-19.125t.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75 20.25-16.625 13.25-26.25T314.5 214q0-29.75-19.75-51.5 9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48 6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2 51Q69.5 184.25 69.5 214q0 21.25 5.125 37.5t13.125 26.25 20.125 16.75 23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25 1.25-16.375-5.375T89 318.5q-4.75-8-12.125-13t-12.375-6l-5-.75q-5.25 0-7.25 1.125T51 302.75t2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875 9.5T77 332.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75 13.875-.875l5.75-1q0 9.5.125 22.125T144.5 397q0 4.5-3.25 7.5t-10 1.75q-58-19.25-94.625-69.375T0 224q0-52.25 25.75-96.375T95.625 57.75 192 32zM72.75 307.75q.75-1.75-1.75-3-2.5-.75-3.25.5-.75 1.75 1.75 3 2.25 1.5 3.25-.5zm7.75 8.5q1.75-1.25-.5-4-2.5-2.25-4-.75-1.75 1.25.5 4 2.5 2.5 4 .75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0 4.5T88 327.5zM98.5 338q2-2-1-4.75-3-3-5-.75-2.25 2 1 4.75 3 3 5 .75zm14.25 6.25q.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75 1.5 4.75-1.5zm15.75 1.25q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75 4 0 4-2.75zM143 343q-.5-2.75-4.5-2.25-4 .75-3.5 3.75t4.5 2 3.5-3.5z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 1.4 KiB |
@ -1,3 +0,0 @@
|
|||||||
<svg width="384" height="448" viewBox="0 0 384 448" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M192 32q52.25 0 96.375 25.75t69.875 69.875 25.75 96.375q0 62.75-36.625 112.875t-94.625 69.375q-6.75 1.25-10-1.75t-3.25-7.5q0-0.75 0.125-19.125t0.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75 20.25-16.625 13.25-26.25 5.125-37.625q0-29.75-19.75-51.5 9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48 6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2 51-19.75 21.75-19.75 51.5 0 21.25 5.125 37.5t13.125 26.25 20.125 16.75 23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25 1.25-16.375-5.375-13.875-15.625q-4.75-8-12.125-13t-12.375-6l-5-0.75q-5.25 0-7.25 1.125t-1.25 2.875 2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875 9.5t7.875 12.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75 13.875-0.875l5.75-1q0 9.5 0.125 22.125t0.125 13.625q0 4.5-3.25 7.5t-10 1.75q-58-19.25-94.625-69.375t-36.625-112.875q0-52.25 25.75-96.375t69.875-69.875 96.375-25.75zM72.75 307.75q0.75-1.75-1.75-3-2.5-0.75-3.25 0.5-0.75 1.75 1.75 3 2.25 1.5 3.25-0.5zM80.5 316.25q1.75-1.25-0.5-4-2.5-2.25-4-0.75-1.75 1.25 0.5 4 2.5 2.5 4 0.75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0 4.5t4.25 1.75zM98.5 338q2-2-1-4.75-3-3-5-0.75-2.25 2 1 4.75 3 3 5 0.75zM112.75 344.25q0.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75 1.5 4.75-1.5zM128.5 345.5q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75 4 0 4-2.75zM143 343q-0.5-2.75-4.5-2.25-4 0.75-3.5 3.75t4.5 2 3.5-3.5z" fill="white" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.5 KiB |
1
material/assets/images/icons/gitlab-black-bedc10d7f4.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500"><path d="M249.865 474.507L340.55 195.41H159.18l90.685 279.097z"/><path d="M249.864 474.506L159.18 195.41H32.088l217.776 279.096z" opacity=".7"/><path d="M32.09 195.41L4.53 280.227a18.773 18.773 0 0 0 6.82 20.99l238.515 173.29L32.09 195.41z" opacity=".5"/><path d="M32.09 195.412h127.09L104.563 27.314c-2.81-8.65-15.047-8.65-17.856 0L32.09 195.412z"/><path d="M249.865 474.506L340.55 195.41h127.09L249.866 474.507z" opacity=".7"/><path d="M467.64 195.41l27.56 84.816a18.772 18.772 0 0 1-6.82 20.99l-238.516 173.29L467.64 195.41z" opacity=".5"/><path d="M467.64 195.412H340.55l54.617-168.098c2.81-8.65 15.047-8.65 17.856 0l54.618 168.098z"/></svg>
|
After Width: | Height: | Size: 732 B |
1
material/assets/images/icons/gitlab-white-3c8a368006.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500"><path d="M249.865 474.507L340.55 195.41H159.18l90.685 279.097z" fill="#fff"/><path d="M249.864 474.506L159.18 195.41H32.088l217.776 279.096z" fill="#fff" opacity=".7"/><path d="M32.09 195.41L4.53 280.227a18.773 18.773 0 0 0 6.82 20.99l238.515 173.29L32.09 195.41z" fill="#fff" opacity=".5"/><path d="M32.09 195.412h127.09L104.563 27.314c-2.81-8.65-15.047-8.65-17.856 0L32.09 195.412z" fill="#fff"/><path d="M249.865 474.506L340.55 195.41h127.09L249.866 474.507z" fill="#fff" opacity=".7"/><path d="M467.64 195.41l27.56 84.816a18.772 18.772 0 0 1-6.82 20.99l-238.516 173.29L467.64 195.41z" fill="#fff" opacity=".5"/><path d="M467.64 195.412H340.55l54.617-168.098c2.81-8.65 15.047-8.65 17.856 0l54.618 168.098z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 816 B |
@ -1,4 +1,4 @@
|
|||||||
!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(1),r=i(o),a=n(2),s=i(a),c=n(3),l=i(c);document.addEventListener("DOMContentLoaded",function(){Modernizr.addTest("ios",function(){return!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}),Modernizr.addTest("standalone",function(){return!!navigator.standalone}),r["default"].attach(document.body);var e=window.matchMedia("(min-width: 1200px)"),t=function(){e.matches?n.listen():n.unlisten()},n=new s["default"](".md-sidebar--primary");t();var i=new s["default"](".md-sidebar--secondary");i.listen();var o=new l["default"](".md-nav--toc .md-nav__link");o.listen(),window.addEventListener("resize",t);var a=0,c=document.getElementById("md-toggle-search");c.addEventListener("click",function(e){var t=document.body.classList,n=!matchMedia("only screen and (min-width: 960px)").matches;t.contains("md-js__body--locked")?(t.remove("md-js__body--locked"),n&&setTimeout(function(){window.scrollTo(0,a)},100)):(a=window.scrollY,n&&setTimeout(function(){window.scrollTo(0,0)},400),setTimeout(function(){this.checked&&(n&&t.add("md-js__body--locked"),setTimeout(function(){document.getElementById("md-search").focus()},200))}.bind(this),450))})})},function(e,t,n){var i;!function(){"use strict";/**
|
!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(1),r=i(o),a=n(2),s=i(a),c=n(3),l=i(c);document.addEventListener("DOMContentLoaded",function(){Modernizr.addTest("ios",function(){return!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}),Modernizr.addTest("standalone",function(){return!!navigator.standalone}),r["default"].attach(document.body);var e=window.matchMedia("(min-width: 1200px)"),t=function(){e.matches?n.listen():n.unlisten()},n=new s["default"](".md-sidebar--primary");t();var i=new s["default"](".md-sidebar--secondary");i.listen();var o=new l["default"](".md-nav--toc .md-nav__link");o.listen(),window.addEventListener("resize",t);var a=0,c=document.getElementById("search");c.addEventListener("click",function(e){var t=document.body.classList,n=!matchMedia("only screen and (min-width: 960px)").matches;t.contains("md-js__body--locked")?(t.remove("md-js__body--locked"),n&&setTimeout(function(){window.scrollTo(0,a)},100)):(a=window.scrollY,n&&setTimeout(function(){window.scrollTo(0,0)},400),setTimeout(function(){this.checked&&(n&&t.add("md-js__body--locked"),setTimeout(function(){document.getElementById("md-search").focus()},200))}.bind(this),450))})})},function(e,t,n){var i;!function(){"use strict";/**
|
||||||
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
|
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
|
||||||
*
|
*
|
||||||
* @codingstandard ftlabs-jsv2
|
* @codingstandard ftlabs-jsv2
|
1
material/assets/stylesheets/application-6e34e5e667.css
Normal file
@ -20,14 +20,14 @@
|
|||||||
<meta name="author" content="{{ site_author }}">
|
<meta name="author" content="{{ site_author }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta name="generator" content="mkdocs+mkdocs-material#0.2.1">
|
<meta name="generator" content="mkdocs+mkdocs-material#0.2.1">
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-9be6329335.css">
|
<script src="{{ base_url }}/assets/javascripts/modernizr-772e114b08.js"></script>
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700">
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:500,700">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:500">
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||||
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-6e34e5e667.css">
|
||||||
{% for path in extra_css %}
|
{% for path in extra_css %}
|
||||||
<link rel="stylesheet" href="{{ path }}">
|
<link rel="stylesheet" href="{{ path }}">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<script src="{{ base_url }}/assets/javascripts/modernizr-772e114b08.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<input class="md-toggle md-toggle--drawer" type="checkbox" id="drawer">
|
<input class="md-toggle md-toggle--drawer" type="checkbox" id="drawer">
|
||||||
@ -36,7 +36,7 @@
|
|||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
<div class="md-container">
|
<div class="md-container">
|
||||||
<main class="md-main">
|
<main class="md-main">
|
||||||
<div class="md-grid md-main__inner">
|
<div class="md-main__inner md-grid">
|
||||||
{% set h1 = "\x3ch1 id=" in content %}
|
{% set h1 = "\x3ch1 id=" in content %}
|
||||||
{% if nav %}
|
{% if nav %}
|
||||||
{% include "nav.html" %}
|
{% include "nav.html" %}
|
||||||
@ -46,6 +46,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="md-content md-content--typeset">
|
<div class="md-content md-content--typeset">
|
||||||
<article class="md-content__inner">
|
<article class="md-content__inner">
|
||||||
|
<div class="floater">Edit on GitHub</div>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
<hr>
|
<hr>
|
||||||
<small class="md-content__copyright">
|
<small class="md-content__copyright">
|
||||||
@ -72,7 +73,7 @@
|
|||||||
var base_url = '{{ base_url }}';
|
var base_url = '{{ base_url }}';
|
||||||
var repo_url = '{{ repo_url }}';
|
var repo_url = '{{ repo_url }}';
|
||||||
</script>
|
</script>
|
||||||
<script src="{{ base_url }}/assets/javascripts/application-56219c4975.js"></script>
|
<script src="{{ base_url }}/assets/javascripts/application-ac947cb450.js"></script>
|
||||||
{% for path in extra_javascript %}
|
{% for path in extra_javascript %}
|
||||||
<script src="{{ path }}"></script>
|
<script src="{{ path }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<footer class="md-footer">
|
<footer class="md-footer">
|
||||||
{% if previous_page or next_page %}
|
{% if previous_page or next_page %}
|
||||||
<div class="md-footer-pagination">
|
<div class="md-footer-pagination">
|
||||||
<nav class="md-grid md-footer-nav">
|
<nav class="md-footer-nav md-grid">
|
||||||
{% if previous_page %}
|
{% if previous_page %}
|
||||||
<a href="{{ previous_page.url }}" title="{{ previous_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
<a href="{{ previous_page.url }}" title="{{ previous_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
||||||
<div class="md-flex__cell md-flex__cell--shrink">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
<header class="md-header">
|
<header class="md-header">
|
||||||
<nav class="md-grid md-header-nav">
|
<nav class="md-header-nav md-grid">
|
||||||
<div class="md-flex">
|
<div class="md-flex">
|
||||||
<div class="md-flex__cell md-flex__cell--shrink">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
<label class="md-icon md-icon--menu md-header-nav__icon" for="drawer"></label>
|
<label class="md-icon md-icon--menu md-header-nav__icon" for="drawer"></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-flex__cell md-flex__cell--stretch md-header-nav__title">
|
<div class="md-flex__cell md-flex__cell--stretch">
|
||||||
<span class="md-flex__ellipsis">
|
<span class="md-flex__ellipsis md-header-nav__title">
|
||||||
{{ page_title | default(site_name, true) }}
|
{{ page_title | default(site_name, true) }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-flex__cell md-flex__cell--shrink md-search">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
<label class="md-icon md-icon--search md-header-nav__icon" for="search"></label>
|
<label class="md-icon md-icon--search md-header-nav__icon" for="search"></label>
|
||||||
<div class="md-search__overlay"></div>
|
<div class="md-search__overlay"></div>
|
||||||
<div class="md-search__inner">
|
<div class="md-search__inner">
|
||||||
<form class="md-search__form">
|
<form class="md-search__form">
|
||||||
<input type="text" class="md-search__input" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" id="query">
|
<input type="text" class="md-search__input" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" id="query">
|
||||||
@ -34,10 +34,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-flex__cell md-flex__cell--shrink md-header-nav__source">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
<a href="{{ repo_url }}" title="GitHub" class="md-header-nav__link">
|
<a href="{{ repo_url }}" title="GitHub" class="md-header-source">
|
||||||
GitHub <small>135 Stars</small>
|
<div class="md-header-source__inner">
|
||||||
|
<div class="title">squidfunk/mkdocs-material</div>
|
||||||
|
<div class="count">0.2.4 – 177 Stars – 46 Forks</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
|
|
||||||
"assets/javascripts/application.js": "assets/javascripts/application-56219c4975.js",
|
|
||||||
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-772e114b08.js",
|
|
||||||
"assets/stylesheets/application.css": "assets/stylesheets/application-9be6329335.css"
|
|
||||||
}
|
|
@ -32,22 +32,23 @@
|
|||||||
"del": "^2.2.0",
|
"del": "^2.2.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"gulp-add-src": "^0.2.0",
|
"gulp-add-src": "^0.2.0",
|
||||||
|
"gulp-changed": "^1.3.2",
|
||||||
"gulp-concat": "^2.6.0",
|
"gulp-concat": "^2.6.0",
|
||||||
"gulp-cssnano": "^2.1.1",
|
"gulp-cssnano": "^2.1.1",
|
||||||
"gulp-htmlmin": "^1.3.0",
|
"gulp-htmlmin": "^1.3.0",
|
||||||
"gulp-if": "^2.0.0",
|
"gulp-if": "^2.0.0",
|
||||||
"gulp-ignore": "^2.0.1",
|
"gulp-ignore": "^2.0.1",
|
||||||
"gulp-image-optimization": "^0.1.3",
|
|
||||||
"gulp-modernizr": "0.0.0",
|
"gulp-modernizr": "0.0.0",
|
||||||
"gulp-plumber": "^1.1.0",
|
"gulp-plumber": "^1.1.0",
|
||||||
"gulp-postcss": "^6.1.0",
|
"gulp-postcss": "^6.1.0",
|
||||||
"gulp-remove-empty-lines": "0.0.2",
|
"gulp-remove-empty-lines": "0.0.2",
|
||||||
"gulp-replace": "^0.5.4",
|
"gulp-replace": "^0.5.4",
|
||||||
"gulp-rev": "^7.0.0",
|
"gulp-rev": "^7.0.0",
|
||||||
"gulp-rev-collector": "^1.0.2",
|
"gulp-rev-replace": "^0.4.3",
|
||||||
"gulp-sass": "^2.2.0",
|
"gulp-sass": "^2.2.0",
|
||||||
"gulp-sass-lint": "^1.2.0",
|
"gulp-sass-lint": "^1.2.0",
|
||||||
"gulp-sourcemaps": "^1.6.0",
|
"gulp-sourcemaps": "^1.6.0",
|
||||||
|
"gulp-svgmin": "^1.2.2",
|
||||||
"gulp-uglify": "^1.5.2",
|
"gulp-uglify": "^1.5.2",
|
||||||
"gulp-util": "^3.0.7",
|
"gulp-util": "^3.0.7",
|
||||||
"node-notifier": "^4.5.0",
|
"node-notifier": "^4.5.0",
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
<svg width="352" height="448" viewBox="0 0 352 448" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="352" height="448"
|
||||||
<path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875 1.5q-9.75-4.25-13.375-14.5t-0.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875 6.875 16.875zM231.5 209.5q-3.5-26.75-28.25-41t-49.25-3.25q-15.75 7-25.125 22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2 38-21t12.5-42zM291.25 74q-5-6.75-14-11.125t-14.5-5.5-17.75-3.125q-72.75-11.75-141.5 0.5-10.75 1.75-16.5 3t-13.75 5.5-12.5 10.75q7.5 7 19 11.375t18.375 5.5 21.875 2.875q57 7.25 112 0.25 15.75-2 22.375-3t18.125-5.375 18.75-11.625zM305.5 332.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375 17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5t-19.125-6.75-18.25-10.875-13-15.375q-6.25-24-14.25-73l1.5-4 4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2 9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875 10-13.625 7.75q-63 31.5-152.5 22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875-1.375-8.75q-2.25-12.5-6.625-37.5t-7-40.375-5.875-36.875-5.5-39.5q0.75-6.5 4.375-12.125t7.875-9.375 11.25-7.5 11.5-5.625 12-4.625q31.25-11.5 78.25-16 94.75-9.25 169 12.5 38.75 11.5 53.75 30.5 4 5 4.125 12.75t-1.375 13.5z" />
|
viewBox="0 0 352 448">
|
||||||
|
<path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875
|
||||||
|
1.5q-9.75-4.25-13.375-14.5t-0.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875
|
||||||
|
6.875 16.875zM231.5 209.5q-3.5-26.75-28.25-41t-49.25-3.25q-15.75 7-25.125
|
||||||
|
22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2
|
||||||
|
38-21t12.5-42zM291.25
|
||||||
|
74q-5-6.75-14-11.125t-14.5-5.5-17.75-3.125q-72.75-11.75-141.5 0.5-10.75
|
||||||
|
1.75-16.5 3t-13.75 5.5-12.5 10.75q7.5 7 19 11.375t18.375 5.5 21.875
|
||||||
|
2.875q57 7.25 112 0.25 15.75-2 22.375-3t18.125-5.375 18.75-11.625zM305.5
|
||||||
|
332.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375
|
||||||
|
17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5t-19.125-6.75-18.25-10.875-13-15.375q-6.25-24-14.25-73l1.5-4
|
||||||
|
4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2
|
||||||
|
9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875
|
||||||
|
10-13.625 7.75q-63 31.5-152.5
|
||||||
|
22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875-1.375-8.75q-2.25-12.5-6.625-37.5t-7-40.375-5.875-36.875-5.5-39.5q0.75-6.5
|
||||||
|
4.375-12.125t7.875-9.375 11.25-7.5 11.5-5.625 12-4.625q31.25-11.5 78.25-16
|
||||||
|
94.75-9.25 169 12.5 38.75 11.5 53.75 30.5 4 5 4.125 12.75t-1.375
|
||||||
|
13.5z" />
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
@ -1,3 +1,20 @@
|
|||||||
<svg width="352" height="448" viewBox="0 0 352 448" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="352" height="448"
|
||||||
<path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875 1.5q-9.75-4.25-13.375-14.5t-0.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875 6.875 16.875zM231.5 209.5q-3.5-26.75-28.25-41t-49.25-3.25q-15.75 7-25.125 22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2 38-21t12.5-42zM291.25 74q-5-6.75-14-11.125t-14.5-5.5-17.75-3.125q-72.75-11.75-141.5 0.5-10.75 1.75-16.5 3t-13.75 5.5-12.5 10.75q7.5 7 19 11.375t18.375 5.5 21.875 2.875q57 7.25 112 0.25 15.75-2 22.375-3t18.125-5.375 18.75-11.625zM305.5 332.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375 17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5t-19.125-6.75-18.25-10.875-13-15.375q-6.25-24-14.25-73l1.5-4 4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2 9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875 10-13.625 7.75q-63 31.5-152.5 22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875-1.375-8.75q-2.25-12.5-6.625-37.5t-7-40.375-5.875-36.875-5.5-39.5q0.75-6.5 4.375-12.125t7.875-9.375 11.25-7.5 11.5-5.625 12-4.625q31.25-11.5 78.25-16 94.75-9.25 169 12.5 38.75 11.5 53.75 30.5 4 5 4.125 12.75t-1.375 13.5z" fill="white" />
|
viewBox="0 0 352 448">
|
||||||
|
<path d="M203.75 214.75q2 15.75-12.625 25.25t-27.875
|
||||||
|
1.5q-9.75-4.25-13.375-14.5t-0.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875
|
||||||
|
6.875 16.875zM231.5 209.5q-3.5-26.75-28.25-41t-49.25-3.25q-15.75 7-25.125
|
||||||
|
22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2
|
||||||
|
38-21t12.5-42zM291.25
|
||||||
|
74q-5-6.75-14-11.125t-14.5-5.5-17.75-3.125q-72.75-11.75-141.5 0.5-10.75
|
||||||
|
1.75-16.5 3t-13.75 5.5-12.5 10.75q7.5 7 19 11.375t18.375 5.5 21.875
|
||||||
|
2.875q57 7.25 112 0.25 15.75-2 22.375-3t18.125-5.375 18.75-11.625zM305.5
|
||||||
|
332.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375
|
||||||
|
17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5t-19.125-6.75-18.25-10.875-13-15.375q-6.25-24-14.25-73l1.5-4
|
||||||
|
4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2
|
||||||
|
9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875
|
||||||
|
10-13.625 7.75q-63 31.5-152.5
|
||||||
|
22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875-1.375-8.75q-2.25-12.5-6.625-37.5t-7-40.375-5.875-36.875-5.5-39.5q0.75-6.5
|
||||||
|
4.375-12.125t7.875-9.375 11.25-7.5 11.5-5.625 12-4.625q31.25-11.5 78.25-16
|
||||||
|
94.75-9.25 169 12.5 38.75 11.5 53.75 30.5 4 5 4.125 12.75t-1.375
|
||||||
|
13.5z" fill="white" />
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
@ -1,3 +1,25 @@
|
|||||||
<svg width="384" height="448" viewBox="0 0 384 448" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="448"
|
||||||
<path d="M192 32q52.25 0 96.375 25.75t69.875 69.875 25.75 96.375q0 62.75-36.625 112.875t-94.625 69.375q-6.75 1.25-10-1.75t-3.25-7.5q0-0.75 0.125-19.125t0.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75 20.25-16.625 13.25-26.25 5.125-37.625q0-29.75-19.75-51.5 9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48 6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2 51-19.75 21.75-19.75 51.5 0 21.25 5.125 37.5t13.125 26.25 20.125 16.75 23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25 1.25-16.375-5.375-13.875-15.625q-4.75-8-12.125-13t-12.375-6l-5-0.75q-5.25 0-7.25 1.125t-1.25 2.875 2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875 9.5t7.875 12.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75 13.875-0.875l5.75-1q0 9.5 0.125 22.125t0.125 13.625q0 4.5-3.25 7.5t-10 1.75q-58-19.25-94.625-69.375t-36.625-112.875q0-52.25 25.75-96.375t69.875-69.875 96.375-25.75zM72.75 307.75q0.75-1.75-1.75-3-2.5-0.75-3.25 0.5-0.75 1.75 1.75 3 2.25 1.5 3.25-0.5zM80.5 316.25q1.75-1.25-0.5-4-2.5-2.25-4-0.75-1.75 1.25 0.5 4 2.5 2.5 4 0.75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0 4.5t4.25 1.75zM98.5 338q2-2-1-4.75-3-3-5-0.75-2.25 2 1 4.75 3 3 5 0.75zM112.75 344.25q0.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75 1.5 4.75-1.5zM128.5 345.5q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75 4 0 4-2.75zM143 343q-0.5-2.75-4.5-2.25-4 0.75-3.5 3.75t4.5 2 3.5-3.5z" />
|
viewBox="0 0 384 448">
|
||||||
|
<path d="M192 32q52.25 0 96.375 25.75t69.875 69.875 25.75 96.375q0
|
||||||
|
62.75-36.625 112.875t-94.625 69.375q-6.75 1.25-10-1.75t-3.25-7.5q0-0.75
|
||||||
|
0.125-19.125t0.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75
|
||||||
|
20.25-16.625 13.25-26.25 5.125-37.625q0-29.75-19.75-51.5
|
||||||
|
9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48
|
||||||
|
6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2
|
||||||
|
51-19.75 21.75-19.75 51.5 0 21.25 5.125 37.5t13.125 26.25 20.125 16.75
|
||||||
|
23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25
|
||||||
|
1.25-16.375-5.375-13.875-15.625q-4.75-8-12.125-13t-12.375-6l-5-0.75q-5.25
|
||||||
|
0-7.25 1.125t-1.25 2.875 2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875
|
||||||
|
9.5t7.875 12.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75
|
||||||
|
13.875-0.875l5.75-1q0 9.5 0.125 22.125t0.125 13.625q0 4.5-3.25 7.5t-10
|
||||||
|
1.75q-58-19.25-94.625-69.375t-36.625-112.875q0-52.25
|
||||||
|
25.75-96.375t69.875-69.875 96.375-25.75zM72.75
|
||||||
|
307.75q0.75-1.75-1.75-3-2.5-0.75-3.25 0.5-0.75 1.75 1.75 3 2.25 1.5
|
||||||
|
3.25-0.5zM80.5 316.25q1.75-1.25-0.5-4-2.5-2.25-4-0.75-1.75 1.25 0.5 4
|
||||||
|
2.5 2.5 4 0.75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0
|
||||||
|
4.5t4.25 1.75zM98.5 338q2-2-1-4.75-3-3-5-0.75-2.25 2 1 4.75 3 3 5
|
||||||
|
0.75zM112.75 344.25q0.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75
|
||||||
|
1.5 4.75-1.5zM128.5 345.5q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75
|
||||||
|
4 0 4-2.75zM143 343q-0.5-2.75-4.5-2.25-4 0.75-3.5 3.75t4.5 2
|
||||||
|
3.5-3.5z" />
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
@ -1,3 +1,25 @@
|
|||||||
<svg width="384" height="448" viewBox="0 0 384 448" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="448"
|
||||||
<path d="M192 32q52.25 0 96.375 25.75t69.875 69.875 25.75 96.375q0 62.75-36.625 112.875t-94.625 69.375q-6.75 1.25-10-1.75t-3.25-7.5q0-0.75 0.125-19.125t0.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75 20.25-16.625 13.25-26.25 5.125-37.625q0-29.75-19.75-51.5 9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48 6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2 51-19.75 21.75-19.75 51.5 0 21.25 5.125 37.5t13.125 26.25 20.125 16.75 23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25 1.25-16.375-5.375-13.875-15.625q-4.75-8-12.125-13t-12.375-6l-5-0.75q-5.25 0-7.25 1.125t-1.25 2.875 2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875 9.5t7.875 12.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75 13.875-0.875l5.75-1q0 9.5 0.125 22.125t0.125 13.625q0 4.5-3.25 7.5t-10 1.75q-58-19.25-94.625-69.375t-36.625-112.875q0-52.25 25.75-96.375t69.875-69.875 96.375-25.75zM72.75 307.75q0.75-1.75-1.75-3-2.5-0.75-3.25 0.5-0.75 1.75 1.75 3 2.25 1.5 3.25-0.5zM80.5 316.25q1.75-1.25-0.5-4-2.5-2.25-4-0.75-1.75 1.25 0.5 4 2.5 2.5 4 0.75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0 4.5t4.25 1.75zM98.5 338q2-2-1-4.75-3-3-5-0.75-2.25 2 1 4.75 3 3 5 0.75zM112.75 344.25q0.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75 1.5 4.75-1.5zM128.5 345.5q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75 4 0 4-2.75zM143 343q-0.5-2.75-4.5-2.25-4 0.75-3.5 3.75t4.5 2 3.5-3.5z" fill="white" />
|
viewBox="0 0 384 448">
|
||||||
|
<path d="M192 32q52.25 0 96.375 25.75t69.875 69.875 25.75 96.375q0
|
||||||
|
62.75-36.625 112.875t-94.625 69.375q-6.75 1.25-10-1.75t-3.25-7.5q0-0.75
|
||||||
|
0.125-19.125t0.125-33.625q0-24.25-13-35.5 14.25-1.5 25.625-4.5t23.5-9.75
|
||||||
|
20.25-16.625 13.25-26.25 5.125-37.625q0-29.75-19.75-51.5
|
||||||
|
9.25-22.75-2-51-7-2.25-20.25 2.75t-23 11l-9.5 6q-23.25-6.5-48-6.5t-48
|
||||||
|
6.5q-4-2.75-10.625-6.75t-20.875-9.625-21.25-3.375q-11.25 28.25-2
|
||||||
|
51-19.75 21.75-19.75 51.5 0 21.25 5.125 37.5t13.125 26.25 20.125 16.75
|
||||||
|
23.5 9.75 25.625 4.5q-9.75 9-12.25 25.75-5.25 2.5-11.25 3.75t-14.25
|
||||||
|
1.25-16.375-5.375-13.875-15.625q-4.75-8-12.125-13t-12.375-6l-5-0.75q-5.25
|
||||||
|
0-7.25 1.125t-1.25 2.875 2.25 3.5 3.25 3l1.75 1.25q5.5 2.5 10.875
|
||||||
|
9.5t7.875 12.75l2.5 5.75q3.25 9.5 11 15.375t16.75 7.5 17.375 1.75
|
||||||
|
13.875-0.875l5.75-1q0 9.5 0.125 22.125t0.125 13.625q0 4.5-3.25 7.5t-10
|
||||||
|
1.75q-58-19.25-94.625-69.375t-36.625-112.875q0-52.25
|
||||||
|
25.75-96.375t69.875-69.875 96.375-25.75zM72.75
|
||||||
|
307.75q0.75-1.75-1.75-3-2.5-0.75-3.25 0.5-0.75 1.75 1.75 3 2.25 1.5
|
||||||
|
3.25-0.5zM80.5 316.25q1.75-1.25-0.5-4-2.5-2.25-4-0.75-1.75 1.25 0.5 4
|
||||||
|
2.5 2.5 4 0.75zM88 327.5q2.25-1.75 0-4.75-2-3.25-4.25-1.5-2.25 1.25 0
|
||||||
|
4.5t4.25 1.75zM98.5 338q2-2-1-4.75-3-3-5-0.75-2.25 2 1 4.75 3 3 5
|
||||||
|
0.75zM112.75 344.25q0.75-2.75-3.25-4-3.75-1-4.75 1.75t3.25 3.75q3.75
|
||||||
|
1.5 4.75-1.5zM128.5 345.5q0-3.25-4.25-2.75-4 0-4 2.75 0 3.25 4.25 2.75
|
||||||
|
4 0 4-2.75zM143 343q-0.5-2.75-4.5-2.25-4 0.75-3.5 3.75t4.5 2
|
||||||
|
3.5-3.5z" fill="white" />
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
31
src/assets/images/icons/gitlab-black.svg
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500"
|
||||||
|
viewBox="0 0 500 500">
|
||||||
|
<g transform="translate(156.197863, 1.160267)">
|
||||||
|
<path d="M93.667,473.347L93.667,473.347l90.684-279.097H2.983L93.667,
|
||||||
|
473.347L93.667,473.347z" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(28.531199, 1.160800)" opacity="0.7">
|
||||||
|
<path d="M221.333,473.345L130.649,194.25H3.557L221.333,473.345L221.333,
|
||||||
|
473.345z" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(0.088533, 0.255867)" opacity="0.5">
|
||||||
|
<path d="M32,195.155L32,195.155L4.441,279.97c-2.513,7.735,0.24,16.21,6.821,
|
||||||
|
20.99l238.514,173.29 L32,195.155L32,195.155z" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(29.421866, 280.255593)">
|
||||||
|
<path d="M2.667-84.844h127.092L75.14-252.942c-2.811-8.649-15.047-8.649-17.856,
|
||||||
|
0L2.667-84.844 L2.667-84.844z" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(247.197860, 1.160800)" opacity="0.7">
|
||||||
|
<path d="M2.667,473.345L93.351,194.25h127.092L2.667,473.345L2.667,
|
||||||
|
473.345z" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(246.307061, 0.255867)" opacity="0.5">
|
||||||
|
<path d="M221.334,195.155L221.334,195.155l27.559,84.815c2.514,7.735-0.24,
|
||||||
|
16.21-6.821,20.99 L3.557,474.25L221.334,195.155L221.334,195.155z" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(336.973725, 280.255593)">
|
||||||
|
<path d="M130.667-84.844H3.575l54.618-168.098c2.811-8.649,15.047-8.649,
|
||||||
|
17.856,0L130.667-84.844 L130.667-84.844z" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
32
src/assets/images/icons/gitlab-white.svg
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500"
|
||||||
|
viewBox="0 0 500 500">
|
||||||
|
<g transform="translate(156.197863, 1.160267)">
|
||||||
|
<path d="M93.667,473.347L93.667,473.347l90.684-279.097H2.983L93.667,
|
||||||
|
473.347L93.667,473.347z" fill="white" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(28.531199, 1.160800)" opacity="0.7">
|
||||||
|
<path d="M221.333,473.345L130.649,194.25H3.557L221.333,473.345L221.333,
|
||||||
|
473.345z" fill="white" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(0.088533, 0.255867)" opacity="0.5">
|
||||||
|
<path d="M32,195.155L32,195.155L4.441,279.97c-2.513,7.735,0.24,16.21,6.821,
|
||||||
|
20.99l238.514,173.29 L32,195.155L32,195.155z" fill="white" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(29.421866, 280.255593)">
|
||||||
|
<path d="M2.667-84.844h127.092L75.14-252.942c-2.811-8.649-15.047-8.649-17.856,
|
||||||
|
0L2.667-84.844 L2.667-84.844z" fill="white" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(247.197860, 1.160800)" opacity="0.7">
|
||||||
|
<path d="M2.667,473.345L93.351,194.25h127.092L2.667,473.345L2.667,
|
||||||
|
473.345z" fill="white" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(246.307061, 0.255867)" opacity="0.5">
|
||||||
|
<path d="M221.334,195.155L221.334,195.155l27.559,84.815c2.514,7.735-0.24,
|
||||||
|
16.21-6.821,20.99 L3.557,474.25L221.334,195.155L221.334,195.155z"
|
||||||
|
fill="white" />
|
||||||
|
</g>
|
||||||
|
<g transform="translate(336.973725, 280.255593)">
|
||||||
|
<path d="M130.667-84.844H3.575l54.618-168.098c2.811-8.649,15.047-8.649,
|
||||||
|
17.856,0L130.667-84.844 L130.667-84.844z" fill="white" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
@ -74,7 +74,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
|
|
||||||
/* Intercept click on search mode toggle */
|
/* Intercept click on search mode toggle */
|
||||||
var offset = 0;
|
var offset = 0;
|
||||||
var toggle = document.getElementById('md-toggle-search');
|
var toggle = document.getElementById('search');
|
||||||
toggle.addEventListener('click', function(e) {
|
toggle.addEventListener('click', function(e) {
|
||||||
var list = document.body.classList;
|
var list = document.body.classList;
|
||||||
var lock = !matchMedia('only screen and (min-width: 960px)').matches;
|
var lock = !matchMedia('only screen and (min-width: 960px)').matches;
|
||||||
|
@ -67,21 +67,222 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-icon--github {
|
// .md-icon--github {
|
||||||
|
// &::before {
|
||||||
|
// content: " ";
|
||||||
|
// display: block;
|
||||||
|
// background-image: url("../images/icons/github-white.svg"); // TODO: user default source icon otherwise
|
||||||
|
// background-size: 2.4rem 2.4rem;
|
||||||
|
// background-repeat: no-repeat;
|
||||||
|
// width: 2.4rem;
|
||||||
|
// height: 2.4rem;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// override locally
|
||||||
|
|
||||||
|
.md-header-source {
|
||||||
|
position: relative;
|
||||||
|
display: table-cell;
|
||||||
|
// background: black;
|
||||||
|
white-space: nowrap;
|
||||||
|
min-width: 23.0rem;
|
||||||
|
max-width: 23.0rem;
|
||||||
|
height: 4.8rem;
|
||||||
|
font-size: 1.3rem;
|
||||||
|
vertical-align: middle;
|
||||||
|
padding-right: 0.8rem;
|
||||||
|
padding-left: 4.0rem;
|
||||||
|
transition: opacity .25s;
|
||||||
|
&:hover {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: " ";
|
content: " ";
|
||||||
display: block;
|
display: block;
|
||||||
background-image: url("../images/icons/github-white.svg"); // TODO: user default source icon otherwise
|
background-image: url("../images/icons/github-white.svg"); // TODO: user default source icon otherwise
|
||||||
background-size: 2.4rem 2.4rem;
|
background-size: 2.4rem 2.4rem;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
// width: 12.4rem;
|
width: 2.4rem;
|
||||||
height: 2.4rem;
|
height: 2.4rem;
|
||||||
|
position: absolute;
|
||||||
|
left: 0.8rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-weight: 700;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
.count {
|
||||||
|
color: $md-color-white--light;
|
||||||
|
// display: none;
|
||||||
|
// text-transform: uppercase;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-header-nav__source {
|
|
||||||
display: table;
|
|
||||||
white-space: nowrap;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.checklist {
|
||||||
|
|
||||||
|
li {
|
||||||
|
position: relative;
|
||||||
|
list-style-type: none;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
@extend %md-icon;
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
appearance: none;
|
||||||
|
color: blue;
|
||||||
|
|
||||||
|
content: "check_box";
|
||||||
|
font-size: 2.4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:checked {
|
||||||
|
width: 20px;
|
||||||
|
// & ~ .checklist li::after {
|
||||||
|
// color: red;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Inline code blocks
|
||||||
|
ins.critic, del.critic, mark {
|
||||||
|
margin: 0 0.4rem;
|
||||||
|
padding: 0.1rem 0;
|
||||||
|
word-break: break-word;
|
||||||
|
box-decoration-break: clone;
|
||||||
|
|
||||||
|
border-radius: 0.2rem;
|
||||||
|
|
||||||
|
// &::before {
|
||||||
|
// @extend %md-icon;
|
||||||
|
//
|
||||||
|
// color: $md-color-black--light;
|
||||||
|
//
|
||||||
|
// font-size: 1.6rem;
|
||||||
|
// padding-right: 0.2rem;
|
||||||
|
// vertical-align: -0.2rem;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
ins.critic {
|
||||||
|
background: #DDFFDD;
|
||||||
|
box-shadow: 0.4rem 0 0 #DDFFDD,
|
||||||
|
-0.4rem 0 0 #DDFFDD;
|
||||||
|
text-decoration: none;
|
||||||
|
// &::before {
|
||||||
|
// content: "add";
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
del.critic {
|
||||||
|
background: #FFDDDD;
|
||||||
|
box-shadow: 0.4rem 0 0 #FFDDDD,
|
||||||
|
-0.4rem 0 0 #FFDDDD;
|
||||||
|
//
|
||||||
|
// &::before {
|
||||||
|
// content: "remove";
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Not critic-specific!
|
||||||
|
mark {
|
||||||
|
background: #FFFF00;
|
||||||
|
box-shadow: 0.4rem 0 0 #FFFF00,
|
||||||
|
-0.4rem 0 0 #FFFF00; // ligher yellow...
|
||||||
|
}
|
||||||
|
|
||||||
|
.critic.comment {
|
||||||
|
margin: 0 0.4rem;
|
||||||
|
padding: 0.1rem 0;
|
||||||
|
border-radius: 0.2rem;
|
||||||
|
background: #F0F0F0;
|
||||||
|
color: #37474F;
|
||||||
|
// font-size: 85%;
|
||||||
|
box-shadow: 0.4rem 0 0 #F0F0F0,
|
||||||
|
-0.4rem 0 0 #F0F0F0; // darker than code!!!
|
||||||
|
box-decoration-break: clone;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
@extend %md-icon;
|
||||||
|
|
||||||
|
color: $md-color-black--lighter;
|
||||||
|
|
||||||
|
content: "chat";
|
||||||
|
font-size: 1.6rem;
|
||||||
|
padding-right: 0.2rem;
|
||||||
|
vertical-align: -0.2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
article {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
.floater {
|
||||||
|
display: none;
|
||||||
|
float: right;
|
||||||
|
margin-top: 9px;
|
||||||
|
font-size: 13px;
|
||||||
|
padding-left: 2.6rem;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
@extend %md-icon;
|
||||||
|
|
||||||
|
content: "edit";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-list-item {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-list-item input {
|
||||||
|
margin: 0 4px 0.25em -20px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.task-list-item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-list-item input[type="checkbox"] {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-list-item input[type="checkbox"] + label {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: -24px;
|
||||||
|
width: 16px;
|
||||||
|
margin-top: -8px;
|
||||||
|
height: 16px;
|
||||||
|
border-radius: 2px;
|
||||||
|
background: #CCC;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-list-item input[type="checkbox"]:checked + label::before {
|
||||||
|
display: block;
|
||||||
|
margin-top: -4px;
|
||||||
|
margin-left: 2px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
line-height: 1;
|
||||||
|
border-radius: 2px;
|
||||||
|
content: "✔";
|
||||||
|
color: #1EBB52;
|
||||||
|
}
|
||||||
|
@ -152,5 +152,4 @@ button {
|
|||||||
input {
|
input {
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
appearance: none;
|
|
||||||
}
|
}
|
||||||
|
@ -154,6 +154,7 @@ code {
|
|||||||
code {
|
code {
|
||||||
margin: 0 0.4rem;
|
margin: 0 0.4rem;
|
||||||
padding: 0.1rem 0;
|
padding: 0.1rem 0;
|
||||||
|
border-radius: 0.2rem;
|
||||||
background: #F7F7F7;
|
background: #F7F7F7;
|
||||||
color: #37474F;
|
color: #37474F;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
@ -161,7 +162,6 @@ code {
|
|||||||
-0.4rem 0 0 #F7F7F7;
|
-0.4rem 0 0 #F7F7F7;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|
||||||
// Hack: Make FF >= 34 behave correctly
|
|
||||||
box-decoration-break: clone;
|
box-decoration-break: clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,6 +132,7 @@ hr {
|
|||||||
// Flexible layout container cell/element
|
// Flexible layout container cell/element
|
||||||
&__cell {
|
&__cell {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
position: relative;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
// Shrink to minimum width
|
// Shrink to minimum width
|
||||||
|
@ -146,7 +146,7 @@
|
|||||||
|
|
||||||
// Active search field
|
// Active search field
|
||||||
&:focus {
|
&:focus {
|
||||||
width: 40.0rem;
|
width: 72.8rem;
|
||||||
background: $md-color-white;
|
background: $md-color-white;
|
||||||
color: $md-color-black;
|
color: $md-color-black;
|
||||||
|
|
||||||
|
@ -56,25 +56,25 @@
|
|||||||
<!-- Generator banner -->
|
<!-- Generator banner -->
|
||||||
<meta name="generator" content="mkdocs+$theme-name$#$theme-version$" />
|
<meta name="generator" content="mkdocs+$theme-name$#$theme-version$" />
|
||||||
|
|
||||||
<!-- Theme-related stylesheets -->
|
<!-- Modernizr -->
|
||||||
<link rel="stylesheet" type="text/css"
|
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
|
||||||
href="{{ base_url }}/assets/stylesheets/application.css" />
|
|
||||||
|
|
||||||
<!-- Web fonts -->
|
<!-- Web fonts -->
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700" />
|
href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700" />
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="https://fonts.googleapis.com/css?family=Roboto+Mono:500,700" />
|
href="https://fonts.googleapis.com/css?family=Roboto+Mono:500" />
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||||
|
|
||||||
|
<!-- Theme-related stylesheets -->
|
||||||
|
<link rel="stylesheet" type="text/css"
|
||||||
|
href="{{ base_url }}/assets/stylesheets/application.css" />
|
||||||
|
|
||||||
<!-- Custom stylesheets -->
|
<!-- Custom stylesheets -->
|
||||||
{% for path in extra_css %}
|
{% for path in extra_css %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ path }}" />
|
<link rel="stylesheet" type="text/css" href="{{ path }}" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!-- Modernizr -->
|
|
||||||
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
<!-- Main container -->
|
<!-- Main container -->
|
||||||
<main class="md-main">
|
<main class="md-main">
|
||||||
<div class="md-grid md-main__inner">
|
<div class="md-main__inner md-grid">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This is a nasty hack that checks whether the content contains a
|
This is a nasty hack that checks whether the content contains a
|
||||||
@ -116,6 +116,10 @@
|
|||||||
<!-- Article -->
|
<!-- Article -->
|
||||||
<div class="md-content md-content--typeset">
|
<div class="md-content md-content--typeset">
|
||||||
<article class="md-content__inner">
|
<article class="md-content__inner">
|
||||||
|
|
||||||
|
<!-- TODO: test -->
|
||||||
|
<div class="floater">Edit on GitHub</div>
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<!-- Copyright and theme information -->
|
<!-- Copyright and theme information -->
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<!-- Link to previous and/or next page -->
|
<!-- Link to previous and/or next page -->
|
||||||
{% if previous_page or next_page %}
|
{% if previous_page or next_page %}
|
||||||
<div class="md-footer-pagination">
|
<div class="md-footer-pagination">
|
||||||
<nav class="md-grid md-footer-nav">
|
<nav class="md-footer-nav md-grid">
|
||||||
|
|
||||||
<!-- Link to previous page -->
|
<!-- Link to previous page -->
|
||||||
{% if previous_page %}
|
{% if previous_page %}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<header class="md-header">
|
<header class="md-header">
|
||||||
|
|
||||||
<!-- Top-level navigation -->
|
<!-- Top-level navigation -->
|
||||||
<nav class="md-grid md-header-nav">
|
<nav class="md-header-nav md-grid">
|
||||||
<div class="md-flex">
|
<div class="md-flex">
|
||||||
|
|
||||||
<!-- Button to toggle drawer -->
|
<!-- Button to toggle drawer -->
|
||||||
@ -34,17 +34,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Header title -->
|
<!-- Header title -->
|
||||||
<div class="md-flex__cell md-flex__cell--stretch md-header-nav__title">
|
<div class="md-flex__cell md-flex__cell--stretch">
|
||||||
<span class="md-flex__ellipsis">
|
<span class="md-flex__ellipsis md-header-nav__title">
|
||||||
{{ page_title | default(site_name, true) }}
|
{{ page_title | default(site_name, true) }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Button to open search dialogue -->
|
<!-- Button to open search dialogue -->
|
||||||
<div class="md-flex__cell md-flex__cell--shrink md-search">
|
<div class="md-flex__cell md-flex__cell--shrink"> <!-- TODO: put search tag somewhere... -->
|
||||||
<label class="md-icon md-icon--search md-header-nav__icon"
|
<label class="md-icon md-icon--search md-header-nav__icon"
|
||||||
for="search"></label>
|
for="search"></label>
|
||||||
<div class="md-search__overlay"></div>
|
<div class="md-search__overlay"></div> <!-- name this header overlay? the other one search? -->
|
||||||
<div class="md-search__inner">
|
<div class="md-search__inner">
|
||||||
<form class="md-search__form">
|
<form class="md-search__form">
|
||||||
<input type="text" class="md-search__input"
|
<input type="text" class="md-search__input"
|
||||||
@ -70,19 +70,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Link to GitHub profile -->
|
<!-- Link to repository -->
|
||||||
<div class="md-flex__cell md-flex__cell--shrink md-header-nav__source">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
<a href="{{ repo_url }}" title="GitHub" class="md-header-nav__link">
|
<a href="{{ repo_url }}" title="GitHub" class="md-header-source">
|
||||||
GitHub <small>135 Stars</small>
|
<div class="md-header-source__inner">
|
||||||
|
<div class="title">squidfunk/mkdocs-material</div>
|
||||||
<!-- <i class="md-icon--github md-header-nav__icon">
|
<div class="count">0.2.4 – 177 Stars – 46 Forks</div>
|
||||||
|
</div>
|
||||||
</i>
|
|
||||||
<span class="md-header-nav__icon-title">
|
|
||||||
|
|
||||||
</span> -->
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|