diff --git a/README.md b/README.md new file mode 100644 index 0000000000..8e003143b6 --- /dev/null +++ b/README.md @@ -0,0 +1,117 @@ +ZRender +======= +http://ecomfe.github.com/zrender + +一个轻量级的Canvas类库,MVC封装,数据驱动,提供类Dom事件模型,让canvas绘图大不同! + +Architecture +------------ +MVC核心封装实现图形仓库、视图渲染和交互控制: +* Stroage(M) : shape数据CURD管理 +* Painter(V) : canvase元素生命周期管理,视图渲染,绘画,更新控制 +* Handler(C) : 事件交互处理,实现完整dom事件模拟封装 +* shape : 图形实体,分而治之的图形策略,可定义扩展 +* tool : 绘画扩展相关实用方法,工具及脚手架 + +![ZRender Architecture](doc/asset/img/zrender.png) + +特色 +---- +### 简单 +无需canvas基础,精简的接口方法,符合AMD标准,易学易用。 + + require( + ['zrender/zrender'], + function(zrender) { + // just init to get a zrender Instance + var zr = zrender.init(document.getElementById('main')); + // zr can be used now! + ... + } + ); + +### 数据驱动 +利用zrender绘图,你只需做的是定义图形数据,剩下的事情就交给zrender吧~ + +哦,对了,差点忘记告诉你,只要在你定义图形数据时设置draggable属性为true,图形拖拽就已经可用了! + + zr.addShape({ + shape : 'circle', + style : { + x : 100, + y : 100, + r : 50, + color : 'rgba(220, 20, 60, 0.8)' + } + }); + zr.render(); + +### 完整的事件封装 +用你再熟悉不过的dom事件模型去操作canvas里的图形元素是件很cool的事情~ + +你不仅可以响应zrender全局事件,你甚至可以为在特定shape上添加特定事件,后续发生的一切都会按你想的那样去运行~ + + zr.addShape({ + shape : 'circle', + style : {...}, + // 图形元素上绑定事件 + onmouseover : function(params) {concole.log('catch you!')} + }); + + // 全局事件 + zr.on('click', function(params) {alert('Hello, zrender!')}); + +### 高效的分层刷新 +正如css中zlevel的作用一样,你可以定义把不同的shape分别放在不同的层中,这不仅实现了视觉上的上下覆盖, +更重要的是当图形元素发生变化后的refresh将局限在发生了变化的图形层中,这在你利用zrender做各种动画效果时将十分有用, +性能自然也更加出色~ + + zr.addShape(shapeA); // shapeA.zlevel = 0; (default) + zr.addShape(shapeB); // shapeB.zlevel = 1; + zr.render(); + + zr.modShape(shapeB.id, {color:'red'}); + // Don't worry! Is merge! + + zr.refresh(); + // Just the level 1 canvas has been refresh~ + +### 丰富的图形选项 +当前内置多种图形元素(圆形、椭圆、圆环、扇形、矩形、多边形、直线、曲线、心形、水滴、路径、文字、图片。Will be more..),统一且丰富的图形属性充分满足你的个性化需求! + + var myShape = { + shape : 'circle', // sector | ring | rectangle | ... + zlevel : 1, + style : { + ... // color | strokeColor | text | textFont | ... + }, + draggable : true + }; + +### 强大的动画支持 +提供promise式的动画接口和常用缓动函数,轻松实现各种动画需求~ + + function MyShape() { ... } + + var shape = require('zrender/shape'); + shape.define('myShape', new MyShape()); // define your shape + + zr.addShape({ // and use it! + shape : 'myShape', + ... + }); + +### 易于扩展 +分而治之的图形定义策略允许你扩展自己独有的图形元素,你既可以完整实现三个接口方法(brush、drift、isCover), +也可以通过base派生后仅实现你所关心的图形细节。 + + function MyShape() { ... } + + var shape = require('zrender/shape'); + shape.define('myShape', new MyShape()); // define your shape + + zr.addShape({ // and use it! + shape : 'myShape', + ... + }); + diff --git a/fonts/opensans-bold-webfont.eot b/fonts/opensans-bold-webfont.eot deleted file mode 100644 index b5bad08afe..0000000000 Binary files a/fonts/opensans-bold-webfont.eot and /dev/null differ diff --git a/fonts/opensans-bold-webfont.svg b/fonts/opensans-bold-webfont.svg deleted file mode 100644 index 1557f68074..0000000000 --- a/fonts/opensans-bold-webfont.svg +++ /dev/null @@ -1,251 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Digitized data copyright 20102011 Google Corporation -Foundry : Ascender Corporation -Foundry URL : httpwwwascendercorpcom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/opensans-bold-webfont.ttf b/fonts/opensans-bold-webfont.ttf deleted file mode 100644 index 338220f25b..0000000000 Binary files a/fonts/opensans-bold-webfont.ttf and /dev/null differ diff --git a/fonts/opensans-bold-webfont.woff b/fonts/opensans-bold-webfont.woff deleted file mode 100644 index ea6007b3b1..0000000000 Binary files a/fonts/opensans-bold-webfont.woff and /dev/null differ diff --git a/fonts/opensans-bolditalic-webfont.eot b/fonts/opensans-bolditalic-webfont.eot deleted file mode 100644 index d892fd9d8a..0000000000 Binary files a/fonts/opensans-bolditalic-webfont.eot and /dev/null differ diff --git a/fonts/opensans-bolditalic-webfont.svg b/fonts/opensans-bolditalic-webfont.svg deleted file mode 100644 index 24661f35f9..0000000000 --- a/fonts/opensans-bolditalic-webfont.svg +++ /dev/null @@ -1,251 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Digitized data copyright 20102011 Google Corporation -Foundry : Ascender Corporation -Foundry URL : httpwwwascendercorpcom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/opensans-bolditalic-webfont.ttf b/fonts/opensans-bolditalic-webfont.ttf deleted file mode 100644 index b3eb0d312b..0000000000 Binary files a/fonts/opensans-bolditalic-webfont.ttf and /dev/null differ diff --git a/fonts/opensans-bolditalic-webfont.woff b/fonts/opensans-bolditalic-webfont.woff deleted file mode 100644 index 1712e158f2..0000000000 Binary files a/fonts/opensans-bolditalic-webfont.woff and /dev/null differ diff --git a/fonts/opensans-extrabold-webfont.eot b/fonts/opensans-extrabold-webfont.eot deleted file mode 100644 index 0e88f02ed4..0000000000 Binary files a/fonts/opensans-extrabold-webfont.eot and /dev/null differ diff --git a/fonts/opensans-extrabold-webfont.svg b/fonts/opensans-extrabold-webfont.svg deleted file mode 100644 index c3d6642a2c..0000000000 --- a/fonts/opensans-extrabold-webfont.svg +++ /dev/null @@ -1,251 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Digitized data copyright 2011 Google Corporation -Foundry : Ascender Corporation -Foundry URL : httpwwwascendercorpcom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/opensans-extrabold-webfont.ttf b/fonts/opensans-extrabold-webfont.ttf deleted file mode 100644 index bec521d468..0000000000 Binary files a/fonts/opensans-extrabold-webfont.ttf and /dev/null differ diff --git a/fonts/opensans-extrabold-webfont.woff b/fonts/opensans-extrabold-webfont.woff deleted file mode 100644 index a24b2055f8..0000000000 Binary files a/fonts/opensans-extrabold-webfont.woff and /dev/null differ diff --git a/fonts/opensans-italic-webfont.eot b/fonts/opensans-italic-webfont.eot deleted file mode 100644 index 3593c12bed..0000000000 Binary files a/fonts/opensans-italic-webfont.eot and /dev/null differ diff --git a/fonts/opensans-italic-webfont.svg b/fonts/opensans-italic-webfont.svg deleted file mode 100644 index 537d20ca6f..0000000000 --- a/fonts/opensans-italic-webfont.svg +++ /dev/null @@ -1,251 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Digitized data copyright 20102011 Google Corporation -Foundry : Ascender Corporation -Foundry URL : httpwwwascendercorpcom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/opensans-italic-webfont.ttf b/fonts/opensans-italic-webfont.ttf deleted file mode 100644 index ddc75c6ca9..0000000000 Binary files a/fonts/opensans-italic-webfont.ttf and /dev/null differ diff --git a/fonts/opensans-italic-webfont.woff b/fonts/opensans-italic-webfont.woff deleted file mode 100644 index 302cb00b06..0000000000 Binary files a/fonts/opensans-italic-webfont.woff and /dev/null differ diff --git a/fonts/opensans-regular-webfont.eot b/fonts/opensans-regular-webfont.eot deleted file mode 100644 index 1c64986aab..0000000000 Binary files a/fonts/opensans-regular-webfont.eot and /dev/null differ diff --git a/fonts/opensans-regular-webfont.svg b/fonts/opensans-regular-webfont.svg deleted file mode 100644 index ead219a569..0000000000 --- a/fonts/opensans-regular-webfont.svg +++ /dev/null @@ -1,252 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Digitized data copyright 20102011 Google Corporation -Foundry : Ascender Corporation -Foundry URL : httpwwwascendercorpcom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/opensans-regular-webfont.ttf b/fonts/opensans-regular-webfont.ttf deleted file mode 100644 index 99a1ece262..0000000000 Binary files a/fonts/opensans-regular-webfont.ttf and /dev/null differ diff --git a/fonts/opensans-regular-webfont.woff b/fonts/opensans-regular-webfont.woff deleted file mode 100644 index 826d6434cf..0000000000 Binary files a/fonts/opensans-regular-webfont.woff and /dev/null differ diff --git a/images/bg-ramp.jpg b/images/bg-ramp.jpg deleted file mode 100644 index 2b951e4900..0000000000 Binary files a/images/bg-ramp.jpg and /dev/null differ diff --git a/images/blockquote-gfx-2x.png b/images/blockquote-gfx-2x.png deleted file mode 100644 index 01addbdecc..0000000000 Binary files a/images/blockquote-gfx-2x.png and /dev/null differ diff --git a/images/blockquote-gfx.png b/images/blockquote-gfx.png deleted file mode 100644 index 5611d69bc9..0000000000 Binary files a/images/blockquote-gfx.png and /dev/null differ diff --git a/images/chevron-2x.png b/images/chevron-2x.png deleted file mode 100644 index 96e3ce98e3..0000000000 Binary files a/images/chevron-2x.png and /dev/null differ diff --git a/images/chevron.png b/images/chevron.png deleted file mode 100644 index 55b1b73007..0000000000 Binary files a/images/chevron.png and /dev/null differ diff --git a/images/download-fallback-bg.png b/images/download-fallback-bg.png deleted file mode 100644 index 6179dc64db..0000000000 Binary files a/images/download-fallback-bg.png and /dev/null differ diff --git a/images/download-sprite.png b/images/download-sprite.png deleted file mode 100644 index 62ef48dcb0..0000000000 Binary files a/images/download-sprite.png and /dev/null differ diff --git a/images/footer-ramp.jpg b/images/footer-ramp.jpg deleted file mode 100644 index fd35c2a822..0000000000 Binary files a/images/footer-ramp.jpg and /dev/null differ diff --git a/images/fork-sprite.png b/images/fork-sprite.png deleted file mode 100644 index a4e48b3e8b..0000000000 Binary files a/images/fork-sprite.png and /dev/null differ diff --git a/images/hr-2x.jpg b/images/hr-2x.jpg deleted file mode 100644 index ddd89f1e51..0000000000 Binary files a/images/hr-2x.jpg and /dev/null differ diff --git a/images/hr.jpg b/images/hr.jpg deleted file mode 100644 index bc6f7e756a..0000000000 Binary files a/images/hr.jpg and /dev/null differ diff --git a/images/octocat-2x.png b/images/octocat-2x.png deleted file mode 100644 index c720132157..0000000000 Binary files a/images/octocat-2x.png and /dev/null differ diff --git a/images/octocat.png b/images/octocat.png deleted file mode 100644 index cbe4a1871e..0000000000 Binary files a/images/octocat.png and /dev/null differ diff --git a/images/ribbon-tail-sprite-2x.png b/images/ribbon-tail-sprite-2x.png deleted file mode 100644 index 7df408aa5a..0000000000 Binary files a/images/ribbon-tail-sprite-2x.png and /dev/null differ diff --git a/images/ribbon-tail-sprite.png b/images/ribbon-tail-sprite.png deleted file mode 100644 index a754912e40..0000000000 Binary files a/images/ribbon-tail-sprite.png and /dev/null differ diff --git a/images/shield-fallback.png b/images/shield-fallback.png deleted file mode 100644 index a451160dd5..0000000000 Binary files a/images/shield-fallback.png and /dev/null differ diff --git a/images/shield.png b/images/shield.png deleted file mode 100644 index 5115c33f63..0000000000 Binary files a/images/shield.png and /dev/null differ diff --git a/images/site-2.png b/images/site-2.png deleted file mode 100644 index 2a549a72f5..0000000000 Binary files a/images/site-2.png and /dev/null differ diff --git a/images/small-ribbon-tail-sprite-2x.png b/images/small-ribbon-tail-sprite-2x.png deleted file mode 100644 index 64563db202..0000000000 Binary files a/images/small-ribbon-tail-sprite-2x.png and /dev/null differ diff --git a/images/small-ribbon-tail-sprite.png b/images/small-ribbon-tail-sprite.png deleted file mode 100644 index 8a8e32eb76..0000000000 Binary files a/images/small-ribbon-tail-sprite.png and /dev/null differ diff --git a/javascripts/headsmart.min.js b/javascripts/headsmart.min.js deleted file mode 100644 index 16da97ab66..0000000000 --- a/javascripts/headsmart.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){a.fn.headsmart=function(){var c=a(this);d();function d(){var e=[],g="";if(b("h1")){e.push("h1")}if(b("h2")){e.push("h2")}if(b("h3")){e.push("h3")}if(b("h4")){e.push("h4")}if(b("h5")){e.push("h5")}if(b("h6")){e.push("h6")}for(var f=0;f0)?true:false}}})(jQuery); \ No newline at end of file diff --git a/javascripts/main.js b/javascripts/main.js deleted file mode 100644 index d8135d37b1..0000000000 --- a/javascripts/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('This would be the main JS file.'); diff --git a/javascripts/modernizr.js b/javascripts/modernizr.js deleted file mode 100644 index 434b0afc35..0000000000 --- a/javascripts/modernizr.js +++ /dev/null @@ -1,4 +0,0 @@ -/* Modernizr 2.5.2 (Custom Build) | MIT & BSD - * Build: http://www.modernizr.com/download/#-fontface-borderradius-boxshadow-textshadow-cssgradients-shiv-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-load - */ -;window.Modernizr=function(a,b,c){function z(a){j.cssText=a}function A(a,b){return z(m.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+o.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.5.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),k.appendChild(j);return f=["­",""].join(""),k.id=h,m.innerHTML+=f,m.appendChild(k),l||g.appendChild(m),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e});var G=function(a,c){var d=a.join(""),f=c.length;w(d,function(a,c){var d=b.styleSheets[b.styleSheets.length-1],g=d?d.cssRules&&d.cssRules[0]?d.cssRules[0].cssText:d.cssText||"":"",h=a.childNodes,i={};while(f--)i[h[f].id]=h[f];e.fontface=/src/i.test(g)&&g.indexOf(c.split(" ")[0])===0},f,c)}(['@font-face {font-family:"font";src:url("https://")}'],["fontface"]);q.borderradius=function(){return F("borderRadius")},q.boxshadow=function(){return F("boxShadow")},q.textshadow=function(){return b.createElement("div").style.textShadow===""},q.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return z((a+"-webkit- ".split(" ").join(b+a)+m.join(c+a)).slice(0,-a.length)),C(j.backgroundImage,"gradient")},q.fontface=function(){return e.fontface};for(var H in q)y(q,H)&&(v=H.toLowerCase(),e[v]=q[H](),t.push((e[v]?"":"no-")+v));return z(""),i=k=null,function(a,b){function g(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function h(){var a=k.elements;return typeof a=="string"?a.split(" "):a}function i(a){function m(){var a=j.cloneNode(!1);return k.shivMethods?(i(a),a):a}function n(a){var b=(c[a]||(c[a]=e(a))).cloneNode(!1);return k.shivMethods&&!d.test(a)?j.appendChild(b):b}var b,c={},e=a.createElement,f=a.createDocumentFragment,g=h(),j=f(),l=g.length;while(l--)b=g[l],c[b]=e(b),j.createElement(b);a.createElement=n,a.createDocumentFragment=m}function j(a){var b;return a.documentShived?a:(k.shivCSS&&!e&&(b=!!g(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),k.shivMethods&&!f&&(b=!i(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|iframe|input|script|textarea)$/i,e,f;(function(){var c,d=b.createElement("a"),g=a.getComputedStyle,h=b.documentElement,i=b.body||(c=h.insertBefore(b.createElement("body"),h.firstChild));i.insertBefore(d,i.firstChild),d.hidden=!0,d.innerHTML="",e=(d.currentStyle||g(d,null)).display=="none",f=d.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}(),i.removeChild(d),c&&h.removeChild(c)})();var k={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video".split(" "),shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:j};a.html5=k,j(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return o.call(a)=="[object Function]"}function e(a){return typeof a=="string"}function f(){}function g(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function h(){var a=p.shift();q=1,a?a.t?m(function(){(a.t=="c"?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){a!="img"&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l={},o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};y[c]===1&&(r=1,y[c]=[],l=b.createElement(a)),a=="object"?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),a!="img"&&(r||y[c]===2?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i(b=="c"?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=!!b.attachEvent,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return o.call(a)=="[object Array]"},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f .header-level-1:first-child, -#main_content > .header-level-2:first-child, -#main_content > .header-level-3:first-child, -#main_content > .header-level-4:first-child, -#main_content > .header-level-5:first-child, -#main_content > .header-level-6:first-child { - margin-top: 0; -} - -.header-level-1 { - font-size: 1.85em; - border-bottom: .2em double #d3ccc1; - color: #7c334f; - text-align: center; - font-style: italic; - margin: 1.1em 0 .38em; - line-height: 1.2; - padding-bottom: 10px -} - -.header-level-2 { - font-size: 1.58em; - color: #7c334f; - margin: .95em 0 .5em; - border-bottom: .1em solid #D3CCC1; - line-height: 1.2; - padding-bottom: 10px -} - -.header-level-3 { - margin: 20px 0 10px; - font-size: 1.45em; -} - -.header-level-4 { - margin: .6em 0; - font-size: 1.2em; - color: #cd596b; -} - -.header-level-5 { - margin: .7em 0; - font-size: 1em; - color: #8b786f; -} - -.header-level-6 { - margin: .8em 0; - font-size: .85em; - font-style: italic; -} \ No newline at end of file diff --git a/stylesheets/non-screen.css b/stylesheets/non-screen.css deleted file mode 100644 index eea5ecddbc..0000000000 --- a/stylesheets/non-screen.css +++ /dev/null @@ -1,154 +0,0 @@ -a#forkme_banner { - display: none; -} - -div.shell { - width: 640px; -} - - -header { - max-width:640px; - margin: 0; - top: 51px; -} - -header span.ribbon-inner { - border: 8px solid #7c334f; - padding: 6px; -} - -header span.left-tail, header span.right-tail { - width: 19px; - height: 10px; - background: transparent url(../images/ribbon-tail-sprite-2x.png) 0 0 no-repeat; - bottom: -10px; -} - -header span.left-tail { - left: 0; -} - -header span.right-tail { - background-position: -19px 0; - right: 0; -} - -header h1 { - font-size: 2em; -} - -section#downloads { - height: 171px; - width: 602px; - margin: 51px auto -250px; - background: transparent url(../images/shield.png) center 0 no-repeat; -} - -section#downloads a { - display: none; -} - -span.banner-fix { - background: transparent url(../images/shield-fallback.png) center top no-repeat; - height: 31px; - width: 640px; - top: 20px; -} - -section#main_content { - padding: 20px 40px 0; -} - -footer { - max-width:640px; - background: none; -} - -footer span.left-tail, footer span.right-tail { - width: 23px; - height: 126px; - background: transparent url(../images/small-ribbon-tail-sprite-2x.png) 0 0 no-repeat; - top: -126px; -} - -footer span.left-tail { - left: 0; -} - -footer span.right-tail { - background-position: -23px 0; - right: 0; -} - -footer p { - font-size: .6em; -} - -footer span.ribbon-inner { - border: 8px solid #7c334f; - padding: 6px; -} - -footer span.ribbon-inner p { - font-size: 22px; - height: auto; - line-height: 1.1; - padding: 20px 0px 10px; -} - -footer span.ribbon-inner a { - font-size: 38px; - display: block; - bottom: 0; - padding-bottom: 10px; -} - -footer span.octocat { - background: transparent url(../images/octocat-2x.png) 0 0 no-repeat; - width: 60px; - height: 60px; - margin: 20px auto 0; -} - -body { - font: normal normal 30px/1.5 Georgia, Palatino,” Palatino Linotype”, Times, “Times New Roman”, serif; -} - -ul li { - padding-left: 20px; - background: transparent url(../images/chevron-2x.png) left 15px no-repeat; -} - -table { - border-bottom: 4px solid #bdb6ad; -} - -th { - border-width: 0 4px 4px 0; -} - -td { - border-width: 0 4px 4px 0; -} - -pre { - border-bottom: 4px solid #bdb6ad; -} - -img { - -webkit-box-shadow: 0px 4px 0px #bdb6ad; - -moz-box-shadow: 0px 4px 0px #bdb6ad; - box-shadow: 0px 4px 0px #bdb6ad; - border: 4px solid #fff6e9; - max-width: 556px; -} - -blockquote { - background: transparent url('../images/blockquote-gfx-2x.png') 0 8px no-repeat; -} - -hr { - height: 42px; - background: transparent url('../images/hr-2x.jpg') center center repeat-x; -} \ No newline at end of file diff --git a/stylesheets/print.css b/stylesheets/print.css deleted file mode 100644 index 32d9a9d29e..0000000000 --- a/stylesheets/print.css +++ /dev/null @@ -1,34 +0,0 @@ -* { - background: none !important; - color: #333 !important; -} - -h1,h2,h3,h4,h5,h6 { - color: #7c334f !important; -} - -a { - color: #417090 !important; -} - -#main_content > .header-level-1:first-child, -#main_content > .header-level-2:first-child, -#main_content > .header-level-3:first-child, -#main_content > .header-level-4:first-child, -#main_content > .header-level-5:first-child, -#main_content > .header-level-6:first-child { - margin-top: 10px !important; -} - -#forkme_banner, -#downloads, -.left-tail, -.right-tail -{ -display: none !important; - -} - -.ribbon-inner,.ribbon-outer { - border: 0 !important; -} diff --git a/stylesheets/pygment_trac.css b/stylesheets/pygment_trac.css deleted file mode 100644 index c6a6452d24..0000000000 --- a/stylesheets/pygment_trac.css +++ /dev/null @@ -1,69 +0,0 @@ -.highlight { background: #ffffff; } -.highlight .c { color: #999988; font-style: italic } /* Comment */ -.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ -.highlight .k { font-weight: bold } /* Keyword */ -.highlight .o { font-weight: bold } /* Operator */ -.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ -.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ -.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ -.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */ -.highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #aa0000 } /* Generic.Error */ -.highlight .gh { color: #999999 } /* Generic.Heading */ -.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ -.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */ -.highlight .go { color: #888888 } /* Generic.Output */ -.highlight .gp { color: #555555 } /* Generic.Prompt */ -.highlight .gs { font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #800080; font-weight: bold; } /* Generic.Subheading */ -.highlight .gt { color: #aa0000 } /* Generic.Traceback */ -.highlight .kc { font-weight: bold } /* Keyword.Constant */ -.highlight .kd { font-weight: bold } /* Keyword.Declaration */ -.highlight .kn { font-weight: bold } /* Keyword.Namespace */ -.highlight .kp { font-weight: bold } /* Keyword.Pseudo */ -.highlight .kr { font-weight: bold } /* Keyword.Reserved */ -.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */ -.highlight .m { color: #009999 } /* Literal.Number */ -.highlight .s { color: #d14 } /* Literal.String */ -.highlight .na { color: #008080 } /* Name.Attribute */ -.highlight .nb { color: #0086B3 } /* Name.Builtin */ -.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ -.highlight .no { color: #008080 } /* Name.Constant */ -.highlight .ni { color: #800080 } /* Name.Entity */ -.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ -.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ -.highlight .nn { color: #555555 } /* Name.Namespace */ -.highlight .nt { color: #000080 } /* Name.Tag */ -.highlight .nv { color: #008080 } /* Name.Variable */ -.highlight .ow { font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ -.highlight .mf { color: #009999 } /* Literal.Number.Float */ -.highlight .mh { color: #009999 } /* Literal.Number.Hex */ -.highlight .mi { color: #009999 } /* Literal.Number.Integer */ -.highlight .mo { color: #009999 } /* Literal.Number.Oct */ -.highlight .sb { color: #d14 } /* Literal.String.Backtick */ -.highlight .sc { color: #d14 } /* Literal.String.Char */ -.highlight .sd { color: #d14 } /* Literal.String.Doc */ -.highlight .s2 { color: #d14 } /* Literal.String.Double */ -.highlight .se { color: #d14 } /* Literal.String.Escape */ -.highlight .sh { color: #d14 } /* Literal.String.Heredoc */ -.highlight .si { color: #d14 } /* Literal.String.Interpol */ -.highlight .sx { color: #d14 } /* Literal.String.Other */ -.highlight .sr { color: #009926 } /* Literal.String.Regex */ -.highlight .s1 { color: #d14 } /* Literal.String.Single */ -.highlight .ss { color: #990073 } /* Literal.String.Symbol */ -.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #008080 } /* Name.Variable.Class */ -.highlight .vg { color: #008080 } /* Name.Variable.Global */ -.highlight .vi { color: #008080 } /* Name.Variable.Instance */ -.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ - -.type-csharp .highlight .k { color: #0000FF } -.type-csharp .highlight .kt { color: #0000FF } -.type-csharp .highlight .nf { color: #000000; font-weight: normal } -.type-csharp .highlight .nc { color: #2B91AF } -.type-csharp .highlight .nn { color: #000000 } -.type-csharp .highlight .s { color: #A31515 } -.type-csharp .highlight .sc { color: #A31515 } diff --git a/stylesheets/screen.css b/stylesheets/screen.css deleted file mode 100644 index ba630203d6..0000000000 --- a/stylesheets/screen.css +++ /dev/null @@ -1,569 +0,0 @@ -/* Generated by Font Squirrel (http://www.fontsquirrel.com) on February 9, 2012 */ - - -@font-face { - font-family: 'Open Sans'; - src: url('../fonts/opensans-regular-webfont.eot'); - src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/opensans-regular-webfont.woff') format('woff'), - url('../fonts/opensans-regular-webfont.ttf') format('truetype'), - url('../fonts/opensans-regular-webfont.svg#OpenSansRegular') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../fonts/opensans-italic-webfont.eot'); - src: url('../fonts/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/opensans-italic-webfont.woff') format('woff'), - url('../fonts/opensans-italic-webfont.ttf') format('truetype'), - url('../fonts/opensans-italic-webfont.svg#OpenSansItalic') format('svg'); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../fonts/opensans-bold-webfont.eot'); - src: url('../fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/opensans-bold-webfont.woff') format('woff'), - url('../fonts/opensans-bold-webfont.ttf') format('truetype'), - url('../fonts/opensans-bold-webfont.svg#OpenSansBold') format('svg'); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../fonts/opensans-bolditalic-webfont.eot'); - src: url('../fonts/opensans-bolditalic-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/opensans-bolditalic-webfont.woff') format('woff'), - url('../fonts/opensans-bolditalic-webfont.ttf') format('truetype'), - url('../fonts/opensans-bolditalic-webfont.svg#OpenSansBoldItalic') format('svg'); - font-weight: bold; - font-style: italic; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../fonts/opensans-extrabold-webfont.eot'); - src: url('../fonts/opensans-extrabold-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/opensans-extrabold-webfont.woff') format('woff'), - url('../fonts/opensans-extrabold-webfont.ttf') format('truetype'), - url('../fonts/opensans-extrabold-webfont.svg#OpenSansExtrabold') format('svg'); - font-weight: 800; - font-style: normal; -} - -/* http://meyerweb.com/eric/tools/css/reset/ - v2.0 | 20110126 - License: none (public domain) -*/ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - line-height: 1; -} -ol, ul { - list-style: none; -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} -table { - border-collapse: collapse; - border-spacing: 0; -} - -header, footer, section { - display: block; - position: relative; -} - -/* STYLES */ - -div.shell { - display: block; - width: 670px; - margin: 0 auto; -} - -a#forkme_banner { - position: absolute; - top: 0; - left: 0; - width: 138px; - height: 138px; - display: block; - background: transparent url(../images/fork-sprite.png) 0 0 no-repeat; - text-indent: -9000px; - z-index: 3; -} - -a#forkme_banner:hover { - background-position: 0 -138px; -} - -/* header */ - -header { - position: relative; - z-index: 2; - margin: 0 auto; - max-width: 600px; - top: 38px; -} - -header span.ribbon-inner { - position: relative; - display: block; - background-color: #cd596b; - border: 4px solid #7c334f; - padding: 2px; - z-index: 1; -} - -header span.left-tail, header span.right-tail { - position: relative; - display: block; - width: 56px; - height: 105px; - background: transparent url(../images/ribbon-tail-sprite.png) 0 0 no-repeat; - position: absolute; - bottom: -37px; - z-index: 0; -} - -header span.left-tail { - background-position: 0 0; - left: -31px; -} - -header span.right-tail { - background-position: -56px 0; - right: -31px; -} - -header h1 { - background-color: #7c334f; - font-size: 2.5em; - font-weight: 800; - font-style: normal; - text-transform: uppercase; - color: #ece4d8; - text-align: center; - line-height:1; - padding: 14px 20px 0; -} - -header h2 { - background-color: #7c334f; - font: bold italic .85em/1.5 Georgia, Times, “Times New Roman”, serif; - color: #e69b95; - padding-bottom: 14px; - margin-top: -3px; - text-align: center; -} - -section#downloads, -div#no-downloads { - position: relative; - display: block; - height: 197px; - width: 550px; - padding-bottom: 150px; - margin: -80px auto -150px; - z-index: 1; - background: transparent url(../images/bg-ramp.jpg) center 171px no-repeat; -} - -div#no-downloads span.inner { - display: block; - position: relative; - height: 197px; - width: 550px; - background: transparent url(../images/download-sprite.png) 0 0 no-repeat; -} - -section#downloads a { - display: block; - position: relative; - height: 67px; - width: 275px; - padding-top: 130px; - background: transparent url(../images/download-sprite.png) 0 0 no-repeat; - text-align: center; - line-height: 1; - color: #fff; - font-family: 'Open Sans', Myriad, Calibri, sans-serif; - font-weight: 800; - font-size: 1.3em; -} - -section#downloads a:hover { - text-decoration: none; -} - -section#downloads a em { - font: bold italic 12px/1 Georgia, Times, “Times New Roman”, serif; - color: #83b7da; - display: block; -} - -section#downloads a.zip { - float: left; - background-position: 0 0; -} - -section#downloads a.tgz { - float: right; - background-position: -275px 0; -} - -section#downloads a.zip:hover { - background-position: 0 -197px; -} - -section#downloads a.tgz:hover { - background-position: -275px -197px; -} - -span.banner-fix { - background: transparent url(../images/download-fallback-bg.png) center top no-repeat; - display: block; - height: 19px; - position: absolute; - width: 670px; - top: 19px; -} - -section#main_content { - z-index: 2; - padding: 20px 82px 0; - min-height:185px; -} - -/* footer */ - -footer { - background: transparent url(../images/footer-ramp.jpg) center -1px no-repeat; - padding-top: 104px; - margin: -94px auto 40px; - max-width: 560px; - text-align: center; -} - -footer span.ribbon-outer { - display: block; - position: relative; - border-bottom: 2px solid #bdb6ad; -} - -footer span.ribbon-inner { - position: relative; - display: block; - background-color: #cd596b; - border: 2px solid #7c334f; - padding: 1px; - z-index: 1; -} - -footer p { - font-family: 'Open Sans', Myriad, Calibri, sans-serif; - font-weight: bold; - font-size: .8em; - color: #8b786f; -} - -footer a { - color: #cd596b; -} - -footer span.ribbon-inner p { - background-color: #7c334f; - margin: 0; - color: #e69b95; - font: bold italic 12px/1 Georgia, Times, “Times New Roman”, serif; - padding-bottom:4px; -} - -footer span.ribbon-inner a { - position: relative; - bottom: -1px; - color: #7eb0d2; - font-family: 'Open Sans', Myriad, Calibri, sans-serif; - text-transform: uppercase; - font-style: normal; - font-weight: 800; - font-size: 1.2em; -} - -footer span.ribbon-inner a:hover { - color: #7eb0d2; -} - -footer span.left-tail, footer span.right-tail { - position: relative; - display: block; - width: 18px; - height: 29px; - background: transparent url(../images/small-ribbon-tail-sprite.png) 0 0 no-repeat; - position: absolute; - bottom: 5px; - z-index: 0; -} - -footer span.left-tail { - background-position: 0 0; - left: -11px; -} - -footer span.right-tail { - background-position: -18px 0; - right: -11px; -} - -footer span.octocat { - background: transparent url(../images/octocat.png) 0 0 no-repeat; - display: block; - width: 30px; - height: 30px; - margin: 0 auto; -} - -/* content */ - -body { - background: #ece4d8; - font: normal normal 15px/1.5 Georgia, Palatino,” Palatino Linotype”, Times, “Times New Roman”, serif; - color: #544943; - -webkit-font-smoothing: antialiased; -} - -a, a:hover { - color: #417090; -} - -a { - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -h1,h2,h3,h4,h5,h6 { - font-family: 'Open Sans', Myriad, Calibri, sans-serif; - font-weight: bold; -} - -p { - margin: .7em 0; -} - -strong { - font-weight: bold; -} - -em { - font-style: italic; -} - -ol { - margin: .7em 0; - list-style-type: decimal; - padding-left: 1.35em; -} - -ul { - margin: .7em 0; - padding-left: 1.35em; -} - -ul li { - padding-left: 10px; - background: transparent url(../images/chevron.png) left 6px no-repeat; -} - -blockquote { - font-family: 'Open Sans', Myriad, Calibri, sans-serif; - margin: 20px 0; - color: #8b786f; - padding-left: 1.35em; - background: transparent url('../images/blockquote-gfx.png') 0 4px no-repeat; -} - -img { - -webkit-box-shadow: 0px 2px 0px #bdb6ad; - -moz-box-shadow: 0px 2px 0px #bdb6ad; - box-shadow: 0px 2px 0px #bdb6ad; - border: 2px solid #fff6e9; - max-width: 502px; -} - -hr { - border: none; - outline: none; - height: 18px; - background: transparent url('../images/hr.jpg') center center repeat-x; - margin: 0 0 20px; -} - -code { - background: #fff6e9; - font: normal normal .8em/1.7 "Lucida Sans Typewriter", "Lucida Console", Monaco, "Bitstream Vera Sans Mono", monospace; - padding: 0 5px 1px; -} - -pre { - margin: 10px 0 20px; - padding: .7em; - background: #fff6e9; - border-bottom: 2px solid #bdb6ad; - font: normal normal .9em/1.7 "Lucida Sans Typewriter", "Lucida Console", Monaco, "Bitstream Vera Sans Mono", monospace; - overflow: auto; -} - -pre code { - padding: 0; -} - -table { - background: #fff6e9; - display: table; - width: 100%; - border-collapse: separate; - border-bottom: 2px solid #bdb6ad; - margin: 10px 0; -} - -tr { - display: table-row; -} - -th { - display: table-cell; - padding: 2px 10px; - border: solid #ece4d8; - border-width: 0 2px 2px 0; - color: #cd596b; - font-family: 'Open Sans', Myriad, Calibri, sans-serif; - font-weight: bold; - font-size: .85em; -} - -td { - display: table-cell; - padding: 0 .7em; - border: solid #ece4d8; - border-width: 0 2px 2px 0; -} - -td:last-child, th:last-child { - border-right: none; -} - -tr:last-child td { - border-bottom: none; -} - -dl { - margin: .7em 0 20px; -} - -dt { - font-family: 'Open Sans', Myriad, Calibri, sans-serif; - font-weight: bold; -} - -dd { - padding-left: 1.35em; -} - -dd p:first-child { - margin-top: 0; -} - -/* Content based headers */ - -#main_content > .header-level-1:first-child, -#main_content > .header-level-2:first-child, -#main_content > .header-level-3:first-child, -#main_content > .header-level-4:first-child, -#main_content > .header-level-5:first-child, -#main_content > .header-level-6:first-child { - margin-top: 0; -} - -.header-level-1 { - font-size: 1.85em; - border-bottom: .2em double #d3ccc1; - color: #7c334f; - text-align: center; - font-style: italic; - margin: 1.1em 0 .38em; - line-height: 1.2; - padding-bottom: 10px -} - -.header-level-2 { - font-size: 1.58em; - color: #7c334f; - margin: .95em 0 .5em; - border-bottom: .1em solid #D3CCC1; - line-height: 1.2; - padding-bottom: 10px -} - -.header-level-3 { - margin: 20px 0 10px; - font-size: 1.45em; -} - -.header-level-4 { - margin: .6em 0; - font-size: 1.2em; - color: #cd596b; -} - -.header-level-5 { - margin: .7em 0; - font-size: 1em; - color: #8b786f; -} - -.header-level-6 { - margin: .8em 0; - font-size: .85em; - font-style: italic; -}