├── .editorconfig ├── .gitignore ├── README.md ├── TODO.md ├── android-update └── ppt │ └── android-update.md ├── async ├── code │ ├── data │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── user.json │ │ └── user_store.json │ ├── package.json │ └── src │ │ ├── async_await.js │ │ ├── async_await2.js │ │ ├── async_await_catch.js │ │ ├── babel_base.js │ │ ├── browser_pack_promise.js │ │ ├── callbacks │ │ ├── catch.js │ │ └── hell.js │ │ ├── events_error.js │ │ ├── generator_async.js │ │ ├── generator_base.js │ │ ├── generator_promise.js │ │ ├── generator_promise_co.js │ │ ├── generator_promise_do.js │ │ ├── generator_test.js │ │ ├── generator_thunk_do.js │ │ ├── pack_promise.js │ │ ├── pack_thunk.js │ │ ├── pack_thunkify.js │ │ ├── promise_introduction.js │ │ ├── thunk.js │ │ └── thunkify_introduction.js └── ppt │ └── async_solution.md ├── es67-workflow ├── code │ ├── .babelrc_example │ ├── README.md │ ├── app │ │ ├── css │ │ │ └── component.css │ │ ├── custom.html │ │ ├── font │ │ │ └── indieflower.woff │ │ ├── img │ │ │ └── avatar.jpeg │ │ ├── js │ │ │ ├── mobile.js │ │ │ └── models │ │ │ │ ├── feed.jsx │ │ │ │ ├── hello.jsx │ │ │ │ └── profile.jsx │ │ └── scss │ │ │ └── test.scss │ ├── dist │ │ ├── css │ │ │ └── styles.css │ │ ├── custom.html │ │ └── js │ │ │ ├── mobile.js │ │ │ └── vendors.js │ ├── package.json │ └── webpack.config.babel.js └── ppt │ ├── css │ └── demo.css │ ├── es67-workflow.md │ ├── img │ └── webpack.jpg │ └── workflow.md ├── generate.js ├── package.json └── publish ├── android-update.htm ├── async_solution.htm ├── build_websystem.htm ├── css ├── eater.woff ├── font-awesome.css ├── nodeppt.css ├── pdf.css ├── pen.cur ├── phone.css ├── sourcecode.woff ├── tangerine.woff ├── theme.blue.css ├── theme.dark.css ├── theme.green.css ├── theme.light.css └── theme.moon.css ├── es67-workflow.htm ├── es67workflow.htm ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── source-pro-light-latin-ext.woff2 ├── source-pro-light-latin.woff2 ├── source-pro-regular-latin-ext.woff2 ├── source-pro-regular-latin.woff2 ├── source-pro-siemibold-latin-ext.woff2 └── source-pro-siemibold-latin.woff2 ├── img ├── bg.jpg ├── bg1.png ├── now.jpeg ├── web1.0.jpeg ├── web1.5.jpeg ├── web2.0.jpeg └── webpack.jpg └── js ├── event └── broadcast.js ├── highlight ├── LICENSE ├── highlight.pack.js ├── highlight.pack.min.js └── styles │ ├── agate.css │ ├── androidstudio.css │ ├── arta.css │ ├── ascetic.css │ ├── atelier-cave.dark.css │ ├── atelier-cave.light.css │ ├── atelier-dune.dark.css │ ├── atelier-dune.light.css │ ├── atelier-estuary.dark.css │ ├── atelier-estuary.light.css │ ├── atelier-forest.dark.css │ ├── atelier-forest.light.css │ ├── atelier-heath.dark.css │ ├── atelier-heath.light.css │ ├── atelier-lakeside.dark.css │ ├── atelier-lakeside.light.css │ ├── atelier-plateau.dark.css │ ├── atelier-plateau.light.css │ ├── atelier-savanna.dark.css │ ├── atelier-savanna.light.css │ ├── atelier-seaside.dark.css │ ├── atelier-seaside.light.css │ ├── atelier-sulphurpool.dark.css │ ├── atelier-sulphurpool.light.css │ ├── brown_paper.css │ ├── brown_papersq.png │ ├── codepen-embed.css │ ├── color-brewer.css │ ├── dark.css │ ├── darkula.css │ ├── default.css │ ├── docco.css │ ├── far.css │ ├── foundation.css │ ├── github-gist.css │ ├── github.css │ ├── googlecode.css │ ├── grayscale.css │ ├── hopscotch.css │ ├── hybrid.css │ ├── idea.css │ ├── ir_black.css │ ├── kimbie.dark.css │ ├── kimbie.light.css │ ├── magula.css │ ├── mono-blue.css │ ├── monokai.css │ ├── monokai_sublime.css │ ├── obsidian.css │ ├── paraiso.dark.css │ ├── paraiso.light.css │ ├── pojoaque.css │ ├── pojoaque.jpg │ ├── railscasts.css │ ├── rainbow.css │ ├── school_book.css │ ├── school_book.png │ ├── solarized_dark.css │ ├── solarized_light.css │ ├── sunburst.css │ ├── tomorrow-night-blue.css │ ├── tomorrow-night-bright.css │ ├── tomorrow-night-eighties.css │ ├── tomorrow-night.css │ ├── tomorrow.css │ ├── vs.css │ ├── xcode.css │ └── zenburn.css ├── img.screenfull.js ├── mixjs ├── .npmignore ├── Gruntfile.js ├── MIT-LICENSE.txt ├── README.md ├── lib │ ├── event │ │ ├── broadcast.js │ │ └── wait.js │ ├── mix-0.2.js │ ├── mix.0.3.0.js │ ├── mix.0.3.0.map │ └── mix.0.3.0.min.js ├── package.json ├── research │ ├── js.php │ ├── load-test.html │ ├── loadjs.html │ └── userAgent.html └── src │ ├── Module.js │ ├── Promise.js │ ├── browser.js │ ├── core.js │ ├── getCurrentScript.js │ ├── getPath.js │ ├── intro.js │ ├── loadcss-img.js │ ├── loadcss.js │ ├── loadjs.js │ ├── outro.js │ ├── typeof.js │ └── vars.js ├── nodeppt.control.js ├── nodeppt.control.postMessage.js ├── nodeppt.control.socket.js ├── nodeppt.js ├── nodeppt.trail.js ├── prettify.js ├── qrcode.js ├── shake.js ├── socket.io.js └── zoom.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | 5 | # Change these settings to your own preference 6 | indent_style = space 7 | indent_size = 2 8 | 9 | # We recommend you to keep these unchanged 10 | end_of_line = lf 11 | charset = utf-8 12 | trim_trailing_whitespace = true 13 | insert_final_newline = true 14 | 15 | [*.md] 16 | insert_final_newline = false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### OSX template 3 | *.DS_Store 4 | .AppleDouble 5 | .LSOverride 6 | 7 | # Icon must end with two \r 8 | Icon 9 | 10 | # Thumbnails 11 | ._* 12 | 13 | # Files that might appear in the root of a volume 14 | .DocumentRevisions-V100 15 | .fseventsd 16 | .Spotlight-V100 17 | .TemporaryItems 18 | .Trashes 19 | .VolumeIcon.icns 20 | .com.apple.timemachine.donotpresent 21 | 22 | # Directories potentially created on remote AFP share 23 | .AppleDB 24 | .AppleDesktop 25 | Network Trash Folder 26 | Temporary Items 27 | .apdisk 28 | 29 | # editor 30 | .idea 31 | .vscode 32 | 33 | # node 34 | node_modules 35 | 36 | # private 37 | build-history* 38 | fe-engineering* 39 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | --- 2 | ## 关于前端的一些总结和分享 3 | * npm install -g nodeppt 4 | * nodeppt start -p 9999 -d `target_dir` 5 | 6 | ### 本地跑起来 7 | 8 | ```bash 9 | git clone https://github.com/jiangtao/shares.git 10 | cd shares 11 | npm run 12 | ``` 13 | 14 | 15 | #### 分享地址 16 | * [Android apk管理和自动更新](https://github.com/jiangtao/Android-Update) 17 | * [异步编程小结](https://github.com/jiangtao/blog/issues/9) 18 | * [搭建ES6/7工作流搭建](http://jiangtao.github.io/shares/publish/es67-workflow.htm) 19 | 20 | ##### TODO 21 | * [Todo List](TODO.md) 22 | -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- 1 | ####坚持总结,总会有收获 2 | 3 | - [x] ES6/7工作流搭建 4 | - [x] 每次发布完, 生成新的README.md作为目录文件 5 | - [x] 搭建blog,详细记录成长和学习心得 [查看地址](https://github.com/jiangtao/blog/issues) 6 | - [x] 异步编程 7 | - [x] thinkjs实现[Android更新系统](https://github.com/jiangtao/Android-Update) 8 | - [x] markdown快速生成vue SPA [vue-docs](https://github.com/vue-tools/vue-docs) 9 | -------------------------------------------------------------------------------- /android-update/ppt/android-update.md: -------------------------------------------------------------------------------- 1 | title: Android apk管理和自动更新 2 | speaker: 江涛 3 | url: https://github.com/jiangtao/Android-Update -------------------------------------------------------------------------------- /async/code/data/file1.txt: -------------------------------------------------------------------------------- 1 | File One 2 | 3 | ##_## -------------------------------------------------------------------------------- /async/code/data/file2.txt: -------------------------------------------------------------------------------- 1 | File Two 2 | 3 | ##_## . ##_## -------------------------------------------------------------------------------- /async/code/data/user.json: -------------------------------------------------------------------------------- 1 | { 2 | "isLogin": true, 3 | "token":"dsdfsdfsdsffs", 4 | "id": "1" 5 | } -------------------------------------------------------------------------------- /async/code/data/user_store.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "books": [ 4 | { 5 | "name": "Javascript异步编程", 6 | "author": "" 7 | }, 8 | { 9 | "name": "Javascript算法和数据结构", 10 | "author": "" 11 | }, 12 | { 13 | "name": "Angular权威指南", 14 | "author": "" 15 | } 16 | ] 17 | } 18 | } -------------------------------------------------------------------------------- /async/code/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async_summary", 3 | "version": "0.0.1", 4 | "description": "", 5 | "main": "index.js", 6 | "directories": { 7 | "example": "example" 8 | }, 9 | "dependencies": { 10 | "co": "^4.6.0", 11 | "thunkify": "^2.1.2" 12 | }, 13 | "devDependencies": { 14 | "babel-cli": "^6.4.5", 15 | "babel-plugin-transform-es2015-constants": "^6.1.4", 16 | "babel-preset-es2015": "^6.3.13", 17 | "babel-preset-es2015-loose": "^7.0.0" 18 | }, 19 | "scripts": { 20 | "test": "echo \"Error: no test specified\" && exit 1", 21 | "compile": "babel --presets es2015-loose,stage-1 src/ --out-dir dist/ --retain-lines", 22 | "watch-compile": "npm run compile -- -w" 23 | }, 24 | "keywords": [ 25 | "promise", 26 | "await", 27 | "async" 28 | ], 29 | "author": "321jiangtao@gmail.com", 30 | "license": "MIT" 31 | } 32 | -------------------------------------------------------------------------------- /async/code/src/async_await.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 12/9/15. 3 | */ 4 | import {readFile, readdir} from './pack_promise'; 5 | import fs from 'fs'; 6 | import path from 'path'; 7 | async function asyncReadFile2() { 8 | var target = '../data/'; 9 | var files = await readdir(target); 10 | var a = []; 11 | for (let f of files) { 12 | a.push(await readFile(path.join(__dirname, target, f))); 13 | } 14 | return a.join('\n'); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /async/code/src/async_await2.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 12/9/15. 3 | */ 4 | import {readFile, readdir} from './pack_promise'; 5 | import fs from 'fs'; 6 | import path from 'path'; 7 | async function asyncReadFile() { 8 | // f1读完 再读f2 9 | //var f1 = await readFile(path.join(__dirname, '../data/file1.txt')); 10 | //var f2 = await readFile(path.join(__dirname, '../data/file2.txt')); 11 | var p1 = readFile(path.join(__dirname, '../data/file1.txt')); 12 | var p2 = readFile(path.join(__dirname, '../data/file2.txt')); 13 | var [f1, f2] = await Promise.all([p1, p2]); 14 | return `${f1.toString()}\n${f2.toString()}`; 15 | } 16 | async function asyncReadFile2() { 17 | var target = '../data/'; 18 | var files = await readdir(target); 19 | var a = []; 20 | for(let f of files){ 21 | a.push(await readFile(path.join(__dirname, target, f))); 22 | } 23 | return a.join('\n'); 24 | } 25 | var p = asyncReadFile2(); 26 | console.log(p); 27 | -------------------------------------------------------------------------------- /async/code/src/async_await_catch.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 12/9/15. 3 | */ 4 | import {readFile, readdir} from './pack_promise'; 5 | import fs from 'fs'; 6 | import path from 'path'; 7 | async function asyncReadFile() { 8 | var f1 = await readFile(path.join(__dirname, '../data/file11.txt')).catch((e) => { 9 | //console.log(e); 10 | return false; 11 | }); 12 | var f2 = await readFile(path.join(__dirname, '../data/file2.txt')); 13 | if(f1 && f2){ 14 | return f1.toString() + '\n' + f2.toString(); 15 | } else { 16 | return false; 17 | } 18 | } 19 | 20 | (async function () { 21 | console.log( await asyncReadFile() ); 22 | })(); 23 | -------------------------------------------------------------------------------- /async/code/src/babel_base.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/30/16. 3 | */ 4 | 5 | import babelPolyfill from 'babel-polyfill'; 6 | import babelRegister from 'babel-core/register'; -------------------------------------------------------------------------------- /async/code/src/browser_pack_promise.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/30/16. 3 | */ 4 | // 如果想运行该代码在浏览器中,请使用webpack打包 5 | 6 | export const loadImg = function (url) { 7 | return new Promise(function (resolve, reject) { 8 | var image = new Image(); 9 | image.onload = resolve; 10 | image.onerror = reject; 11 | image.src = url; 12 | }); 13 | }; 14 | export const ajax = function (options) { 15 | return new Promise(function (resolve, reject) { 16 | var xhr = new XMLHttpRequest(); 17 | xhr.open(options.method, options.url, options.async); 18 | xhr.onreadystatechange = function () { 19 | if (this.readyState === 4 && this.status === 200) { 20 | resolve(this.responseText); 21 | } else { 22 | reject(); 23 | } 24 | }; 25 | xhr.send(options.data); 26 | }); 27 | }; -------------------------------------------------------------------------------- /async/code/src/callbacks/catch.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/26/16. 3 | */ 4 | // 可以拿到异常 5 | setTimeout(() => { 6 | try { 7 | throw new Error('unexpected error'); 8 | } catch(e){ 9 | console.log('error1', e.message); 10 | } 11 | }, 100) 12 | // 拿不到异常 13 | try { 14 | setTimeout(() => { 15 | throw new Error('unexpected error'); 16 | }, 100); 17 | } catch (e) { 18 | console.log('error2', e.message); 19 | } -------------------------------------------------------------------------------- /async/code/src/callbacks/hell.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/26/16. 3 | */ 4 | import fs from 'fs'; 5 | import path from 'path'; 6 | 7 | fs.readFile(path.resolve(__dirname, '../../data/user.json'), (err, data) => { 8 | if (err) throw err; 9 | console.log('fetch user', data.toString('utf8')); 10 | fs.readFile(path.resolve(__dirname, '../../data/user_store.json'), (err, data) => { 11 | if (err) throw err; 12 | console.log('user store', data.toString('utf8')); 13 | }); 14 | }); 15 | 16 | /* 17 | doSth1((...args, callback) => { 18 | doSth2((...args, callback) => { 19 | doSth3((...args, callback) => { 20 | doSth4((...args, callback) => { 21 | doSth5((...args, callback) => { 22 | 23 | }) 24 | }) 25 | }) 26 | }) 27 | }); 28 | */ 29 | 30 | setTimeout(() => { 31 | console.log('after 100ms'); 32 | }, 100) -------------------------------------------------------------------------------- /async/code/src/events_error.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/28/16. 3 | */ 4 | 'use strict'; 5 | const EventEmitter = require('events'); 6 | const util = require('util'); 7 | let MyEmitter = function () { 8 | EventEmitter.call(this); 9 | }; 10 | 11 | util.inherits(MyEmitter, EventEmitter); 12 | 13 | const myEmitter = new MyEmitter(); 14 | myEmitter.on('error', function (e) { 15 | console.log(e.type, e.reason); 16 | }); 17 | myEmitter.on('take money', (e) => { 18 | if (e.type === 'error') { 19 | myEmitter.emit('error', { 20 | type: 'error', 21 | isTrusted: e.reason.length > 0, 22 | reason: e.reason 23 | }); 24 | } else if (e.type === 'go') { 25 | try { 26 | console.log(unknown_variable); 27 | } catch (e) { 28 | myEmitter.emit('error', {type: 'invalid_syntax', reason: e.message}); 29 | } 30 | } 31 | }); 32 | //myEmitter.emit('take money', {type: 'error', reason: '工作人员挂牌休息了'}); 33 | myEmitter.emit('take money', {type: 'go'}); -------------------------------------------------------------------------------- /async/code/src/generator_async.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/30/16. 3 | */ 4 | import baseBabel from './babel_base'; 5 | 6 | var gen = function* () { 7 | var p1 = readFile(path.join(__dirname, '../data/file1.txt')); 8 | var p2 = readFile(path.join(__dirname, '../data/file2.txt')); 9 | }; 10 | 11 | var g = gen(); 12 | 13 | var r1 = g.next(); 14 | r1.value(function (err, data) { 15 | if (err) throw err; 16 | var r2 = g.next(data); 17 | r2.value(function (err, data) { 18 | if (err) throw err; 19 | g.next(data); 20 | }); 21 | }); 22 | -------------------------------------------------------------------------------- /async/code/src/generator_base.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/30/16. 3 | */ 4 | import babelBase from './babel_base'; 5 | function* gen(x) { 6 | try { 7 | yield (x + 10); // 1 8 | //yield n + 1; // 2 error 9 | yield (x + ''); // 3 10 | yield (x * x);// 4 11 | return 'done'; // 5 12 | } catch (e) { 13 | console.log(e); 14 | } 15 | } 16 | 17 | var g = gen(10); 18 | var sum = g.next(); // 1 19 | //var error = g.next(); // 2 20 | var str = g.next(); // 3 21 | var sqrt = g.next(); // 4 22 | var result = g.next(); // 5 23 | // g.throw('error'); // 可以在生成器外 主动控制错误,异常错误也可以处理 24 | console.log(sum.value, str.value, sqrt.value, result.value); 25 | -------------------------------------------------------------------------------- /async/code/src/generator_promise.js: -------------------------------------------------------------------------------- 1 | import {readFile, readdir} from './pack_promise.js'; 2 | import path from 'path'; 3 | import babelBase from './babel_base.js'; 4 | let gen = function* () { 5 | yield readFile(path.join(__dirname, '../data/file1.txt')); 6 | yield readFile(path.join(__dirname, '../data/file2.txt')); 7 | return true; 8 | }; 9 | 10 | 11 | let execute = gen(); 12 | let pF1 = execute.next().value; 13 | let pF2 = execute.next().value; 14 | pF1.then(function (data) { 15 | console.log('f1', data.toString()); 16 | }).catch(function (err) { 17 | console.log('f1', err); 18 | }).then(function () { 19 | return pF2; 20 | }).then(function (data) { 21 | console.log('f2', data.toString()); 22 | }).catch(function (err) { 23 | console.log('f2', err); 24 | }); 25 | -------------------------------------------------------------------------------- /async/code/src/generator_promise_co.js: -------------------------------------------------------------------------------- 1 | import {readFile, readdir} from './pack_promise.js'; 2 | import path from 'path'; 3 | import babelBase from './babel_base.js'; 4 | import co from 'co'; 5 | let gen = function* () { 6 | var f1 = yield readFile(path.join(__dirname, '../data/file1.txt')); 7 | var f2 = yield readFile(path.join(__dirname, '../data/file2.txt')); 8 | //var errorFile = yield readFile(path.join(__dirname, '../data/file5.txt')); 9 | return `${f1.toString()}\r\n${f2.toString()}`; 10 | }; 11 | 12 | co(gen).then(function (data) { 13 | console.log(data); 14 | }).catch(function (e) { 15 | console.log(e); 16 | }); 17 | 18 | 19 | -------------------------------------------------------------------------------- /async/code/src/generator_promise_do.js: -------------------------------------------------------------------------------- 1 | import {readFile, readdir} from './pack_promise.js'; 2 | import path from 'path'; 3 | import babelBase from './babel_base.js'; 4 | const isPromise = function (p) { 5 | return typeof p.then === 'function' && typeof p.catch === 'function'; 6 | }; 7 | const run = function (generator) { 8 | var g = generator(); 9 | var counter = 0; 10 | var perform = function (result) { 11 | console.log(++counter, result.done, result.value) 12 | if (result.done === true) { 13 | return new Promise(function (resolve) { 14 | resolve(result.value); 15 | }); 16 | //return result.value; 17 | } 18 | if (isPromise(result.value)) { 19 | return result.value.then(function (v) { 20 | return perform(g.next(v)); 21 | }).catch(function (e) { 22 | return perform(g.throw(e)); 23 | }) 24 | } 25 | 26 | }; 27 | return perform(g.next()); 28 | }; 29 | let gen = function* () { 30 | var f1 = yield readFile(path.join(__dirname, '../data/file1.txt')); 31 | var f2 = yield readFile(path.join(__dirname, '../data/file2.txt')); 32 | var errorFile = yield readFile(path.join(__dirname, '../data/file5.txt')); 33 | return `${f1.toString()}\r\n${f2.toString()}`; 34 | }; 35 | run(gen).then(function (data) { 36 | console.log('finally result', data); 37 | }).catch(function (e) { 38 | console.log(e); 39 | }); 40 | -------------------------------------------------------------------------------- /async/code/src/generator_test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/30/16. 3 | */ 4 | import babelBase from './babel_base'; 5 | function* gen(x) { 6 | try { 7 | var y = yield (x + 10); 8 | var m = yield y + y; 9 | return m; 10 | } catch (e) { 11 | console.log(e); 12 | } 13 | } 14 | 15 | 16 | for(var i of g){ 17 | console.log(i); 18 | } 19 | 20 | var g = gen(10); 21 | var sum = g.next(); 22 | var concat = g.next(10); 23 | var result = g.next('result'); 24 | console.log(sum.value, concat.value, result.value); 25 | 26 | -------------------------------------------------------------------------------- /async/code/src/generator_thunk_do.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 2/1/16. 3 | */ 4 | import {readFile, readdir} from './pack_thunk'; 5 | import babelBase from './babel_base'; 6 | import path from 'path'; 7 | import util from 'util'; 8 | const isGenerator = (g) => { 9 | return g.constructor.name === 'GeneratorFunction'; 10 | }; 11 | const run = (gen) => { 12 | //if (!isGenerator(gen)) throw new Error('arguments is valid generator'); 13 | var g = gen(); 14 | var counter = 0; 15 | var perform = function (result) { 16 | console.log(++counter, result.value, result.done); 17 | if (result.done === true) { 18 | return new Promise(function (resolve) { 19 | resolve(result.value); 20 | }) 21 | } 22 | return result.value(function (err, data) { 23 | if (err) throw err; 24 | perform(g.next(data)); 25 | }); 26 | 27 | }; 28 | return perform(g.next()); 29 | }; 30 | 31 | const generator = function* () { 32 | var f1 = yield readFile(path.resolve(__dirname, '../data/file1.txt')); 33 | console.log(f1.toString()); 34 | var f2 = yield readFile(path.resolve(__dirname, '../data/file2.txt')); 35 | console.log(f2.toString()); 36 | return `${f1.toString()}\n${f2.toString()}`; 37 | }; 38 | run(generator) -------------------------------------------------------------------------------- /async/code/src/pack_promise.js: -------------------------------------------------------------------------------- 1 | import fs from 'fs'; 2 | import path from 'path'; 3 | import babelBase from './babel_base'; 4 | 5 | /** 6 | * @description read file 7 | * @param fileName 8 | * @returns {Promise} 9 | */ 10 | export const readFile = fileName => { 11 | return new Promise((resolve, reject) => { 12 | fs.readFile(fileName, (err, data) => { 13 | if (err) reject(err); 14 | resolve(data); 15 | }) 16 | }); 17 | }; 18 | /** 19 | * @description read dir 20 | * @param folder 21 | * @returns {Promise} 22 | */ 23 | export const readdir = (folder) => { 24 | return new Promise((resolve, reject) => { 25 | fs.readdir(path.resolve(__dirname, folder), (err, files) => { 26 | if (err) reject(err); 27 | resolve(files); 28 | }) 29 | }); 30 | }; -------------------------------------------------------------------------------- /async/code/src/pack_thunk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 2/1/16. 3 | */ 4 | 5 | import fs from 'fs'; 6 | import util from 'util'; 7 | import thunk from './thunk'; 8 | 9 | export const readFile = thunk(fs.readFile); 10 | export const readdir = thunk(fs.readdir); -------------------------------------------------------------------------------- /async/code/src/pack_thunkify.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 2/1/16. 3 | */ 4 | import fs from 'fs'; 5 | import path from 'path'; 6 | import thunkify from 'thunkify'; 7 | 8 | 9 | export const readFile = thunkify(fs.readFile); 10 | export const readdir = thunkify(fs.readdir); -------------------------------------------------------------------------------- /async/code/src/promise_introduction.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 1/29/16. 3 | */ 4 | import {readdir, readFile} from './pack_promise'; 5 | import path from 'path'; 6 | var path1 = path.resolve(__dirname, '../data/file1.txt'); 7 | var path2 = path.resolve(__dirname, '../data/file2.txt'); 8 | var errorPath = path.resolve(__dirname, '../data/file5.txt'); 9 | readFile(path1).then(function (data) { 10 | console.log(data.toString()); 11 | return readFile(path2); 12 | }).then(function (data) { 13 | console.log(data.toString()); 14 | return readFile(errorPath); 15 | }).then(function (data) { 16 | console.log(data.toString()); 17 | }).catch(function (e) { 18 | console.log('error', e); 19 | return readFile(path1); 20 | }).then(function (data) { 21 | console.log(data.toString()); 22 | }); -------------------------------------------------------------------------------- /async/code/src/thunk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 2/1/16. 3 | */ 4 | import util from 'util'; 5 | const thunk = function (fn) { 6 | if (!util.isFunction(fn)) { 7 | throw new TypeError('thunk arguments valid Function'); 8 | } 9 | return function () { 10 | var args = Array.prototype.slice.call(arguments, 0); 11 | return function (cb) { 12 | args.push(cb); 13 | return fn.apply(null, args); 14 | } 15 | } 16 | }; 17 | export default thunk; -------------------------------------------------------------------------------- /async/code/src/thunkify_introduction.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by jiangtao on 2/1/16. 3 | */ 4 | //import {readFile, readdir} from './pack_thunkify.js'; 5 | import {readFile, readdir} from './pack_thunk'; 6 | 7 | import path from 'path'; 8 | var readFile1 = readFile(path.resolve(__dirname, '../data/file1.txt')); 9 | console.log(path.resolve(__dirname, '../data/file1.txt')) 10 | readFile1(function (err, data) { 11 | if(err) throw err; 12 | console.log(data.toString()); 13 | }); 14 | -------------------------------------------------------------------------------- /async/ppt/async_solution.md: -------------------------------------------------------------------------------- 1 | title: 异步编程小结 2 | speaker: 江涛 3 | url: https://github.com/jiangtao/blog/issues/9 -------------------------------------------------------------------------------- /es67-workflow/code/.babelrc_example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/es67-workflow/code/.babelrc_example -------------------------------------------------------------------------------- /es67-workflow/code/README.md: -------------------------------------------------------------------------------- 1 | - [webpack.optimaze.CommonsChunkPlugin](https://github.com/webpack/docs/wiki/optimization) -------------------------------------------------------------------------------- /es67-workflow/code/app/css/component.css: -------------------------------------------------------------------------------- 1 | img{ 2 | max-width: 100%; 3 | } -------------------------------------------------------------------------------- /es67-workflow/code/app/custom.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | test webpack app 6 | 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /es67-workflow/code/app/font/indieflower.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/es67-workflow/code/app/font/indieflower.woff -------------------------------------------------------------------------------- /es67-workflow/code/app/img/avatar.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/es67-workflow/code/app/img/avatar.jpeg -------------------------------------------------------------------------------- /es67-workflow/code/app/js/mobile.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDom from 'react-dom'; 3 | import Hello from './models/hello.jsx'; 4 | ReactDom.render(, document.getElementById('app')); 5 | 6 | //import register from 'babel-core/register'; 7 | //async function sleep(timeout) { 8 | // return new Promise((resolve, reject) => { 9 | // setTimeout(function () { 10 | // resolve(); 11 | // }, timeout); 12 | // }); 13 | //} 14 | //(async function () { 15 | // await sleep(3000); 16 | // console.log('after 3s'); 17 | //})(); 18 | 19 | -------------------------------------------------------------------------------- /es67-workflow/code/app/js/models/feed.jsx: -------------------------------------------------------------------------------- 1 | var React = require('react'); 2 | 3 | var Feed = React.createClass({ 4 | 5 | render: function() { 6 | return ( 7 |

Feed

8 | ); 9 | } 10 | 11 | }); 12 | 13 | module.exports = Feed; -------------------------------------------------------------------------------- /es67-workflow/code/app/js/models/hello.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import '../../css/component.css'; 3 | import '../../scss/test.scss'; 4 | 5 | export default class Hello extends React.Component { 6 | render() { 7 | return ( 8 |
9 |
10 |

hello, React!

11 |
12 | ) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /es67-workflow/code/app/js/models/profile.jsx: -------------------------------------------------------------------------------- 1 | var React = require('react'); 2 | var Profile = React.createClass({ 3 | render: function() { 4 | return ( 5 |

Profile

6 | ); 7 | } 8 | }); 9 | 10 | module.exports = Profile; -------------------------------------------------------------------------------- /es67-workflow/code/app/scss/test.scss: -------------------------------------------------------------------------------- 1 | $fontSize: 14px; 2 | body { 3 | margin:0; 4 | font-size: $fontSize; 5 | background-color:#eee; 6 | } 7 | 8 | .avatar { 9 | display: block; 10 | background: url(../img/avatar.jpeg) no-repeat; 11 | width:320px; 12 | height: 320px; 13 | } 14 | -------------------------------------------------------------------------------- /es67-workflow/code/dist/custom.html: -------------------------------------------------------------------------------- 1 | test webpack app
-------------------------------------------------------------------------------- /es67-workflow/code/dist/js/mobile.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([0],[]); -------------------------------------------------------------------------------- /es67-workflow/code/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "share-webpack", 3 | "version": "0.1.0", 4 | "description": "share webpack", 5 | "main": "webpack.config.js", 6 | "devDependencies": { 7 | "babel-core": "^5.8.34", 8 | "babel-loader": "^5.4.0", 9 | "babel-plugin-syntax-async-functions": "^6.1.18", 10 | "babel-plugin-syntax-async-generators": "^6.1.18", 11 | "babel-plugin-transform-regenerator": "^6.2.0", 12 | "babel-plugin-transform-runtime": "^6.1.18", 13 | "babel-polyfill": "^6.2.0", 14 | "babel-preset-es2015": "^6.1.18", 15 | "babel-preset-stage-0": "^6.1.18", 16 | "babel-preset-stage-3": "^6.1.18", 17 | "babel-runtime": "^6.2.0", 18 | "css-loader": "^0.23.0", 19 | "extract-text-webpack-plugin": "^0.9.1", 20 | "html-webpack-plugin": "^1.7.0", 21 | "node-sass": "^3.4.2", 22 | "react": "^0.14.3", 23 | "react-dom": "^0.14.3", 24 | "sass-loader": "^3.1.2", 25 | "style-loader": "^0.13.0", 26 | "url-loader": "^0.5.7", 27 | "webpack": "^1.12.9", 28 | "webpack-dev-server": "^1.14.0", 29 | "webpack-vendor-chunk-plugin": "^1.0.0" 30 | }, 31 | "scripts": { 32 | "build": "webpack", 33 | "HRM": "webpack-dev-server --devtool eval --progress --colors --hot --inline --port 9999 --content-base ./app", 34 | "deploy": "webpack -p " 35 | }, 36 | "author": "", 37 | "license": "ISC" 38 | } 39 | -------------------------------------------------------------------------------- /es67-workflow/code/webpack.config.babel.js: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import webpack from 'webpack'; 3 | import ExtractTextPlugin from 'extract-text-webpack-plugin'; 4 | import HtmlWebpackPlugin from 'html-webpack-plugin'; 5 | let node_modules = path.resolve(__dirname, 'node_modules'); 6 | let DEPLOY = process.env.webpack_deploy; 7 | let entry = { 8 | mobile: [path.resolve(__dirname, 'app/js/mobile.js')] 9 | }; 10 | let hotReload = true; 11 | let chunks = Object.keys(entry); 12 | let webpackConfig = { 13 | entry: entry, 14 | resolve: { 15 | modulesDirectories: ["node_modules", "bower_components"] 16 | }, 17 | output: { 18 | path: path.resolve(__dirname, 'dist/js'), 19 | filename: '[name].js?v=[hash:5]', 20 | publicPath: !DEPLOY ? 'js' : 'http://www.imjiangtao.com' 21 | }, 22 | plugins: [ 23 | new webpack.optimize.CommonsChunkPlugin({ 24 | name: 'vendors', 25 | chunks: chunks, 26 | minChunks: chunks.length 27 | }), 28 | new ExtractTextPlugin('../css/styles.css'), 29 | new HtmlWebpackPlugin({ 30 | template: 'app/custom.html', 31 | filename: '../custom.html', 32 | chunks: ['vendors', 'mobile'], 33 | inject: true, 34 | minify: { 35 | minifyJS: true, 36 | minifyCSS: true, 37 | collapseWhitespace: true, 38 | removeComments: true 39 | } 40 | }), 41 | //new webpack.optimize.UglifyJsPlugin(), 42 | new webpack.NoErrorsPlugin() 43 | ], 44 | module: { 45 | loaders: [{ 46 | test: /\.jsx?$/, 47 | loader: 'babel-loader', 48 | exclude: [node_modules], 49 | query: { 50 | //presets: ['es2015', 'stage-0', 'react'], 51 | //plugins: ['transform-runtime'] 52 | } 53 | }, { 54 | test: /\.css$/, 55 | loader: ExtractTextPlugin.extract("style-loader?minimize", "css-loader?minimize") 56 | }, { 57 | test: /\.s(a|c)ss$/, 58 | loader: ExtractTextPlugin.extract('style-loader', 'css?minimize', 'sass-loader') 59 | }, { 60 | test: /\.(png|jpe?g)$/, 61 | loader: 'url-loader?limit=30000' 62 | }, { 63 | test: /\.woff$/, 64 | loader: 'url-loader?limit=10240' 65 | }], 66 | //noParse: [node_modules] 67 | } 68 | }; 69 | 70 | export default webpackConfig; 71 | 72 | -------------------------------------------------------------------------------- /es67-workflow/ppt/css/demo.css: -------------------------------------------------------------------------------- 1 | .slides .slide{ 2 | background-color: black !important; 3 | } 4 | .slides .slide code{ 5 | font-size:20px; 6 | } 7 | .showImg{ 8 | list-style: none; 9 | } 10 | .img{ 11 | float: left; 12 | width: 300px; 13 | text-align: center; 14 | } 15 | -------------------------------------------------------------------------------- /es67-workflow/ppt/img/webpack.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/es67-workflow/ppt/img/webpack.jpg -------------------------------------------------------------------------------- /es67-workflow/ppt/workflow.md: -------------------------------------------------------------------------------- 1 | # 为什么要搭建前端开发工作流? 2 | 3 | 随着互联网发展项目越来越复杂,webApp复杂度的提升,前端也变得很庞大和复杂。渐渐的产生了一些问题: 4 | 5 | * 代码庞大难以维护 6 | * 性能优化难做 7 | * 开发成本变高 8 | 9 | > 为了应对以上问题工作流的产生. 10 | 11 | # 构建依赖关系发展 12 | 13 | 1. document.write构建依赖 14 | 2. 动态语言构建依赖 15 | 3. `AMD` 和 `commonjs`的出现 ( `requirejs`, `commonjs` ) 16 | 4. Node的出现 各种构建工具: [grunt](http://gruntjs.com/sample-gruntfile) [gulp](http://gulpjs.org/) 17 | 18 | # 前端语言开发工具发展 19 | 20 | 1. 最初开始: html/css/js 21 | 2. 各种工具的出现:jade/ejs (sass/less/stylus) coffee/typescript 22 | 3. ES2015的发布:module export import 23 | 24 | # 工具需要做的哪些事儿: 25 | 26 | * `脚手架`: 生成常用的开发结构 27 | * `提高开发效率`: 编译sass / less 生成css 28 | * `提高开发效率`: 验证代码错误,从开发层面防止不必要的错误 29 | * `提高开发效率`: 使用typescript/ coffee 规范代码, 保证团队代码一致性 30 | * `减少http请求`: 小图标转成base64, 约定8k以下压缩 31 | * `减少http请求`: 多图标合并到一张图。 或人工处理,或compass等工具处理 32 | * `减少http请求`: 压缩m个css文件,合并到n个文件 或 直接内联到style中 33 | * `减少http请求`: 压缩m个js文件, 合并到n个文件 34 | * `生成版本号`: 生成版本号 防止浏览器缓存 35 | * `版本管理`: 版本管理 用于线上发布 36 | * `组件模块`: 包含css, js, html 37 | * `解放引用`: 能自动帮忙解决html引用 38 | * `其他功能`: 欢迎吐槽补充 39 | -------------------------------------------------------------------------------- /generate.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict' 3 | 4 | const child_process = require('child_process') 5 | const fs = require('fs') 6 | const shell_target = "(if [ -d doc ];then rm -fr doc; fi) && find . -name '*.md' | grep 'ppt' | xargs egrep '^title|^url'" 7 | const execSync = child_process.execSync 8 | 9 | let targetList = execSync(shell_target, { encoding: 'utf8' }) 10 | let content = `--- 11 | ## 关于前端的一些总结和分享 12 | * npm install -g nodeppt 13 | * nodeppt start -p 9999 -d \`target_dir\` 14 | 15 | ### 本地跑起来 16 | 17 | \`\`\`bash 18 | git clone https://github.com/jiangtao/shares.git 19 | cd shares 20 | npm run 21 | \`\`\` 22 | 23 | 24 | #### 分享地址` 25 | let footer = ` 26 | 27 | ##### TODO 28 | * [Todo List](TODO.md) 29 | ` 30 | 31 | let infoList = targetList.split(/\r\n|\n/).filter((item) => item.length != 0) 32 | let len = infoList.length 33 | let getInfo = (str) => { 34 | 35 | var urlMark = /\:url\:/ 36 | var titleMark = /\:title\:/ 37 | if (titleMark.test(str)) { 38 | return str.split(titleMark) 39 | } else if (urlMark.test(str)) { 40 | 41 | return str.split(urlMark) 42 | } 43 | } 44 | 45 | for (let i = 0; i < len;) { 46 | 47 | var match = getInfo(infoList[i]) 48 | var doc = match[0] 49 | var info = getInfo(infoList[i + 1]) 50 | 51 | execSync(`nodeppt generate ${doc} -a ./doc`) 52 | 53 | console.log() 54 | console.log(`${blue(doc)} nodeppt doc generate successfully`) 55 | 56 | // generate dir 57 | if(info) { 58 | content += `\n* [${match[1].trim()}](${info[1].trim()})` 59 | } else { 60 | break 61 | } 62 | 63 | i += 2 64 | } 65 | 66 | content += footer 67 | 68 | fs.writeFile('./README.md', content, { encoding: 'utf8' }, (err) => { 69 | if (err) throw err 70 | console.log() 71 | }) 72 | 73 | function blue(str) { 74 | return '\x1b[1m\x1b[34m' + str + '\x1b[39m\x1b[22m' 75 | } 76 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shares", 3 | "version": "0.1.0", 4 | "description": "--- ##关于前端的一些总结和分享 * npm install -g nodeppt * nodeppt start -p 9999 -d `target_dir`", 5 | "main": "index.js", 6 | "scripts": { 7 | "es67-workflow": "nodeppt start -d es67-workflow/ppt -p 9900", 8 | "buid-history": "nodeppt start -d build-history/ppt -p 9901", 9 | "fe-engineering": "nodeppt start -d build-history/ppt -p 9902", 10 | "generate": "./generate.js" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/jiangtao/shares.git" 15 | }, 16 | "keywords": [ 17 | "shares", 18 | "based", 19 | "on", 20 | "nodeppt" 21 | ], 22 | "author": "321jiangtao@gmail.com", 23 | "license": "MIT", 24 | "bugs": { 25 | "url": "https://github.com/jiangtao/shares/issues" 26 | }, 27 | "homepage": "https://github.com/jiangtao/shares#readme", 28 | "devDependencies": {}, 29 | "dependencies": { 30 | "babel": "^6.3.26", 31 | "babel-cli": "^6.4.5" 32 | }, 33 | "directories": { 34 | "doc": "doc" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /publish/android-update.htm: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | Android apk管理和自动更新 - By 江涛 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 31 |
32 |
33 |
34 | 35 |
36 |
37 | 43 | 44 |
45 | 46 | 59 | 60 | 61 | 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /publish/async_solution.htm: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 异步编程小结 - By 江涛 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 31 |
32 |
33 |
34 | 35 |
36 |
37 | 43 | 44 |
45 | 46 | 59 | 60 | 61 | 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /publish/css/eater.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/css/eater.woff -------------------------------------------------------------------------------- /publish/css/pdf.css: -------------------------------------------------------------------------------- 1 | *{-webkit-print-color-adjust:exact}body{margin:0 auto !important;border:0;padding:0;float:none !important;overflow:visible}html{width:100%;height:100%;overflow:visible}slides>slide{display:block !important;position:relative;-moz-transform:none !important;-ms-transform:none !important;-webkit-transform:none !important;transform:none !important;width:100%;height:100%;page-break-after:always;top:auto !important;left:auto !important;margin-top:0 !important;margin-left:0 !important;opacity:1 !important}slides>slide.far-past,slides>slide.past,slides>slide.next,slides>slide.far-next,slides>slide.far-past,slides>slide.current{opacity:1 !important;display:block !important}slides>slide .build>*{-moz-transition:none;-o-transition:none;-webkit-transition:none;transition:none}slides>slide .build .to-build,slides>slide .build .build-fade{opacity:1}slides>slide .auto-fadein{opacity:1 !important}slides>slide.backdrop{display:none !important}slides>slide table.rows{border-right:0}slides>slide[hidden]{display:none !important}.slide-area{display:none}pre,code{font-family:'Source Code Pro',monospace !important}slides>slide{-webkit-clip-path:none !important;opacity:1 !important;visibility:visible !important;padding:0}slides>slide .subSlide{display:block}slides>slide .slide-wrapper,slides>slide.past .slide-wrapper,slides>slide.far-past .slide-wrapper,slides>slide.far-next .slide-wrapper,slides>slide.next .slide-wrapper{opacity:1 !important;visibility:visible !important;display:-webkit-flex;display:flex;-webkit-justify-content:center;justify-content:center;-webkit-align-content:center;align-content:center;position:static;width:1100px !important;left:0;top:0;right:0;bottom:0;margin:0 auto 10pt !important;overflow:visible;-moz-perspective:none !important;-webkit-perspective:none !important;perspective:none !important;-moz-perspective-origin:50% 50% !important;-webkit-perspective-origin:50% 50% !important;perspective-origin:50% 50% !important;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important;-moz-transform:none !important;-ms-transform:none !important;-webkit-transform:none !important;transform:none !important}slides>slide .slide-wrapper .build-fade,slides>slide .slide-wrapper .to-buid,slides>slide .slide-wrapper .building,slides>slide.past .slide-wrapper .build-fade,slides>slide.past .slide-wrapper .to-buid,slides>slide.past .slide-wrapper .building,slides>slide.far-past .slide-wrapper .build-fade,slides>slide.far-past .slide-wrapper .to-buid,slides>slide.far-past .slide-wrapper .building,slides>slide.far-next .slide-wrapper .build-fade,slides>slide.far-next .slide-wrapper .to-buid,slides>slide.far-next .slide-wrapper .building,slides>slide.next .slide-wrapper .build-fade,slides>slide.next .slide-wrapper .to-buid,slides>slide.next .slide-wrapper .building{opacity:1 !important;visibility:visible !important;-moz-transform:none !important;-ms-transform:none !important;-webkit-transform:none !important;transform:none !important}slides>slide .slide-wrapper *,slides>slide.past .slide-wrapper *,slides>slide.far-past .slide-wrapper *,slides>slide.far-next .slide-wrapper *,slides>slide.next .slide-wrapper *{opacity:1 !important;visibility:visible !important;-moz-transform:none !important;-ms-transform:none !important;-webkit-transform:none !important;transform:none !important}#_buttons,#drawBoard,.progress,#tip{display:none !important} 2 | -------------------------------------------------------------------------------- /publish/css/pen.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/css/pen.cur -------------------------------------------------------------------------------- /publish/css/phone.css: -------------------------------------------------------------------------------- 1 | slides>slide{-webkit-transition:none !important;-moz-transition:none !important;-o-transition:none !important;-webkit-transition:none !important;transition:none !important;-moz-transform-origin:0 0 !important;-ms-transform-origin:0 0 !important;-webkit-transform-origin:0 0 !important;transform-origin:0 0 !important}slides>slide[data-transition].current,slides>slide[data-transition].next,slides>slide[data-transition].past{-moz-transition:none;-o-transition:none;-webkit-transition:none;transition:none;-moz-transform-origin:0 0;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-animation-name:none;animation-name:none} 2 | -------------------------------------------------------------------------------- /publish/css/sourcecode.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/css/sourcecode.woff -------------------------------------------------------------------------------- /publish/css/tangerine.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/css/tangerine.woff -------------------------------------------------------------------------------- /publish/css/theme.blue.css: -------------------------------------------------------------------------------- 1 | ::selection{color:#fff;background-color:#d33682;text-shadow:none}a{color:#F47F40;background-color:transparent;border-bottom:0}a:hover{color:#FE7429;background-color:transparent}h1,h2,h3{color:#fff;text-shadow:1px 2px 0px #086fd1,3px 5px 0px rgba(0,0,0,0.2);letter-spacing:4px;font-weight:bolder}h1{text-shadow:1px 2px 0px #086fd1,3px 5px 0px rgba(0,0,0,0.2)}table{width:100%;color:#000;border-bottom:0 none;border-collapse:collapse;background-color:white;-moz-box-shadow:0 none;-webkit-box-shadow:0 none;box-shadow:0 none}table thead th{font-weight:bolder;background-color:transparent;border-bottom:1px solid #2e87d3;vertical-align:bottom}table tbody tr td{vertical-align:top;border-bottom:1px white solid}table tr{background-color:transparent}table tr:nth-child(even){background-color:transparent}table tbody tr:nth-child(odd){background-color:#eee}table td.highlight{color:#0377C0;text-shadow:1px 1px 1px #aaa;font-weight:normal;background-color:transparent !important}table.rows{border-right:1px solid #797979}slides>slide{-webkit-font-smoothing:subpixel-antialiased;color:#f8f7f7;letter-spacing:2px;background-color:#086fd1}slides>slide:nth-child(6n+1),slides>slide:nth-child(6n+2),slides>slide:nth-child(6n+3),slides>slide:nth-child(6n+4),slides>slide:nth-child(6n+5){background-color:#086fd1}slides>slide .slide-wrapper strong{text-shadow:none;font-weight:bolder;color:#4FFF00}slides>slide .slide-wrapper blockquote{position:relative;border-left:0 none;color:#000;padding:5px 5px 5px 28px;text-shadow:none}slides>slide .slide-wrapper blockquote.pull-right{border-right:0 none;padding:5px 28px 5px 5px}slides>slide .slide-wrapper blockquote.pull-right::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10e";right:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote.pull-right small::after{position:absolute;content:''}slides>slide .slide-wrapper blockquote::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10d";left:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote p{font-size:22px;line-height:1.7em}slides>slide .slide-wrapper blockquote small{color:#000;position:relative;padding-left:24px}slides>slide .slide-wrapper blockquote small::before{position:absolute;top:3px;content:'\2015 \00A0'}.progress span{background:#2187E7} 2 | -------------------------------------------------------------------------------- /publish/css/theme.dark.css: -------------------------------------------------------------------------------- 1 | ::selection{color:#fff;background-color:#d33682;text-shadow:none}a{color:#FA5B04;background-color:transparent;border-bottom:0}a:hover{color:#FE7429;background-color:transparent}h1,h2,h3{color:#fff;text-shadow:1px 2px 0px #232323,3px 5px 0px rgba(0,0,0,0.2);letter-spacing:4px;font-weight:bolder}h1{text-shadow:1px 2px 0px #232323,3px 5px 0px rgba(0,0,0,0.2)}table{width:100%;color:black;border-bottom:0 none;border-collapse:collapse;background-color:white;-moz-box-shadow:0 none;-webkit-box-shadow:0 none;box-shadow:0 none}table thead th{font-weight:bolder;background-color:transparent;border-bottom:1px solid #111;vertical-align:bottom}table tbody tr td{vertical-align:top;border-bottom:1px #bfbfbf solid}table tr{background-color:transparent}table tr:nth-child(even){background-color:transparent}table tbody tr:nth-child(odd){background-color:#eee}table td.highlight{color:#0377C0;text-shadow:1px 1px 1px #aaa;font-weight:normal;background-color:transparent !important}table.rows{border-right:1px solid #797979}slides>slide{-webkit-font-smoothing:subpixel-antialiased;color:#f8f7f7;letter-spacing:2px;background-color:#232323}slides>slide:nth-child(6n+1),slides>slide:nth-child(6n+2),slides>slide:nth-child(6n+3),slides>slide:nth-child(6n+4),slides>slide:nth-child(6n+5){background-color:#232323}slides>slide .slide-wrapper strong{text-shadow:none;font-weight:bolder;color:#00CED1}slides>slide .slide-wrapper blockquote{position:relative;border-left:0 none;color:#000;padding:5px 5px 5px 28px;text-shadow:none}slides>slide .slide-wrapper blockquote.pull-right{border-right:0 none;padding:5px 28px 5px 5px}slides>slide .slide-wrapper blockquote.pull-right::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10e";right:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote.pull-right small::after{position:absolute;content:''}slides>slide .slide-wrapper blockquote::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10d";left:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote p{font-size:22px;line-height:1.7em}slides>slide .slide-wrapper blockquote small{color:#000;position:relative;padding-left:24px}slides>slide .slide-wrapper blockquote small::before{position:absolute;top:3px;content:'\2015 \00A0'}.progress span{background:#2187E7} 2 | -------------------------------------------------------------------------------- /publish/css/theme.green.css: -------------------------------------------------------------------------------- 1 | ::selection{color:#fff;background-color:#d33682;text-shadow:none}a{color:#FF8C78;background-color:transparent;border-bottom:0}a:hover{color:#FE7429;background-color:transparent}h1,h2,h3{color:#fff;text-shadow:1px 2px 0px #699B98,3px 5px 0px rgba(0,0,0,0.2);letter-spacing:4px;font-weight:bolder}h1{text-shadow:1px 2px 0px #699B98,3px 5px 0px rgba(0,0,0,0.2)}table{width:100%;color:#f8f7f7;border-bottom:0 none;border-collapse:collapse;background-color:white;-moz-box-shadow:0 none;-webkit-box-shadow:0 none;box-shadow:0 none}table thead th{font-weight:bolder;background-color:transparent;border-bottom:1px solid #111;vertical-align:bottom}table tbody tr td{vertical-align:top;border-bottom:1px #bfbfbf solid}table tr{background-color:transparent}table tr:nth-child(even){background-color:transparent}table tbody tr:nth-child(odd){background-color:#eee}table td.highlight{color:#0377C0;text-shadow:1px 1px 1px #aaa;font-weight:normal;background-color:transparent !important}table.rows{border-right:1px solid #797979}slides>slide{-webkit-font-smoothing:subpixel-antialiased;color:#f8f7f7;letter-spacing:2px;background-color:#699B98}slides>slide:nth-child(6n+1),slides>slide:nth-child(6n+2),slides>slide:nth-child(6n+3),slides>slide:nth-child(6n+4),slides>slide:nth-child(6n+5){background-color:#699B98}slides>slide .slide-wrapper strong{text-shadow:none;font-weight:bolder;color:#00CED1}slides>slide .slide-wrapper blockquote{position:relative;background-color:#ACE2D2;border-left:0 none;color:#000;padding:5px 5px 5px 28px;text-shadow:none}slides>slide .slide-wrapper blockquote.pull-right{border-right:0 none;padding:5px 28px 5px 5px}slides>slide .slide-wrapper blockquote.pull-right::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10e";right:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote.pull-right small::after{position:absolute;content:''}slides>slide .slide-wrapper blockquote::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10d";left:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote p{font-size:22px;line-height:1.7em}slides>slide .slide-wrapper blockquote small{color:#000;position:relative;padding-left:24px}slides>slide .slide-wrapper blockquote small::before{position:absolute;top:3px;content:'\2015 \00A0'}.progress span{background:#2187E7} 2 | -------------------------------------------------------------------------------- /publish/css/theme.light.css: -------------------------------------------------------------------------------- 1 | ::selection{color:#fff;background-color:#d33682;text-shadow:none}a{color:#FA5B04;background-color:transparent;border-bottom:0}a:hover{color:#FE7429;background-color:transparent}h1,h2,h3{color:#000;text-shadow:1px 2px 0px #E8EFEE,3px 5px 0px rgba(0,0,0,0.2);letter-spacing:4px;font-weight:bolder}h1{text-shadow:1px 2px 0px #E8EFEE,3px 5px 0px rgba(0,0,0,0.2)}table{width:100%;color:#232323;border-bottom:0 none;border-collapse:collapse;background-color:white;-moz-box-shadow:0 none;-webkit-box-shadow:0 none;box-shadow:0 none}table thead th{font-weight:bolder;background-color:transparent;border-bottom:1px solid #111;vertical-align:bottom}table tbody tr td{vertical-align:top;border-bottom:1px #bfbfbf solid}table tr{background-color:transparent}table tr:nth-child(even){background-color:transparent}table tbody tr:nth-child(odd){background-color:#eee}table td.highlight{color:#0377C0;text-shadow:1px 1px 1px #aaa;font-weight:normal;background-color:transparent !important}table.rows{border-right:1px solid #797979}slides>slide{-webkit-font-smoothing:subpixel-antialiased;color:#232323;letter-spacing:2px;background-color:#E8EFEE}slides>slide:nth-child(6n+1),slides>slide:nth-child(6n+2),slides>slide:nth-child(6n+3),slides>slide:nth-child(6n+4),slides>slide:nth-child(6n+5){background-color:#E8EFEE}slides>slide .slide-wrapper strong{text-shadow:none;font-weight:bolder;color:#00CED1}slides>slide .slide-wrapper blockquote{position:relative;background-color:#ACE2D2;border-left:0 none;color:#232323;padding:5px 5px 5px 28px;text-shadow:none}slides>slide .slide-wrapper blockquote.pull-right{border-right:0 none;padding:5px 28px 5px 5px}slides>slide .slide-wrapper blockquote.pull-right::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10e";right:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote.pull-right small::after{position:absolute;content:''}slides>slide .slide-wrapper blockquote::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10d";left:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote p{font-size:22px;line-height:1.7em}slides>slide .slide-wrapper blockquote small{color:#232323;position:relative;padding-left:24px}slides>slide .slide-wrapper blockquote small::before{position:absolute;top:3px;content:'\2015 \00A0'}.progress span{background:#2187E7} 2 | -------------------------------------------------------------------------------- /publish/css/theme.moon.css: -------------------------------------------------------------------------------- 1 | ::selection{color:#fff;background-color:#d33682;text-shadow:none}a{color:#F9D905;background-color:transparent;border-bottom:0}a:hover{color:#F5BE78;background-color:transparent}h1,h2,h3{color:#E8F0F3;text-shadow:1px 2px 0px #152E4F,3px 5px 0px rgba(0,0,0,0.2);letter-spacing:4px;font-weight:bolder}h1{text-shadow:1px 2px 0px #152E4F,3px 5px 0px rgba(0,0,0,0.2)}table{width:100%;color:black;border-bottom:0 none;-moz-box-shadow:1px 1px 10px #000;-webkit-box-shadow:1px 1px 10px #000;box-shadow:1px 1px 10px #000}table thead th{background-color:#e6e6e6}table tr{background-color:white}table tr:nth-child(even){background-color:#e6e6e6}table td.highlight{color:#468847;background-color:#dff0d8 !important}table.rows{border-right:1px solid #797979}slides>slide{-webkit-font-smoothing:subpixel-antialiased;color:#E8F0F3;letter-spacing:2px;background-color:#152E4F}slides>slide:nth-child(6n+1),slides>slide:nth-child(6n+2),slides>slide:nth-child(6n+3),slides>slide:nth-child(6n+4),slides>slide:nth-child(6n+5){background-color:#152E4F}slides>slide .slide-wrapper strong{text-shadow:none;font-weight:bolder;color:#16D5B5}slides>slide .slide-wrapper blockquote{position:relative;background-color:#0B6C96;border-left:0 none;color:#E5DCDC;padding:5px 5px 5px 28px;text-shadow:none}slides>slide .slide-wrapper blockquote.pull-right{border-right:0 none;padding:5px 28px 5px 5px}slides>slide .slide-wrapper blockquote.pull-right::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10e";right:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote.pull-right small::after{position:absolute;content:''}slides>slide .slide-wrapper blockquote::before{font:normal normal normal 14px/1 FontAwesome;content:"\f10d";left:6px;position:absolute;top:6px}slides>slide .slide-wrapper blockquote p{font-size:22px;line-height:1.7em}slides>slide .slide-wrapper blockquote small{color:#999;position:relative;padding-left:24px}slides>slide .slide-wrapper blockquote small::before{position:absolute;top:3px;content:'\2015 \00A0'}.progress span{background:#2187E7} 2 | -------------------------------------------------------------------------------- /publish/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /publish/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /publish/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /publish/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /publish/fonts/source-pro-light-latin-ext.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/source-pro-light-latin-ext.woff2 -------------------------------------------------------------------------------- /publish/fonts/source-pro-light-latin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/source-pro-light-latin.woff2 -------------------------------------------------------------------------------- /publish/fonts/source-pro-regular-latin-ext.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/source-pro-regular-latin-ext.woff2 -------------------------------------------------------------------------------- /publish/fonts/source-pro-regular-latin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/source-pro-regular-latin.woff2 -------------------------------------------------------------------------------- /publish/fonts/source-pro-siemibold-latin-ext.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/source-pro-siemibold-latin-ext.woff2 -------------------------------------------------------------------------------- /publish/fonts/source-pro-siemibold-latin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/fonts/source-pro-siemibold-latin.woff2 -------------------------------------------------------------------------------- /publish/img/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/img/bg.jpg -------------------------------------------------------------------------------- /publish/img/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/img/bg1.png -------------------------------------------------------------------------------- /publish/img/now.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/img/now.jpeg -------------------------------------------------------------------------------- /publish/img/web1.0.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/img/web1.0.jpeg -------------------------------------------------------------------------------- /publish/img/web1.5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/img/web1.5.jpeg -------------------------------------------------------------------------------- /publish/img/web2.0.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/img/web2.0.jpeg -------------------------------------------------------------------------------- /publish/img/webpack.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/img/webpack.jpg -------------------------------------------------------------------------------- /publish/js/highlight/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006, Ivan Sagalaev 2 | All rights reserved. 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of highlight.js nor the names of its contributors 12 | may be used to endorse or promote products derived from this software 13 | without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY 16 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/agate.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Agate by Taufik Nurrohman 3 | * ---------------------------------------------------- 4 | * 5 | * #ade5fc 6 | * #a2fca2 7 | * #c6b4f0 8 | * #d36363 9 | * #fcc28c 10 | * #fc9b9b 11 | * #ffa 12 | * #fff 13 | * #333 14 | * #62c8f3 15 | * #888 16 | * 17 | */ 18 | 19 | .hljs { 20 | display: block; 21 | overflow-x: auto; 22 | padding: .5em; 23 | background: #333; 24 | color: white; 25 | -webkit-text-size-adjust: none; 26 | } 27 | 28 | .asciidoc .hljs-title, 29 | .hljs-label, 30 | .hljs-tag .hljs-title, 31 | .hljs-prompt, 32 | .http .hljs-request { 33 | font-weight: bold; 34 | } 35 | 36 | .hljs-change, 37 | .hljs-code { 38 | font-style: italic; 39 | } 40 | 41 | .hljs-tag, 42 | .ini .hljs-title { 43 | color: #62c8f3; 44 | } 45 | 46 | .hljs-id, 47 | .hljs-cbracket, 48 | .hljs-tag .hljs-value { 49 | color: #ade5fc; 50 | } 51 | 52 | .hljs-string, 53 | .hljs-bullet { 54 | color: #a2fca2; 55 | } 56 | 57 | .hljs-type, 58 | .hljs-variable, 59 | .hljs-name, 60 | .actionscript .hljs-title, 61 | .aspectj .hljs-annotation, 62 | .aspectj .hljs-title, 63 | .hljs-attribute, 64 | .hljs-change, 65 | .hljs-blockquote, 66 | .hljs-built_in { 67 | color: #ffa; 68 | } 69 | 70 | .hljs-number, 71 | .hljs-hexcolor, 72 | .hljs-link_label, 73 | .hljs-link_reference { 74 | color: #d36363; 75 | } 76 | 77 | .hljs-keyword, 78 | .hljs-literal, 79 | .hljs-constant, 80 | .css .hljs-tag, 81 | .hljs-typename, 82 | .hljs-winutils { 83 | color: #fcc28c; 84 | } 85 | 86 | .hljs-comment, 87 | .hljs-cdata, 88 | .hljs-preprocessor, 89 | .hljs-annotation, 90 | .hljs-decorator, 91 | .hljs-doctype, 92 | .hljs-deletion, 93 | .hljs-shebang, 94 | .apache .hljs-sqbracket, 95 | .tex .hljs-formula, 96 | .hljs-header, 97 | .hljs-horizontal_rule, 98 | .hljs-code { 99 | color: #888; 100 | } 101 | 102 | .hljs-regexp, 103 | .hljs-attr_selector { 104 | color: #c6b4f0; 105 | } 106 | 107 | .hljs-important, 108 | .hljs-doctype, 109 | .hljs-pi, 110 | .hljs-chunk, 111 | .actionscript .hljs-type, 112 | .hljs-shebang, 113 | .hljs-pragma, 114 | .http .hljs-attribute { 115 | color: #fc9b9b; 116 | } 117 | 118 | .hljs-deletion { 119 | background-color: #fc9b9b; 120 | color: #333; 121 | } 122 | 123 | .hljs-addition { 124 | background-color: #a2fca2; 125 | color: #333; 126 | } 127 | 128 | .hljs a, 129 | .hljs-tag .hljs-attribute { 130 | color: inherit; 131 | } 132 | 133 | .hljs a:focus, 134 | .hljs a:hover { 135 | color: inherit; 136 | text-decoration: underline; 137 | } 138 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/androidstudio.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 24 Fev 2015 3 | Author: Pedro Oliveira 4 | */ 5 | 6 | .hljs { 7 | color: #a9b7c6; 8 | background: #282b2e; 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-number { 16 | color: #6897BB; 17 | } 18 | 19 | .hljs-keyword, 20 | .hljs-deletion { 21 | color: #cc7832; 22 | } 23 | 24 | .hljs-comment { 25 | color: #808080; 26 | } 27 | 28 | .hljs-annotation { 29 | color: #bbb529; 30 | } 31 | 32 | .hljs-string, 33 | .hljs-addition { 34 | color: #6A8759; 35 | } 36 | 37 | .hljs-function .hljs-title, 38 | .hljs-change { 39 | color: #ffc66d; 40 | } 41 | 42 | .hljs-tag .hljs-title, 43 | .hljs-doctype { 44 | color: #e8bf6a; 45 | } 46 | 47 | .hljs-tag .hljs-attribute { 48 | color: #bababa; 49 | } 50 | 51 | .hljs-tag .hljs-value { 52 | color: #a5c261; 53 | } 54 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/arta.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 17.V.2011 3 | Author: pumbur 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #222; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .profile .hljs-header *, 15 | .ini .hljs-title, 16 | .nginx .hljs-title { 17 | color: #fff; 18 | } 19 | 20 | .hljs-comment, 21 | .hljs-preprocessor, 22 | .hljs-preprocessor .hljs-title, 23 | .hljs-pragma, 24 | .hljs-shebang, 25 | .profile .hljs-summary, 26 | .diff, 27 | .hljs-pi, 28 | .hljs-doctype, 29 | .hljs-tag, 30 | .css .hljs-rule, 31 | .tex .hljs-special { 32 | color: #444; 33 | } 34 | 35 | .hljs-string, 36 | .hljs-symbol, 37 | .diff .hljs-change, 38 | .hljs-regexp, 39 | .xml .hljs-attribute, 40 | .smalltalk .hljs-char, 41 | .xml .hljs-value, 42 | .ini .hljs-value, 43 | .clojure .hljs-attribute, 44 | .coffeescript .hljs-attribute { 45 | color: #ffcc33; 46 | } 47 | 48 | .hljs-number, 49 | .hljs-addition { 50 | color: #00cc66; 51 | } 52 | 53 | .hljs-built_in, 54 | .hljs-literal, 55 | .hljs-type, 56 | .hljs-typename, 57 | .go .hljs-constant, 58 | .ini .hljs-keyword, 59 | .lua .hljs-title, 60 | .perl .hljs-variable, 61 | .php .hljs-variable, 62 | .mel .hljs-variable, 63 | .django .hljs-variable, 64 | .css .funtion, 65 | .smalltalk .method, 66 | .hljs-hexcolor, 67 | .hljs-important, 68 | .hljs-flow, 69 | .hljs-inheritance, 70 | .hljs-name, 71 | .parser3 .hljs-variable { 72 | color: #32aaee; 73 | } 74 | 75 | .hljs-keyword, 76 | .hljs-tag .hljs-title, 77 | .css .hljs-tag, 78 | .css .hljs-class, 79 | .css .hljs-id, 80 | .css .hljs-pseudo, 81 | .css .hljs-attr_selector, 82 | .hljs-winutils, 83 | .tex .hljs-command, 84 | .hljs-request, 85 | .hljs-status { 86 | color: #6644aa; 87 | } 88 | 89 | .hljs-title, 90 | .ruby .hljs-constant, 91 | .vala .hljs-constant, 92 | .hljs-parent, 93 | .hljs-deletion, 94 | .hljs-template_tag, 95 | .css .hljs-keyword, 96 | .objectivec .hljs-class .hljs-id, 97 | .smalltalk .hljs-class, 98 | .lisp .hljs-keyword, 99 | .apache .hljs-tag, 100 | .nginx .hljs-variable, 101 | .hljs-envvar, 102 | .bash .hljs-variable, 103 | .go .hljs-built_in, 104 | .vbscript .hljs-built_in, 105 | .lua .hljs-built_in, 106 | .rsl .hljs-built_in, 107 | .tail, 108 | .avrasm .hljs-label, 109 | .tex .hljs-formula, 110 | .tex .hljs-formula * { 111 | color: #bb1166; 112 | } 113 | 114 | .hljs-doctag, 115 | .profile .hljs-header, 116 | .ini .hljs-title, 117 | .apache .hljs-tag, 118 | .parser3 .hljs-title { 119 | font-weight: bold; 120 | } 121 | 122 | .coffeescript .javascript, 123 | .javascript .xml, 124 | .tex .hljs-formula, 125 | .xml .javascript, 126 | .xml .vbscript, 127 | .xml .css, 128 | .xml .hljs-cdata { 129 | opacity: 0.6; 130 | } 131 | 132 | .hljs, 133 | .hljs-subst, 134 | .diff .hljs-chunk, 135 | .css .hljs-value, 136 | .css .hljs-attribute { 137 | color: #aaa; 138 | } 139 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/ascetic.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: white; 12 | color: black; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-string, 17 | .hljs-tag .hljs-value, 18 | .hljs-filter .hljs-argument, 19 | .hljs-addition, 20 | .hljs-change, 21 | .hljs-name, 22 | .apache .hljs-tag, 23 | .apache .hljs-cbracket, 24 | .nginx .hljs-built_in, 25 | .tex .hljs-formula { 26 | color: #888; 27 | } 28 | 29 | .hljs-comment, 30 | .hljs-shebang, 31 | .hljs-doctype, 32 | .hljs-pi, 33 | .hljs-deletion, 34 | .apache .hljs-sqbracket { 35 | color: #ccc; 36 | } 37 | 38 | .hljs-keyword, 39 | .hljs-tag .hljs-title, 40 | .ini .hljs-title, 41 | .lisp .hljs-title, 42 | .http .hljs-title, 43 | .nginx .hljs-title, 44 | .css .hljs-tag, 45 | .hljs-winutils, 46 | .hljs-flow, 47 | .apache .hljs-tag, 48 | .tex .hljs-command, 49 | .hljs-request, 50 | .hljs-status { 51 | font-weight: bold; 52 | } 53 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-cave.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Cave Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Cave Comment */ 6 | .hljs-comment { 7 | color: #7e7887; 8 | } 9 | 10 | /* Atelier-Cave Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #be4678; 25 | } 26 | 27 | /* Atelier-Cave Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #aa573c; 35 | } 36 | 37 | /* Atelier-Cave Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a06e3b; 41 | } 42 | 43 | /* Atelier-Cave Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #2a9292; 51 | } 52 | 53 | /* Atelier-Cave Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #398bc6; 57 | } 58 | 59 | /* Atelier-Cave Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #576ddb; 69 | } 70 | 71 | /* Atelier-Cave Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #955ae7; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #19171c; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #be4678; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #2a9292; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #576ddb; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #19171c; 100 | color: #8b8792; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-cave.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Cave Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Cave Comment */ 6 | .hljs-comment { 7 | color: #655f6d; 8 | } 9 | 10 | /* Atelier-Cave Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #be4678; 25 | } 26 | 27 | /* Atelier-Cave Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #aa573c; 35 | } 36 | 37 | /* Atelier-Cave Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a06e3b; 41 | } 42 | 43 | /* Atelier-Cave Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #2a9292; 51 | } 52 | 53 | /* Atelier-Cave Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #398bc6; 57 | } 58 | 59 | /* Atelier-Cave Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #576ddb; 69 | } 70 | 71 | /* Atelier-Cave Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #955ae7; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #19171c; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #be4678; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #2a9292; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #576ddb; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #efecf4; 100 | color: #585260; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-dune.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Dune Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Dune Comment */ 6 | .hljs-comment { 7 | color: #999580; 8 | } 9 | 10 | /* Atelier-Dune Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #d73737; 25 | } 26 | 27 | /* Atelier-Dune Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #b65611; 35 | } 36 | 37 | /* Atelier-Dune Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #ae9513; 41 | } 42 | 43 | /* Atelier-Dune Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #60ac39; 51 | } 52 | 53 | /* Atelier-Dune Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1fad83; 57 | } 58 | 59 | /* Atelier-Dune Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #6684e1; 69 | } 70 | 71 | /* Atelier-Dune Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #b854d4; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #20201d; 81 | color: #a6a28c; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-dune.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Dune Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Dune Comment */ 6 | .hljs-comment { 7 | color: #7d7a68; 8 | } 9 | 10 | /* Atelier-Dune Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #d73737; 25 | } 26 | 27 | /* Atelier-Dune Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #b65611; 35 | } 36 | 37 | /* Atelier-Dune Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #ae9513; 41 | } 42 | 43 | /* Atelier-Dune Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #60ac39; 51 | } 52 | 53 | /* Atelier-Dune Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1fad83; 57 | } 58 | 59 | /* Atelier-Dune Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #6684e1; 69 | } 70 | 71 | /* Atelier-Dune Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #b854d4; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #fefbec; 81 | color: #6e6b5e; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-estuary.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Estuary Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Estuary Comment */ 6 | .hljs-comment { 7 | color: #878573; 8 | } 9 | 10 | /* Atelier-Estuary Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ba6236; 25 | } 26 | 27 | /* Atelier-Estuary Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #ae7313; 35 | } 36 | 37 | /* Atelier-Estuary Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a5980d; 41 | } 42 | 43 | /* Atelier-Estuary Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #7d9726; 51 | } 52 | 53 | /* Atelier-Estuary Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #5b9d48; 57 | } 58 | 59 | /* Atelier-Estuary Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #36a166; 69 | } 70 | 71 | /* Atelier-Estuary Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #5f9182; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #22221b; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #ba6236; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #7d9726; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #36a166; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #22221b; 100 | color: #929181; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-estuary.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Estuary Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Estuary Comment */ 6 | .hljs-comment { 7 | color: #6c6b5a; 8 | } 9 | 10 | /* Atelier-Estuary Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ba6236; 25 | } 26 | 27 | /* Atelier-Estuary Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #ae7313; 35 | } 36 | 37 | /* Atelier-Estuary Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a5980d; 41 | } 42 | 43 | /* Atelier-Estuary Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #7d9726; 51 | } 52 | 53 | /* Atelier-Estuary Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #5b9d48; 57 | } 58 | 59 | /* Atelier-Estuary Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #36a166; 69 | } 70 | 71 | /* Atelier-Estuary Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #5f9182; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #22221b; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #ba6236; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #7d9726; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #36a166; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #f4f3ec; 100 | color: #5f5e4e; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-forest.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Forest Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Forest Comment */ 6 | .hljs-comment { 7 | color: #9c9491; 8 | } 9 | 10 | /* Atelier-Forest Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #f22c40; 25 | } 26 | 27 | /* Atelier-Forest Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #df5320; 35 | } 36 | 37 | /* Atelier-Forest Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #c38418; 41 | } 42 | 43 | /* Atelier-Forest Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #7b9726; 51 | } 52 | 53 | /* Atelier-Forest Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #3d97b8; 57 | } 58 | 59 | /* Atelier-Forest Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #407ee7; 69 | } 70 | 71 | /* Atelier-Forest Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6666ea; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #1b1918; 81 | color: #a8a19f; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-forest.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Forest Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Forest Comment */ 6 | .hljs-comment { 7 | color: #766e6b; 8 | } 9 | 10 | /* Atelier-Forest Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #f22c40; 25 | } 26 | 27 | /* Atelier-Forest Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #df5320; 35 | } 36 | 37 | /* Atelier-Forest Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #c38418; 41 | } 42 | 43 | /* Atelier-Forest Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #7b9726; 51 | } 52 | 53 | /* Atelier-Forest Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #3d97b8; 57 | } 58 | 59 | /* Atelier-Forest Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #407ee7; 69 | } 70 | 71 | /* Atelier-Forest Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6666ea; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f1efee; 81 | color: #68615e; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-heath.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Heath Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Heath Comment */ 6 | .hljs-comment { 7 | color: #9e8f9e; 8 | } 9 | 10 | /* Atelier-Heath Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ca402b; 25 | } 26 | 27 | /* Atelier-Heath Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #a65926; 35 | } 36 | 37 | /* Atelier-Heath Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #bb8a35; 41 | } 42 | 43 | /* Atelier-Heath Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #918b3b; 51 | } 52 | 53 | /* Atelier-Heath Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #159393; 57 | } 58 | 59 | /* Atelier-Heath Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #516aec; 69 | } 70 | 71 | /* Atelier-Heath Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #7b59c0; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #1b181b; 81 | color: #ab9bab; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-heath.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Heath Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Heath Comment */ 6 | .hljs-comment { 7 | color: #776977; 8 | } 9 | 10 | /* Atelier-Heath Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ca402b; 25 | } 26 | 27 | /* Atelier-Heath Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #a65926; 35 | } 36 | 37 | /* Atelier-Heath Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #bb8a35; 41 | } 42 | 43 | /* Atelier-Heath Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #918b3b; 51 | } 52 | 53 | /* Atelier-Heath Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #159393; 57 | } 58 | 59 | /* Atelier-Heath Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #516aec; 69 | } 70 | 71 | /* Atelier-Heath Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #7b59c0; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f7f3f7; 81 | color: #695d69; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-lakeside.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Lakeside Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Lakeside Comment */ 6 | .hljs-comment { 7 | color: #7195a8; 8 | } 9 | 10 | /* Atelier-Lakeside Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #d22d72; 25 | } 26 | 27 | /* Atelier-Lakeside Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #935c25; 35 | } 36 | 37 | /* Atelier-Lakeside Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #8a8a0f; 41 | } 42 | 43 | /* Atelier-Lakeside Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #568c3b; 51 | } 52 | 53 | /* Atelier-Lakeside Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #2d8f6f; 57 | } 58 | 59 | /* Atelier-Lakeside Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #257fad; 69 | } 70 | 71 | /* Atelier-Lakeside Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6b6bb8; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #161b1d; 81 | color: #7ea2b4; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-lakeside.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Lakeside Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Lakeside Comment */ 6 | .hljs-comment { 7 | color: #5a7b8c; 8 | } 9 | 10 | /* Atelier-Lakeside Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #d22d72; 25 | } 26 | 27 | /* Atelier-Lakeside Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #935c25; 35 | } 36 | 37 | /* Atelier-Lakeside Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #8a8a0f; 41 | } 42 | 43 | /* Atelier-Lakeside Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #568c3b; 51 | } 52 | 53 | /* Atelier-Lakeside Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #2d8f6f; 57 | } 58 | 59 | /* Atelier-Lakeside Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #257fad; 69 | } 70 | 71 | /* Atelier-Lakeside Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6b6bb8; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #ebf8ff; 81 | color: #516d7b; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-plateau.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Plateau Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Plateau Comment */ 6 | .hljs-comment { 7 | color: #7e7777; 8 | } 9 | 10 | /* Atelier-Plateau Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ca4949; 25 | } 26 | 27 | /* Atelier-Plateau Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #b45a3c; 35 | } 36 | 37 | /* Atelier-Plateau Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a06e3b; 41 | } 42 | 43 | /* Atelier-Plateau Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #4b8b8b; 51 | } 52 | 53 | /* Atelier-Plateau Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #5485b6; 57 | } 58 | 59 | /* Atelier-Plateau Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #7272ca; 69 | } 70 | 71 | /* Atelier-Plateau Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #8464c4; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #1b1818; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #ca4949; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #4b8b8b; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #7272ca; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #1b1818; 100 | color: #8a8585; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-plateau.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Plateau Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Plateau Comment */ 6 | .hljs-comment { 7 | color: #655d5d; 8 | } 9 | 10 | /* Atelier-Plateau Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ca4949; 25 | } 26 | 27 | /* Atelier-Plateau Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #b45a3c; 35 | } 36 | 37 | /* Atelier-Plateau Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a06e3b; 41 | } 42 | 43 | /* Atelier-Plateau Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #4b8b8b; 51 | } 52 | 53 | /* Atelier-Plateau Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #5485b6; 57 | } 58 | 59 | /* Atelier-Plateau Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #7272ca; 69 | } 70 | 71 | /* Atelier-Plateau Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #8464c4; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #1b1818; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #ca4949; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #4b8b8b; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #7272ca; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #f4ecec; 100 | color: #585050; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-savanna.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Savanna Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Savanna Comment */ 6 | .hljs-comment { 7 | color: #78877d; 8 | } 9 | 10 | /* Atelier-Savanna Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #b16139; 25 | } 26 | 27 | /* Atelier-Savanna Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #9f713c; 35 | } 36 | 37 | /* Atelier-Savanna Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a07e3b; 41 | } 42 | 43 | /* Atelier-Savanna Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #489963; 51 | } 52 | 53 | /* Atelier-Savanna Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1c9aa0; 57 | } 58 | 59 | /* Atelier-Savanna Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #478c90; 69 | } 70 | 71 | /* Atelier-Savanna Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #55859b; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #171c19; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #b16139; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #489963; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #478c90; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #171c19; 100 | color: #87928a; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-savanna.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Savanna Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Savanna Comment */ 6 | .hljs-comment { 7 | color: #5f6d64; 8 | } 9 | 10 | /* Atelier-Savanna Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #b16139; 25 | } 26 | 27 | /* Atelier-Savanna Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #9f713c; 35 | } 36 | 37 | /* Atelier-Savanna Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a07e3b; 41 | } 42 | 43 | /* Atelier-Savanna Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #489963; 51 | } 52 | 53 | /* Atelier-Savanna Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1c9aa0; 57 | } 58 | 59 | /* Atelier-Savanna Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #478c90; 69 | } 70 | 71 | /* Atelier-Savanna Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #55859b; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #171c19; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #b16139; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #489963; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #478c90; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #ecf4ee; 100 | color: #526057; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-seaside.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Seaside Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Seaside Comment */ 6 | .hljs-comment { 7 | color: #809980; 8 | } 9 | 10 | /* Atelier-Seaside Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #e6193c; 25 | } 26 | 27 | /* Atelier-Seaside Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #87711d; 35 | } 36 | 37 | /* Atelier-Seaside Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #98981b; 41 | } 42 | 43 | /* Atelier-Seaside Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #29a329; 51 | } 52 | 53 | /* Atelier-Seaside Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1999b3; 57 | } 58 | 59 | /* Atelier-Seaside Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #3d62f5; 69 | } 70 | 71 | /* Atelier-Seaside Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #ad2bee; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #131513; 81 | color: #8ca68c; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-seaside.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Seaside Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Seaside Comment */ 6 | .hljs-comment { 7 | color: #687d68; 8 | } 9 | 10 | /* Atelier-Seaside Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #e6193c; 25 | } 26 | 27 | /* Atelier-Seaside Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #87711d; 35 | } 36 | 37 | /* Atelier-Seaside Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #98981b; 41 | } 42 | 43 | /* Atelier-Seaside Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #29a329; 51 | } 52 | 53 | /* Atelier-Seaside Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1999b3; 57 | } 58 | 59 | /* Atelier-Seaside Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #3d62f5; 69 | } 70 | 71 | /* Atelier-Seaside Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #ad2bee; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f4fbf4; 81 | color: #5e6e5e; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-sulphurpool.dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Sulphurpool Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Sulphurpool Comment */ 6 | .hljs-comment { 7 | color: #898ea4; 8 | } 9 | 10 | /* Atelier-Sulphurpool Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #c94922; 25 | } 26 | 27 | /* Atelier-Sulphurpool Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #c76b29; 35 | } 36 | 37 | /* Atelier-Sulphurpool Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #c08b30; 41 | } 42 | 43 | /* Atelier-Sulphurpool Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #ac9739; 51 | } 52 | 53 | /* Atelier-Sulphurpool Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #22a2c9; 57 | } 58 | 59 | /* Atelier-Sulphurpool Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #3d8fd1; 69 | } 70 | 71 | /* Atelier-Sulphurpool Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6679cc; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #202746; 81 | color: #979db4; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/atelier-sulphurpool.light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Sulphurpool Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Sulphurpool Comment */ 6 | .hljs-comment { 7 | color: #6b7394; 8 | } 9 | 10 | /* Atelier-Sulphurpool Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #c94922; 25 | } 26 | 27 | /* Atelier-Sulphurpool Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #c76b29; 35 | } 36 | 37 | /* Atelier-Sulphurpool Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #c08b30; 41 | } 42 | 43 | /* Atelier-Sulphurpool Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #ac9739; 51 | } 52 | 53 | /* Atelier-Sulphurpool Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #22a2c9; 57 | } 58 | 59 | /* Atelier-Sulphurpool Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #3d8fd1; 69 | } 70 | 71 | /* Atelier-Sulphurpool Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6679cc; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f5f7ff; 81 | color: #5e6687; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/brown_paper.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Brown Paper style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background:#b7a68e url(./brown_papersq.png); 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-keyword, 16 | .hljs-literal, 17 | .hljs-change, 18 | .hljs-winutils, 19 | .hljs-flow, 20 | .nginx .hljs-title, 21 | .tex .hljs-special, 22 | .hljs-request, 23 | .hljs-status { 24 | color:#005599; 25 | font-weight:bold; 26 | } 27 | 28 | .hljs, 29 | .hljs-subst, 30 | .hljs-tag .hljs-keyword { 31 | color: #363c69; 32 | } 33 | 34 | .hljs-string, 35 | .hljs-title, 36 | .hljs-type, 37 | .hljs-tag .hljs-value, 38 | .css .hljs-rule .hljs-value, 39 | .hljs-preprocessor, 40 | .hljs-pragma, 41 | .ruby .hljs-symbol, 42 | .ruby .hljs-symbol .hljs-string, 43 | .ruby .hljs-class .hljs-parent, 44 | .hljs-built_in, 45 | .django .hljs-template_tag, 46 | .django .hljs-variable, 47 | .smalltalk .hljs-class, 48 | .ruby .hljs-string, 49 | .django .hljs-filter .hljs-argument, 50 | .smalltalk .hljs-localvars, 51 | .smalltalk .hljs-array, 52 | .hljs-attr_selector, 53 | .hljs-pseudo, 54 | .hljs-addition, 55 | .hljs-stream, 56 | .hljs-envvar, 57 | .apache .hljs-tag, 58 | .apache .hljs-cbracket, 59 | .tex .hljs-number, 60 | .hljs-name { 61 | color: #2c009f; 62 | } 63 | 64 | .hljs-comment, 65 | .hljs-annotation, 66 | .hljs-decorator, 67 | .hljs-pi, 68 | .hljs-doctype, 69 | .hljs-deletion, 70 | .hljs-shebang, 71 | .apache .hljs-sqbracket, 72 | .nginx .hljs-built_in, 73 | .tex .hljs-formula { 74 | color: #802022; 75 | } 76 | 77 | .hljs-keyword, 78 | .hljs-literal, 79 | .css .hljs-id, 80 | .hljs-doctag, 81 | .hljs-title, 82 | .hljs-type, 83 | .vbscript .hljs-built_in, 84 | .rsl .hljs-built_in, 85 | .smalltalk .hljs-class, 86 | .diff .hljs-header, 87 | .hljs-chunk, 88 | .hljs-winutils, 89 | .bash .hljs-variable, 90 | .apache .hljs-tag, 91 | .tex .hljs-command { 92 | font-weight: bold; 93 | } 94 | 95 | .coffeescript .javascript, 96 | .javascript .xml, 97 | .tex .hljs-formula, 98 | .xml .javascript, 99 | .xml .vbscript, 100 | .xml .css, 101 | .xml .hljs-cdata { 102 | opacity: 0.8; 103 | } 104 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/brown_papersq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/js/highlight/styles/brown_papersq.png -------------------------------------------------------------------------------- /publish/js/highlight/styles/codepen-embed.css: -------------------------------------------------------------------------------- 1 | /* 2 | codepen.io Embed Theme 3 | Author: Justin Perry 4 | Original theme - https://github.com/chriskempson/tomorrow-theme 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #222; 12 | color: #fff; 13 | font-family: Menlo, Monaco, 'Andale Mono', 'Lucida Console', 'Courier New', monospace; 14 | -webkit-text-size-adjust: none; 15 | } 16 | 17 | .hljs-comment, 18 | .hljs-title { 19 | color: #777; 20 | } 21 | 22 | .hljs-variable, 23 | .hljs-attribute, 24 | .hljs-tag, 25 | .hljs-regexp, 26 | .hljs-name, 27 | .ruby .constant, 28 | .xml .tag .title, 29 | .xml .pi, 30 | .xml .doctype, 31 | .html .doctype { 32 | color: #ab875d; 33 | } 34 | 35 | .css .value { 36 | color: #cd6a51; 37 | } 38 | 39 | .css .value .function, 40 | .css .value .string { 41 | color: #a67f59; 42 | } 43 | 44 | .css .value .number { 45 | color: #9b869c; 46 | } 47 | 48 | .css .id, 49 | .css .class, 50 | .css-pseudo, 51 | .css .selector, 52 | .css .tag { 53 | color: #dfc48c; 54 | } 55 | 56 | .hljs-number, 57 | .hljs-preprocessor, 58 | .hljs-built_in, 59 | .hljs-literal, 60 | .hljs-params, 61 | .hljs-constant { 62 | color: #ab875d; 63 | } 64 | 65 | .ruby .class .title, 66 | .css .rules .attribute { 67 | color: #9b869b; 68 | } 69 | 70 | .hljs-string, 71 | .hljs-value, 72 | .hljs-inheritance, 73 | .hljs-header, 74 | .ruby .symbol, 75 | .xml .cdata { 76 | color: #8f9c6c; 77 | } 78 | 79 | .css .hexcolor { 80 | color: #cd6a51; 81 | } 82 | 83 | .function, 84 | .python .decorator, 85 | .python .title, 86 | .ruby .function .title, 87 | .ruby .title .keyword, 88 | .perl .sub, 89 | .javascript .title, 90 | .coffeescript .title { 91 | color: #fff; 92 | } 93 | 94 | .hljs-keyword, 95 | .javascript .function { 96 | color: #8f9c6c; 97 | } 98 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Dark style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #444; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-keyword, 16 | .hljs-literal, 17 | .hljs-change, 18 | .hljs-winutils, 19 | .hljs-flow, 20 | .nginx .hljs-title, 21 | .tex .hljs-special { 22 | color: white; 23 | } 24 | 25 | .hljs, 26 | .hljs-subst { 27 | color: #ddd; 28 | } 29 | 30 | .hljs-string, 31 | .hljs-title, 32 | .hljs-type, 33 | .ini .hljs-title, 34 | .hljs-tag .hljs-value, 35 | .css .hljs-rule .hljs-value, 36 | .hljs-preprocessor, 37 | .hljs-pragma, 38 | .ruby .hljs-symbol, 39 | .ruby .hljs-symbol .hljs-string, 40 | .ruby .hljs-class .hljs-parent, 41 | .hljs-built_in, 42 | .django .hljs-template_tag, 43 | .django .hljs-variable, 44 | .smalltalk .hljs-class, 45 | .ruby .hljs-string, 46 | .django .hljs-filter .hljs-argument, 47 | .smalltalk .hljs-localvars, 48 | .smalltalk .hljs-array, 49 | .hljs-attr_selector, 50 | .hljs-pseudo, 51 | .hljs-addition, 52 | .hljs-stream, 53 | .hljs-envvar, 54 | .apache .hljs-tag, 55 | .apache .hljs-cbracket, 56 | .tex .hljs-command, 57 | .hljs-prompt, 58 | .coffeescript .hljs-attribute, 59 | .hljs-name { 60 | color: #d88; 61 | } 62 | 63 | .hljs-comment, 64 | .hljs-annotation, 65 | .hljs-decorator, 66 | .hljs-pi, 67 | .hljs-doctype, 68 | .hljs-deletion, 69 | .hljs-shebang, 70 | .apache .hljs-sqbracket, 71 | .tex .hljs-formula { 72 | color: #777; 73 | } 74 | 75 | .hljs-keyword, 76 | .hljs-literal, 77 | .hljs-title, 78 | .css .hljs-id, 79 | .hljs-doctag, 80 | .hljs-type, 81 | .vbscript .hljs-built_in, 82 | .rsl .hljs-built_in, 83 | .smalltalk .hljs-class, 84 | .diff .hljs-header, 85 | .hljs-chunk, 86 | .hljs-winutils, 87 | .bash .hljs-variable, 88 | .apache .hljs-tag, 89 | .tex .hljs-special, 90 | .hljs-request, 91 | .hljs-status { 92 | font-weight: bold; 93 | } 94 | 95 | .coffeescript .javascript, 96 | .javascript .xml, 97 | .tex .hljs-formula, 98 | .xml .javascript, 99 | .xml .vbscript, 100 | .xml .css, 101 | .xml .hljs-cdata { 102 | opacity: 0.5; 103 | } 104 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/darkula.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Darkula color scheme from the JetBrains family of IDEs 4 | 5 | */ 6 | 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #2b2b2b; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs, 17 | .hljs-tag, 18 | .hljs-title, 19 | .css .hljs-rule, 20 | .css .hljs-value, 21 | .aspectj .hljs-function, 22 | .css .hljs-function .hljs-preprocessor, 23 | .hljs-pragma { 24 | color: #bababa; 25 | } 26 | 27 | .hljs-strongemphasis, 28 | .hljs-strong, 29 | .hljs-emphasis { 30 | color: #a8a8a2; 31 | } 32 | 33 | .hljs-bullet, 34 | .hljs-blockquote, 35 | .hljs-horizontal_rule, 36 | .hljs-number, 37 | .hljs-regexp, 38 | .alias .hljs-keyword, 39 | .hljs-literal, 40 | .hljs-hexcolor { 41 | color: #6896ba; 42 | } 43 | 44 | .hljs-tag .hljs-value, 45 | .hljs-code, 46 | .css .hljs-class, 47 | .hljs-class .hljs-title:last-child { 48 | color: #a6e22e; 49 | } 50 | 51 | .hljs-link_url { 52 | font-size: 80%; 53 | } 54 | 55 | .hljs-emphasis, 56 | .hljs-strongemphasis, 57 | .hljs-class .hljs-title:last-child, 58 | .hljs-typename { 59 | font-style: italic; 60 | } 61 | 62 | .hljs-keyword, 63 | .ruby .hljs-class .hljs-keyword:first-child, 64 | .ruby .hljs-function .hljs-keyword, 65 | .hljs-function, 66 | .hljs-change, 67 | .hljs-winutils, 68 | .hljs-flow, 69 | .nginx .hljs-title, 70 | .tex .hljs-special, 71 | .hljs-header, 72 | .hljs-attribute, 73 | .hljs-symbol, 74 | .hljs-symbol .hljs-string, 75 | .hljs-tag .hljs-title, 76 | .hljs-value, 77 | .alias .hljs-keyword:first-child, 78 | .css .hljs-tag, 79 | .css .unit, 80 | .css .hljs-important { 81 | color: #cb7832; 82 | } 83 | 84 | .hljs-function .hljs-keyword, 85 | .hljs-class .hljs-keyword:first-child, 86 | .hljs-aspect .hljs-keyword:first-child, 87 | .hljs-constant, 88 | .hljs-typename, 89 | .css .hljs-attribute { 90 | color: #cb7832; 91 | } 92 | 93 | .hljs-variable, 94 | .hljs-params, 95 | .hljs-class .hljs-title, 96 | .hljs-aspect .hljs-title { 97 | color: #b9b9b9; 98 | } 99 | 100 | .hljs-string, 101 | .css .hljs-id, 102 | .hljs-subst, 103 | .hljs-type, 104 | .ruby .hljs-class .hljs-parent, 105 | .hljs-built_in, 106 | .django .hljs-template_tag, 107 | .django .hljs-variable, 108 | .smalltalk .hljs-class, 109 | .django .hljs-filter .hljs-argument, 110 | .smalltalk .hljs-localvars, 111 | .smalltalk .hljs-array, 112 | .hljs-attr_selector, 113 | .hljs-pseudo, 114 | .hljs-addition, 115 | .hljs-stream, 116 | .hljs-envvar, 117 | .apache .hljs-tag, 118 | .apache .hljs-cbracket, 119 | .tex .hljs-command, 120 | .hljs-prompt, 121 | .hljs-link_label, 122 | .hljs-link_url, 123 | .hljs-name { 124 | color: #e0c46c; 125 | } 126 | 127 | .hljs-comment, 128 | .hljs-annotation, 129 | .hljs-pi, 130 | .hljs-doctype, 131 | .hljs-deletion, 132 | .hljs-shebang, 133 | .apache .hljs-sqbracket, 134 | .tex .hljs-formula { 135 | color: #7f7f7f; 136 | } 137 | 138 | .hljs-decorator { 139 | color: #bab429; 140 | } 141 | 142 | .coffeescript .javascript, 143 | .javascript .xml, 144 | .tex .hljs-formula, 145 | .xml .javascript, 146 | .xml .vbscript, 147 | .xml .css, 148 | .xml .hljs-cdata, 149 | .xml .php, 150 | .php .xml { 151 | opacity: 0.5; 152 | } 153 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/docco.css: -------------------------------------------------------------------------------- 1 | /* 2 | Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | color: #000; 10 | background: #f8f8ff; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .hljs-comment, 15 | .diff .hljs-header { 16 | color: #408080; 17 | font-style: italic; 18 | } 19 | 20 | .hljs-keyword, 21 | .assignment, 22 | .hljs-literal, 23 | .css .rule .hljs-keyword, 24 | .hljs-winutils, 25 | .javascript .hljs-title, 26 | .lisp .hljs-title, 27 | .hljs-subst { 28 | color: #954121; 29 | } 30 | 31 | .hljs-number, 32 | .hljs-hexcolor { 33 | color: #40a070; 34 | } 35 | 36 | .hljs-string, 37 | .hljs-tag .hljs-value, 38 | .hljs-doctag, 39 | .tex .hljs-formula, 40 | .hljs-name { 41 | color: #219161; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-id { 46 | color: #19469d; 47 | } 48 | .hljs-params { 49 | color: #00f; 50 | } 51 | 52 | .javascript .hljs-title, 53 | .lisp .hljs-title, 54 | .hljs-subst { 55 | font-weight: normal; 56 | } 57 | 58 | .hljs-class .hljs-title, 59 | .haskell .hljs-label, 60 | .tex .hljs-command { 61 | color: #458; 62 | font-weight: bold; 63 | } 64 | 65 | .hljs-tag, 66 | .hljs-tag .hljs-title, 67 | .hljs-rule .hljs-property, 68 | .django .hljs-tag .hljs-keyword { 69 | color: #000080; 70 | font-weight: normal; 71 | } 72 | 73 | .hljs-attribute, 74 | .hljs-variable, 75 | .instancevar, 76 | .lisp .hljs-body { 77 | color: #008080; 78 | } 79 | 80 | .hljs-regexp { 81 | color: #b68; 82 | } 83 | 84 | .hljs-class { 85 | color: #458; 86 | font-weight: bold; 87 | } 88 | 89 | .hljs-symbol, 90 | .ruby .hljs-symbol .hljs-string, 91 | .ruby .hljs-symbol .hljs-keyword, 92 | .ruby .hljs-symbol .keymethods, 93 | .lisp .hljs-keyword, 94 | .tex .hljs-special, 95 | .input_number { 96 | color: #990073; 97 | } 98 | 99 | .builtin, 100 | .constructor, 101 | .hljs-built_in, 102 | .lisp .hljs-title { 103 | color: #0086b3; 104 | } 105 | 106 | .hljs-preprocessor, 107 | .hljs-pragma, 108 | .hljs-pi, 109 | .hljs-doctype, 110 | .hljs-shebang, 111 | .hljs-cdata { 112 | color: #999; 113 | font-weight: bold; 114 | } 115 | 116 | .hljs-deletion { 117 | background: #fdd; 118 | } 119 | 120 | .hljs-addition { 121 | background: #dfd; 122 | } 123 | 124 | .diff .hljs-change { 125 | background: #0086b3; 126 | } 127 | 128 | .hljs-chunk { 129 | color: #aaa; 130 | } 131 | 132 | .tex .hljs-formula { 133 | opacity: 0.5; 134 | } 135 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/far.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | FAR Style (c) MajestiC 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #000080; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs, 16 | .hljs-subst { 17 | color: #0ff; 18 | } 19 | 20 | .hljs-string, 21 | .ruby .hljs-string, 22 | .haskell .hljs-type, 23 | .hljs-tag .hljs-value, 24 | .hljs-rule .hljs-value, 25 | .hljs-rule .hljs-value .hljs-number, 26 | .hljs-preprocessor, 27 | .hljs-pragma, 28 | .ruby .hljs-symbol, 29 | .ruby .hljs-symbol .hljs-string, 30 | .hljs-built_in, 31 | .django .hljs-template_tag, 32 | .django .hljs-variable, 33 | .smalltalk .hljs-class, 34 | .hljs-addition, 35 | .apache .hljs-tag, 36 | .apache .hljs-cbracket, 37 | .tex .hljs-command, 38 | .coffeescript .hljs-attribute { 39 | color: #ff0; 40 | } 41 | 42 | .hljs-keyword, 43 | .css .hljs-id, 44 | .hljs-title, 45 | .hljs-type, 46 | .vbscript .hljs-built_in, 47 | .rsl .hljs-built_in, 48 | .smalltalk .hljs-class, 49 | .xml .hljs-tag .hljs-title, 50 | .hljs-winutils, 51 | .hljs-flow, 52 | .hljs-change, 53 | .hljs-envvar, 54 | .bash .hljs-variable, 55 | .tex .hljs-special, 56 | .hljs-name { 57 | color: #fff; 58 | } 59 | 60 | .hljs-comment, 61 | .hljs-doctag, 62 | .hljs-annotation, 63 | .hljs-deletion, 64 | .apache .hljs-sqbracket, 65 | .tex .hljs-formula { 66 | color: #888; 67 | } 68 | 69 | .hljs-number, 70 | .hljs-date, 71 | .hljs-regexp, 72 | .hljs-literal, 73 | .smalltalk .hljs-symbol, 74 | .smalltalk .hljs-char, 75 | .clojure .hljs-attribute { 76 | color: #0f0; 77 | } 78 | 79 | .hljs-decorator, 80 | .django .hljs-filter .hljs-argument, 81 | .smalltalk .hljs-localvars, 82 | .smalltalk .hljs-array, 83 | .hljs-attr_selector, 84 | .hljs-pseudo, 85 | .xml .hljs-pi, 86 | .diff .hljs-header, 87 | .hljs-chunk, 88 | .hljs-shebang, 89 | .nginx .hljs-built_in, 90 | .hljs-prompt { 91 | color: #008080; 92 | } 93 | 94 | .hljs-keyword, 95 | .css .hljs-id, 96 | .hljs-title, 97 | .hljs-type, 98 | .vbscript .hljs-built_in, 99 | .rsl .hljs-built_in, 100 | .smalltalk .hljs-class, 101 | .hljs-winutils, 102 | .hljs-flow, 103 | .apache .hljs-tag, 104 | .nginx .hljs-built_in, 105 | .tex .hljs-command, 106 | .tex .hljs-special, 107 | .hljs-request, 108 | .hljs-status { 109 | font-weight: bold; 110 | } 111 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/foundation.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Foundation 4 docs style for highlight.js 3 | Author: Dan Allen 4 | Website: http://foundation.zurb.com/docs/ 5 | Version: 1.0 6 | Date: 2013-04-02 7 | */ 8 | 9 | .hljs { 10 | display: block; 11 | overflow-x: auto; 12 | padding: 0.5em; 13 | background: #eee; 14 | -webkit-text-size-adjust: none; 15 | } 16 | 17 | .hljs-header, 18 | .hljs-decorator, 19 | .hljs-annotation { 20 | color: #000077; 21 | } 22 | 23 | .hljs-horizontal_rule, 24 | .hljs-link_url, 25 | .hljs-emphasis, 26 | .hljs-attribute { 27 | color: #070; 28 | } 29 | 30 | .hljs-emphasis { 31 | font-style: italic; 32 | } 33 | 34 | .hljs-link_label, 35 | .hljs-strong, 36 | .hljs-value, 37 | .hljs-string, 38 | .scss .hljs-value .hljs-string { 39 | color: #d14; 40 | } 41 | 42 | .hljs-strong { 43 | font-weight: bold; 44 | } 45 | 46 | .hljs-blockquote, 47 | .hljs-comment { 48 | color: #998; 49 | font-style: italic; 50 | } 51 | 52 | .asciidoc .hljs-title, 53 | .hljs-function .hljs-title { 54 | color: #900; 55 | } 56 | 57 | .hljs-class { 58 | color: #458; 59 | } 60 | 61 | .hljs-id, 62 | .hljs-pseudo, 63 | .hljs-constant, 64 | .hljs-hexcolor { 65 | color: teal; 66 | } 67 | 68 | .hljs-variable { 69 | color: #336699; 70 | } 71 | 72 | .hljs-bullet { 73 | color: #997700; 74 | } 75 | 76 | .hljs-pi, 77 | .hljs-doctype { 78 | color: #3344bb; 79 | } 80 | 81 | .hljs-code, 82 | .hljs-number { 83 | color: #099; 84 | } 85 | 86 | .hljs-important { 87 | color: #f00; 88 | } 89 | 90 | .smartquote, 91 | .hljs-label { 92 | color: #970; 93 | } 94 | 95 | .hljs-preprocessor, 96 | .hljs-pragma { 97 | color: #579; 98 | } 99 | 100 | .hljs-reserved, 101 | .hljs-keyword, 102 | .scss .hljs-value { 103 | color: #000; 104 | } 105 | 106 | .hljs-regexp { 107 | background-color: #fff0ff; 108 | color: #880088; 109 | } 110 | 111 | .hljs-symbol { 112 | color: #990073; 113 | } 114 | 115 | .hljs-symbol .hljs-string { 116 | color: #a60; 117 | } 118 | 119 | .hljs-tag { 120 | color: #007700; 121 | } 122 | 123 | .hljs-at_rule, 124 | .hljs-at_rule .hljs-keyword { 125 | color: #088; 126 | } 127 | 128 | .hljs-at_rule .hljs-preprocessor { 129 | color: #808; 130 | } 131 | 132 | .scss .hljs-tag, 133 | .scss .hljs-attribute { 134 | color: #339; 135 | } 136 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/github.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | github.com style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | color: #333; 12 | background: #f8f8f8; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment, 17 | .diff .hljs-header { 18 | color: #998; 19 | font-style: italic; 20 | } 21 | 22 | .hljs-keyword, 23 | .css .rule .hljs-keyword, 24 | .hljs-winutils, 25 | .nginx .hljs-title, 26 | .hljs-subst, 27 | .hljs-request, 28 | .hljs-status { 29 | color: #333; 30 | font-weight: bold; 31 | } 32 | 33 | .hljs-number, 34 | .hljs-hexcolor, 35 | .ruby .hljs-constant { 36 | color: #008080; 37 | } 38 | 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-doctag, 42 | .tex .hljs-formula { 43 | color: #d14; 44 | } 45 | 46 | .hljs-title, 47 | .hljs-id, 48 | .scss .hljs-preprocessor { 49 | color: #900; 50 | font-weight: bold; 51 | } 52 | 53 | .hljs-list .hljs-keyword, 54 | .hljs-subst { 55 | font-weight: normal; 56 | } 57 | 58 | .hljs-class .hljs-title, 59 | .hljs-type, 60 | .vhdl .hljs-literal, 61 | .tex .hljs-command { 62 | color: #458; 63 | font-weight: bold; 64 | } 65 | 66 | .hljs-tag, 67 | .hljs-tag .hljs-title, 68 | .hljs-rule .hljs-property, 69 | .django .hljs-tag .hljs-keyword { 70 | color: #000080; 71 | font-weight: normal; 72 | } 73 | 74 | .hljs-attribute, 75 | .hljs-variable, 76 | .lisp .hljs-body, 77 | .hljs-name { 78 | color: #008080; 79 | } 80 | 81 | .hljs-regexp { 82 | color: #009926; 83 | } 84 | 85 | .hljs-symbol, 86 | .ruby .hljs-symbol .hljs-string, 87 | .lisp .hljs-keyword, 88 | .clojure .hljs-keyword, 89 | .scheme .hljs-keyword, 90 | .tex .hljs-special, 91 | .hljs-prompt { 92 | color: #990073; 93 | } 94 | 95 | .hljs-built_in { 96 | color: #0086b3; 97 | } 98 | 99 | .hljs-preprocessor, 100 | .hljs-pragma, 101 | .hljs-pi, 102 | .hljs-doctype, 103 | .hljs-shebang, 104 | .hljs-cdata { 105 | color: #999; 106 | font-weight: bold; 107 | } 108 | 109 | .hljs-deletion { 110 | background: #fdd; 111 | } 112 | 113 | .hljs-addition { 114 | background: #dfd; 115 | } 116 | 117 | .diff .hljs-change { 118 | background: #0086b3; 119 | } 120 | 121 | .hljs-chunk { 122 | color: #aaa; 123 | } 124 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/googlecode.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Google Code style (c) Aahan Krish 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: white; 12 | color: black; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment { 17 | color: #800; 18 | } 19 | 20 | .hljs-keyword, 21 | .method, 22 | .hljs-list .hljs-keyword, 23 | .nginx .hljs-title, 24 | .hljs-tag .hljs-title, 25 | .setting .hljs-value, 26 | .hljs-winutils, 27 | .tex .hljs-command, 28 | .http .hljs-title, 29 | .hljs-request, 30 | .hljs-status { 31 | color: #008; 32 | } 33 | 34 | .hljs-envvar, 35 | .tex .hljs-special { 36 | color: #660; 37 | } 38 | 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-cdata, 42 | .hljs-filter .hljs-argument, 43 | .hljs-attr_selector, 44 | .apache .hljs-cbracket, 45 | .hljs-date, 46 | .hljs-regexp, 47 | .coffeescript .hljs-attribute { 48 | color: #080; 49 | } 50 | 51 | .hljs-sub .hljs-identifier, 52 | .hljs-pi, 53 | .hljs-tag, 54 | .hljs-tag .hljs-keyword, 55 | .hljs-decorator, 56 | .ini .hljs-title, 57 | .hljs-shebang, 58 | .hljs-prompt, 59 | .hljs-hexcolor, 60 | .hljs-rule .hljs-value, 61 | .hljs-literal, 62 | .hljs-symbol, 63 | .ruby .hljs-symbol .hljs-string, 64 | .hljs-number, 65 | .css .hljs-function, 66 | .clojure .hljs-attribute { 67 | color: #066; 68 | } 69 | 70 | .hljs-class .hljs-title, 71 | .smalltalk .hljs-class, 72 | .hljs-doctag, 73 | .hljs-type, 74 | .hljs-typename, 75 | .hljs-tag .hljs-attribute, 76 | .hljs-doctype, 77 | .hljs-class .hljs-id, 78 | .hljs-built_in, 79 | .setting, 80 | .hljs-params, 81 | .hljs-variable, 82 | .hljs-name { 83 | color: #606; 84 | } 85 | 86 | .css .hljs-tag, 87 | .hljs-rule .hljs-property, 88 | .hljs-pseudo, 89 | .hljs-subst { 90 | color: #000; 91 | } 92 | 93 | .css .hljs-class, 94 | .css .hljs-id { 95 | color: #9b703f; 96 | } 97 | 98 | .hljs-value .hljs-important { 99 | color: #ff7700; 100 | font-weight: bold; 101 | } 102 | 103 | .hljs-rule .hljs-keyword { 104 | color: #c5af75; 105 | } 106 | 107 | .hljs-annotation, 108 | .apache .hljs-sqbracket, 109 | .nginx .hljs-built_in { 110 | color: #9b859d; 111 | } 112 | 113 | .hljs-preprocessor, 114 | .hljs-preprocessor *, 115 | .hljs-pragma { 116 | color: #444; 117 | } 118 | 119 | .tex .hljs-formula { 120 | background-color: #eee; 121 | font-style: italic; 122 | } 123 | 124 | .diff .hljs-header, 125 | .hljs-chunk { 126 | color: #808080; 127 | font-weight: bold; 128 | } 129 | 130 | .diff .hljs-change { 131 | background-color: #bccff9; 132 | } 133 | 134 | .hljs-addition { 135 | background-color: #baeeba; 136 | } 137 | 138 | .hljs-deletion { 139 | background-color: #ffc8bd; 140 | } 141 | 142 | .hljs-comment .hljs-doctag { 143 | font-weight: bold; 144 | } 145 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/hopscotch.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Hopscotch 3 | * by Jan T. Sott 4 | * https://github.com/idleberg/Hopscotch 5 | * 6 | * This work is licensed under the Creative Commons CC0 1.0 Universal License 7 | */ 8 | 9 | /* Comment */ 10 | .hljs-comment, 11 | .hljs-title { 12 | color: #989498; 13 | } 14 | 15 | /* Red */ 16 | .hljs-variable, 17 | .hljs-attribute, 18 | .hljs-tag, 19 | .hljs-regexp, 20 | .ruby .hljs-constant, 21 | .xml .hljs-tag .hljs-title, 22 | .xml .hljs-pi, 23 | .xml .hljs-doctype, 24 | .html .hljs-doctype, 25 | .css .hljs-id, 26 | .css .hljs-class, 27 | .css .hljs-pseudo { 28 | color: #dd464c; 29 | } 30 | 31 | /* Orange */ 32 | .hljs-number, 33 | .hljs-preprocessor, 34 | .hljs-built_in, 35 | .hljs-literal, 36 | .hljs-params, 37 | .hljs-constant { 38 | color: #fd8b19; 39 | } 40 | 41 | /* Yellow */ 42 | .ruby .hljs-class .hljs-title, 43 | .css .hljs-rules .hljs-attribute { 44 | color: #fdcc59; 45 | } 46 | 47 | /* Green */ 48 | .hljs-string, 49 | .hljs-value, 50 | .hljs-inheritance, 51 | .hljs-header, 52 | .ruby .hljs-symbol, 53 | .xml .hljs-cdata { 54 | color: #8fc13e; 55 | } 56 | 57 | /* Aqua */ 58 | .css .hljs-hexcolor { 59 | color: #149b93; 60 | } 61 | 62 | /* Blue */ 63 | .hljs-function, 64 | .python .hljs-decorator, 65 | .python .hljs-title, 66 | .ruby .hljs-function .hljs-title, 67 | .ruby .hljs-title .hljs-keyword, 68 | .perl .hljs-sub, 69 | .javascript .hljs-title, 70 | .coffeescript .hljs-title { 71 | color: #1290bf; 72 | } 73 | 74 | /* Purple */ 75 | .hljs-keyword, 76 | .javascript .hljs-function { 77 | color: #c85e7c; 78 | } 79 | 80 | .hljs { 81 | display: block; 82 | background: #322931; 83 | color: #b9b5b8; 84 | padding: 0.5em; 85 | } 86 | 87 | .coffeescript .javascript, 88 | .javascript .xml, 89 | .tex .hljs-formula, 90 | .xml .javascript, 91 | .xml .vbscript, 92 | .xml .css, 93 | .xml .hljs-cdata { 94 | opacity: 0.5; 95 | } 96 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/idea.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Intellij Idea-like styling (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | color: #000; 12 | background: #fff; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-subst, 17 | .hljs-title, 18 | .json .hljs-value { 19 | font-weight: normal; 20 | color: #000; 21 | } 22 | 23 | .hljs-comment, 24 | .diff .hljs-header { 25 | color: #808080; 26 | font-style: italic; 27 | } 28 | 29 | .hljs-annotation, 30 | .hljs-decorator, 31 | .hljs-preprocessor, 32 | .hljs-pragma, 33 | .hljs-doctype, 34 | .hljs-pi, 35 | .hljs-chunk, 36 | .hljs-shebang, 37 | .apache .hljs-cbracket, 38 | .hljs-prompt, 39 | .http .hljs-title { 40 | color: #808000; 41 | } 42 | 43 | .hljs-tag, 44 | .hljs-pi { 45 | background: #efefef; 46 | } 47 | 48 | .hljs-tag .hljs-title, 49 | .hljs-id, 50 | .hljs-attr_selector, 51 | .hljs-pseudo, 52 | .hljs-literal, 53 | .hljs-keyword, 54 | .hljs-hexcolor, 55 | .css .hljs-function, 56 | .ini .hljs-title, 57 | .css .hljs-class, 58 | .hljs-list .hljs-keyword, 59 | .nginx .hljs-title, 60 | .tex .hljs-command, 61 | .hljs-request, 62 | .hljs-status { 63 | font-weight: bold; 64 | color: #000080; 65 | } 66 | 67 | .hljs-attribute, 68 | .hljs-rule .hljs-keyword, 69 | .hljs-number, 70 | .hljs-date, 71 | .hljs-regexp, 72 | .tex .hljs-special { 73 | font-weight: bold; 74 | color: #0000ff; 75 | } 76 | 77 | .hljs-number, 78 | .hljs-regexp { 79 | font-weight: normal; 80 | } 81 | 82 | .hljs-string, 83 | .hljs-value, 84 | .hljs-filter .hljs-argument, 85 | .css .hljs-function .hljs-params, 86 | .apache .hljs-tag { 87 | color: #008000; 88 | font-weight: bold; 89 | } 90 | 91 | .hljs-symbol, 92 | .ruby .hljs-symbol .hljs-string, 93 | .hljs-char, 94 | .tex .hljs-formula { 95 | color: #000; 96 | background: #d0eded; 97 | font-style: italic; 98 | } 99 | 100 | .hljs-doctag { 101 | text-decoration: underline; 102 | } 103 | 104 | .hljs-variable, 105 | .hljs-envvar, 106 | .apache .hljs-sqbracket, 107 | .nginx .hljs-built_in, 108 | .hljs-name { 109 | color: #660e7a; 110 | } 111 | 112 | .hljs-addition { 113 | background: #baeeba; 114 | } 115 | 116 | .hljs-deletion { 117 | background: #ffc8bd; 118 | } 119 | 120 | .diff .hljs-change { 121 | background: #bccff9; 122 | } 123 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/ir_black.css: -------------------------------------------------------------------------------- 1 | /* 2 | IR_Black style (c) Vasily Mikhailitchenko 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #000; 10 | color: #f8f8f8; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .hljs-shebang, 15 | .hljs-comment { 16 | color: #7c7c7c; 17 | } 18 | 19 | .hljs-keyword, 20 | .hljs-tag, 21 | .tex .hljs-command, 22 | .hljs-request, 23 | .hljs-status, 24 | .clojure .hljs-attribute { 25 | color: #96cbfe; 26 | } 27 | 28 | .hljs-sub .hljs-keyword, 29 | .method, 30 | .hljs-list .hljs-title, 31 | .nginx .hljs-title { 32 | color: #ffffb6; 33 | } 34 | 35 | .hljs-string, 36 | .hljs-tag .hljs-value, 37 | .hljs-cdata, 38 | .hljs-filter .hljs-argument, 39 | .hljs-attr_selector, 40 | .apache .hljs-cbracket, 41 | .hljs-date, 42 | .coffeescript .hljs-attribute { 43 | color: #a8ff60; 44 | } 45 | 46 | .hljs-subst { 47 | color: #daefa3; 48 | } 49 | 50 | .hljs-regexp { 51 | color: #e9c062; 52 | } 53 | 54 | .hljs-title, 55 | .hljs-sub .hljs-identifier, 56 | .hljs-pi, 57 | .hljs-decorator, 58 | .tex .hljs-special, 59 | .hljs-type, 60 | .hljs-constant, 61 | .smalltalk .hljs-class, 62 | .hljs-doctag, 63 | .nginx .hljs-built_in { 64 | color: #ffffb6; 65 | } 66 | 67 | .hljs-symbol, 68 | .ruby .hljs-symbol .hljs-string, 69 | .hljs-number, 70 | .hljs-variable, 71 | .vbscript, 72 | .hljs-literal, 73 | .hljs-name { 74 | color: #c6c5fe; 75 | } 76 | 77 | .css .hljs-tag { 78 | color: #96cbfe; 79 | } 80 | 81 | .css .hljs-rule .hljs-property, 82 | .css .hljs-id { 83 | color: #ffffb6; 84 | } 85 | 86 | .css .hljs-class { 87 | color: #fff; 88 | } 89 | 90 | .hljs-hexcolor { 91 | color: #c6c5fe; 92 | } 93 | 94 | .hljs-number { 95 | color:#ff73fd; 96 | } 97 | 98 | .coffeescript .javascript, 99 | .javascript .xml, 100 | .tex .hljs-formula, 101 | .xml .javascript, 102 | .xml .vbscript, 103 | .xml .css, 104 | .xml .hljs-cdata { 105 | opacity: 0.7; 106 | } 107 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/kimbie.dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | Name: Kimbie (dark) 3 | Author: Jan T. Sott 4 | License: Creative Commons Attribution-ShareAlike 4.0 Unported License 5 | URL: https://github.com/idleberg/Kimbie-highlight.js 6 | */ 7 | 8 | /* Kimbie Comment */ 9 | .hljs-comment, 10 | .hljs-title { 11 | color: #d6baad; 12 | } 13 | 14 | /* Kimbie Red */ 15 | .hljs-variable, 16 | .hljs-attribute, 17 | .hljs-tag, 18 | .hljs-regexp, 19 | .hljs-name, 20 | .ruby .hljs-constant, 21 | .xml .hljs-tag .hljs-title, 22 | .xml .hljs-pi, 23 | .xml .hljs-doctype, 24 | .html .hljs-doctype, 25 | .css .hljs-id, 26 | .css .hljs-class, 27 | .css .hljs-pseudo { 28 | color: #dc3958; 29 | } 30 | 31 | /* Kimbie Orange */ 32 | .hljs-number, 33 | .hljs-preprocessor, 34 | .hljs-built_in, 35 | .hljs-literal, 36 | .hljs-params, 37 | .hljs-constant { 38 | color: #f79a32; 39 | } 40 | 41 | /* Kimbie Yellow */ 42 | .ruby .hljs-class .hljs-title, 43 | .css .hljs-rule .hljs-attribute { 44 | color: #f06431; 45 | } 46 | 47 | /* Kimbie Green */ 48 | .hljs-string, 49 | .hljs-value, 50 | .hljs-inheritance, 51 | .hljs-header, 52 | .ruby .hljs-symbol, 53 | .xml .hljs-cdata { 54 | color: #889b4a; 55 | } 56 | 57 | /* Kimbie Aqua */ 58 | .css .hljs-hexcolor { 59 | color: #088649; 60 | } 61 | 62 | /* Kimbie Blue */ 63 | .hljs-function, 64 | .python .hljs-decorator, 65 | .python .hljs-title, 66 | .ruby .hljs-function .hljs-title, 67 | .ruby .hljs-title .hljs-keyword, 68 | .perl .hljs-sub, 69 | .javascript .hljs-title, 70 | .coffeescript .hljs-title { 71 | color: #8ab1b0; 72 | } 73 | 74 | /* Kimbie Purple */ 75 | .hljs-keyword, 76 | .javascript .hljs-function { 77 | color: #98676a; 78 | } 79 | 80 | .hljs { 81 | display: block; 82 | overflow-x: auto; 83 | background: #221a0f; 84 | color: #d3af86; 85 | padding: 0.5em; 86 | -webkit-text-size-adjust: none; 87 | } 88 | 89 | .coffeescript .javascript, 90 | .javascript .xml, 91 | .tex .hljs-formula, 92 | .xml .javascript, 93 | .xml .vbscript, 94 | .xml .css, 95 | .xml .hljs-cdata { 96 | opacity: 0.5; 97 | } 98 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/kimbie.light.css: -------------------------------------------------------------------------------- 1 | /* 2 | Name: Kimbie (light) 3 | Author: Jan T. Sott 4 | License: Creative Commons Attribution-ShareAlike 4.0 Unported License 5 | URL: https://github.com/idleberg/Kimbie-highlight.js 6 | */ 7 | 8 | /* Kimbie Comment */ 9 | .hljs-comment, 10 | .hljs-title { 11 | color: #a57a4c; 12 | } 13 | 14 | /* Kimbie Red */ 15 | .hljs-variable, 16 | .hljs-attribute, 17 | .hljs-tag, 18 | .hljs-regexp, 19 | .hljs-name, 20 | .ruby .hljs-constant, 21 | .xml .hljs-tag .hljs-title, 22 | .xml .hljs-pi, 23 | .xml .hljs-doctype, 24 | .html .hljs-doctype, 25 | .css .hljs-id, 26 | .css .hljs-class, 27 | .css .hljs-pseudo { 28 | color: #dc3958; 29 | } 30 | 31 | /* Kimbie Orange */ 32 | .hljs-number, 33 | .hljs-preprocessor, 34 | .hljs-built_in, 35 | .hljs-literal, 36 | .hljs-params, 37 | .hljs-constant { 38 | color: #f79a32; 39 | } 40 | 41 | /* Kimbie Yellow */ 42 | .ruby .hljs-class .hljs-title, 43 | .css .hljs-rule .hljs-attribute { 44 | color: #f06431; 45 | } 46 | 47 | /* Kimbie Green */ 48 | .hljs-string, 49 | .hljs-value, 50 | .hljs-inheritance, 51 | .hljs-header, 52 | .ruby .hljs-symbol, 53 | .xml .hljs-cdata { 54 | color: #889b4a; 55 | } 56 | 57 | /* Kimbie Aqua */ 58 | .css .hljs-hexcolor { 59 | color: #088649; 60 | } 61 | 62 | /* Kimbie Blue */ 63 | .hljs-function, 64 | .python .hljs-decorator, 65 | .python .hljs-title, 66 | .ruby .hljs-function .hljs-title, 67 | .ruby .hljs-title .hljs-keyword, 68 | .perl .hljs-sub, 69 | .javascript .hljs-title, 70 | .coffeescript .hljs-title { 71 | color: #8ab1b0; 72 | } 73 | 74 | /* Kimbie Purple */ 75 | .hljs-keyword, 76 | .javascript .hljs-function { 77 | color: #98676a; 78 | } 79 | 80 | .hljs { 81 | display: block; 82 | overflow-x: auto; 83 | background: #fbebd4; 84 | color: #84613d; 85 | padding: 0.5em; 86 | -webkit-text-size-adjust: none; 87 | } 88 | 89 | .coffeescript .javascript, 90 | .javascript .xml, 91 | .tex .hljs-formula, 92 | .xml .javascript, 93 | .xml .vbscript, 94 | .xml .css, 95 | .xml .hljs-cdata { 96 | opacity: 0.5; 97 | } 98 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/magula.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Magula style for highligh.js 3 | Author: Ruslan Keba 4 | Website: http://rukeba.com/ 5 | Version: 1.0 6 | Date: 2009-01-03 7 | Music: Aphex Twin / Xtal 8 | */ 9 | 10 | .hljs { 11 | display: block; 12 | overflow-x: auto; 13 | padding: 0.5em; 14 | background-color: #f4f4f4; 15 | -webkit-text-size-adjust: none; 16 | } 17 | 18 | .hljs, 19 | .hljs-subst { 20 | color: black; 21 | } 22 | 23 | .hljs-string, 24 | .hljs-title, 25 | .hljs-parent, 26 | .hljs-tag .hljs-value, 27 | .hljs-rule .hljs-value, 28 | .hljs-preprocessor, 29 | .hljs-pragma, 30 | .ruby .hljs-symbol, 31 | .ruby .hljs-symbol .hljs-string, 32 | .hljs-template_tag, 33 | .django .hljs-variable, 34 | .smalltalk .hljs-class, 35 | .hljs-addition, 36 | .hljs-flow, 37 | .hljs-stream, 38 | .bash .hljs-variable, 39 | .apache .hljs-cbracket, 40 | .coffeescript .hljs-attribute { 41 | color: #050; 42 | } 43 | 44 | .hljs-comment, 45 | .hljs-annotation, 46 | .diff .hljs-header, 47 | .hljs-chunk { 48 | color: #777; 49 | } 50 | 51 | .hljs-number, 52 | .hljs-date, 53 | .hljs-regexp, 54 | .hljs-literal, 55 | .hljs-name, 56 | .smalltalk .hljs-symbol, 57 | .smalltalk .hljs-char, 58 | .hljs-change, 59 | .tex .hljs-special { 60 | color: #800; 61 | } 62 | 63 | .hljs-label, 64 | .ruby .hljs-string, 65 | .hljs-decorator, 66 | .hljs-filter .hljs-argument, 67 | .hljs-localvars, 68 | .hljs-array, 69 | .hljs-attr_selector, 70 | .hljs-pseudo, 71 | .hljs-pi, 72 | .hljs-doctype, 73 | .hljs-deletion, 74 | .hljs-envvar, 75 | .hljs-shebang, 76 | .apache .hljs-sqbracket, 77 | .nginx .hljs-built_in, 78 | .tex .hljs-formula, 79 | .hljs-prompt, 80 | .clojure .hljs-attribute { 81 | color: #00e; 82 | } 83 | 84 | .hljs-keyword, 85 | .hljs-id, 86 | .hljs-doctag, 87 | .hljs-title, 88 | .hljs-built_in, 89 | .smalltalk .hljs-class, 90 | .hljs-winutils, 91 | .bash .hljs-variable, 92 | .apache .hljs-tag, 93 | .xml .hljs-tag, 94 | .tex .hljs-command, 95 | .hljs-request, 96 | .hljs-status { 97 | font-weight: bold; 98 | color: navy; 99 | } 100 | 101 | .nginx .hljs-built_in { 102 | font-weight: normal; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | 115 | /* --- */ 116 | .apache .hljs-tag { 117 | font-weight: bold; 118 | color: blue; 119 | } 120 | 121 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/mono-blue.css: -------------------------------------------------------------------------------- 1 | /* 2 | Five-color theme from a single blue hue. 3 | */ 4 | .hljs { 5 | display: block; 6 | overflow-x: auto; 7 | padding: 0.5em; 8 | background: #eaeef3; 9 | -webkit-text-size-adjust: none; 10 | } 11 | 12 | .hljs, 13 | .hljs-list .hljs-built_in { 14 | color: #00193a; 15 | } 16 | 17 | .hljs-keyword, 18 | .hljs-title, 19 | .hljs-important, 20 | .hljs-request, 21 | .hljs-header, 22 | .hljs-doctag { 23 | font-weight: bold; 24 | } 25 | 26 | .hljs-comment, 27 | .hljs-chunk { 28 | color: #738191; 29 | } 30 | 31 | .hljs-string, 32 | .hljs-title, 33 | .hljs-parent, 34 | .hljs-built_in, 35 | .hljs-literal, 36 | .hljs-filename, 37 | .hljs-value, 38 | .hljs-addition, 39 | .hljs-tag, 40 | .hljs-argument, 41 | .hljs-link_label, 42 | .hljs-blockquote, 43 | .hljs-header, 44 | .hljs-name { 45 | color: #0048ab; 46 | } 47 | 48 | .hljs-decorator, 49 | .hljs-prompt, 50 | .hljs-subst, 51 | .hljs-symbol, 52 | .hljs-doctype, 53 | .hljs-regexp, 54 | .hljs-preprocessor, 55 | .hljs-pragma, 56 | .hljs-pi, 57 | .hljs-attribute, 58 | .hljs-attr_selector, 59 | .hljs-xmlDocTag, 60 | .hljs-deletion, 61 | .hljs-shebang, 62 | .hljs-string .hljs-variable, 63 | .hljs-link_url, 64 | .hljs-bullet, 65 | .hljs-sqbracket, 66 | .hljs-phony { 67 | color: #4c81c9; 68 | } 69 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/monokai.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #272822; 10 | -webkit-text-size-adjust: none; 11 | } 12 | 13 | .hljs-tag, 14 | .hljs-tag .hljs-title, 15 | .hljs-keyword, 16 | .hljs-literal, 17 | .hljs-strong, 18 | .hljs-change, 19 | .hljs-winutils, 20 | .hljs-flow, 21 | .nginx .hljs-title, 22 | .tex .hljs-special { 23 | color: #f92672; 24 | } 25 | 26 | .hljs { 27 | color: #ddd; 28 | } 29 | 30 | .hljs .hljs-constant, 31 | .asciidoc .hljs-code, 32 | .markdown .hljs-code { 33 | color: #66d9ef; 34 | } 35 | 36 | .hljs-code, 37 | .hljs-class .hljs-title, 38 | .hljs-header { 39 | color: white; 40 | } 41 | 42 | .hljs-link_label, 43 | .hljs-attribute, 44 | .hljs-symbol, 45 | .hljs-symbol .hljs-string, 46 | .hljs-value, 47 | .hljs-regexp { 48 | color: #bf79db; 49 | } 50 | 51 | .hljs-link_url, 52 | .hljs-tag .hljs-value, 53 | .hljs-string, 54 | .hljs-bullet, 55 | .hljs-subst, 56 | .hljs-title, 57 | .hljs-emphasis, 58 | .hljs-type, 59 | .hljs-preprocessor, 60 | .hljs-pragma, 61 | .ruby .hljs-class .hljs-parent, 62 | .hljs-built_in, 63 | .django .hljs-template_tag, 64 | .django .hljs-variable, 65 | .smalltalk .hljs-class, 66 | .django .hljs-filter .hljs-argument, 67 | .smalltalk .hljs-localvars, 68 | .smalltalk .hljs-array, 69 | .hljs-attr_selector, 70 | .hljs-pseudo, 71 | .hljs-addition, 72 | .hljs-stream, 73 | .hljs-envvar, 74 | .apache .hljs-tag, 75 | .apache .hljs-cbracket, 76 | .tex .hljs-command, 77 | .hljs-prompt, 78 | .hljs-name { 79 | color: #a6e22e; 80 | } 81 | 82 | .hljs-comment, 83 | .hljs-annotation, 84 | .smartquote, 85 | .hljs-blockquote, 86 | .hljs-horizontal_rule, 87 | .hljs-decorator, 88 | .hljs-pi, 89 | .hljs-doctype, 90 | .hljs-deletion, 91 | .hljs-shebang, 92 | .apache .hljs-sqbracket, 93 | .tex .hljs-formula { 94 | color: #75715e; 95 | } 96 | 97 | .hljs-keyword, 98 | .hljs-literal, 99 | .css .hljs-id, 100 | .hljs-doctag, 101 | .hljs-title, 102 | .hljs-header, 103 | .hljs-type, 104 | .vbscript .hljs-built_in, 105 | .rsl .hljs-built_in, 106 | .smalltalk .hljs-class, 107 | .diff .hljs-header, 108 | .hljs-chunk, 109 | .hljs-winutils, 110 | .bash .hljs-variable, 111 | .apache .hljs-tag, 112 | .tex .hljs-special, 113 | .hljs-request, 114 | .hljs-status { 115 | font-weight: bold; 116 | } 117 | 118 | .coffeescript .javascript, 119 | .javascript .xml, 120 | .tex .hljs-formula, 121 | .xml .javascript, 122 | .xml .vbscript, 123 | .xml .css, 124 | .xml .hljs-cdata { 125 | opacity: 0.5; 126 | } 127 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/monokai_sublime.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #23241f; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs, 16 | .hljs-tag, 17 | .css .hljs-rule, 18 | .css .hljs-value, 19 | .aspectj .hljs-function, 20 | .css .hljs-function 21 | .hljs-preprocessor, 22 | .hljs-pragma { 23 | color: #f8f8f2; 24 | } 25 | 26 | .hljs-strongemphasis, 27 | .hljs-strong, 28 | .hljs-emphasis { 29 | color: #a8a8a2; 30 | } 31 | 32 | .hljs-bullet, 33 | .hljs-blockquote, 34 | .hljs-horizontal_rule, 35 | .hljs-number, 36 | .hljs-regexp, 37 | .alias .hljs-keyword, 38 | .hljs-literal, 39 | .hljs-hexcolor { 40 | color: #ae81ff; 41 | } 42 | 43 | .hljs-tag .hljs-value, 44 | .hljs-code, 45 | .hljs-title, 46 | .css .hljs-class, 47 | .hljs-class .hljs-title:last-child { 48 | color: #a6e22e; 49 | } 50 | 51 | .hljs-link_url { 52 | font-size: 80%; 53 | } 54 | 55 | .hljs-strong, 56 | .hljs-strongemphasis { 57 | font-weight: bold; 58 | } 59 | 60 | .hljs-emphasis, 61 | .hljs-strongemphasis, 62 | .hljs-class .hljs-title:last-child, 63 | .hljs-typename { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-keyword, 68 | .ruby .hljs-class .hljs-keyword:first-child, 69 | .ruby .hljs-function .hljs-keyword, 70 | .hljs-function, 71 | .hljs-change, 72 | .hljs-winutils, 73 | .hljs-flow, 74 | .nginx .hljs-title, 75 | .tex .hljs-special, 76 | .hljs-header, 77 | .hljs-attribute, 78 | .hljs-symbol, 79 | .hljs-symbol .hljs-string, 80 | .hljs-tag .hljs-title, 81 | .hljs-value, 82 | .alias .hljs-keyword:first-child, 83 | .css .hljs-tag, 84 | .css .unit, 85 | .css .hljs-important { 86 | color: #f92672; 87 | } 88 | 89 | .hljs-function .hljs-keyword, 90 | .hljs-class .hljs-keyword:first-child, 91 | .hljs-aspect .hljs-keyword:first-child, 92 | .hljs-constant, 93 | .hljs-typename, 94 | .hljs-name, 95 | .css .hljs-attribute { 96 | color: #66d9ef; 97 | } 98 | 99 | .hljs-variable, 100 | .hljs-params, 101 | .hljs-class .hljs-title, 102 | .hljs-aspect .hljs-title { 103 | color: #f8f8f2; 104 | } 105 | 106 | .hljs-string, 107 | .css .hljs-id, 108 | .hljs-subst, 109 | .hljs-type, 110 | .ruby .hljs-class .hljs-parent, 111 | .hljs-built_in, 112 | .django .hljs-template_tag, 113 | .django .hljs-variable, 114 | .smalltalk .hljs-class, 115 | .django .hljs-filter .hljs-argument, 116 | .smalltalk .hljs-localvars, 117 | .smalltalk .hljs-array, 118 | .hljs-attr_selector, 119 | .hljs-pseudo, 120 | .hljs-addition, 121 | .hljs-stream, 122 | .hljs-envvar, 123 | .apache .hljs-tag, 124 | .apache .hljs-cbracket, 125 | .tex .hljs-command, 126 | .hljs-prompt, 127 | .hljs-link_label, 128 | .hljs-link_url { 129 | color: #e6db74; 130 | } 131 | 132 | .hljs-comment, 133 | .hljs-annotation, 134 | .hljs-decorator, 135 | .hljs-pi, 136 | .hljs-doctype, 137 | .hljs-deletion, 138 | .hljs-shebang, 139 | .apache .hljs-sqbracket, 140 | .tex .hljs-formula { 141 | color: #75715e; 142 | } 143 | 144 | .coffeescript .javascript, 145 | .javascript .xml, 146 | .tex .hljs-formula, 147 | .xml .javascript, 148 | .xml .vbscript, 149 | .xml .css, 150 | .xml .hljs-cdata, 151 | .xml .php, 152 | .php .xml { 153 | opacity: 0.5; 154 | } 155 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/obsidian.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Obsidian style 3 | * ported by Alexander Marenin (http://github.com/ioncreature) 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #282b2e; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .hljs-keyword, 15 | .hljs-literal, 16 | .hljs-change, 17 | .hljs-winutils, 18 | .hljs-flow, 19 | .nginx .hljs-title, 20 | .css .hljs-id, 21 | .tex .hljs-special { 22 | color: #93c763; 23 | } 24 | 25 | .hljs-number { 26 | color: #ffcd22; 27 | } 28 | 29 | .hljs { 30 | color: #e0e2e4; 31 | } 32 | 33 | .css .hljs-tag, 34 | .css .hljs-pseudo { 35 | color: #d0d2b5; 36 | } 37 | 38 | .hljs-attribute, 39 | .hljs .hljs-constant { 40 | color: #668bb0; 41 | } 42 | 43 | .xml .hljs-attribute { 44 | color: #b3b689; 45 | } 46 | 47 | .xml .hljs-tag .hljs-value { 48 | color: #e8e2b7; 49 | } 50 | 51 | .hljs-code, 52 | .hljs-class .hljs-title, 53 | .hljs-header { 54 | color: white; 55 | } 56 | 57 | .hljs-class, 58 | .hljs-hexcolor { 59 | color: #93c763; 60 | } 61 | 62 | .hljs-regexp { 63 | color: #d39745; 64 | } 65 | 66 | .hljs-at_rule, 67 | .hljs-at_rule .hljs-keyword { 68 | color: #a082bd; 69 | } 70 | 71 | .hljs-doctype { 72 | color: #557182; 73 | } 74 | 75 | .hljs-link_url, 76 | .hljs-tag, 77 | .hljs-tag .hljs-title, 78 | .hljs-bullet, 79 | .hljs-subst, 80 | .hljs-emphasis, 81 | .hljs-type, 82 | .hljs-preprocessor, 83 | .hljs-pragma, 84 | .ruby .hljs-class .hljs-parent, 85 | .hljs-built_in, 86 | .django .hljs-template_tag, 87 | .django .hljs-variable, 88 | .smalltalk .hljs-class, 89 | .django .hljs-filter .hljs-argument, 90 | .smalltalk .hljs-localvars, 91 | .smalltalk .hljs-array, 92 | .hljs-attr_selector, 93 | .hljs-pseudo, 94 | .hljs-addition, 95 | .hljs-stream, 96 | .hljs-envvar, 97 | .apache .hljs-tag, 98 | .apache .hljs-cbracket, 99 | .tex .hljs-command, 100 | .hljs-prompt, 101 | .hljs-name { 102 | color: #8cbbad; 103 | } 104 | 105 | .hljs-string { 106 | color: #ec7600; 107 | } 108 | 109 | .hljs-comment, 110 | .hljs-annotation, 111 | .hljs-blockquote, 112 | .hljs-horizontal_rule, 113 | .hljs-decorator, 114 | .hljs-pi, 115 | .hljs-deletion, 116 | .hljs-shebang, 117 | .apache .hljs-sqbracket, 118 | .tex .hljs-formula { 119 | color: #818e96; 120 | } 121 | 122 | .hljs-keyword, 123 | .hljs-literal, 124 | .css .hljs-id, 125 | .hljs-doctag, 126 | .hljs-title, 127 | .hljs-header, 128 | .hljs-type, 129 | .vbscript .hljs-built_in, 130 | .rsl .hljs-built_in, 131 | .smalltalk .hljs-class, 132 | .diff .hljs-header, 133 | .hljs-chunk, 134 | .hljs-winutils, 135 | .bash .hljs-variable, 136 | .apache .hljs-tag, 137 | .tex .hljs-special, 138 | .hljs-request, 139 | .hljs-at_rule .hljs-keyword, 140 | .hljs-status { 141 | font-weight: bold; 142 | } 143 | 144 | .coffeescript .javascript, 145 | .javascript .xml, 146 | .tex .hljs-formula, 147 | .xml .javascript, 148 | .xml .vbscript, 149 | .xml .css, 150 | .xml .hljs-cdata { 151 | opacity: 0.5; 152 | } 153 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/paraiso.dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | Paraíso (dark) 3 | Created by Jan T. Sott (http://github.com/idleberg) 4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 5 | */ 6 | 7 | /* Paraíso Comment */ 8 | .hljs-comment, 9 | .hljs-title { 10 | color: #8d8687; 11 | } 12 | 13 | /* Paraíso Red */ 14 | .hljs-variable, 15 | .hljs-attribute, 16 | .hljs-tag, 17 | .hljs-regexp, 18 | .hljs-name, 19 | .ruby .hljs-constant, 20 | .xml .hljs-tag .hljs-title, 21 | .xml .hljs-pi, 22 | .xml .hljs-doctype, 23 | .html .hljs-doctype, 24 | .css .hljs-id, 25 | .css .hljs-class, 26 | .css .hljs-pseudo { 27 | color: #ef6155; 28 | } 29 | 30 | /* Paraíso Orange */ 31 | .hljs-number, 32 | .hljs-preprocessor, 33 | .hljs-built_in, 34 | .hljs-literal, 35 | .hljs-params, 36 | .hljs-constant { 37 | color: #f99b15; 38 | } 39 | 40 | /* Paraíso Yellow */ 41 | .ruby .hljs-class .hljs-title, 42 | .css .hljs-rule .hljs-attribute { 43 | color: #fec418; 44 | } 45 | 46 | /* Paraíso Green */ 47 | .hljs-string, 48 | .hljs-value, 49 | .hljs-inheritance, 50 | .hljs-header, 51 | .ruby .hljs-symbol, 52 | .xml .hljs-cdata { 53 | color: #48b685; 54 | } 55 | 56 | /* Paraíso Aqua */ 57 | .css .hljs-hexcolor { 58 | color: #5bc4bf; 59 | } 60 | 61 | /* Paraíso Blue */ 62 | .hljs-function, 63 | .python .hljs-decorator, 64 | .python .hljs-title, 65 | .ruby .hljs-function .hljs-title, 66 | .ruby .hljs-title .hljs-keyword, 67 | .perl .hljs-sub, 68 | .javascript .hljs-title, 69 | .coffeescript .hljs-title { 70 | color: #06b6ef; 71 | } 72 | 73 | /* Paraíso Purple */ 74 | .hljs-keyword, 75 | .javascript .hljs-function { 76 | color: #815ba4; 77 | } 78 | 79 | .hljs { 80 | display: block; 81 | overflow-x: auto; 82 | background: #2f1e2e; 83 | color: #a39e9b; 84 | padding: 0.5em; 85 | -webkit-text-size-adjust: none; 86 | } 87 | 88 | .coffeescript .javascript, 89 | .javascript .xml, 90 | .tex .hljs-formula, 91 | .xml .javascript, 92 | .xml .vbscript, 93 | .xml .css, 94 | .xml .hljs-cdata { 95 | opacity: 0.5; 96 | } 97 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/paraiso.light.css: -------------------------------------------------------------------------------- 1 | /* 2 | Paraíso (light) 3 | Created by Jan T. Sott (http://github.com/idleberg) 4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 5 | */ 6 | 7 | /* Paraíso Comment */ 8 | .hljs-comment, 9 | .hljs-title { 10 | color: #776e71; 11 | } 12 | 13 | /* Paraíso Red */ 14 | .hljs-variable, 15 | .hljs-attribute, 16 | .hljs-tag, 17 | .hljs-regexp, 18 | .hljs-name, 19 | .ruby .hljs-constant, 20 | .xml .hljs-tag .hljs-title, 21 | .xml .hljs-pi, 22 | .xml .hljs-doctype, 23 | .html .hljs-doctype, 24 | .css .hljs-id, 25 | .css .hljs-class, 26 | .css .hljs-pseudo { 27 | color: #ef6155; 28 | } 29 | 30 | /* Paraíso Orange */ 31 | .hljs-number, 32 | .hljs-preprocessor, 33 | .hljs-built_in, 34 | .hljs-literal, 35 | .hljs-params, 36 | .hljs-constant { 37 | color: #f99b15; 38 | } 39 | 40 | /* Paraíso Yellow */ 41 | .ruby .hljs-class .hljs-title, 42 | .css .hljs-rule .hljs-attribute { 43 | color: #fec418; 44 | } 45 | 46 | /* Paraíso Green */ 47 | .hljs-string, 48 | .hljs-value, 49 | .hljs-inheritance, 50 | .hljs-header, 51 | .ruby .hljs-symbol, 52 | .xml .hljs-cdata { 53 | color: #48b685; 54 | } 55 | 56 | /* Paraíso Aqua */ 57 | .css .hljs-hexcolor { 58 | color: #5bc4bf; 59 | } 60 | 61 | /* Paraíso Blue */ 62 | .hljs-function, 63 | .python .hljs-decorator, 64 | .python .hljs-title, 65 | .ruby .hljs-function .hljs-title, 66 | .ruby .hljs-title .hljs-keyword, 67 | .perl .hljs-sub, 68 | .javascript .hljs-title, 69 | .coffeescript .hljs-title { 70 | color: #06b6ef; 71 | } 72 | 73 | /* Paraíso Purple */ 74 | .hljs-keyword, 75 | .javascript .hljs-function { 76 | color: #815ba4; 77 | } 78 | 79 | .hljs { 80 | display: block; 81 | overflow-x: auto; 82 | background: #e7e9db; 83 | color: #4f424c; 84 | padding: 0.5em; 85 | -webkit-text-size-adjust: none; 86 | } 87 | 88 | .coffeescript .javascript, 89 | .javascript .xml, 90 | .tex .hljs-formula, 91 | .xml .javascript, 92 | .xml .vbscript, 93 | .xml .css, 94 | .xml .hljs-cdata { 95 | opacity: 0.5; 96 | } 97 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/pojoaque.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Pojoaque Style by Jason Tate 4 | http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html 5 | Based on Solarized Style from http://ethanschoonover.com/solarized 6 | 7 | */ 8 | 9 | .hljs { 10 | display: block; 11 | overflow-x: auto; 12 | padding: 0.5em; 13 | color: #dccf8f; 14 | background: url(./pojoaque.jpg) repeat scroll left top #181914; 15 | -webkit-text-size-adjust: none; 16 | } 17 | 18 | .hljs-comment, 19 | .diff .hljs-header, 20 | .hljs-doctype, 21 | .lisp .hljs-string { 22 | color: #586e75; 23 | font-style: italic; 24 | } 25 | 26 | .hljs-keyword, 27 | .css .rule .hljs-keyword, 28 | .hljs-winutils, 29 | .javascript .hljs-title, 30 | .method, 31 | .hljs-addition, 32 | .css .hljs-tag, 33 | .hljs-list .hljs-keyword, 34 | .nginx .hljs-title { 35 | color: #b64926; 36 | } 37 | 38 | .hljs-number, 39 | .hljs-command, 40 | .hljs-string, 41 | .hljs-tag .hljs-value, 42 | .hljs-doctag, 43 | .tex .hljs-formula, 44 | .hljs-regexp, 45 | .hljs-hexcolor { 46 | color: #468966; 47 | } 48 | 49 | .hljs-title, 50 | .hljs-localvars, 51 | .hljs-function .hljs-title, 52 | .hljs-chunk, 53 | .hljs-decorator, 54 | .hljs-built_in, 55 | .hljs-identifier, 56 | .hljs-name, 57 | .hljs-id { 58 | color: #ffb03b; 59 | } 60 | 61 | .hljs-attribute, 62 | .hljs-variable, 63 | .lisp .hljs-body, 64 | .smalltalk .hljs-number, 65 | .hljs-constant, 66 | .hljs-class .hljs-title, 67 | .hljs-parent, 68 | .hljs-type { 69 | color: #b58900; 70 | } 71 | 72 | .css .hljs-attribute { 73 | color: #b89859; 74 | } 75 | 76 | .css .hljs-number, 77 | .css .hljs-hexcolor { 78 | color: #dccf8f; 79 | } 80 | 81 | .css .hljs-class { 82 | color: #d3a60c; 83 | } 84 | 85 | .hljs-preprocessor, 86 | .hljs-pragma, 87 | .hljs-pi, 88 | .hljs-shebang, 89 | .hljs-symbol, 90 | .hljs-symbol .hljs-string, 91 | .diff .hljs-change, 92 | .hljs-special, 93 | .hljs-attr_selector, 94 | .hljs-important, 95 | .hljs-subst, 96 | .hljs-cdata { 97 | color: #cb4b16; 98 | } 99 | 100 | .hljs-deletion { 101 | color: #dc322f; 102 | } 103 | 104 | .tex .hljs-formula { 105 | background: #073642; 106 | } 107 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/pojoaque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/js/highlight/styles/pojoaque.jpg -------------------------------------------------------------------------------- /publish/js/highlight/styles/rainbow.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Style with support for rainbow parens 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #474949; 12 | color: #d1d9e1; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | 17 | .hljs-body, 18 | .hljs-collection { 19 | color: #d1d9e1; 20 | } 21 | 22 | .hljs-comment, 23 | .diff .hljs-header, 24 | .hljs-doctype, 25 | .lisp .hljs-string { 26 | color: #969896; 27 | font-style: italic; 28 | } 29 | 30 | .hljs-keyword, 31 | .clojure .hljs-attribute, 32 | .hljs-winutils, 33 | .javascript .hljs-title, 34 | .hljs-addition, 35 | .css .hljs-tag { 36 | color: #cc99cc; 37 | } 38 | 39 | .hljs-number { color: #f99157; } 40 | 41 | .hljs-command, 42 | .hljs-string, 43 | .hljs-tag .hljs-value, 44 | .hljs-doctag, 45 | .tex .hljs-formula, 46 | .hljs-regexp, 47 | .hljs-hexcolor { 48 | color: #8abeb7; 49 | } 50 | 51 | .hljs-title, 52 | .hljs-localvars, 53 | .hljs-function .hljs-title, 54 | .hljs-chunk, 55 | .hljs-decorator, 56 | .hljs-built_in, 57 | .hljs-identifier { 58 | color: #b5bd68; 59 | } 60 | 61 | .hljs-class .hljs-keyword { 62 | color: #f2777a; 63 | } 64 | 65 | .hljs-variable, 66 | .smalltalk .hljs-number, 67 | .hljs-constant, 68 | .hljs-class .hljs-title, 69 | .hljs-parent, 70 | .haskell .hljs-label, 71 | .hljs-id, 72 | .hljs-name { 73 | color: #ffcc66; 74 | } 75 | 76 | .hljs-tag .hljs-title, 77 | .hljs-rule .hljs-property, 78 | .django .hljs-tag .hljs-keyword { 79 | font-weight: bold; 80 | } 81 | 82 | .hljs-attribute { 83 | color: #81a2be; 84 | } 85 | 86 | .hljs-preprocessor, 87 | .hljs-pragma, 88 | .hljs-pi, 89 | .hljs-shebang, 90 | .hljs-symbol, 91 | .hljs-symbol .hljs-string, 92 | .diff .hljs-change, 93 | .hljs-special, 94 | .hljs-attr_selector, 95 | .hljs-important, 96 | .hljs-subst, 97 | .hljs-cdata { 98 | color: #f99157; 99 | } 100 | 101 | .hljs-deletion { 102 | color: #dc322f; 103 | } 104 | 105 | .tex .hljs-formula { 106 | background: #eee8d5; 107 | } 108 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/school_book.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | School Book style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 15px 0.5em 0.5em 30px; 11 | font-size: 11px !important; 12 | line-height:16px !important; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | pre{ 17 | background:#f6f6ae url(./school_book.png); 18 | border-top: solid 2px #d2e8b9; 19 | border-bottom: solid 1px #d2e8b9; 20 | } 21 | 22 | .hljs-keyword, 23 | .hljs-literal, 24 | .hljs-change, 25 | .hljs-winutils, 26 | .hljs-flow, 27 | .nginx .hljs-title, 28 | .tex .hljs-special { 29 | color:#005599; 30 | font-weight:bold; 31 | } 32 | 33 | .hljs, 34 | .hljs-subst, 35 | .hljs-tag .hljs-keyword { 36 | color: #3e5915; 37 | } 38 | 39 | .hljs-string, 40 | .hljs-title, 41 | .hljs-type, 42 | .hljs-tag .hljs-value, 43 | .css .hljs-rule .hljs-value, 44 | .hljs-preprocessor, 45 | .hljs-pragma, 46 | .ruby .hljs-symbol, 47 | .ruby .hljs-symbol .hljs-string, 48 | .ruby .hljs-class .hljs-parent, 49 | .hljs-built_in, 50 | .django .hljs-template_tag, 51 | .django .hljs-variable, 52 | .smalltalk .hljs-class, 53 | .ruby .hljs-string, 54 | .django .hljs-filter .hljs-argument, 55 | .smalltalk .hljs-localvars, 56 | .smalltalk .hljs-array, 57 | .hljs-attr_selector, 58 | .hljs-pseudo, 59 | .hljs-addition, 60 | .hljs-stream, 61 | .hljs-envvar, 62 | .apache .hljs-tag, 63 | .apache .hljs-cbracket, 64 | .nginx .hljs-built_in, 65 | .tex .hljs-command, 66 | .coffeescript .hljs-attribute, 67 | .hljs-name { 68 | color: #2c009f; 69 | } 70 | 71 | .hljs-comment, 72 | .hljs-annotation, 73 | .hljs-decorator, 74 | .hljs-pi, 75 | .hljs-doctype, 76 | .hljs-deletion, 77 | .hljs-shebang, 78 | .apache .hljs-sqbracket { 79 | color: #e60415; 80 | } 81 | 82 | .hljs-keyword, 83 | .hljs-literal, 84 | .css .hljs-id, 85 | .hljs-doctag, 86 | .hljs-title, 87 | .hljs-type, 88 | .vbscript .hljs-built_in, 89 | .rsl .hljs-built_in, 90 | .smalltalk .hljs-class, 91 | .xml .hljs-tag .hljs-title, 92 | .diff .hljs-header, 93 | .hljs-chunk, 94 | .hljs-winutils, 95 | .bash .hljs-variable, 96 | .apache .hljs-tag, 97 | .tex .hljs-command, 98 | .hljs-request, 99 | .hljs-status { 100 | font-weight: bold; 101 | } 102 | 103 | .coffeescript .javascript, 104 | .javascript .xml, 105 | .tex .hljs-formula, 106 | .xml .javascript, 107 | .xml .vbscript, 108 | .xml .css, 109 | .xml .hljs-cdata { 110 | opacity: 0.5; 111 | } 112 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/school_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangtao/shares/3cc09627216e73c639c210449f1d84e4c0f355de/publish/js/highlight/styles/school_book.png -------------------------------------------------------------------------------- /publish/js/highlight/styles/solarized_dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #002b36; 12 | color: #839496; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment, 17 | .diff .hljs-header, 18 | .hljs-doctype, 19 | .hljs-pi, 20 | .lisp .hljs-string { 21 | color: #586e75; 22 | } 23 | 24 | /* Solarized Green */ 25 | .hljs-keyword, 26 | .hljs-winutils, 27 | .method, 28 | .hljs-addition, 29 | .css .hljs-tag, 30 | .hljs-request, 31 | .hljs-status, 32 | .nginx .hljs-title { 33 | color: #859900; 34 | } 35 | 36 | /* Solarized Cyan */ 37 | .hljs-number, 38 | .hljs-command, 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-rule .hljs-value, 42 | .hljs-doctag, 43 | .tex .hljs-formula, 44 | .hljs-regexp, 45 | .hljs-hexcolor, 46 | .hljs-link_url { 47 | color: #2aa198; 48 | } 49 | 50 | /* Solarized Blue */ 51 | .hljs-title, 52 | .hljs-localvars, 53 | .hljs-chunk, 54 | .hljs-decorator, 55 | .hljs-built_in, 56 | .hljs-identifier, 57 | .vhdl .hljs-literal, 58 | .hljs-id, 59 | .css .hljs-function, 60 | .hljs-name { 61 | color: #268bd2; 62 | } 63 | 64 | /* Solarized Yellow */ 65 | .hljs-attribute, 66 | .hljs-variable, 67 | .lisp .hljs-body, 68 | .smalltalk .hljs-number, 69 | .hljs-constant, 70 | .hljs-class .hljs-title, 71 | .hljs-parent, 72 | .hljs-type, 73 | .hljs-link_reference { 74 | color: #b58900; 75 | } 76 | 77 | /* Solarized Orange */ 78 | .hljs-preprocessor, 79 | .hljs-preprocessor .hljs-keyword, 80 | .hljs-pragma, 81 | .hljs-shebang, 82 | .hljs-symbol, 83 | .hljs-symbol .hljs-string, 84 | .diff .hljs-change, 85 | .hljs-special, 86 | .hljs-attr_selector, 87 | .hljs-subst, 88 | .hljs-cdata, 89 | .css .hljs-pseudo, 90 | .hljs-header { 91 | color: #cb4b16; 92 | } 93 | 94 | /* Solarized Red */ 95 | .hljs-deletion, 96 | .hljs-important { 97 | color: #dc322f; 98 | } 99 | 100 | /* Solarized Violet */ 101 | .hljs-link_label { 102 | color: #6c71c4; 103 | } 104 | 105 | .tex .hljs-formula { 106 | background: #073642; 107 | } 108 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/solarized_light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #fdf6e3; 12 | color: #657b83; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment, 17 | .diff .hljs-header, 18 | .hljs-doctype, 19 | .hljs-pi, 20 | .lisp .hljs-string { 21 | color: #93a1a1; 22 | } 23 | 24 | /* Solarized Green */ 25 | .hljs-keyword, 26 | .hljs-winutils, 27 | .method, 28 | .hljs-addition, 29 | .css .hljs-tag, 30 | .hljs-request, 31 | .hljs-status, 32 | .nginx .hljs-title { 33 | color: #859900; 34 | } 35 | 36 | /* Solarized Cyan */ 37 | .hljs-number, 38 | .hljs-command, 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-rule .hljs-value, 42 | .hljs-doctag, 43 | .tex .hljs-formula, 44 | .hljs-regexp, 45 | .hljs-hexcolor, 46 | .hljs-link_url { 47 | color: #2aa198; 48 | } 49 | 50 | /* Solarized Blue */ 51 | .hljs-title, 52 | .hljs-localvars, 53 | .hljs-chunk, 54 | .hljs-decorator, 55 | .hljs-built_in, 56 | .hljs-identifier, 57 | .vhdl .hljs-literal, 58 | .hljs-id, 59 | .css .hljs-function, 60 | .hljs-name { 61 | color: #268bd2; 62 | } 63 | 64 | /* Solarized Yellow */ 65 | .hljs-attribute, 66 | .hljs-variable, 67 | .lisp .hljs-body, 68 | .smalltalk .hljs-number, 69 | .hljs-constant, 70 | .hljs-class .hljs-title, 71 | .hljs-parent, 72 | .hljs-type, 73 | .hljs-link_reference { 74 | color: #b58900; 75 | } 76 | 77 | /* Solarized Orange */ 78 | .hljs-preprocessor, 79 | .hljs-preprocessor .hljs-keyword, 80 | .hljs-pragma, 81 | .hljs-shebang, 82 | .hljs-symbol, 83 | .hljs-symbol .hljs-string, 84 | .diff .hljs-change, 85 | .hljs-special, 86 | .hljs-attr_selector, 87 | .hljs-subst, 88 | .hljs-cdata, 89 | .css .hljs-pseudo, 90 | .hljs-header { 91 | color: #cb4b16; 92 | } 93 | 94 | /* Solarized Red */ 95 | .hljs-deletion, 96 | .hljs-important { 97 | color: #dc322f; 98 | } 99 | 100 | /* Solarized Violet */ 101 | .hljs-link_label { 102 | color: #6c71c4; 103 | } 104 | 105 | .tex .hljs-formula { 106 | background: #eee8d5; 107 | } 108 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/sunburst.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Sunburst-like style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #000; 12 | color: #f8f8f8; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment { 17 | color: #aeaeae; 18 | font-style: italic; 19 | } 20 | 21 | .hljs-keyword, 22 | .ruby .hljs-function .hljs-keyword, 23 | .hljs-request, 24 | .hljs-status, 25 | .nginx .hljs-title { 26 | color: #e28964; 27 | } 28 | 29 | .hljs-function .hljs-keyword, 30 | .hljs-sub .hljs-keyword, 31 | .method, 32 | .hljs-list .hljs-title { 33 | color: #99cf50; 34 | } 35 | 36 | .hljs-string, 37 | .hljs-tag .hljs-value, 38 | .hljs-cdata, 39 | .hljs-filter .hljs-argument, 40 | .hljs-attr_selector, 41 | .apache .hljs-cbracket, 42 | .hljs-date, 43 | .tex .hljs-command, 44 | .coffeescript .hljs-attribute, 45 | .hljs-name { 46 | color: #65b042; 47 | } 48 | 49 | .hljs-subst { 50 | color: #daefa3; 51 | } 52 | 53 | .hljs-regexp { 54 | color: #e9c062; 55 | } 56 | 57 | .hljs-title, 58 | .hljs-sub .hljs-identifier, 59 | .hljs-pi, 60 | .hljs-tag, 61 | .hljs-tag .hljs-keyword, 62 | .hljs-decorator, 63 | .hljs-shebang, 64 | .hljs-prompt { 65 | color: #89bdff; 66 | } 67 | 68 | .hljs-class .hljs-title, 69 | .hljs-type, 70 | .smalltalk .hljs-class, 71 | .hljs-doctag { 72 | text-decoration: underline; 73 | } 74 | 75 | .hljs-symbol, 76 | .ruby .hljs-symbol .hljs-string, 77 | .hljs-number { 78 | color: #3387cc; 79 | } 80 | 81 | .hljs-params, 82 | .hljs-variable, 83 | .clojure .hljs-attribute { 84 | color: #3e87e3; 85 | } 86 | 87 | .css .hljs-tag, 88 | .hljs-rule .hljs-property, 89 | .hljs-pseudo, 90 | .tex .hljs-special { 91 | color: #cda869; 92 | } 93 | 94 | .css .hljs-class { 95 | color: #9b703f; 96 | } 97 | 98 | .hljs-rule .hljs-keyword { 99 | color: #c5af75; 100 | } 101 | 102 | .hljs-rule .hljs-value { 103 | color: #cf6a4c; 104 | } 105 | 106 | .css .hljs-id { 107 | color: #8b98ab; 108 | } 109 | 110 | .hljs-annotation, 111 | .apache .hljs-sqbracket, 112 | .nginx .hljs-built_in { 113 | color: #9b859d; 114 | } 115 | 116 | .hljs-preprocessor, 117 | .hljs-pragma { 118 | color: #8996a8; 119 | } 120 | 121 | .hljs-hexcolor, 122 | .css .hljs-value .hljs-number { 123 | color: #dd7b3b; 124 | } 125 | 126 | .css .hljs-function { 127 | color: #dad085; 128 | } 129 | 130 | .diff .hljs-header, 131 | .hljs-chunk, 132 | .tex .hljs-formula { 133 | background-color: #0e2231; 134 | color: #f8f8f8; 135 | font-style: italic; 136 | } 137 | 138 | .diff .hljs-change { 139 | background-color: #4a410d; 140 | color: #f8f8f8; 141 | } 142 | 143 | .hljs-addition { 144 | background-color: #253b22; 145 | color: #f8f8f8; 146 | } 147 | 148 | .hljs-deletion { 149 | background-color: #420e09; 150 | color: #f8f8f8; 151 | } 152 | 153 | .coffeescript .javascript, 154 | .javascript .xml, 155 | .tex .hljs-formula, 156 | .xml .javascript, 157 | .xml .vbscript, 158 | .xml .css, 159 | .xml .hljs-cdata { 160 | opacity: 0.5; 161 | } 162 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/tomorrow-night-blue.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Blue Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | 6 | /* Tomorrow Comment */ 7 | .hljs-comment { 8 | color: #7285b7; 9 | } 10 | 11 | /* Tomorrow Red */ 12 | .hljs-variable, 13 | .hljs-attribute, 14 | .hljs-tag, 15 | .hljs-regexp, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ff9da4; 25 | } 26 | 27 | /* Tomorrow Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-pragma, 31 | .hljs-built_in, 32 | .hljs-literal, 33 | .hljs-params, 34 | .hljs-constant { 35 | color: #ffc58f; 36 | } 37 | 38 | /* Tomorrow Yellow */ 39 | .ruby .hljs-class .hljs-title, 40 | .css .hljs-rule .hljs-attribute { 41 | color: #ffeead; 42 | } 43 | 44 | /* Tomorrow Green */ 45 | .hljs-string, 46 | .hljs-value, 47 | .hljs-inheritance, 48 | .hljs-header, 49 | .hljs-name, 50 | .ruby .hljs-symbol, 51 | .xml .hljs-cdata { 52 | color: #d1f1a9; 53 | } 54 | 55 | /* Tomorrow Aqua */ 56 | .hljs-title, 57 | .css .hljs-hexcolor { 58 | color: #99ffff; 59 | } 60 | 61 | /* Tomorrow Blue */ 62 | .hljs-function, 63 | .python .hljs-decorator, 64 | .python .hljs-title, 65 | .ruby .hljs-function .hljs-title, 66 | .ruby .hljs-title .hljs-keyword, 67 | .perl .hljs-sub, 68 | .javascript .hljs-title, 69 | .coffeescript .hljs-title { 70 | color: #bbdaff; 71 | } 72 | 73 | /* Tomorrow Purple */ 74 | .hljs-keyword, 75 | .javascript .hljs-function { 76 | color: #ebbbff; 77 | } 78 | 79 | .hljs { 80 | display: block; 81 | overflow-x: auto; 82 | background: #002451; 83 | color: white; 84 | padding: 0.5em; 85 | -webkit-text-size-adjust: none; 86 | } 87 | 88 | .coffeescript .javascript, 89 | .javascript .xml, 90 | .tex .hljs-formula, 91 | .xml .javascript, 92 | .xml .vbscript, 93 | .xml .css, 94 | .xml .hljs-cdata { 95 | opacity: 0.5; 96 | } 97 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/tomorrow-night-bright.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Bright Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | 5 | /* Tomorrow Comment */ 6 | .hljs-comment { 7 | color: #969896; 8 | } 9 | 10 | /* Tomorrow Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .ruby .hljs-constant, 16 | .xml .hljs-tag .hljs-title, 17 | .xml .hljs-pi, 18 | .xml .hljs-doctype, 19 | .html .hljs-doctype, 20 | .css .hljs-id, 21 | .css .hljs-class, 22 | .css .hljs-pseudo { 23 | color: #d54e53; 24 | } 25 | 26 | /* Tomorrow Orange */ 27 | .hljs-number, 28 | .hljs-preprocessor, 29 | .hljs-pragma, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #e78c45; 35 | } 36 | 37 | /* Tomorrow Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #e7c547; 41 | } 42 | 43 | /* Tomorrow Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .hljs-name, 49 | .ruby .hljs-symbol, 50 | .xml .hljs-cdata { 51 | color: #b9ca4a; 52 | } 53 | 54 | /* Tomorrow Aqua */ 55 | .hljs-title, 56 | .css .hljs-hexcolor { 57 | color: #70c0b1; 58 | } 59 | 60 | /* Tomorrow Blue */ 61 | .hljs-function, 62 | .python .hljs-decorator, 63 | .python .hljs-title, 64 | .ruby .hljs-function .hljs-title, 65 | .ruby .hljs-title .hljs-keyword, 66 | .perl .hljs-sub, 67 | .javascript .hljs-title, 68 | .coffeescript .hljs-title { 69 | color: #7aa6da; 70 | } 71 | 72 | /* Tomorrow Purple */ 73 | .hljs-keyword, 74 | .javascript .hljs-function { 75 | color: #c397d8; 76 | } 77 | 78 | .hljs { 79 | display: block; 80 | overflow-x: auto; 81 | background: black; 82 | color: #eaeaea; 83 | padding: 0.5em; 84 | -webkit-text-size-adjust: none; 85 | } 86 | 87 | .coffeescript .javascript, 88 | .javascript .xml, 89 | .tex .hljs-formula, 90 | .xml .javascript, 91 | .xml .vbscript, 92 | .xml .css, 93 | .xml .hljs-cdata { 94 | opacity: 0.5; 95 | } 96 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/tomorrow-night-eighties.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Eighties Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | 5 | /* Tomorrow Comment */ 6 | .hljs-comment { 7 | color: #999999; 8 | } 9 | 10 | /* Tomorrow Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .ruby .hljs-constant, 16 | .xml .hljs-tag .hljs-title, 17 | .xml .hljs-pi, 18 | .xml .hljs-doctype, 19 | .html .hljs-doctype, 20 | .css .hljs-id, 21 | .css .hljs-class, 22 | .css .hljs-pseudo { 23 | color: #f2777a; 24 | } 25 | 26 | /* Tomorrow Orange */ 27 | .hljs-number, 28 | .hljs-preprocessor, 29 | .hljs-pragma, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #f99157; 35 | } 36 | 37 | /* Tomorrow Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #ffcc66; 41 | } 42 | 43 | /* Tomorrow Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .hljs-name, 49 | .ruby .hljs-symbol, 50 | .xml .hljs-cdata { 51 | color: #99cc99; 52 | } 53 | 54 | /* Tomorrow Aqua */ 55 | .hljs-title, 56 | .css .hljs-hexcolor { 57 | color: #66cccc; 58 | } 59 | 60 | /* Tomorrow Blue */ 61 | .hljs-function, 62 | .python .hljs-decorator, 63 | .python .hljs-title, 64 | .ruby .hljs-function .hljs-title, 65 | .ruby .hljs-title .hljs-keyword, 66 | .perl .hljs-sub, 67 | .javascript .hljs-title, 68 | .coffeescript .hljs-title { 69 | color: #6699cc; 70 | } 71 | 72 | /* Tomorrow Purple */ 73 | .hljs-keyword, 74 | .javascript .hljs-function { 75 | color: #cc99cc; 76 | } 77 | 78 | .hljs { 79 | display: block; 80 | overflow-x: auto; 81 | background: #2d2d2d; 82 | color: #cccccc; 83 | padding: 0.5em; 84 | -webkit-text-size-adjust: none; 85 | } 86 | 87 | .coffeescript .javascript, 88 | .javascript .xml, 89 | .tex .hljs-formula, 90 | .xml .javascript, 91 | .xml .vbscript, 92 | .xml .css, 93 | .xml .hljs-cdata { 94 | opacity: 0.5; 95 | } 96 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/tomorrow-night.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | 6 | /* Tomorrow Comment */ 7 | .hljs-comment { 8 | color: #969896; 9 | } 10 | 11 | /* Tomorrow Red */ 12 | .hljs-variable, 13 | .hljs-attribute, 14 | .hljs-tag, 15 | .hljs-regexp, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #cc6666; 25 | } 26 | 27 | /* Tomorrow Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-pragma, 31 | .hljs-built_in, 32 | .hljs-literal, 33 | .hljs-params, 34 | .hljs-constant { 35 | color: #de935f; 36 | } 37 | 38 | /* Tomorrow Yellow */ 39 | .ruby .hljs-class .hljs-title, 40 | .css .hljs-rule .hljs-attribute { 41 | color: #f0c674; 42 | } 43 | 44 | /* Tomorrow Green */ 45 | .hljs-string, 46 | .hljs-value, 47 | .hljs-inheritance, 48 | .hljs-header, 49 | .hljs-name, 50 | .ruby .hljs-symbol, 51 | .xml .hljs-cdata { 52 | color: #b5bd68; 53 | } 54 | 55 | /* Tomorrow Aqua */ 56 | .hljs-title, 57 | .css .hljs-hexcolor { 58 | color: #8abeb7; 59 | } 60 | 61 | /* Tomorrow Blue */ 62 | .hljs-function, 63 | .python .hljs-decorator, 64 | .python .hljs-title, 65 | .ruby .hljs-function .hljs-title, 66 | .ruby .hljs-title .hljs-keyword, 67 | .perl .hljs-sub, 68 | .javascript .hljs-title, 69 | .coffeescript .hljs-title { 70 | color: #81a2be; 71 | } 72 | 73 | /* Tomorrow Purple */ 74 | .hljs-keyword, 75 | .javascript .hljs-function { 76 | color: #b294bb; 77 | } 78 | 79 | .hljs { 80 | display: block; 81 | overflow-x: auto; 82 | background: #1d1f21; 83 | color: #c5c8c6; 84 | padding: 0.5em; 85 | -webkit-text-size-adjust: none; 86 | } 87 | 88 | .coffeescript .javascript, 89 | .javascript .xml, 90 | .tex .hljs-formula, 91 | .xml .javascript, 92 | .xml .vbscript, 93 | .xml .css, 94 | .xml .hljs-cdata { 95 | opacity: 0.5; 96 | } 97 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/tomorrow.css: -------------------------------------------------------------------------------- 1 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 2 | 3 | /* Tomorrow Comment */ 4 | .hljs-comment { 5 | color: #8e908c; 6 | } 7 | 8 | /* Tomorrow Red */ 9 | .hljs-variable, 10 | .hljs-attribute, 11 | .hljs-tag, 12 | .hljs-regexp, 13 | .ruby .hljs-constant, 14 | .xml .hljs-tag .hljs-title, 15 | .xml .hljs-pi, 16 | .xml .hljs-doctype, 17 | .html .hljs-doctype, 18 | .css .hljs-id, 19 | .css .hljs-class, 20 | .css .hljs-pseudo { 21 | color: #c82829; 22 | } 23 | 24 | /* Tomorrow Orange */ 25 | .hljs-number, 26 | .hljs-preprocessor, 27 | .hljs-pragma, 28 | .hljs-built_in, 29 | .hljs-literal, 30 | .hljs-params, 31 | .hljs-constant { 32 | color: #f5871f; 33 | } 34 | 35 | /* Tomorrow Yellow */ 36 | .ruby .hljs-class .hljs-title, 37 | .css .hljs-rule .hljs-attribute { 38 | color: #eab700; 39 | } 40 | 41 | /* Tomorrow Green */ 42 | .hljs-string, 43 | .hljs-value, 44 | .hljs-inheritance, 45 | .hljs-header, 46 | .hljs-name, 47 | .ruby .hljs-symbol, 48 | .xml .hljs-cdata { 49 | color: #718c00; 50 | } 51 | 52 | /* Tomorrow Aqua */ 53 | .hljs-title, 54 | .css .hljs-hexcolor { 55 | color: #3e999f; 56 | } 57 | 58 | /* Tomorrow Blue */ 59 | .hljs-function, 60 | .python .hljs-decorator, 61 | .python .hljs-title, 62 | .ruby .hljs-function .hljs-title, 63 | .ruby .hljs-title .hljs-keyword, 64 | .perl .hljs-sub, 65 | .javascript .hljs-title, 66 | .coffeescript .hljs-title { 67 | color: #4271ae; 68 | } 69 | 70 | /* Tomorrow Purple */ 71 | .hljs-keyword, 72 | .javascript .hljs-function { 73 | color: #8959a8; 74 | } 75 | 76 | .hljs { 77 | display: block; 78 | overflow-x: auto; 79 | background: white; 80 | color: #4d4d4c; 81 | padding: 0.5em; 82 | -webkit-text-size-adjust: none; 83 | } 84 | 85 | .coffeescript .javascript, 86 | .javascript .xml, 87 | .tex .hljs-formula, 88 | .xml .javascript, 89 | .xml .vbscript, 90 | .xml .css, 91 | .xml .hljs-cdata { 92 | opacity: 0.5; 93 | } 94 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/vs.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Visual Studio-like style based on original C# coloring by Jason Diamond 4 | 5 | */ 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: white; 11 | color: black; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-annotation, 17 | .diff .hljs-header, 18 | .hljs-chunk, 19 | .apache .hljs-cbracket { 20 | color: #008000; 21 | } 22 | 23 | .hljs-keyword, 24 | .hljs-id, 25 | .hljs-built_in, 26 | .smalltalk .hljs-class, 27 | .hljs-winutils, 28 | .bash .hljs-variable, 29 | .tex .hljs-command, 30 | .hljs-request, 31 | .hljs-status, 32 | .nginx .hljs-title, 33 | .xml .hljs-tag, 34 | .xml .hljs-tag .hljs-value { 35 | color: #00f; 36 | } 37 | 38 | .hljs-string, 39 | .hljs-title, 40 | .hljs-parent, 41 | .hljs-tag .hljs-value, 42 | .hljs-rule .hljs-value, 43 | .ruby .hljs-symbol, 44 | .ruby .hljs-symbol .hljs-string, 45 | .hljs-template_tag, 46 | .django .hljs-variable, 47 | .hljs-addition, 48 | .hljs-flow, 49 | .hljs-stream, 50 | .apache .hljs-tag, 51 | .hljs-date, 52 | .tex .hljs-formula, 53 | .coffeescript .hljs-attribute, 54 | .hljs-name { 55 | color: #a31515; 56 | } 57 | 58 | .ruby .hljs-string, 59 | .hljs-decorator, 60 | .hljs-filter .hljs-argument, 61 | .hljs-localvars, 62 | .hljs-array, 63 | .hljs-attr_selector, 64 | .hljs-pseudo, 65 | .hljs-pi, 66 | .hljs-doctype, 67 | .hljs-deletion, 68 | .hljs-envvar, 69 | .hljs-shebang, 70 | .hljs-preprocessor, 71 | .hljs-pragma, 72 | .userType, 73 | .apache .hljs-sqbracket, 74 | .nginx .hljs-built_in, 75 | .tex .hljs-special, 76 | .hljs-prompt { 77 | color: #2b91af; 78 | } 79 | 80 | .hljs-doctag, 81 | .hljs-xmlDocTag { 82 | color: #808080; 83 | } 84 | 85 | .hljs-type, 86 | .hljs-typename { font-weight: bold; } 87 | 88 | .vhdl .hljs-string { color: #666666; } 89 | .vhdl .hljs-literal { color: #a31515; } 90 | .vhdl .hljs-attribute { color: #00b0e8; } 91 | 92 | .xml .hljs-attribute { color: #f00; } 93 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/xcode.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | XCode style (c) Angel Garcia 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #fff; 12 | color: black; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment { 17 | color: #006a00; 18 | } 19 | 20 | .hljs-keyword, 21 | .hljs-literal, 22 | .nginx .hljs-title { 23 | color: #aa0d91; 24 | } 25 | .method, 26 | .hljs-list .hljs-title, 27 | .hljs-tag .hljs-title, 28 | .setting .hljs-value, 29 | .hljs-winutils, 30 | .tex .hljs-command, 31 | .http .hljs-title, 32 | .hljs-request, 33 | .hljs-status, 34 | .hljs-name { 35 | color: #008; 36 | } 37 | 38 | .hljs-envvar, 39 | .tex .hljs-special { 40 | color: #660; 41 | } 42 | 43 | .hljs-string { 44 | color: #c41a16; 45 | } 46 | .hljs-tag .hljs-value, 47 | .hljs-cdata, 48 | .hljs-filter .hljs-argument, 49 | .hljs-attr_selector, 50 | .apache .hljs-cbracket, 51 | .hljs-date, 52 | .hljs-regexp { 53 | color: #080; 54 | } 55 | 56 | .hljs-sub .hljs-identifier, 57 | .hljs-pi, 58 | .hljs-tag, 59 | .hljs-tag .hljs-keyword, 60 | .hljs-decorator, 61 | .ini .hljs-title, 62 | .hljs-shebang, 63 | .hljs-prompt, 64 | .hljs-hexcolor, 65 | .hljs-rule .hljs-value, 66 | .hljs-symbol, 67 | .hljs-symbol .hljs-string, 68 | .hljs-number, 69 | .css .hljs-function, 70 | .hljs-function .hljs-title, 71 | .coffeescript .hljs-attribute { 72 | color: #1c00cf; 73 | } 74 | 75 | .hljs-class .hljs-title, 76 | .smalltalk .hljs-class, 77 | .hljs-type, 78 | .hljs-typename, 79 | .hljs-tag .hljs-attribute, 80 | .hljs-doctype, 81 | .hljs-class .hljs-id, 82 | .hljs-built_in, 83 | .setting, 84 | .hljs-params, 85 | .clojure .hljs-attribute { 86 | color: #5c2699; 87 | } 88 | 89 | .hljs-variable { 90 | color: #3f6e74; 91 | } 92 | .css .hljs-tag, 93 | .hljs-rule .hljs-property, 94 | .hljs-pseudo, 95 | .hljs-subst { 96 | color: #000; 97 | } 98 | 99 | .css .hljs-class, 100 | .css .hljs-id { 101 | color: #9b703f; 102 | } 103 | 104 | .hljs-value .hljs-important { 105 | color: #ff7700; 106 | font-weight: bold; 107 | } 108 | 109 | .hljs-rule .hljs-keyword { 110 | color: #c5af75; 111 | } 112 | 113 | .hljs-annotation, 114 | .apache .hljs-sqbracket, 115 | .nginx .hljs-built_in { 116 | color: #9b859d; 117 | } 118 | 119 | .hljs-preprocessor, 120 | .hljs-preprocessor *, 121 | .hljs-pragma { 122 | color: #643820; 123 | } 124 | 125 | .tex .hljs-formula { 126 | background-color: #eee; 127 | font-style: italic; 128 | } 129 | 130 | .diff .hljs-header, 131 | .hljs-chunk { 132 | color: #808080; 133 | font-weight: bold; 134 | } 135 | 136 | .diff .hljs-change { 137 | background-color: #bccff9; 138 | } 139 | 140 | .hljs-addition { 141 | background-color: #baeeba; 142 | } 143 | 144 | .hljs-deletion { 145 | background-color: #ffc8bd; 146 | } 147 | 148 | .hljs-comment .hljs-doctag { 149 | font-weight: bold; 150 | } 151 | 152 | .method .hljs-id { 153 | color: #000; 154 | } 155 | -------------------------------------------------------------------------------- /publish/js/highlight/styles/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #3f3f3f; 13 | color: #dcdcdc; 14 | -webkit-text-size-adjust: none; 15 | } 16 | 17 | .hljs-keyword, 18 | .hljs-tag, 19 | .css .hljs-class, 20 | .css .hljs-id, 21 | .lisp .hljs-title, 22 | .nginx .hljs-title, 23 | .hljs-request, 24 | .hljs-status, 25 | .clojure .hljs-attribute { 26 | color: #e3ceab; 27 | } 28 | 29 | .django .hljs-template_tag, 30 | .django .hljs-variable, 31 | .django .hljs-filter .hljs-argument { 32 | color: #dcdcdc; 33 | } 34 | 35 | .hljs-number, 36 | .hljs-date { 37 | color: #8cd0d3; 38 | } 39 | 40 | .dos .hljs-envvar, 41 | .dos .hljs-stream, 42 | .hljs-variable, 43 | .apache .hljs-sqbracket, 44 | .hljs-name { 45 | color: #efdcbc; 46 | } 47 | 48 | .dos .hljs-flow, 49 | .diff .hljs-change, 50 | .python .exception, 51 | .python .hljs-built_in, 52 | .hljs-literal, 53 | .tex .hljs-special { 54 | color: #efefaf; 55 | } 56 | 57 | .diff .hljs-chunk, 58 | .hljs-subst { 59 | color: #8f8f8f; 60 | } 61 | 62 | .dos .hljs-keyword, 63 | .hljs-decorator, 64 | .hljs-title, 65 | .hljs-type, 66 | .diff .hljs-header, 67 | .ruby .hljs-class .hljs-parent, 68 | .apache .hljs-tag, 69 | .nginx .hljs-built_in, 70 | .tex .hljs-command, 71 | .hljs-prompt { 72 | color: #efef8f; 73 | } 74 | 75 | .dos .hljs-winutils, 76 | .ruby .hljs-symbol, 77 | .ruby .hljs-symbol .hljs-string, 78 | .ruby .hljs-string { 79 | color: #dca3a3; 80 | } 81 | 82 | .diff .hljs-deletion, 83 | .hljs-string, 84 | .hljs-tag .hljs-value, 85 | .hljs-preprocessor, 86 | .hljs-pragma, 87 | .hljs-built_in, 88 | .smalltalk .hljs-class, 89 | .smalltalk .hljs-localvars, 90 | .smalltalk .hljs-array, 91 | .css .hljs-rule .hljs-value, 92 | .hljs-attr_selector, 93 | .hljs-pseudo, 94 | .apache .hljs-cbracket, 95 | .tex .hljs-formula, 96 | .coffeescript .hljs-attribute { 97 | color: #cc9393; 98 | } 99 | 100 | .hljs-shebang, 101 | .diff .hljs-addition, 102 | .hljs-comment, 103 | .hljs-annotation, 104 | .hljs-pi, 105 | .hljs-doctype { 106 | color: #7f9f7f; 107 | } 108 | 109 | .coffeescript .javascript, 110 | .javascript .xml, 111 | .tex .hljs-formula, 112 | .xml .javascript, 113 | .xml .vbscript, 114 | .xml .css, 115 | .xml .hljs-cdata { 116 | opacity: 0.5; 117 | } 118 | 119 | -------------------------------------------------------------------------------- /publish/js/img.screenfull.js: -------------------------------------------------------------------------------- 1 | (function(window, document) { 2 | var sf = function($imgs) { 3 | $imgs.forEach(function($img) { 4 | $img.addEventListener('click', function() { 5 | show(this); 6 | }, false); 7 | }); 8 | }; 9 | 10 | function show(t) { 11 | var img = document.createElement('img'); 12 | img.src = t.src; 13 | img.className = 'transparent'; 14 | $layer.innerHTML = ''; 15 | img.onload = function() { 16 | img.style.height = this.height + 'px'; 17 | var top = this.height > $body.clientHeight ? 0 : ($body.clientHeight - this.height) / 2; 18 | img.style.top = top + 'px'; 19 | img.style.marginLeft = -this.width / 2 + 'px'; 20 | img.classList.remove('transparent'); 21 | img.onload = null; 22 | } 23 | img.style.cssText = 'max-height:' + $body.clientHeight + 'px;max-width:' + $body.clientWidth + 'px;'; 24 | $layer.appendChild(img); 25 | $layer.style.display = 'block'; 26 | setTimeout(function() { 27 | $layer.classList.remove('transparent'); 28 | }, 0); 29 | 30 | }; 31 | var $layer = document.createElement('div'); 32 | $layer.className = 'img-full transparent'; 33 | // $layer.innerHTML = ''; 34 | $layer.addEventListener('click', function() { 35 | $layer.style.display = 'none'; 36 | $layer.classList.add('transparent'); 37 | }, false); 38 | var $body = document.body || document.getElementsByTagName('body')[0]; 39 | $body.appendChild($layer); 40 | window.screenfull = sf; 41 | }(window, document)); 42 | -------------------------------------------------------------------------------- /publish/js/mixjs/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /.sass-cache 3 | /tmp 4 | -------------------------------------------------------------------------------- /publish/js/mixjs/Gruntfile.js: -------------------------------------------------------------------------------- 1 | var concatArr = [ 2 | 'src/intro.js', 3 | 'src/getCurrentScript.js', 4 | 'src/vars.js', 5 | 'src/typeof.js', 6 | 'src/browser.js', 7 | 'src/Module.js', 8 | 'src/Promise.js', 9 | 'src/getPath.js', 10 | 'src/loadjs.js', 11 | 'src/loadcss-img.js', 12 | 'src/core.js', 13 | 'src/outro.js']; 14 | module.exports = function(grunt) { 15 | grunt.initConfig({ 16 | pkg: grunt.file.readJSON('package.json'), 17 | jshint: { 18 | options: { 19 | noarg: true, 20 | noempty: true, 21 | curly: true, 22 | asi: true, 23 | expr: true, 24 | browser: true, 25 | strict: true, 26 | unused: true, 27 | undef: true, 28 | loopfunc: false, 29 | sub: true, 30 | boss: true, 31 | eqnull: true 32 | }, 33 | files: ['tmp/<%= pkg.name %>.js'] 34 | }, 35 | watch: { 36 | files: ['src/*.js'], 37 | tasks: 'dev' 38 | }, 39 | concat: { 40 | MixJS: { 41 | options: { 42 | separator: '\n' 43 | }, 44 | src: concatArr, 45 | dest: 'lib/<%= pkg.name %>.<%= pkg.version %>.js' 46 | }, 47 | dev: { 48 | options: { 49 | separator: '\n' 50 | }, 51 | src: concatArr, 52 | dest: 'tmp/<%= pkg.name %>.js' 53 | } 54 | }, 55 | uglify: { 56 | options: { 57 | sourceMap: 'lib/<%= pkg.name %>.<%= pkg.version %>.map', 58 | banner: '/*! <%= pkg.name %> <%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> by <%= pkg.author %> */\n' 59 | }, 60 | dist: { 61 | src: '<%= concat.MixJS.dest %>', 62 | dest: 'lib/<%= pkg.name %>.<%= pkg.version %>.min.js' 63 | } 64 | }, 65 | compress: { 66 | main: { 67 | options: { 68 | archive: '<%= pkg.name %>.zip' 69 | }, 70 | files: [{ 71 | expand: true, 72 | cwd: 'lib', 73 | src: ['**'], 74 | filter: 'isFile' 75 | }] 76 | } 77 | } 78 | }); 79 | 80 | // grunt.loadNpmTasks('grunt-regarde'); 81 | grunt.loadNpmTasks('grunt-contrib-uglify'); 82 | grunt.loadNpmTasks('grunt-contrib-jshint'); 83 | grunt.loadNpmTasks('grunt-contrib-watch'); 84 | grunt.loadNpmTasks('grunt-contrib-concat'); 85 | grunt.loadNpmTasks('grunt-contrib-compress'); 86 | 87 | grunt.registerTask('build', ['concat:MixJS', 'uglify']); 88 | grunt.registerTask('dev', ['concat:dev', 'jshint']); 89 | 90 | }; -------------------------------------------------------------------------------- /publish/js/mixjs/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2013 Theowang http://js8.in 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /publish/js/mixjs/README.md: -------------------------------------------------------------------------------- 1 | MixJS - Just Another Javascript Module Loader 2 | ============= 3 | 4 | MMMMMMMM MMMMMMMM iiii JJJJJJJJJJJ SSSSSSSSSSSSSSS 5 | M:::::::M M:::::::M i::::i J:::::::::J SS:::::::::::::::S 6 | M::::::::M M::::::::M iiii J:::::::::JS:::::SSSSSS::::::S 7 | M:::::::::M M:::::::::M JJ:::::::JJS:::::S SSSSSSS 8 | M::::::::::M M::::::::::Miiiiiii xxxxxxx xxxxxxx J:::::J S:::::S 9 | M:::::::::::M M:::::::::::Mi:::::i x:::::x x:::::x J:::::J S:::::S 10 | M:::::::M::::M M::::M:::::::M i::::i x:::::x x:::::x J:::::J S::::SSSS 11 | M::::::M M::::M M::::M M::::::M i::::i x:::::xx:::::x J:::::j SS::::::SSSSS 12 | M::::::M M::::M::::M M::::::M i::::i x::::::::::x J:::::J SSS::::::::SS 13 | M::::::M M:::::::M M::::::M i::::i x::::::::x JJJJJJJ J:::::J SSSSSS::::S 14 | M::::::M M:::::M M::::::M i::::i x::::::::x J:::::J J:::::J S:::::S 15 | M::::::M MMMMM M::::::M i::::i x::::::::::x J::::::J J::::::J S:::::S 16 | M::::::M M::::::Mi::::::i x:::::xx:::::xJ:::::::JJJ:::::::J SSSSSSS S:::::S 17 | M::::::M M::::::Mi::::::i x:::::x x:::::xJJ:::::::::::::JJ S::::::SSSSSS:::::S 18 | M::::::M M::::::Mi::::::i x:::::x x:::::x JJ:::::::::JJ S:::::::::::::::SS 19 | MMMMMMMM MMMMMMMMiiiiiiiixxxxxxx xxxxxxx JJJJJJJJJ SSSSSSSSSSSSSSS 20 | 21 | version: 0.3.0 butterfly 22 | 23 | Come back soon!! 24 | -------------------------------------------------------------------------------- /publish/js/mixjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mix", 3 | "title": "MixJS", 4 | "description": "Just Another Javascript Module Loader", 5 | "version": "0.3.0", 6 | "author": "Theowang", 7 | "email": "ksky521@gmail.com", 8 | "licenses": [ 9 | { 10 | "type": "MIT", 11 | "url": "https://github.com/ksky521/MixJS/blob/master/MIT-LICENSE.txt" 12 | } 13 | ], 14 | "devDependencies": { 15 | "grunt": "~0.4.1", 16 | "grunt-contrib-jshint": "~0.2.0", 17 | "grunt-contrib-uglify": "~0.1.2", 18 | "grunt-contrib": "~0.5.0", 19 | "grunt-contrib-concat": "~0.1.3", 20 | "grunt-contrib-watch": "~0.3.1", 21 | "grunt-contrib-compress": "~0.5.0" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /publish/js/mixjs/research/js.php: -------------------------------------------------------------------------------- 1 | 5 | if(typeof console!=='undefined'){ 6 | console.log && console.log('i am wake up'); 7 | } 8 | -------------------------------------------------------------------------------- /publish/js/mixjs/research/loadjs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 动态加载js状态测试 6 | 7 | 8 |
    9 | 10 |
11 | 12 | 13 | 28 | 29 | -------------------------------------------------------------------------------- /publish/js/mixjs/src/Promise.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Promise类 3 | */ 4 | 5 | function Promise() { 6 | this.status = 'unfulfilled'; //fulfilled|failed 7 | this.fulfilledHandlers = []; 8 | this.errorHandlers = []; 9 | this.reason = ''; 10 | } 11 | Promise.prototype = { 12 | constructor: Promise, 13 | reject: function(arg) { 14 | if (this.status !== 'unfulfilled') { 15 | return this; 16 | } 17 | this.reason = arg; 18 | this.status = 'failed'; 19 | return this.fire(this.errorHandlers, arg); 20 | }, 21 | isResolved: function() { 22 | return this.status === 'fulfilled'; 23 | }, 24 | resolve: function(arg) { 25 | if (this.status !== 'unfulfilled') { 26 | return this; 27 | } 28 | this.reason = arg; 29 | this.status = 'fulfilled'; 30 | return this.fire(this.fulfilledHandlers, arg); 31 | }, 32 | fail: function(handler) { 33 | return this.then(undefined, handler); 34 | }, 35 | always: function(handler) { 36 | return this.then(handler, handler); 37 | }, 38 | then: function(fulfilledHandler, errorHandler) { 39 | switch (this.status) { 40 | case 'unfulfilled': 41 | this.add(fulfilledHandler, 'fulfilled') 42 | .add(errorHandler, 'error'); 43 | break; 44 | case 'fulfilled': 45 | this.fire(fulfilledHandler, this.reason); 46 | break; 47 | case 'failed': 48 | this.fire(errorHandler, this.reason); 49 | } 50 | return this; 51 | }, 52 | done: function(handler) { 53 | return this.then(handler); 54 | }, 55 | fire: function(fns, arg) { 56 | if ($.isArray(fns)) { 57 | var fn; 58 | while (fn = fns.shift()) { 59 | if ($.isFunction(fn)) { 60 | fn(arg); 61 | } 62 | } 63 | this.clear(); 64 | } else if ($.isFunction(fns)) { 65 | fns(arg); 66 | } 67 | return this; 68 | }, 69 | add: function(handler, which) { 70 | which = which + 'Handlers'; 71 | if ($.isFunction(handler) && this[which]) { 72 | this[which].push(handler); 73 | } 74 | return this; 75 | }, 76 | clear: function() { 77 | this.fulfilledHandlers.length = 0; 78 | this.errorHandlers.length = 0; 79 | } 80 | }; 81 | 82 | /** 83 | * 是否是Promise实例 84 | * @param {Object} o 被检验的对象 85 | * @return {Boolean} 是否为实例 86 | */ 87 | 88 | function isPromise(o) { 89 | return o instanceof Promise; 90 | } -------------------------------------------------------------------------------- /publish/js/mixjs/src/browser.js: -------------------------------------------------------------------------------- 1 | var UA = window.navigator.userAgent; 2 | -------------------------------------------------------------------------------- /publish/js/mixjs/src/getCurrentScript.js: -------------------------------------------------------------------------------- 1 | //本js文件不支持defer等属性,否则计算当前路径会错误 2 | //模块加载的东西,基础js肯定不能defer掉…… 3 | var curScriptNode = (function() { 4 | var scripts = document.getElementsByTagName('script'); 5 | return scripts[scripts.length - 1]; //FF下可以使用DOC.currentScript 6 | })(); -------------------------------------------------------------------------------- /publish/js/mixjs/src/getPath.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 获取真实url 3 | * 来自massframework 4 | * @param {[type]} url [description] 5 | * @return {[type]} [description] 6 | */ 7 | 8 | function getPath(url, root) { 9 | var ret = url; 10 | var tmp; 11 | var _2; 12 | var alias = _.alias; 13 | var id; 14 | root = root || defaultConfig.baseURL; 15 | root = root.substr(0, root.lastIndexOf('/')); 16 | id = url; //模块id 17 | 18 | if (regAlias.test(url) && alias[url]) { 19 | ret = alias[url]; 20 | 21 | } else if (/^(\w+)(\d)?:.*/.test(url)) { //如果用户路径包含协议 22 | ret = url; 23 | } else { 24 | tmp = url.charAt(0); 25 | _2 = url.slice(0, 2); 26 | 27 | if (tmp !== '.' && tmp !== '/') { //相对于根路径 28 | ret = root + '/' + url; 29 | } else if (_2 === './') { //相对于兄弟路径 30 | id = url.substr(2); 31 | ret = root + '/' + id; 32 | } else if (_2 === '..') { //相对于父路径 33 | // var arr = root.replace(/\/$/, '').split('/'); 34 | var arr = root.split('/'); 35 | tmp = url.replace(/\.\.\//g, function() { 36 | arr.pop(); 37 | return ''; 38 | }); 39 | id = tmp; 40 | ret = arr.join('/') + '/' + tmp; 41 | } 42 | } 43 | 44 | var ext = 'js'; //默认是js文件 45 | tmp = ret.replace(/[?#].*/, ''); 46 | if (/\.(\w+)$/.test(tmp)) { 47 | ext = RegExp.$1; 48 | } 49 | if (ext !== 'css' && tmp === ret && !regIsJS.test(ret)) { //如果没有后缀名会补上.js 50 | ret += '.js'; 51 | } 52 | return [ret, ext, id]; 53 | } -------------------------------------------------------------------------------- /publish/js/mixjs/src/intro.js: -------------------------------------------------------------------------------- 1 | (function(window, undefined) { 2 | 'use strict'; 3 | var document = window.document; 4 | var setTimeout = window.setTimeout; -------------------------------------------------------------------------------- /publish/js/mixjs/src/loadjs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 加载js 3 | * @param {String} src 路径 4 | * @param {Function} callback 回调函数 5 | * @param {Object} attrs attribute对象 6 | * @param {Number} timeout 超时时间 7 | * @param {Function} error 出错函数 8 | * @param {Function} complete 完成函数,出错和load都执行的 9 | * @return {Object} this 10 | */ 11 | function loadJS(src, callback, attrs, timeout, fail, complete) { 12 | if ($.isObject(src)) { 13 | callback = src.callback; 14 | attrs = src.attrs; 15 | timeout = src.timeout; 16 | fail = src.fail; 17 | complete = src.complete; 18 | src = src.src; 19 | return loadJS(src, callback, attrs, timeout, fail, complete); 20 | } 21 | var script = document.createElement('script'); 22 | var done = false; 23 | if ($.isObject(attrs)) { 24 | for (var i in attrs) { 25 | script.setAttribute(i, attrs[i]); 26 | } 27 | } 28 | var urls = getPath(src); 29 | src = script.src = urls[0].replace('//', '/'); 30 | script.async = true; 31 | script.type = 'text/javascript'; 32 | script.charset = defaultConfig.charset; 33 | complete = $.isFunction(complete) ? complete : emptyFn; 34 | script.onload = script.onreadystatechange = function(e) { 35 | e = e || cleanObj 36 | if (!done && (e.type === 'load' || /loaded|complete|undefined/.test(script.readyState))) { 37 | done = true; 38 | removeNode(script); 39 | mapLoaded[src] = 'loaded'; 40 | $.isFunction(callback) && callback(); 41 | complete('load'); 42 | } 43 | }; 44 | script.onerror = function() { 45 | done = true; 46 | mapLoaded[src] = 'error'; 47 | $.isFunction(fail) && fail(); 48 | complete('error'); 49 | }; 50 | timeout = $.isNumber(timeout) ? timeout : defaultConfig.timeout; 51 | if (timeout) { 52 | setTimeout(function() { 53 | if (!done) { 54 | done = true; 55 | mapLoaded[src] = 'timeout'; 56 | complete('timeout'); 57 | } 58 | }, timeout); 59 | } 60 | mapLoaded[src] = 'pending'; 61 | head.insertBefore(script, base); 62 | return _; 63 | } 64 | /** 65 | * 移出node节点,释放内存 66 | * @param {Element} node 节点 67 | */ 68 | function removeNode(node) { 69 | //确保执行一次+内存回收 70 | node.onload = node.onerror = node.onreadystatechange = null; 71 | if (node.parentNode) { 72 | setTimeout(function() { 73 | node.parentNode.removeChild(node); 74 | node = null; 75 | }, 0); 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /publish/js/mixjs/src/outro.js: -------------------------------------------------------------------------------- 1 | }(this)); -------------------------------------------------------------------------------- /publish/js/mixjs/src/typeof.js: -------------------------------------------------------------------------------- 1 | //基本类型判断 2 | 'Function,String,Array,Number'.replace(/[^, ]+/g, function(t) { 3 | $['is' + t] = function(s) { 4 | return isType(s, t); 5 | } 6 | }); 7 | if (typeof(/./) !== 'function') { 8 | $.isFunction = function(obj) { 9 | return typeof obj === 'function'; 10 | }; 11 | } 12 | $.isObject = function(obj) { 13 | return typeof obj === 'object'; 14 | } 15 | 16 | $.isBoolean = function(obj) { 17 | return obj === true || obj === false || isType(obj, 'Boolean'); 18 | }; 19 | 20 | $.isUndefined = function(obj) { 21 | return obj === undefined; 22 | }; 23 | 24 | /** 25 | * 获取类型 26 | * @param {Object} obj 要判断的对象 27 | * @return {String} 返回类型 28 | */ 29 | 30 | function isType(obj, type) { 31 | return cleanObj.toString.call(obj).slice(8, -1) === type; 32 | } -------------------------------------------------------------------------------- /publish/js/mixjs/src/vars.js: -------------------------------------------------------------------------------- 1 | var VERSION = 'MixJS 0.3 butterfly'; 2 | var emptyFn = function() {}; 3 | var cleanObj = {}; 4 | var emptyArr = []; 5 | var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement; 6 | var base = head.getElementsByTagName('base')[0] || null; 7 | var arrSlice = emptyArr.slice; 8 | 9 | //获取当前文件父路径 10 | var PATH = (function(node) { 11 | var url = node.hasAttribute ? node.src : node.getAttribute('src', 4); 12 | return url.substr(0, url.lastIndexOf('/')) + '/'; 13 | })(curScriptNode); 14 | 15 | //是否为js 16 | var regIsJS = /\.js$/i; 17 | //是否为css 18 | var regIsCSS = /\.css$/i; 19 | //alias 20 | var regAlias = /^[-\w\d_$]{2,}$/i; 21 | var $ = {}; 22 | 23 | var defaultConfig = { 24 | timeout: 2E4, //超时时间二十秒 25 | baseURL: PATH, 26 | charset: 'utf-8' 27 | }; 28 | 29 | //=============>maps 30 | //别名列表 31 | var mapAlias = {}; 32 | //加载完的文件列表 33 | var mapLoaded = {}; 34 | //已经定义模块的状态表:undefined|pending|defined 35 | var mapDefined = {}; 36 | //通过依赖找上一级模块的promise 37 | var mapDeps2ModulePromise = {}; -------------------------------------------------------------------------------- /publish/js/nodeppt.control.postMessage.js: -------------------------------------------------------------------------------- 1 | /** 2 | * postMessage 只能单方面控制 3 | * 4 | */ 5 | Slide.Control.add('postMessage', function (S, broadcast) { 6 | function parseQuery(url) { 7 | var back = {}; 8 | (url || location.search.substring(1)).split('&').forEach(function (v) { 9 | v = v.split('='); 10 | back[v[0].toLowerCase()] = v[1]; 11 | }); 12 | return back; 13 | } 14 | broadcast.on('controlEvent:joinClient', function () { 15 | postMSG.send_default('syncStatus', { 16 | id: S.current, 17 | item: S.curItem 18 | }); 19 | }); 20 | 21 | var postWin, popup, timer; 22 | var postMSG = { 23 | role: '', //角色 24 | send_default: function (evtName, data) { 25 | var win = (postWin ? postWin : popup); 26 | win && win.postMessage({ 27 | action: 'controlEvent:' + evtName, 28 | data: data 29 | }, '*'); 30 | }, 31 | send_keyEvent: function (keyCode) { 32 | postMSG.send_default('keyEvent', { 33 | keyCode: keyCode 34 | }) 35 | }, 36 | // evtControl: function (e) { 37 | // console.log('client 发来贺电', arguments); 38 | // }, 39 | evtHandler: function (e) { 40 | var data = e.data; 41 | broadcast.fire(data.action, data.data); 42 | }, 43 | closeClient: function () { 44 | if (popup) { 45 | popup.close(); 46 | } 47 | timer && clearInterval(timer); 48 | }, 49 | init: function (args) { 50 | var t = this; 51 | var params = parseQuery(); 52 | 53 | if (params._multiscreen === '1') { 54 | this.role = 'client'; 55 | var url = location.href.replace('_multiscreen=1', '_multiscreen=control'); 56 | 57 | var sWidth = screen.width, 58 | sHeight = screen.height, 59 | tWidth = sWidth * 0.8, 60 | tHeight = sHeight * 0.8; 61 | 62 | var temp = 'height=' + tHeight + ',width=' + tWidth + ',top=' + 10 + ',left=' + (sWidth - tWidth) / 2 + ',toolbar=no,menubar=no,location=yes,resizable=yes,scrollbars=no,status=no'; 63 | popup = window.open(url, 'ppt', temp); 64 | window.addEventListener('message', this.evtHandler, false); 65 | window.addEventListener('beforeunload', this.closeClient, false); 66 | } else if (params._multiscreen === 'control') { 67 | this.role = 'control'; 68 | //如果是控制端,则重写proxyFn函数 69 | Slide.proxyFn = function (fnName, args) { 70 | args = JSON.stringify(args); 71 | postMSG.send_default('proxyFn', { 72 | fnName: fnName, 73 | args: args 74 | }); 75 | }; 76 | Slide.timerCtrl(); 77 | postWin = window.opener; 78 | postMSG.send_default('joinClient'); 79 | window.addEventListener('message', this.evtHandler, true); 80 | } 81 | } 82 | }; 83 | 84 | 85 | return postMSG; 86 | }); 87 | --------------------------------------------------------------------------------