diff --git a/README.md b/README.md deleted file mode 100644 index eec345e..0000000 --- a/README.md +++ /dev/null @@ -1,76 +0,0 @@ -iQuery -====== - -> What is jQuery? - -iQuery is a JavaScript library fast, small and rich in resources, based on jQuery, however using the native capabilities of the browser. He does things like HTML document transverse and manipulation, event handling and Ajax much simpler with a gallery of the identical functions offered by jQuery, however this in turn does not work in IE, only in modern browsers like Firefox and Google Chrome. - -*** -Use date symbol informing the operator, eg $ operator that is used by jQuery - -``
-Or
-`` -*** - -See the documentation through the link -https://github.com/clever--code/iQuery/wiki/API-Documentation - - -The methods are implemented: -- - -- .obj() -- .html() -- .empty() -- .toggle() -- .each() -- .attr() -- .click() -- .live() -- .show() -- .fadeIn() -- .hide() -- .fadeOut() -- .parent() -- .googleChart() -- .val() -- .post() -- .get() -- .load() -- .ajax() -- .onScroll() -- .scroll() -- .scrollX() -- .scrollY() -- .scrollByPages() -- .scrollByLines() -- .scrollTo() -- .scrollBy() -- .factScrollTopAfter() -- .addClass() -- .removeClass() -- .toggleClass() -- .lastChild() -- .length() -- .onLine() -- .desktopDragOut() - -*** - -Technical and institutional -- - -iQuery - Independent querys to DOM elements - -* Independence Query Library vBeta -* http://clevercode.com.br/ -* Copyright 2012 CleverCode Foundation -* -* Charge: Miller Augusto S. Martins, Alex dos Santos Liberato -* contato@clevercode.com.br -* -* GNU General Public License -* http://www.gnu.org/licenses/gpl-3.0.en.html -* -* Date: 2013-07-29T23:44 diff --git a/fonts/opensans-bold-webfont.eot b/fonts/opensans-bold-webfont.eot new file mode 100644 index 0000000..b5bad08 Binary files /dev/null and b/fonts/opensans-bold-webfont.eot differ diff --git a/fonts/opensans-bold-webfont.svg b/fonts/opensans-bold-webfont.svg new file mode 100644 index 0000000..1557f68 --- /dev/null +++ b/fonts/opensans-bold-webfont.svg @@ -0,0 +1,251 @@ + + + + +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 new file mode 100644 index 0000000..338220f Binary files /dev/null and b/fonts/opensans-bold-webfont.ttf differ diff --git a/fonts/opensans-bold-webfont.woff b/fonts/opensans-bold-webfont.woff new file mode 100644 index 0000000..ea6007b Binary files /dev/null and b/fonts/opensans-bold-webfont.woff differ diff --git a/fonts/opensans-bolditalic-webfont.eot b/fonts/opensans-bolditalic-webfont.eot new file mode 100644 index 0000000..d892fd9 Binary files /dev/null and b/fonts/opensans-bolditalic-webfont.eot differ diff --git a/fonts/opensans-bolditalic-webfont.svg b/fonts/opensans-bolditalic-webfont.svg new file mode 100644 index 0000000..24661f3 --- /dev/null +++ b/fonts/opensans-bolditalic-webfont.svg @@ -0,0 +1,251 @@ + + + + +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 new file mode 100644 index 0000000..b3eb0d3 Binary files /dev/null and b/fonts/opensans-bolditalic-webfont.ttf differ diff --git a/fonts/opensans-bolditalic-webfont.woff b/fonts/opensans-bolditalic-webfont.woff new file mode 100644 index 0000000..1712e15 Binary files /dev/null and b/fonts/opensans-bolditalic-webfont.woff differ diff --git a/fonts/opensans-extrabold-webfont.eot b/fonts/opensans-extrabold-webfont.eot new file mode 100644 index 0000000..0e88f02 Binary files /dev/null and b/fonts/opensans-extrabold-webfont.eot differ diff --git a/fonts/opensans-extrabold-webfont.svg b/fonts/opensans-extrabold-webfont.svg new file mode 100644 index 0000000..c3d6642 --- /dev/null +++ b/fonts/opensans-extrabold-webfont.svg @@ -0,0 +1,251 @@ + + + + +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 new file mode 100644 index 0000000..bec521d Binary files /dev/null and b/fonts/opensans-extrabold-webfont.ttf differ diff --git a/fonts/opensans-extrabold-webfont.woff b/fonts/opensans-extrabold-webfont.woff new file mode 100644 index 0000000..a24b205 Binary files /dev/null and b/fonts/opensans-extrabold-webfont.woff differ diff --git a/fonts/opensans-italic-webfont.eot b/fonts/opensans-italic-webfont.eot new file mode 100644 index 0000000..3593c12 Binary files /dev/null and b/fonts/opensans-italic-webfont.eot differ diff --git a/fonts/opensans-italic-webfont.svg b/fonts/opensans-italic-webfont.svg new file mode 100644 index 0000000..537d20c --- /dev/null +++ b/fonts/opensans-italic-webfont.svg @@ -0,0 +1,251 @@ + + + + +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 new file mode 100644 index 0000000..ddc75c6 Binary files /dev/null and b/fonts/opensans-italic-webfont.ttf differ diff --git a/fonts/opensans-italic-webfont.woff b/fonts/opensans-italic-webfont.woff new file mode 100644 index 0000000..302cb00 Binary files /dev/null and b/fonts/opensans-italic-webfont.woff differ diff --git a/fonts/opensans-regular-webfont.eot b/fonts/opensans-regular-webfont.eot new file mode 100644 index 0000000..1c64986 Binary files /dev/null and b/fonts/opensans-regular-webfont.eot differ diff --git a/fonts/opensans-regular-webfont.svg b/fonts/opensans-regular-webfont.svg new file mode 100644 index 0000000..ead219a --- /dev/null +++ b/fonts/opensans-regular-webfont.svg @@ -0,0 +1,252 @@ + + + + +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 new file mode 100644 index 0000000..99a1ece Binary files /dev/null and b/fonts/opensans-regular-webfont.ttf differ diff --git a/fonts/opensans-regular-webfont.woff b/fonts/opensans-regular-webfont.woff new file mode 100644 index 0000000..826d643 Binary files /dev/null and b/fonts/opensans-regular-webfont.woff differ diff --git a/images/bg-ramp.jpg b/images/bg-ramp.jpg new file mode 100644 index 0000000..2b951e4 Binary files /dev/null and b/images/bg-ramp.jpg differ diff --git a/images/blockquote-gfx-2x.png b/images/blockquote-gfx-2x.png new file mode 100644 index 0000000..01addbd Binary files /dev/null and b/images/blockquote-gfx-2x.png differ diff --git a/images/blockquote-gfx.png b/images/blockquote-gfx.png new file mode 100644 index 0000000..5611d69 Binary files /dev/null and b/images/blockquote-gfx.png differ diff --git a/images/chevron-2x.png b/images/chevron-2x.png new file mode 100644 index 0000000..96e3ce9 Binary files /dev/null and b/images/chevron-2x.png differ diff --git a/images/chevron.png b/images/chevron.png new file mode 100644 index 0000000..55b1b73 Binary files /dev/null and b/images/chevron.png differ diff --git a/images/download-fallback-bg.png b/images/download-fallback-bg.png new file mode 100644 index 0000000..6179dc6 Binary files /dev/null and b/images/download-fallback-bg.png differ diff --git a/images/download-sprite.png b/images/download-sprite.png new file mode 100644 index 0000000..62ef48d Binary files /dev/null and b/images/download-sprite.png differ diff --git a/images/footer-ramp.jpg b/images/footer-ramp.jpg new file mode 100644 index 0000000..fd35c2a Binary files /dev/null and b/images/footer-ramp.jpg differ diff --git a/images/fork-sprite.png b/images/fork-sprite.png new file mode 100644 index 0000000..a4e48b3 Binary files /dev/null and b/images/fork-sprite.png differ diff --git a/images/hr-2x.jpg b/images/hr-2x.jpg new file mode 100644 index 0000000..ddd89f1 Binary files /dev/null and b/images/hr-2x.jpg differ diff --git a/images/hr.jpg b/images/hr.jpg new file mode 100644 index 0000000..bc6f7e7 Binary files /dev/null and b/images/hr.jpg differ diff --git a/images/octocat-2x.png b/images/octocat-2x.png new file mode 100644 index 0000000..c720132 Binary files /dev/null and b/images/octocat-2x.png differ diff --git a/images/octocat.png b/images/octocat.png new file mode 100644 index 0000000..cbe4a18 Binary files /dev/null and b/images/octocat.png differ diff --git a/images/ribbon-tail-sprite-2x.png b/images/ribbon-tail-sprite-2x.png new file mode 100644 index 0000000..7df408a Binary files /dev/null and b/images/ribbon-tail-sprite-2x.png differ diff --git a/images/ribbon-tail-sprite.png b/images/ribbon-tail-sprite.png new file mode 100644 index 0000000..a754912 Binary files /dev/null and b/images/ribbon-tail-sprite.png differ diff --git a/images/shield-fallback.png b/images/shield-fallback.png new file mode 100644 index 0000000..a451160 Binary files /dev/null and b/images/shield-fallback.png differ diff --git a/images/shield.png b/images/shield.png new file mode 100644 index 0000000..5115c33 Binary files /dev/null and b/images/shield.png differ diff --git a/images/site-2.png b/images/site-2.png new file mode 100644 index 0000000..2a549a7 Binary files /dev/null and b/images/site-2.png differ diff --git a/images/small-ribbon-tail-sprite-2x.png b/images/small-ribbon-tail-sprite-2x.png new file mode 100644 index 0000000..64563db Binary files /dev/null and b/images/small-ribbon-tail-sprite-2x.png differ diff --git a/images/small-ribbon-tail-sprite.png b/images/small-ribbon-tail-sprite.png new file mode 100644 index 0000000..8a8e32e Binary files /dev/null and b/images/small-ribbon-tail-sprite.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..57213f5 --- /dev/null +++ b/index.html @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + iQuery by clever--code + + + + View on GitHub +
+ +
+ + +

iQuery

+

iQuery - Independent querys to DOM elements

+
+ + +
+
+ +
+ + download .ZIPdownload .TGZ + +
+ + + + + +
+

+Welcome to GitHub Pages.

+ +

This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:

+ +
$ cd your_repo_root/repo_name
+$ git fetch origin
+$ git checkout gh-pages
+
+ +

If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

+ +

+Designer Templates

+ +

We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

+ +

+Rather Drive Stick?

+ +

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

+ +

+Authors and Contributors

+ +

You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

+ +

+Support or Contact

+ +

Having trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.

+
+ + + +
+ + + + diff --git a/iquery-1.3.mini.js b/iquery-1.3.mini.js new file mode 100644 index 0000000..4373407 --- /dev/null +++ b/iquery-1.3.mini.js @@ -0,0 +1,31 @@ +/*! + * Independence Query Library vBeta + * http://clevercode.com.br/ + * Copyright 2012 CleverCode Foundation + * + * Charge: Miller Augusto S. Martins, Alex dos Santos Liberato + * contato@clevercode.com.br + * + * GNU General Public License + * http://www.gnu.org/licenses/gpl-3.0.en.html + * + * Date: 2013-07-29T23:44 + * + * http://closure-compiler.appspot.com/ + */ + +(function(f){f.$i=f.iQuery=function(){var e={};try{e=1==arguments.length?document.querySelectorAll(arguments[0]):document.querySelectorAll("body")}catch(f){e=arguments[0]}var d=function(d,a){void 0==this.constructor.length?d():a()},h=function(d,a,b){1==d.length?b():a()};return function(e){this.constructor=e;this.obj=function(){var a=arguments;if(void 0==constructor.length)return this.constructor;if(1==constructor.length)return this.constructor[0];[].map.call(this.constructor,function(b){a[0](b)})}; +this.html=function(){var a=this,b=arguments;h(b,function(){d(function(){a=a.constructor.innerHTML},function(){var b=[].map.call(a.constructor,function(a){return a.innerHTML});a=1===b.length?b[0]:b})},function(){d(function(){a.constructor.innerHTML=b[0]},function(){var c=b[0];[].map.call(a.constructor,function(a){a.innerHTML=c})})});return a};this.empty=function(){var a=this;d(function(){a.constructor.innerHTML=""},function(){[].map.call(a.constructor,function(a){a.innerHTML=""})})};this.toggle=function(){var a= +this;d(function(){a.constructor.style.display=""===a.constructor.style.display?"none":"none"===a.constructor.style.display?"inline-block":"none"},function(){[].map.call(a.constructor,function(a){a.style.display=""===a.style.display?"none":"none"===a.style.display?"inline-block":"none"})})};this.each=this.forEach=function(a){[].map.call(this.constructor,function(b){a(b)})};this.attr=function(){var a=this,b=arguments;h(b,function(){d(function(){a.constructor.setAttribute(b[0],b[1])},function(){[].map.call(a.constructor, +function(a){a.setAttribute(b[0],b[1])})})},function(){d(function(){a=a.constructor.getAttribute(b[0])},function(){a=[].map.call(a.constructor,function(a){return a.getAttribute(b[0])})})});return a};this.click=function(a){var b=this;d(function(){constructor.addEventListener("click",a)},function(){[].map.call(b.constructor,function(b){b.addEventListener("click",a)})})};this.live=function(){var a=function(a,b){var c=this;d(function(){c.constructor.addEventListener(a,b)},function(){[].map.call(c.constructor, +function(c){c.addEventListener(a,b)})})};if(2>=arguments.length){var b=arguments[0],c=arguments[1];a(b,c)}else for(var g=0;g=a};this.addClass=function(a){var b=this;d(function(){b.constructor.className+=" "+a},function(){[].map.call(b.constructor,function(b){b.className+=" "+a})})};this.removeClass=function(a){var b=this;d(function(){this.constructor.className= +b.constructor.className.replace(a,"")},function(){[].map.call(b.constructor,function(b){b.className=b.className.replace(a,"").trim()})})};this.lastChild=function(a){var b=this;d(function(){return b.constructor.lastChild},function(){return[].map.call(b.constructor,function(a){return a.lastChild})})};this.length=function(a){var b=this;d(function(){},function(){return b.constructor.length})};this.onLine=function(){return this.navigator.onLine};return this}(e)};[].map.call(document.querySelectorAll("script"), +function(e){void 0!=e.dataset.symbol&&(new Function("window."+e.dataset.symbol+" = iQuery;"))()})})(window); diff --git a/iquery-1.5.mini.js b/iquery-1.5.mini.js new file mode 100644 index 0000000..ea94828 --- /dev/null +++ b/iquery-1.5.mini.js @@ -0,0 +1,30 @@ +/*! + * Independence Query Library vBeta + * http://clevercode.com.br/ + * Copyright 2012 CleverCode Foundation + * + * Charge: Miller Augusto S. Martins, Alex dos Santos Liberato + * contato@clevercode.com.br + * + * GNU General Public License + * http://www.gnu.org/licenses/gpl-3.0.en.html + * + * Date: 2013-07-29T23:44 + * + * http://closure-compiler.appspot.com/ + */ +(function(f){f.$i=f.iQuery=function(){var e={};try{e=1==arguments.length?document.querySelectorAll(arguments[0]):document.querySelectorAll("body")}catch(f){e=arguments[0]}var d=function(d,a){void 0==this.constructor.length?d():a()},h=function(d,a,b){1==d.length?b():a()};return function(e){this.constructor=e;this.obj=function(){var a=arguments;if(void 0==constructor.length)return this.constructor;if(1==constructor.length)return this.constructor[0];[].map.call(this.constructor,function(b){a[0](b)})}; +this.html=function(){var a=this,b=arguments;h(b,function(){d(function(){a=a.constructor.innerHTML},function(){var b=[].map.call(a.constructor,function(a){return a.innerHTML});a=1===b.length?b[0]:b})},function(){d(function(){a.constructor.innerHTML=b[0]},function(){var c=b[0];[].map.call(a.constructor,function(a){a.innerHTML=c})})});return a};this.empty=function(){var a=this;d(function(){a.constructor.innerHTML=""},function(){[].map.call(a.constructor,function(a){a.innerHTML=""})})};this.toggle=function(){var a= +this;d(function(){a.constructor.style.display=""===a.constructor.style.display?"none":"none"===a.constructor.style.display?"inline-block":"none"},function(){[].map.call(a.constructor,function(a){a.style.display=""===a.style.display?"none":"none"===a.style.display?"inline-block":"none"})})};this.each=this.forEach=function(a){[].map.call(this.constructor,function(b){a(b)})};this.attr=function(){var a=this,b=arguments;h(b,function(){d(function(){a.constructor.setAttribute(b[0],b[1])},function(){[].map.call(a.constructor, +function(a){a.setAttribute(b[0],b[1])})})},function(){d(function(){a=a.constructor.getAttribute(b[0])},function(){a=[].map.call(a.constructor,function(a){return a.getAttribute(b[0])})})});return a};this.click=function(a){var b=this;d(function(){constructor.addEventListener("click",a)},function(){[].map.call(b.constructor,function(b){b.addEventListener("click",a)})})};this.live=function(){var a=function(a,b){var c=this;d(function(){c.constructor.addEventListener(a,b)},function(){[].map.call(c.constructor, +function(c){c.addEventListener(a,b)})})};if(2>=arguments.length){var b=arguments[0],c=arguments[1];a(b,c)}else for(var g=0;g=a};this.addClass=function(a){var b=this;d(function(){b.constructor.classList.add(a)},function(){[].map.call(b.constructor,function(b){b.classList.add(a)})})};this.removeClass=function(a){var b=this;d(function(){b.constructor.classList.remove(a)}, +function(){[].map.call(b.constructor,function(b){b.classList.remove(a)})})};this.toggleClass=function(a){var b=this;d(function(){b.constructor.classList.toggle(a)},function(){[].map.call(b.constructor,function(b){b.classList.toggle(a)})})};this.lastChild=function(a){var b=this;d(function(){return b.constructor.lastChild},function(){return[].map.call(b.constructor,function(a){return a.lastChild})})};this.length=function(a){var b=this;d(function(){},function(){return b.constructor.length})};this.onLine= +function(){return this.navigator.onLine};return this}(e)};[].map.call(document.querySelectorAll("script"),function(e){void 0!=e.dataset.symbol&&(new Function("window."+e.dataset.symbol+" = iQuery;"))()})})(window); diff --git a/iquery-1.6.mini.js b/iquery-1.6.mini.js new file mode 100644 index 0000000..7390428 --- /dev/null +++ b/iquery-1.6.mini.js @@ -0,0 +1,31 @@ +/*! + * Independence Query Library vBeta + * http://clevercode.com.br/ + * Copyright 2012 CleverCode Foundation + * + * Charge: Miller Augusto S. Martins, Alex dos Santos Liberato + * contato@clevercode.com.br + * + * GNU General Public License + * http://www.gnu.org/licenses/gpl-3.0.en.html + * + * Date: 2013-07-29T23:44 + * + * http://closure-compiler.appspot.com/ + */ +(function(f){f.$i=f.iQuery=function(){var e={};try{e=1==arguments.length?document.querySelectorAll(arguments[0]):document.querySelectorAll("body")}catch(f){e=arguments[0]}var d=function(d,a){void 0==this.constructor.length?d():a()},h=function(d,a,b){1==d.length?b():a()};return function(e){this.constructor=e;this.obj=function(){var a=arguments;if(void 0==constructor.length)return this.constructor;if(1==constructor.length)return this.constructor[0];[].map.call(this.constructor,function(b){a[0](b)})}; +this.html=function(){var a=this,b=arguments;h(b,function(){d(function(){a=a.constructor.innerHTML},function(){var b=[].map.call(a.constructor,function(a){return a.innerHTML});a=1===b.length?b[0]:b})},function(){d(function(){a.constructor.innerHTML=b[0]},function(){var c=b[0];[].map.call(a.constructor,function(a){a.innerHTML=c})})});return a};this.empty=function(){var a=this;d(function(){a.constructor.innerHTML=""},function(){[].map.call(a.constructor,function(a){a.innerHTML=""})})};this.toggle=function(){var a= +this;d(function(){a.constructor.style.display=""===a.constructor.style.display?"none":"none"===a.constructor.style.display?"inline-block":"none"},function(){[].map.call(a.constructor,function(a){a.style.display=""===a.style.display?"none":"none"===a.style.display?"inline-block":"none"})})};this.each=this.forEach=function(a){[].map.call(this.constructor,function(b){a(b)})};this.attr=function(){var a=this,b=arguments;h(b,function(){d(function(){a.constructor.setAttribute(b[0],b[1])},function(){[].map.call(a.constructor, +function(a){a.setAttribute(b[0],b[1])})})},function(){d(function(){a=a.constructor.getAttribute(b[0])},function(){a=[].map.call(a.constructor,function(a){return a.getAttribute(b[0])})})});return a};this.click=function(a){var b=this;d(function(){constructor.addEventListener("click",a)},function(){[].map.call(b.constructor,function(b){b.addEventListener("click",a)})})};this.live=function(){var a=function(a,b){var c=this;d(function(){c.constructor.addEventListener(a,b)},function(){[].map.call(c.constructor, +function(c){c.addEventListener(a,b)})})};if(2>=arguments.length){var b=arguments[0],c=arguments[1];a(b,c)}else for(var g=0;g=a};this.addClass=function(a){var b=this;d(function(){b.constructor.classList.add(a)},function(){[].map.call(b.constructor,function(b){b.classList.add(a)})})};this.removeClass=function(a){var b=this;d(function(){b.constructor.classList.remove(a)}, +function(){[].map.call(b.constructor,function(b){b.classList.remove(a)})})};this.toggleClass=function(a){var b=this;d(function(){b.constructor.classList.toggle(a)},function(){[].map.call(b.constructor,function(b){b.classList.toggle(a)})})};this.lastChild=function(a){var b=this;d(function(){return b.constructor.lastChild},function(){return[].map.call(b.constructor,function(a){return a.lastChild})})};this.length=function(a){var b=this;d(function(){},function(){return b.constructor.length})};this.onLine= +function(){return this.navigator.onLine};this.desktopDragOut=function(a,b){var c=this;d(function(){c.constructor.setAttribute("data-downloadurl",a+":"+b+":"+(void 0!=c.constructor.getAttribute("href")?c.constructor.getAttribute("href"):void 0!=c.constructor.getAttribute("src")?c.constructor.getAttribute("src"):""));c.constructor.setAttribute("draggable","true");c.constructor.addEventListener("dragstart",function(a){a.dataTransfer.setData("DownloadURL",this.dataset.downloadurl)},!1)},function(){[].map.call(c.constructor, +function(c){(function(){c.setAttribute("data-downloadurl",a+":"+b+":"+(void 0!=c.getAttribute("href")?c.getAttribute("href"):void 0!=c.getAttribute("src")?c.getAttribute("src"):""));c.setAttribute("draggable","true");c.addEventListener("dragstart",function(a){a.dataTransfer.setData("DownloadURL",c.getAttribute("data-downloadurl"))},!1)})()})})};return this}(e)};[].map.call(document.querySelectorAll("script"),function(e){void 0!=e.dataset.symbol&&(new Function("window."+e.dataset.symbol+" = iQuery;"))()})})(window); diff --git a/iquery/iQuery.mini.js b/iquery-1.7.mini.js similarity index 64% rename from iquery/iQuery.mini.js rename to iquery-1.7.mini.js index d91aeb9..f9559c2 100644 --- a/iquery/iQuery.mini.js +++ b/iquery-1.7.mini.js @@ -19,12 +19,9 @@ function(c){c.addEventListener(a,b)})})};if(2>=arguments.length){var b=arguments "opacity "+b;c.style.MozTransition="opacity "+b;c.constructor.style.opacity="1"},function(){[].map.call(c.constructor,function(a){a.style.transition=b;a.style.WebkitTransition="opacity "+b;a.style.MozTransition="opacity "+b;a.style.opacity="1"})})};this.hide=function(){var a=this;d(function(){a.constructor.style.display="none"},function(){[].map.call(a.constructor,function(a){a.style.display="none"})})};this.fadeOut=function(a){var b=void 0!=a?"2s":"0.4s",c=this;d(function(){c.constructor.style.transition= b;c.style.WebkitTransition="opacity "+b;c.style.MozTransition="opacity "+b;c.constructor.style.opacity="0"},function(){[].map.call(c.constructor,function(a){a.style.transition=b;a.style.WebkitTransition="opacity "+b;a.style.MozTransition="opacity "+b;a.style.opacity="0"})})};this.parent=function(){var a=this;d(function(){return a.constructor.parentNode},function(){return a.constructor[0].parentNode})};this.googleChart=function(a,b,c){b=google.visualization.arrayToDataTable(b);switch(a){case "LineChart":(new google.visualization.LineChart(this.constructor[0])).draw(b, c);break;case "PieChart":(new google.visualization.PieChart(this.constructor[0])).draw(b,c);break;case "BarChart":(new google.visualization.BarChart(this.constructor[0])).draw(b,c);break;case "ColumnChart":(new google.visualization.ColumnChart(this.constructor[0])).draw(b,c);break;case "Table":(new google.visualization.Table(this.constructor[0])).draw(b,c);break;default:(new google.visualization.PieChart(this.constructor[0])).draw(b,c)}};this.val=function(){var a=this;d(function(){return a.constructor.value}, -function(){var b=[].map.call(a.constructor,function(a){return a.value});a=1===b.length?b[0]:b});return a};this.post=function(){var a=new XMLHttpRequest,b=arguments[arguments.length-1];a.open("POST",arguments[0],!0);a.setRequestHeader("Content-type","application/x-www-form-urlencoded");a.onload=function(){b(eval("["+this.response+"]")[0])};var c="";if(3==arguments.length)for(key in arguments[1])c+=encodeURIComponent(key)+"="+encodeURIComponent(escape(arguments[1][key]))+"&";a.send(c)};this.get=function(){var a= -new XMLHttpRequest,b=arguments[arguments.length-1];a.open("GET",arguments[0],!0);a.setRequestHeader("Content-type","application/x-www-form-urlencoded");a.onload=function(){b(eval("["+this.response+"]")[0])};var c="";if(3==arguments.length)for(key in arguments[1])c+=encodeURIComponent(key)+"="+encodeURIComponent(escape(arguments[1][key]))+"&";a.send(c)};this.load=function(){var a=arguments,b=new XMLHttpRequest,c=this.constructor;b.open("GET",a[0],!0);b.setRequestHeader("Content-type","application/x-www-form-urlencoded"); +function(){var b=[].map.call(a.constructor,function(a){return a.value});a=1===b.length?b[0]:b});return a};this.post=function(){var a=new XMLHttpRequest,b=arguments[arguments.length-1];a.open("POST",arguments[0],!0);a.setRequestHeader("Content-type","application/x-www-form-urlencoded");a.onload=function(){b(eval("["+this.response+"]")[0])};var c="";if(3==arguments.length)for(key in arguments[1])c+=encodeURIComponent(key)+"="+encodeURIComponent(arguments[1][key])+"&";a.send(c)};this.get=function(){var a= +new XMLHttpRequest,b=arguments[arguments.length-1];a.open("GET",arguments[0],!0);a.setRequestHeader("Content-type","application/x-www-form-urlencoded");a.onload=function(){b(eval("["+this.response+"]")[0])};var c="";if(3==arguments.length)for(key in arguments[1])c+=encodeURIComponent(key)+"="+encodeURIComponent(arguments[1][key])+"&";a.send(c)};this.load=function(){var a=arguments,b=new XMLHttpRequest,c=this.constructor;b.open("GET",a[0],!0);b.setRequestHeader("Content-type","application/x-www-form-urlencoded"); b.setRequestHeader("Cache-Control","no-cache");b.onload=function(){var b=this.response;void 0==c.length?c.innerHTML=b:[].map.call(c,function(a){a.innerHTML=b});if(2==a.length)a[1]()};b.send()};this.ajax=function(a,b){var c=new XMLHttpRequest,d="";c.open(a.type,a.url,void 0!=a.async?a.async:!1);c.setRequestHeader("Content-type",void 0!=a.contentType?a.contentType:"application/x-www-form-urlencoded");c.setRequestHeader("Cache-Control",void 0!=a.CacheControl?a.CacheControl:"no-cache");c.onreadystatechange= -function(){4==this.readyState&&(200==this.status?"json"===a.dataType?b(eval("["+this.response+"]")[0]):b(this.response):b({error:this.statusText}))};for(key in a.data)d+=encodeURIComponent(key)+"="+encodeURIComponent(escape(a.data[key]))+"&";c.send(d)};this.onScroll=function(a){f.addEventListener("scroll",function(b){a(b)})};this.scroll=function(){var a=this;d(function(){a.constructor.scrollIntoView()},function(){[].map.call(a.constructor,function(a){a.scrollIntoView()})})};this.scrollX=function(){return this.top.scrollX}; -this.scrollY=function(){return this.top.scrollY};this.scrollByPages=function(a){return this.top.scrollByPages(a)};this.scrollByLines=function(a){return this.top.scrollByLines(a)};this.scrollTo=function(a,b){return this.top.scroll(a,b)};this.scrollBy=function(a,b){return this.top.scrollBy(a,b)};this.factScrollTopAfter=function(a){return this.top.scrollY>=a};this.addClass=function(a){var b=this;d(function(){b.constructor.classList.add(a)},function(){[].map.call(b.constructor,function(b){b.classList.add(a)})})}; -this.removeClass=function(a){var b=this;d(function(){b.constructor.classList.remove(a)},function(){[].map.call(b.constructor,function(b){b.classList.remove(a)})})};this.toggleClass=function(a){var b=this;d(function(){b.constructor.classList.toggle(a)},function(){[].map.call(b.constructor,function(b){b.classList.toggle(a)})})};this.lastChild=function(a){var b=this;d(function(){return b.constructor.lastChild},function(){return[].map.call(b.constructor,function(a){return a.lastChild})})};this.length= -function(a){var b=this;d(function(){},function(){return b.constructor.length})};this.onLine=function(){return this.navigator.onLine};this.desktopDragOut=function(a,b){var c=this;d(function(){c.constructor.setAttribute("data-downloadurl",a+":"+b+":"+(void 0!=c.constructor.getAttribute("href")?c.constructor.getAttribute("href"):void 0!=c.constructor.getAttribute("src")?c.constructor.getAttribute("src"):""));c.constructor.setAttribute("draggable","true");c.constructor.addEventListener("dragstart",function(a){a.dataTransfer.setData("DownloadURL", -this.dataset.downloadurl)},!1)},function(){[].map.call(c.constructor,function(c){(function(){c.setAttribute("data-downloadurl",a+":"+b+":"+(void 0!=c.getAttribute("href")?c.getAttribute("href"):void 0!=c.getAttribute("src")?c.getAttribute("src"):""));c.setAttribute("draggable","true");c.addEventListener("dragstart",function(a){a.dataTransfer.setData("DownloadURL",c.getAttribute("data-downloadurl"))},!1)})()})})};this.alert=function(a){var b=void 0!=a.img?a.img:"",c=void 0!=a.title?a.title:"";a=void 0!= -a.text?a.text:"";f.webkitNotifications.requestPermission();0==f.webkitNotifications.checkPermission()?f.webkitNotifications.createNotification(b,c,a).show():alert(c+"\n"+a)};return this}(e)};[].map.call(document.querySelectorAll("script"),function(e){void 0!=e.dataset.symbol&&(new Function("window."+e.dataset.symbol+" = iQuery;"))()})})(window); +function(){4==this.readyState&&(200==this.status?"json"===a.dataType?b(eval("["+this.response+"]")[0]):b(this.response):b({error:this.statusText}))};for(key in a.data)d+=encodeURIComponent(key)+"="+encodeURIComponent(a.data[key])+"&";c.send(d)};this.onScroll=function(a){f.addEventListener("scroll",function(b){a(b)})};this.scroll=function(){var a=this;d(function(){a.constructor.scrollIntoView()},function(){[].map.call(a.constructor,function(a){a.scrollIntoView()})})};this.scrollX=function(a){return this.top.scrollX}; +this.scrollY=function(a){return this.top.scrollY};this.factScrollTopAfter=function(a){return this.top.scrollY>=a};this.addClass=function(a){var b=this;d(function(){b.constructor.className+=" "+a},function(){[].map.call(b.constructor,function(b){b.className+=" "+a})})};this.removeClass=function(a){var b=this;d(function(){this.constructor.className=b.constructor.className.replace(a,"")},function(){[].map.call(b.constructor,function(b){b.className=b.className.replace(a,"").trim()})})};this.lastChild= +function(a){var b=this;d(function(){return b.constructor.lastChild},function(){return[].map.call(b.constructor,function(a){return a.lastChild})})};this.length=function(a){var b=this;d(function(){},function(){return b.constructor.length})};this.onLine=function(){return this.navigator.onLine};return this}(e)};[].map.call(document.querySelectorAll("script"),function(e){void 0!=e.dataset.symbol&&(new Function("window."+e.dataset.symbol+" = iQuery;"))()})})(window); diff --git a/iquery/.buildpath b/iquery/.buildpath deleted file mode 100644 index 8bcb4b5..0000000 --- a/iquery/.buildpath +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/iquery/.project b/iquery/.project deleted file mode 100644 index 07ddf55..0000000 --- a/iquery/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - iquery - - - - - - org.eclipse.wst.jsdt.core.javascriptValidator - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - org.eclipse.dltk.core.scriptbuilder - - - - - - org.eclipse.php.core.PHPNature - org.eclipse.wst.common.project.facet.core.nature - org.eclipse.wst.jsdt.core.jsNature - - diff --git a/iquery/.settings/.jsdtscope b/iquery/.settings/.jsdtscope deleted file mode 100644 index d8256b7..0000000 --- a/iquery/.settings/.jsdtscope +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/iquery/.settings/org.eclipse.php.core.prefs b/iquery/.settings/org.eclipse.php.core.prefs deleted file mode 100644 index 08c1252..0000000 --- a/iquery/.settings/org.eclipse.php.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -include_path=0;/iquery diff --git a/iquery/.settings/org.eclipse.wst.common.project.facet.core.xml b/iquery/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index ad32966..0000000 --- a/iquery/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/iquery/.settings/org.eclipse.wst.jsdt.ui.superType.container b/iquery/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100644 index 3bd5d0a..0000000 --- a/iquery/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/iquery/.settings/org.eclipse.wst.jsdt.ui.superType.name b/iquery/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100644 index 05bd71b..0000000 --- a/iquery/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Window \ No newline at end of file diff --git a/iquery/iQuery.js b/iquery/iQuery.js deleted file mode 100644 index d117e09..0000000 --- a/iquery/iQuery.js +++ /dev/null @@ -1,615 +0,0 @@ -/*! - * Independence Query Library vBeta - * http://clevercode.com.br/ - * Copyright 2012 CleverCode Foundation - * - * Charge: Miller Augusto S. Martins, Alex dos Santos Liberato - * contato@clevercode.com.br - * - * GNU General Public License - * http://www.gnu.org/licenses/gpl-3.0.en.html - * - * Date: 2013-07-29T23:44 - * - * http://closure-compiler.appspot.com/ - */ - -(function(window) { - var iQuery = function(){ - - /* - * the builder instance - * */ - var atributes = {}; try { atributes = (arguments.length == 1)?document.querySelectorAll(arguments[0]):document.querySelectorAll('body'); } catch (e) { atributes = arguments[0]; } - - /* - * Choose what will be the form of call - * */ - var definitionOfCall = function(single, multiple){ - if(this.constructor.length == undefined){ - single(); - } else { - multiple(); - } - }; - - /* - * Choose what will be the mode of operation - * */ - var isCallback = function(args, withCallback, noCallback){ - if(args.length == 1){ - noCallback(); - } else { - withCallback(); - } - }; - - /* - * Core executions - * */ - var core = function(){ - this.constructor = arguments[0]; - - /* - * returns the object - * */ - this.obj = function(){ - var args = arguments; - if(constructor.length == undefined){ - return this.constructor; - } else if(constructor.length == 1){ - return this.constructor[0]; - } else{ - [].map.call(this.constructor, function(obj){ - args[0](obj); - }); - } - }; - - /* - * Get the HTML contents of the first element in the set of matched elements or set the HTML contents of every matched element. - * */ - this.html = function(){ - var instance = this; - var args = arguments; - isCallback(args, function(){ - definitionOfCall(function(){ - instance = instance.constructor.innerHTML; - }, function(){ - var data = [].map.call(instance.constructor, function(obj){ - return obj.innerHTML; - }); - instance = (data.length === 1?data[0]:data); - }); - }, function(){ - definitionOfCall(function(){ - instance.constructor.innerHTML = args[0]; - }, function(){ - var value = args[0]; - [].map.call(instance.constructor, function(obj){ - obj.innerHTML = value; - }); - }); - }); - return instance; - }; - - /* - * Remove all child nodes of the set of matched elements from the DOM. - * */ - this.empty = function(){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.innerHTML = ''; - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.innerHTML = ''; - }); - }); - }; - - /* - * Display or hide the matched elements by animating their opacity. - * */ - this.toggle = function(){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.style.display = (instance.constructor.style.display === '')?'none':((instance.constructor.style.display === 'none')?'inline-block':'none'); - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.style.display = (obj.style.display === '')?'none':((obj.style.display === 'none')?'inline-block':'none'); - }); - }); - }; - - /* - * Iterate over a object, executing a function for each matched element. - * */ - this.each = this.forEach = function(callback){ - [].map.call(this.constructor, function(obj){ - callback(obj); - }); - }; - - /* - * Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element. - * */ - this.attr = function(){ - var instance = this; - var args = arguments; - isCallback(args, function(){ - definitionOfCall(function(){ - instance.constructor.setAttribute(args[0],args[1]); - }, function(){ - [].map.call(instance.constructor, function(obj){ obj.setAttribute(args[0],args[1]); }); - }); - }, function(){ - definitionOfCall(function(){ - instance = instance.constructor.getAttribute(args[0]); - }, function(){ - instance = [].map.call(instance.constructor, function(obj){ return obj.getAttribute(args[0]); }); - }); - }); - return instance; - }; - - /* - * Bind an event handler to the �click� JavaScript event, or trigger that event on an element. - * */ - this.click = function(callback){ - var instance = this; - definitionOfCall(function(){ - constructor.addEventListener('click', callback); - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.addEventListener('click', callback); - }); - }); - }; - - /* - * Attach an event handler for all elements which match the current selector, now and in the future. - * */ - this.live = function(){ - var innerAction = function(events, callback){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.addEventListener(events, callback); - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.addEventListener(events, callback); - }); - }); - }; - if(arguments.length <=2){ - var events = arguments[0]; - var callback = arguments[1]; - innerAction(events, callback); - } else{ - for(var i=0; i <(arguments.length-1); i++){ - var events = arguments[i]; - var callback = arguments[(arguments.length-1)]; - innerAction(events, callback); - } - } - }; - - /* - * Display the matched elements. - * */ - this.show = function(){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.style.display = 'inline-block'; - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.style.display = 'inline-block'; - }); - }); - }; - - /* - * Display the matched elements by fading them to opaque. - * */ - this.fadeIn = function(){ - var timer = (arguments[0] != undefined)?'2s':'0.4s'; - var instance = this; - definitionOfCall(function(){ - instance.constructor.style.transition = timer; - instance.style.WebkitTransition = 'opacity ' + timer; - instance.style.MozTransition = 'opacity ' + timer; - instance.constructor.style.opacity = '1'; - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.style.transition = timer; - obj.style.WebkitTransition = 'opacity ' + timer; - obj.style.MozTransition = 'opacity ' + timer; - obj.style.opacity = '1'; - }); - }); - }; - - /* - * Hide the matched elements. - * */ - this.hide = function(){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.style.display = 'none'; - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.style.display = 'none'; - }); - }); - }; - - /* - * Hide the matched elements by fading them to transparent. - * */ - this.fadeOut = function(){ - var timer = (arguments[0] != undefined)?'2s':'0.4s'; - var instance = this; - definitionOfCall(function(){ - instance.constructor.style.transition = timer; - instance.style.WebkitTransition = 'opacity ' + timer; - instance.style.MozTransition = 'opacity ' + timer; - instance.constructor.style.opacity = '0'; - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.style.transition = timer; - obj.style.WebkitTransition = 'opacity ' + timer; - obj.style.MozTransition = 'opacity ' + timer; - obj.style.opacity = '0'; - }); - }); - }; - - /* - * Get the parent of each element in the current set of matched elements, optionally filtered by a selector. - * */ - this.parent = function(){ - var instance = this; - definitionOfCall(function(){ - return instance.constructor.parentNode; - }, function(){ - return instance.constructor[0].parentNode; - }); - }; - - /* - * Renders a google chart - * @type LineChart, PieChart, Table - * @dataTable [[],[]] - * @options {} - * */ - this.googleChart = function(type, dataTable, options){ - var data = google.visualization.arrayToDataTable(dataTable); - switch (type) { - case 'LineChart': - new google.visualization.LineChart(this.constructor[0]).draw(data, options); - break; - case 'PieChart': - new google.visualization.PieChart(this.constructor[0]).draw(data, options); - break; - case 'BarChart': - new google.visualization.BarChart(this.constructor[0]).draw(data, options); - break; - case 'ColumnChart': - new google.visualization.ColumnChart(this.constructor[0]).draw(data, options); - break; - case 'Table': - new google.visualization.Table(this.constructor[0]).draw(data, options); - break; - default: - new google.visualization.PieChart(this.constructor[0]).draw(data, options); - break; - } - }; - - /* - * Get the current value of the first element in the set of matched elements or set the value of every matched element. - * */ - this.val = function(){ - var instance = this; - definitionOfCall(function(){ - return instance.constructor.value; - }, function(){ - var data = [].map.call(instance.constructor, function(obj){ - return obj.value; - }); - instance = (data.length === 1?data[0]:data); - }); - return instance; - }; - - /* - * Load data from the server using a HTTP POST request. - * XMLHttpRequest POST - * */ - this.post = function(){ - var client = new XMLHttpRequest(), - callback = arguments[(arguments.length-1)]; - client.open("POST", arguments[0], true); - client.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); - client.onload = function() { - callback(eval('[' + this.response + ']')[0]); - }; - var uri = ''; - if(arguments.length == 3){ - for (key in arguments[1]) { - uri += encodeURIComponent(key) + '=' + encodeURIComponent(escape(arguments[1][key])) + '&'; - } - } - client.send(uri); - }; - - /* - * Retrieve the DOM elements matched by the object. - * XMLHttpRequest GET - * */ - this.get = function(){ - var client = new XMLHttpRequest(), - callback = arguments[(arguments.length-1)]; - client.open("GET", arguments[0], true); - client.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); - client.onload = function() { - callback(eval('[' + this.response + ']')[0]); - }; - var uri = ''; - if(arguments.length == 3){ - for (key in arguments[1]) { - uri += encodeURIComponent(key) + '=' + encodeURIComponent(escape(arguments[1][key])) + '&'; - } - } - client.send(uri); - }; - - /* - * Load data from the server and place the returned HTML into the matched element. - * XMLHttpRequest Load HTML data - * */ - this.load = function(){ - var args = arguments; - var client = new XMLHttpRequest(); - var _constructor = this.constructor; - client.open("GET", args[0], true); - client.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); - client.setRequestHeader("Cache-Control", "no-cache"); - client.onload = function() { - var response = this.response; - if(_constructor.length == undefined){ - _constructor.innerHTML = response; - } else { - [].map.call(_constructor, function(obj){ - obj.innerHTML = response; - }); - } - if(args.length == 2){ - args[1](); - } - }; - client.send(); - }; - - /* - * Perform an asynchronous HTTP (Ajax) request. - * XMLHttpRequest ajax - * */ - this.ajax = function(config, callback){ - var client = new XMLHttpRequest(); - var uri = ''; - client.open(config.type, config.url, ((config.async != undefined)?config.async:false)); - client.setRequestHeader("Content-type", ((config.contentType != undefined)?config.contentType:"application/x-www-form-urlencoded")); - client.setRequestHeader("Cache-Control", ((config.CacheControl != undefined)?config.CacheControl:"no-cache")); - client.onreadystatechange = function(){ - if(this.readyState == 4){ - if(this.status == 200){ - (config.dataType === 'json')?(callback(eval('[' + this.response + ']')[0])):callback(this.response); - } else{ - callback({"error":this.statusText}); - } - } - }; - for (key in config.data) { - uri += encodeURIComponent(key) + '=' + encodeURIComponent(escape(config.data[key])) + '&'; - } - client.send(uri); - }; - - /* - * Performs an action whenever it is made ​​a scroll on the screen - * */ - this.onScroll = function(callback){ - window.addEventListener("scroll", function(evt) { - callback(evt); - }); - }; - - /* - * Bind an event handler to the 'scroll' JavaScript event, or trigger that event on an element. - * Scroll link - * */ - this.scroll = function() { - var instance = this; - definitionOfCall(function(){ - instance.constructor.scrollIntoView(); - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.scrollIntoView(); - }); - }); - }; - - /* - * Returns the number of pixels to scroll existing x - * */ - this.scrollX = function(){ - return this.top.scrollX; - }; - - /* - * Returns the number of pixels to scroll existing y - * */ - this.scrollY = function(){ - return this.top.scrollY; - }; - - /* - * Scrolls the current document by the specified number of pages - * */ - this.scrollByPages = function(value){ - return this.top.scrollByPages(value); - }; - - /* - * Scrolls the document by the given number of lines - * */ - this.scrollByLines = function(lines){ - return this.top.scrollByLines(lines); - }; - - /* - * Scrolls the window to a particular place in the document - * */ - this.scrollTo = function(xCoord, yCoord){ - return this.top.scroll(xCoord, yCoord); - }; - - /* - * Scrolls the document in the window by the given amount - * */ - this.scrollBy = function(x, y){ - return this.top.scrollBy(x, y); - }; - - /* - * Checks whether the scroll position are top is greater than the value reported - * */ - this.factScrollTopAfter = function(value){ - return (this.top.scrollY >= value); - }; - - /* - * Adds the specified class(es) to each of the set of matched elements. - * */ - this.addClass = function(data) { - var instance = this; - definitionOfCall(function(){ - instance.constructor.classList.add(data); - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.classList.add(data); - }); - }); - }; - - /* - * Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - * */ - this.removeClass = function(data){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.classList.remove(data); - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.classList.remove(data); - }); - }); - }; - - /* - * Toggle a single class, multiple classes, or all classes from each element in the set of matched elements. - * */ - this.toggleClass = function(data){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.classList.toggle(data); - }, function(){ - [].map.call(instance.constructor, function(obj){ - obj.classList.toggle(data); - }); - }); - }; - - /* - * Selects all elements that are the last child of their parent. - * */ - this.lastChild = function(data){ - var instance = this; - definitionOfCall(function(){ - return instance.constructor.lastChild; - }, function(){ - return [].map.call(instance.constructor, function(obj){ - return obj.lastChild; - }); - }); - }; - - /* - * The number of elements in the object. - * */ - this.length = function(data){ - var instance = this; - definitionOfCall(function(){ - return undefined; - }, function(){ - return instance.constructor.length; - }); - }; - - /* - * Checks if this online - * */ - this.onLine = function(){ - return this.navigator.onLine; - }; - - /* - * Drag files out onto the desktop - * */ - this.desktopDragOut = function(MIMETYPE, FILENAME){ - var instance = this; - definitionOfCall(function(){ - instance.constructor.setAttribute('data-downloadurl', MIMETYPE + ':' + FILENAME + ':' + (instance.constructor.getAttribute('href') != undefined? instance.constructor.getAttribute('href'):(instance.constructor.getAttribute('src') != undefined? instance.constructor.getAttribute('src'):("")))); - instance.constructor.setAttribute('draggable','true'); - instance.constructor.addEventListener('dragstart', function(e) { - e.dataTransfer.setData('DownloadURL', this.dataset.downloadurl); - }, false); - }, function(){ - [].map.call(instance.constructor, function(file){ - (function() { - file.setAttribute('data-downloadurl', MIMETYPE + ':' + FILENAME + ':' + (file.getAttribute('href') != undefined? file.getAttribute('href'):(file.getAttribute('src') != undefined? file.getAttribute('src'):("")))); - file.setAttribute('draggable', 'true'); - file.addEventListener('dragstart', function(evt) { - evt.dataTransfer.setData('DownloadURL', file.getAttribute('data-downloadurl')); - }, false); - })(); - }); - }); - }; - - /* - * Alert - * */ - this.alert = function(){ - var sysConfig = { - "img":(arguments[0].img!=undefined)?arguments[0].img:'', - "title":(arguments[0].title!=undefined)?arguments[0].title:'', - "text":(arguments[0].text!=undefined)?arguments[0].text:'' - }; - window.webkitNotifications.requestPermission(); - if (window.webkitNotifications.checkPermission() == 0) { - window.webkitNotifications.createNotification(sysConfig.img, sysConfig.title, sysConfig.text).show(); - } else { - alert(sysConfig.title + '\n' + sysConfig.text); - } - }; - - return this; - }; - return core(atributes); - }; - - window.$i = window.iQuery = iQuery; - [].map.call(document.querySelectorAll('script'), function(src){ if(src.dataset.symbol != undefined){ new Function('window.' + src.dataset.symbol + ' = iQuery;')(); } }); -})(window); diff --git a/iquery/index.html b/iquery/index.html deleted file mode 100644 index e302279..0000000 --- a/iquery/index.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - - - - - - testtesttesttesttest -
.....
-
- - - - - -
- Motorola - -
-
-
- -
-
- - - - - -
- - .mp3 file - -
- -
- -
...
- - - - - diff --git a/iquery/system.manifest b/iquery/system.manifest deleted file mode 100644 index 5692f81..0000000 --- a/iquery/system.manifest +++ /dev/null @@ -1,4 +0,0 @@ -CACHE MANIFEST -index.html -iQuery.js -01.jpg \ No newline at end of file diff --git a/javascripts/headsmart.min.js b/javascripts/headsmart.min.js new file mode 100644 index 0000000..16da97a --- /dev/null +++ b/javascripts/headsmart.min.js @@ -0,0 +1 @@ +(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 new file mode 100644 index 0000000..d8135d3 --- /dev/null +++ b/javascripts/main.js @@ -0,0 +1 @@ +console.log('This would be the main JS file.'); diff --git a/javascripts/modernizr.js b/javascripts/modernizr.js new file mode 100644 index 0000000..434b0af --- /dev/null +++ b/javascripts/modernizr.js @@ -0,0 +1,4 @@ +/* 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` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."} \ No newline at end of file diff --git a/stylesheets/core.css b/stylesheets/core.css new file mode 100644 index 0000000..7aaec46 --- /dev/null +++ b/stylesheets/core.css @@ -0,0 +1,3 @@ +@import url("screen.css"); +@import url("non-screen.css") handheld; +@import url("non-screen.css") only screen and (max-device-width:640px); \ No newline at end of file diff --git a/stylesheets/mobile.css b/stylesheets/mobile.css new file mode 100644 index 0000000..c860c09 --- /dev/null +++ b/stylesheets/mobile.css @@ -0,0 +1,510 @@ +/* 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: bolder; + 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: 640px; + margin: 0 auto; +} + +a#forkme_banner { + display: none; +} + +/* header */ + +header { + position: relative; + z-index: 2; + margin: 0; + max-width: 640px; + top: 51px; +} + +header span.ribbon-inner { + position: relative; + display: block; + background-color: #cd596b; + border: 8px solid #7c334f; + padding: 6px; + z-index: 1; +} + +header span.left-tail, header span.right-tail { + position: relative; + display: block; + width: 19px; + height: 10px; + background: transparent url(../images/ribbon-tail-sprite-2x.png) 0 0 no-repeat; + position: absolute; + bottom: -10px; + z-index: 0; +} + +header span.left-tail { + background-position: 0 0; + left: 0; +} + +header span.right-tail { + background-position: -19px 0; + right: 0; +} + +header h1 { + background-color: #7c334f; + font-size: 2em; + font-weight: bolder; + 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 { + position: relative; + display: block; + height: 171px; + width: 602px; + padding-bottom: 150px; + margin: 51px auto -250px; + z-index: 1; + 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; + display: block; + height: 31px; + position: absolute; + width: 640px; + top: 20px; + +} + +section#main_content { + z-index: 2; + padding: 20px 40px 0; + min-height:185px; +} + +/* footer */ + +footer { + background: none; + padding-top: 104px; + margin: -94px auto 40px; + max-width:640px; + 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: 8px solid #7c334f; + padding: 6px; + z-index: 1; +} + +footer p { + font-family: 'Open Sans', sans-serif; + font-weight: bold; + font-size: .6em; + color: #8b786f; +} + +footer a { + color: #cd596b; +} + +footer span.ribbon-inner p { + background-color: #7c334f; + margin: 0; + color: #e69b95; + font: bold italic 22px/1 Georgia, Times, “Times New Roman”, serif; + height: auto; + line-height: 1.1; + padding: 20px 0px 10px; +} + +footer span.ribbon-inner a { + display: block; + position: relative; + bottom: 0; + color: #7eb0d2; + font-family: 'Open Sans', sans-serif; + text-transform: uppercase; + font-style: normal; + font-weight: bolder; + font-size: 38px; + padding-bottom: 10px; +} + +footer span.ribbon-inner a:hover { + color: #7eb0d2; +} + +footer span.left-tail, footer span.right-tail { + position: relative; + display: block; + width: 23px; + height: 126px; + background: transparent url(../images/small-ribbon-tail-sprite-2x.png) 0 0 no-repeat; + position: absolute; + top: -126px; + z-index: 0; +} + +footer span.left-tail { + background-position: 0 0; + left: 0; +} + +footer span.right-tail { + background-position: -23px 0; + right: 0; +} + +footer span.octocat { + background: transparent url(../images/octocat-2x.png) 0 0 no-repeat; + display: block; + width: 60px; + height: 60px; + margin: 20px auto 0;} + +/* content */ + +body { + background: #ece4d8; + font: normal normal 30px/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', sans-serif; + font-weight: bold; +} + +p { + margin: .7em 0 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: 20px; + background: transparent url(../images/chevron-2x.png) left 15px no-repeat; +} + +blockquote { + font-family: 'Open Sans', sans-serif; + margin: 20px 0; + color: #8b786f; + padding-left: 1.35em; + background: transparent url('../images/blockquote-gfx-2x.png') 0 8px no-repeat; +} + +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; +} + +hr { + border: none; + outline: none; + height: 42px; + background: transparent url('../images/hr-2x.jpg') center center repeat-x; + margin: 0 0 20px; +} + +code { + background: #fff6e9; + font: normal normal .9em/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: 4px solid #bdb6ad; + font: normal normal .9em/1.7 "Lucida Sans Typewriter", "Lucida Console", Monaco, "Bitstream Vera Sans Mono", monospace; + overflow: auto; +} + +table { + background: #fff6e9; + display: table; + width: 100%; + border-collapse: separate; + border-bottom: 4px solid #bdb6ad; + margin: 10px 0; +} + +tr { + display: table-row; +} + +th { + display: table-cell; + padding: 2px 10px; + border: solid #ece4d8; + border-width: 0 4px 4px 0; + color: #cd596b; + font-family: 'Open Sans', sans-serif; + font-weight: bold; + font-size: .85em; +} + +td { + display: table-cell; + padding: 0 .7em; + border: solid #ece4d8; + border-width: 0 4px 4px 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', 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; +} \ No newline at end of file diff --git a/stylesheets/non-screen.css b/stylesheets/non-screen.css new file mode 100644 index 0000000..eea5ecd --- /dev/null +++ b/stylesheets/non-screen.css @@ -0,0 +1,154 @@ +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 new file mode 100644 index 0000000..32d9a9d --- /dev/null +++ b/stylesheets/print.css @@ -0,0 +1,34 @@ +* { + 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 new file mode 100644 index 0000000..c6a6452 --- /dev/null +++ b/stylesheets/pygment_trac.css @@ -0,0 +1,69 @@ +.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 new file mode 100644 index 0000000..ba63020 --- /dev/null +++ b/stylesheets/screen.css @@ -0,0 +1,569 @@ +/* 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; +}