diff --git a/fonts/copse-regular-webfont.eot b/fonts/copse-regular-webfont.eot deleted file mode 100644 index af1f5e6..0000000 Binary files a/fonts/copse-regular-webfont.eot and /dev/null differ diff --git a/fonts/copse-regular-webfont.svg b/fonts/copse-regular-webfont.svg deleted file mode 100644 index 1e920b5..0000000 --- a/fonts/copse-regular-webfont.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2010 Daniel Rhatigansparkyultrasparkyorg with Reserved Font Name Copse -Designer : Daniel Rhatigan -Foundry : Daniel Rhatigan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/copse-regular-webfont.ttf b/fonts/copse-regular-webfont.ttf deleted file mode 100644 index 434b208..0000000 Binary files a/fonts/copse-regular-webfont.ttf and /dev/null differ diff --git a/fonts/copse-regular-webfont.woff b/fonts/copse-regular-webfont.woff deleted file mode 100644 index a9a0450..0000000 Binary files a/fonts/copse-regular-webfont.woff and /dev/null differ diff --git a/fonts/quattrocentosans-bold-webfont.eot b/fonts/quattrocentosans-bold-webfont.eot deleted file mode 100644 index c041ed9..0000000 Binary files a/fonts/quattrocentosans-bold-webfont.eot and /dev/null differ diff --git a/fonts/quattrocentosans-bold-webfont.svg b/fonts/quattrocentosans-bold-webfont.svg deleted file mode 100644 index fb162e9..0000000 --- a/fonts/quattrocentosans-bold-webfont.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 Pablo Impallari wwwimpallaricomimpallarigmailcomCopyright c 2011 Igino Marini wwwikerncommailiginomarinicomCopyright c 2011 Brenda Gallo gbrenda1987gmailcomwith Reserved Font Name Quattrocento Sans -Designer : Pablo Impallari -Foundry : Pablo Impallari Igino Marini Brenda Gallo -Foundry URL : wwwimpallaricom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/quattrocentosans-bold-webfont.ttf b/fonts/quattrocentosans-bold-webfont.ttf deleted file mode 100644 index 7389c87..0000000 Binary files a/fonts/quattrocentosans-bold-webfont.ttf and /dev/null differ diff --git a/fonts/quattrocentosans-bold-webfont.woff b/fonts/quattrocentosans-bold-webfont.woff deleted file mode 100644 index fc14168..0000000 Binary files a/fonts/quattrocentosans-bold-webfont.woff and /dev/null differ diff --git a/fonts/quattrocentosans-bolditalic-webfont.eot b/fonts/quattrocentosans-bolditalic-webfont.eot deleted file mode 100644 index 7c1aa7a..0000000 Binary files a/fonts/quattrocentosans-bolditalic-webfont.eot and /dev/null differ diff --git a/fonts/quattrocentosans-bolditalic-webfont.svg b/fonts/quattrocentosans-bolditalic-webfont.svg deleted file mode 100644 index 9070a8b..0000000 --- a/fonts/quattrocentosans-bolditalic-webfont.svg +++ /dev/null @@ -1,248 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 Pablo Impallari wwwimpallaricomimpallarigmailcomCopyright c 2011 Igino Marini wwwikerncommailiginomarinicomCopyright c 2011 Brenda Gallo gbrenda1987gmailcomwith Reserved Font Name Quattrocento Sans -Designer : Pablo Impallari -Foundry : Pablo Impallari Igino Marini Brenda Gallo -Foundry URL : wwwimpallaricom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/quattrocentosans-bolditalic-webfont.ttf b/fonts/quattrocentosans-bolditalic-webfont.ttf deleted file mode 100644 index 9766a17..0000000 Binary files a/fonts/quattrocentosans-bolditalic-webfont.ttf and /dev/null differ diff --git a/fonts/quattrocentosans-bolditalic-webfont.woff b/fonts/quattrocentosans-bolditalic-webfont.woff deleted file mode 100644 index c436da0..0000000 Binary files a/fonts/quattrocentosans-bolditalic-webfont.woff and /dev/null differ diff --git a/fonts/quattrocentosans-italic-webfont.eot b/fonts/quattrocentosans-italic-webfont.eot deleted file mode 100644 index 379b383..0000000 Binary files a/fonts/quattrocentosans-italic-webfont.eot and /dev/null differ diff --git a/fonts/quattrocentosans-italic-webfont.svg b/fonts/quattrocentosans-italic-webfont.svg deleted file mode 100644 index b613779..0000000 --- a/fonts/quattrocentosans-italic-webfont.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 Pablo Impallari wwwimpallaricomimpallarigmailcomCopyright c 2011 Igino Marini wwwikerncommailiginomarinicomCopyright c 2011 Brenda Gallo gbrenda1987gmailcomwith Reserved Font Name Quattrocento Sans -Designer : Pablo Impallari -Foundry : Pablo Impallari Igino Marini Brenda Gallo -Foundry URL : wwwimpallaricom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/quattrocentosans-italic-webfont.ttf b/fonts/quattrocentosans-italic-webfont.ttf deleted file mode 100644 index c7ba47a..0000000 Binary files a/fonts/quattrocentosans-italic-webfont.ttf and /dev/null differ diff --git a/fonts/quattrocentosans-italic-webfont.woff b/fonts/quattrocentosans-italic-webfont.woff deleted file mode 100644 index 3798881..0000000 Binary files a/fonts/quattrocentosans-italic-webfont.woff and /dev/null differ diff --git a/fonts/quattrocentosans-regular-webfont.eot b/fonts/quattrocentosans-regular-webfont.eot deleted file mode 100644 index 346db6f..0000000 Binary files a/fonts/quattrocentosans-regular-webfont.eot and /dev/null differ diff --git a/fonts/quattrocentosans-regular-webfont.svg b/fonts/quattrocentosans-regular-webfont.svg deleted file mode 100644 index 3470924..0000000 --- a/fonts/quattrocentosans-regular-webfont.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2011 Pablo Impallari wwwimpallaricomimpallarigmailcomCopyright c 2011 Igino Marini wwwikerncommailiginomarinicomCopyright c 2011 Brenda Gallo gbrenda1987gmailcomwith Reserved Font Name Quattrocento Sans -Designer : Pablo Impallari -Foundry : Pablo Impallari Igino Marini Brenda Gallo -Foundry URL : wwwimpallaricom - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/quattrocentosans-regular-webfont.ttf b/fonts/quattrocentosans-regular-webfont.ttf deleted file mode 100644 index e414670..0000000 Binary files a/fonts/quattrocentosans-regular-webfont.ttf and /dev/null differ diff --git a/fonts/quattrocentosans-regular-webfont.woff b/fonts/quattrocentosans-regular-webfont.woff deleted file mode 100644 index 09ed324..0000000 Binary files a/fonts/quattrocentosans-regular-webfont.woff and /dev/null differ diff --git a/images/arrow-down.png b/images/arrow-down.png new file mode 100644 index 0000000..585b0bd Binary files /dev/null and b/images/arrow-down.png differ diff --git a/images/background.png b/images/background.png deleted file mode 100644 index b63b420..0000000 Binary files a/images/background.png and /dev/null differ diff --git a/images/body-background.png b/images/body-background.png deleted file mode 100644 index d6a152f..0000000 Binary files a/images/body-background.png and /dev/null differ diff --git a/images/bullet.png b/images/bullet.png deleted file mode 100644 index 2b7dc9a..0000000 Binary files a/images/bullet.png and /dev/null differ diff --git a/images/hr.gif b/images/hr.gif deleted file mode 100644 index a64b56c..0000000 Binary files a/images/hr.gif and /dev/null differ diff --git a/images/octocat-logo.png b/images/octocat-logo.png deleted file mode 100644 index 28a3ad1..0000000 Binary files a/images/octocat-logo.png and /dev/null differ diff --git a/images/octocat-small.png b/images/octocat-small.png new file mode 100644 index 0000000..66c2539 Binary files /dev/null and b/images/octocat-small.png differ diff --git a/index.html b/index.html index 8688c98..61e38ea 100644 --- a/index.html +++ b/index.html @@ -4,40 +4,31 @@ Zdrojak by JakubMrozek + - - + + - - - +
-

Zdrojak

-

Seriál pro Zdroják.cz

-
+

Zdrojak

+

Seriál pro Zdroják.cz

- +

This project is maintained by JakubMrozek

-
- + +

Build Status

@@ -51,6 +42,13 @@

Zdrojak

  • Kontrola syntaxe: příkaz "grunt" (grunt.cmd na Windows), musí být nainstalován balíček grunt globálně (-g)
  • Spuštění testů: npm test
  • Generování dokumentace: dox-foundation --source ./ --target docs --ignore node_modules,docs,public,test --title "Zdrojak shop"
  • +

    11. díl

    + +

    10. díl

      @@ -109,11 +107,10 @@

      Zdrojak

    - + \ No newline at end of file diff --git a/javascripts/main.js b/javascripts/main.js deleted file mode 100644 index c57e54c..0000000 --- a/javascripts/main.js +++ /dev/null @@ -1,53 +0,0 @@ -var sectionHeight = function() { - var total = $(window).height(), - $section = $('section').css('height','auto'); - - if ($section.outerHeight(true) < total) { - var margin = $section.outerHeight(true) - $section.height(); - $section.height(total - margin - 20); - } else { - $section.css('height','auto'); - } -} - -$(window).resize(sectionHeight); - -$(document).ready(function(){ - $("section h1, section h2").each(function(){ - $("nav ul").append("
  • " + $(this).text() + "
  • "); - $(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'')); - $("nav ul li:first-child a").parent().addClass("active"); - }); - - $("nav ul li").on("click", "a", function(event) { - var position = $($(this).attr("href")).offset().top - 190; - $("html, body").animate({scrollTop: position}, 400); - $("nav ul li a").parent().removeClass("active"); - $(this).parent().addClass("active"); - event.preventDefault(); - }); - - sectionHeight(); - - $('img').load(sectionHeight); -}); - -fixScale = function(doc) { - - var addEvent = 'addEventListener', - type = 'gesturestart', - qsa = 'querySelectorAll', - scales = [1, 1], - meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : []; - - function fix() { - meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; - doc.removeEventListener(type, fix, true); - } - - if ((meta = meta[meta.length - 1]) && addEvent in doc) { - fix(); - scales = [.25, 1.6]; - doc[addEvent](type, fix, true); - } -}; \ No newline at end of file diff --git a/javascripts/scale.fix.js b/javascripts/scale.fix.js new file mode 100644 index 0000000..08716c0 --- /dev/null +++ b/javascripts/scale.fix.js @@ -0,0 +1,20 @@ +fixScale = function(doc) { + + var addEvent = 'addEventListener', + type = 'gesturestart', + qsa = 'querySelectorAll', + scales = [1, 1], + meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : []; + + function fix() { + meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; + doc.removeEventListener(type, fix, true); + } + + if ((meta = meta[meta.length - 1]) && addEvent in doc) { + fix(); + scales = [.25, 1.6]; + doc[addEvent](type, fix, true); + } + +}; \ No newline at end of file diff --git a/params.json b/params.json index ee06bb5..ab4f2c6 100644 --- a/params.json +++ b/params.json @@ -1 +1 @@ -{"tagline":"Seriál pro Zdroják.cz","body":"[![Build Status](https://travis-ci.org/JakubMrozek/Zdrojak.png)](https://travis-ci.org/JakubMrozek/Zdrojak)\r\n\r\n* Seriál pro Zdroják: http://www.zdrojak.cz/serialy/node-js-s-javascriptem-na-serveru/\r\n* Homepage seriálu: http://jakubmrozek.github.com/Zdrojak/\r\n* Coding Standards: http://nodeguide.com/style.html\r\n* Kontrola syntaxe: příkaz \"grunt\" (grunt.cmd na Windows), musí být nainstalován balíček grunt globálně (-g)\r\n* Spuštění testů: npm test\r\n* Generování dokumentace: dox-foundation --source ./ --target docs --ignore node_modules,docs,public,test --title \"Zdrojak shop\"\r\n\r\n10. díl\r\n=======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-nastroje-a-dokumentace/\r\n\r\n9. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-implementace-rest-api/\r\n\r\n8. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-rest-api/\r\n\r\n7. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-testovani-a-kontinualni-integrace/\r\n* Demo: http://infinite-ridge-6275.herokuapp.com/\r\n\r\n6. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-mongodb-mongoose-angularjs/\r\n* Demo: http://young-lake-7194.herokuapp.com/\r\n\r\n5. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-zaciname-programovat-e-shop/\r\n* Demo: http://afternoon-eyrie-1430.herokuapp.com/ \r\n\r\n4. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-moduly-a-node-package-manager/\r\n\r\n3. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-architektura-a-prvni-hello-world/\r\n\r\n2. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-patri-budoucnost-node-js/\r\n\r\n1. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-zaciname-s-node-js/\r\n\r\n\r\n","note":"Don't delete this file! It's used internally to help with page regeneration.","google":"","name":"Zdrojak"} \ No newline at end of file +{"google":"","name":"Zdrojak","body":"[![Build Status](https://travis-ci.org/JakubMrozek/Zdrojak.png)](https://travis-ci.org/JakubMrozek/Zdrojak)\r\n\r\n* Seriál pro Zdroják: http://www.zdrojak.cz/serialy/node-js-s-javascriptem-na-serveru/\r\n* Homepage seriálu: http://jakubmrozek.github.com/Zdrojak/\r\n* Coding Standards: http://nodeguide.com/style.html\r\n* Kontrola syntaxe: příkaz \"grunt\" (grunt.cmd na Windows), musí být nainstalován balíček grunt globálně (-g)\r\n* Spuštění testů: npm test\r\n* Generování dokumentace: dox-foundation --source ./ --target docs --ignore node_modules,docs,public,test --title \"Zdrojak shop\"\r\n\r\n11. díl\r\n=======\r\n* Článek: http://www.zdrojak.cz/clanky/angularjs/\r\n* Demo: http://peaceful-wildwood-1875.herokuapp.com/\r\n\r\n10. díl\r\n=======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-nastroje-a-dokumentace/\r\n\r\n9. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-implementace-rest-api/\r\n\r\n8. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-rest-api/\r\n\r\n7. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-testovani-a-kontinualni-integrace/\r\n* Demo: http://infinite-ridge-6275.herokuapp.com/\r\n\r\n6. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-mongodb-mongoose-angularjs/\r\n* Demo: http://young-lake-7194.herokuapp.com/\r\n\r\n5. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-zaciname-programovat-e-shop/\r\n* Demo: http://afternoon-eyrie-1430.herokuapp.com/ \r\n\r\n4. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-moduly-a-node-package-manager/\r\n\r\n3. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-architektura-a-prvni-hello-world/\r\n\r\n2. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-patri-budoucnost-node-js/\r\n\r\n1. díl\r\n======\r\n* Článek: http://www.zdrojak.cz/clanky/javascript-na-serveru-zaciname-s-node-js/\r\n\r\n\r\n","note":"Don't delete this file! It's used internally to help with page regeneration.","tagline":"Seriál pro Zdroják.cz"} \ No newline at end of file diff --git a/stylesheets/normalize.css b/stylesheets/normalize.css deleted file mode 100644 index bc2ba93..0000000 --- a/stylesheets/normalize.css +++ /dev/null @@ -1,459 +0,0 @@ -/* normalize.css 2012-02-07T12:37 UTC - http://github.com/necolas/normalize.css */ -/* ============================================================================= - HTML5 display definitions - ========================================================================== */ -/* - * Corrects block display not defined in IE6/7/8/9 & FF3 - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section, -summary { - display: block; -} - -/* - * Corrects inline-block display not defined in IE6/7/8/9 & FF3 - */ -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -/* - * Prevents modern browsers from displaying 'audio' without controls - */ -audio:not([controls]) { - display: none; -} - -/* - * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4 - * Known issue: no IE6 support - */ -[hidden] { - display: none; -} - -/* ============================================================================= - Base - ========================================================================== */ -/* - * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units - * http://clagnut.com/blog/348/#c790 - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ - */ -html { - font-size: 100%; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -ms-text-size-adjust: 100%; - /* 2 */ -} - -/* - * Addresses font-family inconsistency between 'textarea' and other form elements. - */ -html, -button, -input, -select, -textarea { - font-family: sans-serif; -} - -/* - * Addresses margins handled incorrectly in IE6/7 - */ -body { - margin: 0; -} - -/* ============================================================================= - Links - ========================================================================== */ -/* - * Addresses outline displayed oddly in Chrome - */ -a:focus { - outline: thin dotted; -} - -/* - * Improves readability when focused and also mouse hovered in all browsers - * people.opera.com/patrickl/experiments/keyboard/test - */ -a:hover, -a:active { - outline: 0; -} - -/* ============================================================================= - Typography - ========================================================================== */ -/* - * Addresses font sizes and margins set differently in IE6/7 - * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5 - */ -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -h2 { - font-size: 1.5em; - margin: 0.83em 0; -} - -h3 { - font-size: 1.17em; - margin: 1em 0; -} - -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.75em; - margin: 2.33em 0; -} - -/* - * Addresses styling not present in IE7/8/9, S5, Chrome - */ -abbr[title] { - border-bottom: 1px dotted; -} - -/* - * Addresses style set to 'bolder' in FF3+, S4/5, Chrome -*/ -b, -strong { - font-weight: bold; -} - -blockquote { - margin: 1em 40px; -} - -/* - * Addresses styling not present in S5, Chrome - */ -dfn { - font-style: italic; -} - -/* - * Addresses styling not present in IE6/7/8/9 - */ -mark { - background: #ff0; - color: #000; -} - -/* - * Addresses margins set differently in IE6/7 - */ -p, -pre { - margin: 1em 0; -} - -/* - * Corrects font family set oddly in IE6, S4/5, Chrome - * en.wikipedia.org/wiki/User:Davidgothberg/Test59 - */ -pre, -code, -kbd, -samp { - font-family: monospace, serif; - _font-family: 'courier new', monospace; - font-size: 1em; -} - -/* - * 1. Addresses CSS quotes not supported in IE6/7 - * 2. Addresses quote property not supported in S4 - */ -/* 1 */ -q { - quotes: none; -} - -/* 2 */ -q:before, -q:after { - content: ''; - content: none; -} - -small { - font-size: 75%; -} - -/* - * Prevents sub and sup affecting line-height in all browsers - * gist.github.com/413930 - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* ============================================================================= - Lists - ========================================================================== */ -/* - * Addresses margins set differently in IE6/7 - */ -dl, -menu, -ol, -ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40px; -} - -/* - * Addresses paddings set differently in IE6/7 - */ -menu, -ol, -ul { - padding: 0 0 0 40px; -} - -/* - * Corrects list images handled incorrectly in IE7 - */ -nav ul, -nav ol { - list-style: none; - list-style-image: none; -} - -/* ============================================================================= - Embedded content - ========================================================================== */ -/* - * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3 - * 2. Improves image quality when scaled in IE7 - * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ - */ -img { - border: 0; - /* 1 */ - -ms-interpolation-mode: bicubic; - /* 2 */ -} - -/* - * Corrects overflow displayed oddly in IE9 - */ -svg:not(:root) { - overflow: hidden; -} - -/* ============================================================================= - Figures - ========================================================================== */ -/* - * Addresses margin not present in IE6/7/8/9, S5, O11 - */ -figure { - margin: 0; -} - -/* ============================================================================= - Forms - ========================================================================== */ -/* - * Corrects margin displayed oddly in IE6/7 - */ -form { - margin: 0; -} - -/* - * Define consistent border, margin, and padding - */ -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/* - * 1. Corrects color not being inherited in IE6/7/8/9 - * 2. Corrects text not wrapping in FF3 - * 3. Corrects alignment displayed oddly in IE6/7 - */ -legend { - border: 0; - /* 1 */ - padding: 0; - white-space: normal; - /* 2 */ - *margin-left: -7px; - /* 3 */ -} - -/* - * 1. Corrects font size not being inherited in all browsers - * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome - * 3. Improves appearance and consistency in all browsers - */ -button, -input, -select, -textarea { - font-size: 100%; - /* 1 */ - margin: 0; - /* 2 */ - vertical-align: baseline; - /* 3 */ - *vertical-align: middle; - /* 3 */ -} - -/* - * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet - */ -button, -input { - line-height: normal; - /* 1 */ -} - -/* - * 1. Improves usability and consistency of cursor style between image-type 'input' and others - * 2. Corrects inability to style clickable 'input' types in iOS - * 3. Removes inner spacing in IE7 without affecting normal text inputs - * Known issue: inner spacing remains in IE6 - */ -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - cursor: pointer; - /* 1 */ - -webkit-appearance: button; - /* 2 */ - *overflow: visible; - /* 3 */ -} - -/* - * Re-set default cursor for disabled elements - */ -button[disabled], -input[disabled] { - cursor: default; -} - -/* - * 1. Addresses box sizing set to content-box in IE8/9 - * 2. Removes excess padding in IE8/9 - * 3. Removes excess padding in IE7 - Known issue: excess padding remains in IE6 - */ -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - /* 1 */ - padding: 0; - /* 2 */ - *height: 13px; - /* 3 */ - *width: 13px; - /* 3 */ -} - -/* - * 1. Addresses appearance set to searchfield in S5, Chrome - * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof) - */ -input[type="search"] { - -webkit-appearance: textfield; - /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - /* 2 */ - box-sizing: content-box; -} - -/* - * Removes inner padding and search cancel button in S5, Chrome on OS X - */ -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} - -/* - * Removes inner padding and border in FF3+ - * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ - */ -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/* - * 1. Removes default vertical scrollbar in IE6/7/8/9 - * 2. Improves readability and alignment in all browsers - */ -textarea { - overflow: auto; - /* 1 */ - vertical-align: top; - /* 2 */ -} - -/* ============================================================================= - Tables - ========================================================================== */ -/* - * Remove most spacing between table cells - */ -table { - border-collapse: collapse; - border-spacing: 0; -} diff --git a/stylesheets/pygment_trac.css b/stylesheets/pygment_trac.css index 62fd970..c6a6452 100644 --- a/stylesheets/pygment_trac.css +++ b/stylesheets/pygment_trac.css @@ -1,70 +1,69 @@ -.highlight .hll { background-color: #404040 } -.highlight { color: #d0d0d0 } -.highlight .c { color: #999999; font-style: italic } /* Comment */ +.highlight { background: #ffffff; } +.highlight .c { color: #999988; font-style: italic } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ -.highlight .g { color: #d0d0d0 } /* Generic */ -.highlight .k { color: #6ab825; font-weight: normal } /* Keyword */ -.highlight .l { color: #d0d0d0 } /* Literal */ -.highlight .n { color: #d0d0d0 } /* Name */ -.highlight .o { color: #d0d0d0 } /* Operator */ -.highlight .x { color: #d0d0d0 } /* Other */ -.highlight .p { color: #d0d0d0 } /* Punctuation */ -.highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #cd2828; font-weight: normal } /* Comment.Preproc */ -.highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #e50808; font-weight: normal; background-color: #520000 } /* Comment.Special */ -.highlight .gd { color: #d22323 } /* Generic.Deleted */ -.highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #d22323 } /* Generic.Error */ -.highlight .gh { color: #ffffff; font-weight: normal } /* Generic.Heading */ -.highlight .gi { color: #589819 } /* Generic.Inserted */ -.highlight .go { color: #cccccc } /* Generic.Output */ -.highlight .gp { color: #aaaaaa } /* Generic.Prompt */ -.highlight .gs { color: #d0d0d0; font-weight: normal } /* Generic.Strong */ -.highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */ -.highlight .gt { color: #d22323 } /* Generic.Traceback */ -.highlight .kc { color: #6ab825; font-weight: normal } /* Keyword.Constant */ -.highlight .kd { color: #6ab825; font-weight: normal } /* Keyword.Declaration */ -.highlight .kn { color: #6ab825; font-weight: normal } /* Keyword.Namespace */ -.highlight .kp { color: #6ab825 } /* Keyword.Pseudo */ -.highlight .kr { color: #6ab825; font-weight: normal } /* Keyword.Reserved */ -.highlight .kt { color: #6ab825; font-weight: normal } /* Keyword.Type */ -.highlight .ld { color: #d0d0d0 } /* Literal.Date */ -.highlight .m { color: #3677a9 } /* Literal.Number */ -.highlight .s { color: #ff8 } /* Literal.String */ -.highlight .na { color: #bbbbbb } /* Name.Attribute */ -.highlight .nb { color: #24909d } /* Name.Builtin */ -.highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */ -.highlight .no { color: #40ffff } /* Name.Constant */ -.highlight .nd { color: #ffa500 } /* Name.Decorator */ -.highlight .ni { color: #d0d0d0 } /* Name.Entity */ -.highlight .ne { color: #bbbbbb } /* Name.Exception */ -.highlight .nf { color: #447fcf } /* Name.Function */ -.highlight .nl { color: #d0d0d0 } /* Name.Label */ -.highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */ -.highlight .nx { color: #d0d0d0 } /* Name.Other */ -.highlight .py { color: #d0d0d0 } /* Name.Property */ -.highlight .nt { color: #6ab825;} /* Name.Tag */ -.highlight .nv { color: #40ffff } /* Name.Variable */ -.highlight .ow { color: #6ab825; font-weight: normal } /* Operator.Word */ -.highlight .w { color: #666666 } /* Text.Whitespace */ -.highlight .mf { color: #3677a9 } /* Literal.Number.Float */ -.highlight .mh { color: #3677a9 } /* Literal.Number.Hex */ -.highlight .mi { color: #3677a9 } /* Literal.Number.Integer */ -.highlight .mo { color: #3677a9 } /* Literal.Number.Oct */ -.highlight .sb { color: #ff8 } /* Literal.String.Backtick */ -.highlight .sc { color: #ff8 } /* Literal.String.Char */ -.highlight .sd { color: #ff8 } /* Literal.String.Doc */ -.highlight .s2 { color: #ff8 } /* Literal.String.Double */ -.highlight .se { color: #ff8 } /* Literal.String.Escape */ -.highlight .sh { color: #ff8 } /* Literal.String.Heredoc */ -.highlight .si { color: #ff8 } /* Literal.String.Interpol */ -.highlight .sx { color: #ffa500 } /* Literal.String.Other */ -.highlight .sr { color: #ff8 } /* Literal.String.Regex */ -.highlight .s1 { color: #ff8 } /* Literal.String.Single */ -.highlight .ss { color: #ff8 } /* Literal.String.Symbol */ -.highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #40ffff } /* Name.Variable.Class */ -.highlight .vg { color: #40ffff } /* Name.Variable.Global */ -.highlight .vi { color: #40ffff } /* Name.Variable.Instance */ -.highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */ \ No newline at end of file +.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/styles.css b/stylesheets/styles.css index 033edc7..f14d9e4 100644 --- a/stylesheets/styles.css +++ b/stylesheets/styles.css @@ -1,1010 +1,413 @@ -/* -Leap Day for Github Pages -by Matt Graham -*/ -@font-face { - font-family: 'Quattrocento Sans'; - src: url("../fonts/quattrocentosans-bold-webfont.eot"); - src: url("../fonts/quattrocentosans-bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/quattrocentosans-bold-webfont.woff") format("woff"), url("../fonts/quattrocentosans-bold-webfont.ttf") format("truetype"), url("../fonts/quattrocentosans-bold-webfont.svg#QuattrocentoSansBold") format("svg"); - font-weight: bold; - font-style: normal; +@import url(https://fonts.googleapis.com/css?family=Arvo:400,700,400italic); + +/* MeyerWeb Reset */ + +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: inherit; + vertical-align: baseline; } -@font-face { - font-family: 'Quattrocento Sans'; - src: url("../fonts/quattrocentosans-bolditalic-webfont.eot"); - src: url("../fonts/quattrocentosans-bolditalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/quattrocentosans-bolditalic-webfont.woff") format("woff"), url("../fonts/quattrocentosans-bolditalic-webfont.ttf") format("truetype"), url("../fonts/quattrocentosans-bolditalic-webfont.svg#QuattrocentoSansBoldItalic") format("svg"); - font-weight: bold; - font-style: italic; -} -@font-face { - font-family: 'Quattrocento Sans'; - src: url("../fonts/quattrocentosans-italic-webfont.eot"); - src: url("../fonts/quattrocentosans-italic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/quattrocentosans-italic-webfont.woff") format("woff"), url("../fonts/quattrocentosans-italic-webfont.ttf") format("truetype"), url("../fonts/quattrocentosans-italic-webfont.svg#QuattrocentoSansItalic") format("svg"); - font-weight: normal; - font-style: italic; -} +/* Base text styles */ -@font-face { - font-family: 'Quattrocento Sans'; - src: url("../fonts/quattrocentosans-regular-webfont.eot"); - src: url("../fonts/quattrocentosans-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/quattrocentosans-regular-webfont.woff") format("woff"), url("../fonts/quattrocentosans-regular-webfont.ttf") format("truetype"), url("../fonts/quattrocentosans-regular-webfont.svg#QuattrocentoSansRegular") format("svg"); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Copse'; - src: url("../fonts/copse-regular-webfont.eot"); - src: url("../fonts/copse-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/copse-regular-webfont.woff") format("woff"), url("../fonts/copse-regular-webfont.ttf") format("truetype"), url("../fonts/copse-regular-webfont.svg#CopseRegular") format("svg"); - font-weight: normal; - font-style: normal; -} - -/* normalize.css 2012-02-07T12:37 UTC - http://github.com/necolas/normalize.css */ -/* ============================================================================= - HTML5 display definitions - ========================================================================== */ -/* - * Corrects block display not defined in IE6/7/8/9 & FF3 - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section, -summary { - display: block; -} - -/* - * Corrects inline-block display not defined in IE6/7/8/9 & FF3 - */ -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -/* - * Prevents modern browsers from displaying 'audio' without controls - */ -audio:not([controls]) { - display: none; -} - -/* - * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4 - * Known issue: no IE6 support - */ -[hidden] { - display: none; -} - -/* ============================================================================= - Base - ========================================================================== */ -/* - * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units - * http://clagnut.com/blog/348/#c790 - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ - */ -html { - font-size: 100%; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -ms-text-size-adjust: 100%; - /* 2 */ -} - -/* - * Addresses font-family inconsistency between 'textarea' and other form elements. - */ -html, -button, -input, -select, -textarea { - font-family: sans-serif; -} - -/* - * Addresses margins handled incorrectly in IE6/7 - */ body { - margin: 0; -} + padding:10px 50px 0 0; + font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + color: #232323; + background-color: #FBFAF7; + margin: 0; + line-height: 1.8em; + -webkit-font-smoothing: antialiased; -/* ============================================================================= - Links - ========================================================================== */ -/* - * Addresses outline displayed oddly in Chrome - */ -a:focus { - outline: thin dotted; -} - -/* - * Improves readability when focused and also mouse hovered in all browsers - * people.opera.com/patrickl/experiments/keyboard/test - */ -a:hover, -a:active { - outline: 0; -} - -/* ============================================================================= - Typography - ========================================================================== */ -/* - * Addresses font sizes and margins set differently in IE6/7 - * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5 - */ -h1 { - font-size: 2em; - margin: 0.67em 0; } -h2 { - font-size: 1.5em; - margin: 0.83em 0; +h1, h2, h3, h4, h5, h6 { + color:#232323; + margin:36px 0 10px; } -h3 { - font-size: 1.17em; - margin: 1em 0; +p, ul, ol, table, dl { + margin:0 0 22px; } -h4 { - font-size: 1em; - margin: 1.33em 0; +h1, h2, h3 { + font-family: Arvo, Monaco, serif; + line-height:1.3; + font-weight: normal; } -h5 { - font-size: 0.83em; - margin: 1.67em 0; +h1,h2, h3 { + display: block; + border-bottom: 1px solid #ccc; + padding-bottom: 5px; } -h6 { - font-size: 0.75em; - margin: 2.33em 0; +h1 { + font-size: 30px; } -/* - * Addresses styling not present in IE7/8/9, S5, Chrome - */ -abbr[title] { - border-bottom: 1px dotted; +h2 { + font-size: 24px; } -/* - * Addresses style set to 'bolder' in FF3+, S4/5, Chrome -*/ -b, -strong { - font-weight: bold; +h3 { + font-size: 18px; } -blockquote { - margin: 1em 40px; +h4, h5, h6 { + font-family: Arvo, Monaco, serif; + font-weight: 700; } -/* - * Addresses styling not present in S5, Chrome - */ -dfn { - font-style: italic; +a { + color:#C30000; + font-weight:200; + text-decoration:none; } -/* - * Addresses styling not present in IE6/7/8/9 - */ -mark { - background: #ff0; - color: #000; +a:hover { + text-decoration: underline; } -/* - * Addresses margins set differently in IE6/7 - */ -p, -pre { - margin: 1em 0; -} - -/* - * Corrects font family set oddly in IE6, S4/5, Chrome - * en.wikipedia.org/wiki/User:Davidgothberg/Test59 - */ -pre, -code, -kbd, -samp { - font-family: monospace, serif; - _font-family: 'courier new', monospace; - font-size: 1em; -} - -/* - * 1. Addresses CSS quotes not supported in IE6/7 - * 2. Addresses quote property not supported in S4 - */ -/* 1 */ -q { - quotes: none; -} - -/* 2 */ -q:before, -q:after { - content: ''; - content: none; -} - -small { - font-size: 75%; -} - -/* - * Prevents sub and sup affecting line-height in all browsers - * gist.github.com/413930 - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; +a small { + font-size: 12px; } -sup { - top: -0.5em; +em { + font-style: italic; } -sub { - bottom: -0.25em; +strong { + font-weight:700; } -/* ============================================================================= - Lists - ========================================================================== */ -/* - * Addresses margins set differently in IE6/7 - */ -dl, -menu, -ol, -ul { - margin: 1em 0; +ul li { + list-style: inside; + padding-left: 25px; } -dd { - margin: 0 0 0 40px; +ol li { + list-style: decimal inside; + padding-left: 20px; } -/* - * Addresses paddings set differently in IE6/7 - */ -menu, -ol, -ul { - padding: 0 0 0 40px; +blockquote { + margin: 0; + padding: 0 0 0 20px; + font-style: italic; } -/* - * Corrects list images handled incorrectly in IE7 - */ -nav ul, -nav ol { - list-style: none; - list-style-image: none; +dl, dt, dd, dl p { + font-color: #444; } -/* ============================================================================= - Embedded content - ========================================================================== */ -/* - * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3 - * 2. Improves image quality when scaled in IE7 - * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ - */ -img { - border: 0; - /* 1 */ - -ms-interpolation-mode: bicubic; - /* 2 */ +dl dt { + font-weight: bold; } -/* - * Corrects overflow displayed oddly in IE9 - */ -svg:not(:root) { - overflow: hidden; +dl dd { + padding-left: 20px; + font-style: italic; } -/* ============================================================================= - Figures - ========================================================================== */ -/* - * Addresses margin not present in IE6/7/8/9, S5, O11 - */ -figure { - margin: 0; +dl p { + padding-left: 20px; + font-style: italic; } -/* ============================================================================= - Forms - ========================================================================== */ -/* - * Corrects margin displayed oddly in IE6/7 - */ -form { - margin: 0; +hr { + border:0; + background:#ccc; + height:1px; + margin:0 0 24px; } -/* - * Define consistent border, margin, and padding - */ -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; +/* Images */ + +img { + position: relative; + margin: 0 auto; + max-width: 650px; + padding: 5px; + margin: 10px 0 32px 0; + border: 1px solid #ccc; } -/* - * 1. Corrects color not being inherited in IE6/7/8/9 - * 2. Corrects text not wrapping in FF3 - * 3. Corrects alignment displayed oddly in IE6/7 - */ -legend { - border: 0; - /* 1 */ - padding: 0; - white-space: normal; - /* 2 */ - *margin-left: -7px; - /* 3 */ -} - -/* - * 1. Corrects font size not being inherited in all browsers - * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome - * 3. Improves appearance and consistency in all browsers - */ -button, -input, -select, -textarea { - font-size: 100%; - /* 1 */ - margin: 0; - /* 2 */ - vertical-align: baseline; - /* 3 */ - *vertical-align: middle; - /* 3 */ -} - -/* - * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet - */ -button, -input { - line-height: normal; - /* 1 */ -} - -/* - * 1. Improves usability and consistency of cursor style between image-type 'input' and others - * 2. Corrects inability to style clickable 'input' types in iOS - * 3. Removes inner spacing in IE7 without affecting normal text inputs - * Known issue: inner spacing remains in IE6 - */ -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - cursor: pointer; - /* 1 */ - -webkit-appearance: button; - /* 2 */ - *overflow: visible; - /* 3 */ -} - -/* - * Re-set default cursor for disabled elements - */ -button[disabled], -input[disabled] { - cursor: default; -} - -/* - * 1. Addresses box sizing set to content-box in IE8/9 - * 2. Removes excess padding in IE8/9 - * 3. Removes excess padding in IE7 - Known issue: excess padding remains in IE6 - */ -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - /* 1 */ - padding: 0; - /* 2 */ - *height: 13px; - /* 3 */ - *width: 13px; - /* 3 */ -} - -/* - * 1. Addresses appearance set to searchfield in S5, Chrome - * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof) - */ -input[type="search"] { - -webkit-appearance: textfield; - /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - /* 2 */ - box-sizing: content-box; -} - -/* - * Removes inner padding and search cancel button in S5, Chrome on OS X - */ -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} - -/* - * Removes inner padding and border in FF3+ - * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ - */ -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; + +/* Code blocks */ + +code, pre { + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color:#000; + font-size:14px; } -/* - * 1. Removes default vertical scrollbar in IE6/7/8/9 - * 2. Improves readability and alignment in all browsers - */ -textarea { +pre { + padding: 4px 12px; + background: #FDFEFB; + border-radius:4px; + border:1px solid #D7D8C8; overflow: auto; - /* 1 */ - vertical-align: top; - /* 2 */ + overflow-y: hidden; + margin-bottom: 32px; } -/* ============================================================================= - Tables - ========================================================================== */ -/* - * Remove most spacing between table cells - */ + +/* Tables */ + table { - border-collapse: collapse; - border-spacing: 0; + width:100%; } -body { - font: 14px/22px "Quattrocento Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #666; - font-weight: 300; - margin: 0px; - padding: 0px 0 20px 0px; - background: url(../images/body-background.png) #eae6d1; -} +table { + border: 1px solid #ccc; + margin-bottom: 32px; + text-align: left; + } -h1, h2, h3, h4, h5, h6 { - color: #333; - margin: 0 0 10px; -} +th { + font-family: 'Arvo', Helvetica, Arial, sans-serif; + font-size: 18px; + font-weight: normal; + padding: 10px; + background: #232323; + color: #FDFEFB; + } -p, ul, ol, table, pre, dl { - margin: 0 0 20px; -} +td { + padding: 10px; + background: #ccc; + } -h1, h2, h3 { - line-height: 1.1; -} -h1 { - font-size: 28px; +/* Wrapper */ +.wrapper { + width:960px; } -h2 { - font-size: 24px; - color: #393939; -} -h3, h4, h5, h6 { - color: #666666; -} +/* Header */ -h3 { - font-size: 18px; - line-height: 24px; +header { + background-color: #171717; + color: #FDFDFB; + width:170px; + float:left; + position:fixed; + border: 1px solid #000; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-bottomright: 4px; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + padding: 34px 25px 22px 50px; + margin: 30px 25px 0 0; + -webkit-font-smoothing: antialiased; } -a { - color: #3399cc; - font-weight: 400; - text-decoration: none; +p.header { + font-size: 16px; } -a small { - font-size: 11px; - color: #666; - margin-top: -0.6em; - display: block; +h1.header { + font-family: Arvo, sans-serif; + font-size: 30px; + font-weight: 300; + line-height: 1.3em; + border-bottom: none; + margin-top: 0; } -ul { - list-style-image: url("../images/bullet.png"); -} -strong { - font-weight: bold; - color: #333; +h1.header, a.header, a.name, header a{ + color: #fff; } -.wrapper { - width: 650px; - margin: 0 auto; - position: relative; +a.header { + text-decoration: underline; } -section img { - max-width: 100%; +a.name { + white-space: nowrap; } -blockquote { - border-left: 1px solid #ffcc00; - margin: 0; - padding: 0 0 0 20px; - font-style: italic; +header ul { + list-style:none; + padding:0; } -code { - font-family: "Lucida Sans", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; - font-size: 13px; - color: #efefef; - text-shadow: 0px 1px 0px #000; - margin: 0 4px; - padding: 2px 6px; - background: #333; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - -o-border-radius: 2px; - -ms-border-radius: 2px; - -khtml-border-radius: 2px; - border-radius: 2px; -} +header li { + list-style-type: none; + width:132px; + height:15px; + margin-bottom: 12px; + line-height: 1em; + padding: 6px 6px 6px 7px; -pre { - padding: 8px 15px; - background: #333333; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - -ms-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; - border: 1px solid #c7c7c7; - overflow: auto; - overflow-y: hidden; -} -pre code { - margin: 0px; - padding: 0px; -} + background: #AF0011; + background: -moz-linear-gradient(top, #AF0011 0%, #820011 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd)); + background: -webkit-linear-gradient(top, #AF0011 0%,#820011 100%); + background: -o-linear-gradient(top, #AF0011 0%,#820011 100%); + background: -ms-linear-gradient(top, #AF0011 0%,#820011 100%); + background: linear-gradient(top, #AF0011 0%,#820011 100%); -table { - width: 100%; - border-collapse: collapse; -} + border-radius:4px; + border:1px solid #0D0D0D; -th { - text-align: left; - padding: 5px 10px; - border-bottom: 1px solid #e5e5e5; - color: #444; -} + -webkit-box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1); + box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1); -td { - text-align: left; - padding: 5px 10px; - border-bottom: 1px solid #e5e5e5; - border-right: 1px solid #ffcc00; -} -td:first-child { - border-left: 1px solid #ffcc00; } -hr { - border: 0; - outline: none; - height: 11px; - background: transparent url("../images/hr.gif") center center repeat-x; - margin: 0 0 20px; +header li:hover { + background: #C3001D; + background: -moz-linear-gradient(top, #C3001D 0%, #950119 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd)); + background: -webkit-linear-gradient(top, #C3001D 0%,#950119 100%); + background: -o-linear-gradient(top, #C3001D 0%,#950119 100%); + background: -ms-linear-gradient(top, #C3001D 0%,#950119 100%); + background: linear-gradient(top, #C3001D 0%,#950119 100%); } -dt { - color: #444; - font-weight: 700; +a.buttons { + -webkit-font-smoothing: antialiased; + background: url(../images/arrow-down.png) no-repeat; + font-weight: normal; + text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0; + padding: 2px 2px 2px 22px; + height: 30px; } -header { - padding: 25px 20px 40px 20px; - margin: 0; - position: fixed; - top: 0; - left: 0; - right: 0; - width: 100%; - text-align: center; - background: url(../images/background.png) #4276b6; - -moz-box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75); - -webkit-box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75); - -o-box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75); - box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.75); - z-index: 99; - -webkit-font-smoothing: antialiased; - min-height: 76px; -} -header h1 { - font: 40px/48px "Copse", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #f3f3f3; - text-shadow: 0px 2px 0px #235796; - margin: 0px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - -ms-text-overflow: ellipsis; -} -header p { - color: #d8d8d8; - text-shadow: rgba(0, 0, 0, 0.2) 0 1px 0; - font-size: 18px; - margin: 0px; -} - -#banner { - z-index: 100; - left: 0; - right: 50%; - height: 50px; - margin-right: -382px; - position: fixed; - top: 115px; - background: #ffcc00; - border: 1px solid #f0b500; - -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); - -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); - -o-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); - box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); - -moz-border-radius: 0px 2px 2px 0px; - -webkit-border-radius: 0px 2px 2px 0px; - -o-border-radius: 0px 2px 2px 0px; - -ms-border-radius: 0px 2px 2px 0px; - -khtml-border-radius: 0px 2px 2px 0px; - border-radius: 0px 2px 2px 0px; - padding-right: 10px; -} -#banner .button { - border: 1px solid #dba500; - background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffe788), color-stop(100%, #ffce38)); - background: -webkit-linear-gradient(#ffe788, #ffce38); - background: -moz-linear-gradient(#ffe788, #ffce38); - background: -o-linear-gradient(#ffe788, #ffce38); - background: -ms-linear-gradient(#ffe788, #ffce38); - background: linear-gradient(#ffe788, #ffce38); - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - -o-border-radius: 2px; - -ms-border-radius: 2px; - -khtml-border-radius: 2px; - border-radius: 2px; - -moz-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1); - -webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1); - -o-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0px 1px 1px rgba(0, 0, 0, 0.1); - background-color: #FFE788; - margin-left: 5px; - padding: 10px 12px; - margin-top: 6px; - line-height: 14px; - font-size: 14px; - color: #333; - font-weight: bold; - display: inline-block; - text-align: center; -} -#banner .button:hover { - background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffe788), color-stop(100%, #ffe788)); - background: -webkit-linear-gradient(#ffe788, #ffe788); - background: -moz-linear-gradient(#ffe788, #ffe788); - background: -o-linear-gradient(#ffe788, #ffe788); - background: -ms-linear-gradient(#ffe788, #ffe788); - background: linear-gradient(#ffe788, #ffe788); - background-color: #ffeca0; -} -#banner .fork { - position: fixed; - left: 50%; - margin-left: -325px; - padding: 10px 12px; - margin-top: 6px; - line-height: 14px; - font-size: 14px; - background-color: #FFE788; -} -#banner .downloads { - float: right; - margin: 0 45px 0 0; -} -#banner .downloads span { - float: left; - line-height: 52px; - font-size: 90%; - color: #9d7f0d; - text-transform: uppercase; - text-shadow: rgba(255, 255, 255, 0.2) 0 1px 0; -} -#banner ul { - list-style: none; - height: 40px; - padding: 0; - float: left; - margin-left: 10px; -} -#banner ul li { - display: inline; -} -#banner ul li a.button { - background-color: #FFE788; +a.github { + background: url(../images/octocat-small.png) no-repeat 1px; } -#banner #logo { - position: absolute; - height: 36px; - width: 36px; - right: 7px; - top: 7px; - display: block; - background: url(../images/octocat-logo.png); + +a.buttons:hover { + color: #fff; + text-decoration: none; } + +/* Section - for main page content */ + section { - width: 590px; - padding: 30px 30px 50px 30px; - margin: 20px 0; - margin-top: 190px; - position: relative; - background: #fbfbfb; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - -ms-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; - border: 1px solid #cbcbcb; - -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4); - -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4); - -o-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4); - box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.09), inset 0px 0px 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4); -} - -small { - font-size: 12px; -} - -nav { - width: 230px; - position: fixed; - top: 220px; - left: 50%; - margin-left: -580px; - text-align: right; -} -nav ul { - list-style: none; - list-style-image: none; - font-size: 14px; - line-height: 24px; -} -nav ul li { - padding: 5px 0px; - line-height: 16px; -} -nav ul li.tag-h1 { - font-size: 1.2em; -} -nav ul li.tag-h1 a { - font-weight: bold; - color: #333; -} -nav ul li.tag-h2 + .tag-h1 { - margin-top: 10px; -} -nav ul a { - color: #666; -} -nav ul a:hover { - color: #999; + width:650px; + float:right; + padding-bottom:50px; } + +/* Footer */ + footer { - width: 180px; - position: fixed; - left: 50%; - margin-left: -530px; - bottom: 20px; - text-align: right; - line-height: 16px; + width:170px; + float:left; + position:fixed; + bottom:10px; + padding-left: 50px; } -@media print, screen and (max-width: 1060px) { - div.wrapper { - width: auto; - margin: 0; - } +@media print, screen and (max-width: 960px) { - nav { - display: none; + div.wrapper { + width:auto; + margin:0; } header, section, footer { - float: none; - } - header h1, section h1, footer h1 { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - -ms-text-overflow: ellipsis; + float:none; + position:static; + width:auto; } - #banner { - width: 100%; - } - #banner .downloads { - margin-right: 60px; - } - #banner #logo { - margin-right: 15px; + footer { + border-top: 1px solid #ccc; + margin:0 84px 0 50px; + padding:0; + } + + header { + padding-right:320px; } section { - border: 1px solid #e5e5e5; - border-width: 1px 0; - padding: 20px auto; - margin: 190px auto 20px; - max-width: 600px; + padding:20px 84px 20px 50px; + margin:0 0 20px; } - footer { - text-align: center; - margin: 20px auto; - position: relative; - left: auto; - bottom: auto; - width: auto; + header a small { + display:inline; + } + + header ul { + position:absolute; + right:130px; + top:84px; } } + @media print, screen and (max-width: 720px) { body { - word-wrap: break-word; + word-wrap:break-word; } header { - padding: 20px 20px; - margin: 0; - } - header h1 { - font-size: 32px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - -ms-text-overflow: ellipsis; - } - header p { - display: none; + padding:10px 20px 0; + margin-right: 0; } - #banner { - top: 80px; - } - #banner .fork { - float: left; - display: inline-block; - margin-left: 0px; - position: fixed; - left: 20px; + section { + padding:10px 0 10px 20px; + margin:0 0 30px; } - section { - margin-top: 130px; - margin-bottom: 0px; - width: auto; - } + footer { + margin: 0 0 0 30px; + } header ul, header p.view { - position: static; + position:static; } } + @media print, screen and (max-width: 480px) { - header { - position: relative; - padding: 5px 0px; - min-height: 0px; - } - header h1 { - font-size: 24px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - -ms-text-overflow: ellipsis; - } - section { - margin-top: 5px; + header ul li.download { + display:none; } - #banner { - display: none; - } + footer { + margin: 0 0 0 20px; + } + + footer a{ + display:block; + } - header ul { - display: none; - } } + @media print { body { - padding: 0.4in; - font-size: 12pt; - color: #444; + padding:0.4in; + font-size:12pt; + color:#444; } -} -@media print, screen and (max-height: 680px) { - footer { - text-align: center; - margin: 20px auto; - position: relative; - left: auto; - bottom: auto; - width: auto; - } -} -@media print, screen and (max-height: 480px) { - nav { - display: none; - } - - footer { - text-align: center; - margin: 20px auto; - position: relative; - left: auto; - bottom: auto; - width: auto; - } -} +} \ No newline at end of file