diff --git a/README.md b/README.md deleted file mode 100644 index e49c9d6..0000000 --- a/README.md +++ /dev/null @@ -1,59 +0,0 @@ -# [Skeleton](http://getskeleton.com) -Skeleton is a simple, responsive boilerplate to kickstart any responsive project. - -Check out for documentation and details. - -## Getting started - -There are a couple ways to download Skeleton: -- [Download the zip](https://github.com/dhg/Skeleton/releases/download/v2.0/Skeleton.2.0.zip) -- Clone the repo: `git clone https://github.com/dhg/Skeleton.git` - - -### What's in the download? - -The download includes Skeleton's CSS, Normalize CSS as a reset, a sample favicon, and an index.html as a starting point. - -``` -skeleton/ -├── index.html -├── css/ -│ ├── normalize.min.css -│ └── skeleton.css -├── images/ -│ └── favicon.ico -└── README.md -``` - -### Why it's awesome - -Skeleton is lightweight and simple. It styles only raw HTML elements (with a few exceptions) and provides a responsive grid. Nothing more. -- Minified, it's less than a kb -- It's a starting point, not a UI framework -- No compiling or installing...just vanilla CSS - - -## Browser support - -- Chrome latest -- Firefox latest -- Opera latest -- Safari latest -- IE latest - -The above list is non-exhaustive. Skeleton works perfectly with almost all older versions of the browsers above, though IE certainly has large degradation prior to IE9. - - -## License - -All parts of Skeleton are free to use and abuse under the [open-source MIT license](http://opensource.org/licenses/mit-license.php). - - -## Colophon - -Skeleton was built using [Sublime Text 3](http://www.sublimetext.com/3) and designed with [Sketch](http://bohemiancoding.com/sketch). The typeface [Raleway](http://www.google.com/fonts/specimen/Raleway) was created by [Matt McInerney](http://matt.cc/) and [Pablo Impallari](http://www.impallari.com/). Code highlighting by Google's [Prettify library](https://code.google.com/p/google-code-prettify/). Icons in the header of the documentation are all derivative work of icons from [The Noun Project](thenounproject.com). [Feather](http://thenounproject.com/term/feather/22073) by Zach VanDeHey, [Pen](http://thenounproject.com/term/pen/21163) (with cap) by Ed Harrison, [Pen](http://thenounproject.com/term/pen/32847) (with clicker) by Matthew Hall, and [Watch](http://thenounproject.com/term/watch/48015) by Julien Deveaux. - - -## Acknowledgement - -Skeleton was created by [Dave Gamache](https://twitter.com/dhg) for a better web. \ No newline at end of file diff --git a/css/custom.css b/css/custom.css new file mode 100644 index 0000000..e6b26b5 --- /dev/null +++ b/css/custom.css @@ -0,0 +1,227 @@ +.container { + max-width: 800px; } +.header { + margin-top: 6rem; + text-align: center; } +.value-prop { + margin-top: 1rem; } +.value-props { + margin-top: 4rem; + margin-bottom: 4rem; } +.docs-header { + text-transform: uppercase; + font-size: 1.4rem; + letter-spacing: .2rem; + font-weight: 600; } +.docs-section { + border-top: 1px solid #eee; + padding: 4rem 0; + margin-bottom: 0;} +.value-img { + display: block; + text-align: center; + margin: 2.5rem auto 0; } +.example-grid .column, +.example-grid .columns { + background: #EEE; + text-align: center; + border-radius: 4px; + font-size: 1rem; + text-transform: uppercase; + height: 30px; + line-height: 30px; + margin-bottom: .75rem; + font-weight: 600; + letter-spacing: .1rem; } +.docs-example .row, +.docs-example.row, +.docs-example form { + margin-bottom: 0; } +.docs-example h1, +.docs-example h2, +.docs-example h3, +.docs-example h4, +.docs-example h5, +.docs-example h6 { + margin-bottom: 1rem; } +.heading-font-size { + font-size: 1.2rem; + color: #999; + letter-spacing: normal; } +.code-example { + margin-top: 1.5rem; + margin-bottom: 0; } +.code-example-body { + white-space: pre; + word-wrap: break-word } + +.example { + position: relative; + margin-top: 4rem; } +.example-header { + font-weight: 600; + margin-top: 1.5rem; + margin-bottom: .5rem; } +.example-description { + margin-bottom: 1.5rem; } +.example-screenshot-wrapper { + display: block; + position: relative; + overflow: hidden; + border-radius: 6px; + border: 1px solid #eee; + height: 250px; } +.example-screenshot { + width: 100%; + height: auto; } +.example-screenshot.coming-soon { + width: auto; + position: absolute; + background: #eee; + top: 5px; + right: 5px; + bottom: 5px; + left: 5px; } + +.navbar { + display: none; } + +/* Larger than phone */ +@media (min-width: 550px) { + .header { + margin-top: 18rem; } + .value-props { + margin-top: 9rem; + margin-bottom: 7rem; } + .value-img { + margin-bottom: 1rem; } + .example-grid .column, + .example-grid .columns { + margin-bottom: 1.5rem; } + .docs-section { + padding: 6rem 0; } + .example-send-yourself-copy { + float: right; + margin-top: 12px; } + .example-screenshot-wrapper { + position: absolute; + width: 48%; + height: 100%; + left: 0; + max-height: none; } +} + +/* Larger than tablet */ +@media (min-width: 750px) { + /* Navbar */ + .navbar + .docs-section { + border-top-width: 0; } + .navbar, + .navbar-spacer { + display: block; + width: 100%; + height: 6.5rem; + background: #fff; + z-index: 99; + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; } + .navbar-spacer { + display: none; } + .navbar > .container { + width: 100%; } + .navbar-list { + list-style: none; + margin-bottom: 0; } + .navbar-item { + position: relative; + float: left; + margin-bottom: 0; } + .navbar-link { + text-transform: uppercase; + font-size: 11px; + font-weight: 600; + letter-spacing: .2rem; + margin-right: 35px; + text-decoration: none; + line-height: 6.3rem; + color: #222; } + .navbar-link.active { + color: #33C3F0; } + .has-docked-nav .navbar { + position: fixed; + top: 0; + left: 0; } + .has-docked-nav .navbar-spacer { + display: block; } + /* Re-overiding the width 100% declaration to match size of % based container */ + .has-docked-nav .navbar > .container { + width: 80%; } + + /* Popover */ + .popover.open { + display: block; + } + .popover { + display: none; + position: absolute; + top: 0; + left: 0; + background: #fff; + border: 1px solid #eee; + border-radius: 4px; + top: 92%; + left: -50%; + -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); + -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); + filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); } + .popover-item:first-child .popover-link:after, + .popover-item:first-child .popover-link:before { + bottom: 100%; + left: 50%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; } + .popover-item:first-child .popover-link:after { + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #fff; + border-width: 10px; + margin-left: -10px; } + .popover-item:first-child .popover-link:before { + border-color: rgba(238, 238, 238, 0); + border-bottom-color: #eee; + border-width: 11px; + margin-left: -11px; } + .popover-list { + padding: 0; + margin: 0; + list-style: none; } + .popover-item { + padding: 0; + margin: 0; } + .popover-link { + position: relative; + color: #222; + display: block; + padding: 8px 20px; + border-bottom: 1px solid #eee; + text-decoration: none; + text-transform: uppercase; + font-size: 1.0rem; + font-weight: 600; + text-align: center; + letter-spacing: .1rem; } + .popover-item:first-child .popover-link { + border-radius: 4px 4px 0 0; } + .popover-item:last-child .popover-link { + border-radius: 0 0 4px 4px; + border-bottom-width: 0; } + .popover-link:hover { + color: #fff; + background: #33C3F0; } + .popover-link:hover, + .popover-item:first-child .popover-link:hover:after { + border-bottom-color: #33C3F0; } +} \ No newline at end of file diff --git a/css/github-prettify-theme.css b/css/github-prettify-theme.css new file mode 100644 index 0000000..7dd0a0d --- /dev/null +++ b/css/github-prettify-theme.css @@ -0,0 +1,149 @@ +/* GitHub Theme */ +.prettyprint { + background: #fff; + font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace; + font-size: 1.2rem; + padding: 2.5rem 3rem; + -webkit-font-smoothing: antialiased; +} + +.pln { + color: #333333; +} + +@media screen { + .str { + color: #dd1144; + } + + .kwd { + color: #333333; + } + + .com { + color: #999988; + } + + .typ { + color: #445588; + } + + .lit { + color: #445588; + } + + .pun { + color: #333333; + } + + .opn { + color: #333333; + } + + .clo { + color: #333333; + } + + .tag { + color: navy; + } + + .atn { + color: teal; + } + + .atv { + color: #dd1144; + } + + .dec { + color: #333333; + } + + .var { + color: teal; + } + + .fun { + color: #990000; + } +} +@media print, projection { + .str { + color: #006600; + } + + .kwd { + color: #006; + font-weight: bold; + } + + .com { + color: #600; + font-style: italic; + } + + .typ { + color: #404; + font-weight: bold; + } + + .lit { + color: #004444; + } + + .pun, .opn, .clo { + color: #444400; + } + + .tag { + color: #006; + font-weight: bold; + } + + .atn { + color: #440044; + } + + .atv { + color: #006600; + } +} +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; +} + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { + /* */ +} + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { + /* */ +} + +/* My additional styles */ + +/*li.L0, li.L1, li.L2, li.L3, +li.L5, li.L6, li.L7, li.L8 +{ list-style-type: decimal !important }*/ + +.prettyprint li { + margin-bottom: .3rem; +} \ No newline at end of file diff --git a/css/normalize.css b/dist/css/normalize.css similarity index 100% rename from css/normalize.css rename to dist/css/normalize.css diff --git a/css/skeleton.css b/dist/css/skeleton.css similarity index 100% rename from css/skeleton.css rename to dist/css/skeleton.css diff --git a/images/favicon.png b/dist/images/favicon.png similarity index 100% rename from images/favicon.png rename to dist/images/favicon.png diff --git a/documentation-assets/Skeleton-Grid.psd.zip b/documentation-assets/Skeleton-Grid.psd.zip deleted file mode 100644 index abfa147..0000000 Binary files a/documentation-assets/Skeleton-Grid.psd.zip and /dev/null differ diff --git a/documentation-assets/docs.css b/documentation-assets/docs.css deleted file mode 100644 index 893c1d7..0000000 --- a/documentation-assets/docs.css +++ /dev/null @@ -1,200 +0,0 @@ -/* -* Skeleton V1.0.3 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 7/17/2011 -*/ - - -/* Documentation Styles -================================================== */ - div.container { - padding-top: 60px; } - - /* Doc nav */ - nav { - position: fixed; - width: 160px; } - #logo { - margin-bottom: 20px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - letter-spacing: -1px; - font-weight: bold; } - nav ul { - float: left; } - nav ul li { - display: block; - margin-bottom: 10px; } - nav ul li a, - nav ul li a:visited, - nav ul li a:active { - font-size: 14px; - color: #555; - text-decoration: none; - font-weight: bold; } - nav ul li a:hover, - nav ul li a:focus { - color: #222; } - header h1 { - font-size: 52px; - line-height: 61px; - letter-spacing: -1px; - font-weight: normal; - font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif; } - hr.large { - border: none; - height: 8px; - background: #ebebeb; - margin: 50px 0; } - div.doc-section { - margin: 30px 0; } - - #whatAndWhy .row { - padding: 30px 0 0; } - - #typography blockquote { - margin-top: 20px; } - - .hidden-code a { - font-size: 12px; - color: #999; } - .hidden-code>div { - display: none; } - - - /* Grid */ - #grid .column, - #grid .columns { - background: #ddd; - height: 25px; - line-height: 25px; - margin-bottom: 10px; - text-align: center; - text-transform: uppercase; - color: #555; - font-size: 12px; - font-weight: bold; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; } - #grid .column:hover, - #grid .columns:hover { - background: #bbb; - color: #333; } - #grid .example-grid { overflow: hidden; } - - .post-button-note, - .post-button-note a { - font-size: 11px; - color: #999; } - - #examples .four.columns a { - text-decoration: none; - } - #examples .four.columns a:hover { - text-decoration: underline; - } - - - .resize { - position: fixed; - bottom: 0; - right: 0; - height: 80px; - width: 80px; - background: url(images/resize.png); } - - - img { - max-width: 100%; - height: auto; } - - .gist-meta { display: none !important;} - - ul ul ul li { margin-bottom: 3px; } - - .twitter-share-button { margin-bottom: -18px; } - -.carbonad, -.carbonad-image, -.carbonad-text, -.carbonad-tag { - background: none !important; - border: none !important; - margin-left: 0 !important; -} -.carbonad-tag { - margin-top: 6px !important; - padding-top: 0 !important; -} -.carbonad-text { - height: auto !important; -} -.carbonad-image { - margin-top: 0 !important; -} - - - /* Mobile */ - @media only screen and (max-width: 767px) { - header h1 { font-size: 34px; line-height: 37px; } - nav { position: relative; } - nav ul, - .carbonad { - display: none; - } - #logo { text-align: left; } - #examples .four.columns { - padding-top: 30px; - } - } - - /* Mobile Landscape */ - @media only screen and (min-width: 480px) and (max-width: 767px) { - nav ul { - display: none; - } - } - - /* Non 960 */ - @media only screen and (max-width: 959px) { - #logo { - font-size: 21px; - margin-bottom: 15px; } - nav .button { - padding: 9px 20px 11px; } - } - - /* iPad Portrait/Browser */ - @media only screen and (min-width: 768px) and (max-width: 959px) { - nav { - width: 124px; } - } - - /* Mobile/Browser */ - @media only screen and (max-width: 767px) {} - - /* Mobile Landscape/Browser */ - @media only screen and (min-width: 480px) and (max-width: 767px) {} - - /* Anything smaller than standard 960 */ - @media only screen and (max-width: 959px) {} - - - /* iPad Portrait Only */ - @media only screen and (min-width: 768px) and (max-width: 959px) and (max-device-width: 1000px) {} - - /* Mobile Only */ - @media only screen and (max-width: 767px) and (max-device-width: 1000px) {} - - /* Mobile Landscape Only */ - @media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {} - - /* Anything smaller than standard 960 on a device */ - @media only screen and (max-width: 959px) and (max-device-width: 1000px) { - .resize { display: none; } - } - - diff --git a/documentation-assets/images/artisticly.jpg b/documentation-assets/images/artisticly.jpg deleted file mode 100644 index 18a641d..0000000 Binary files a/documentation-assets/images/artisticly.jpg and /dev/null differ diff --git a/documentation-assets/images/blink182.jpg b/documentation-assets/images/blink182.jpg deleted file mode 100644 index 564fd12..0000000 Binary files a/documentation-assets/images/blink182.jpg and /dev/null differ diff --git a/documentation-assets/images/eleventhedition.jpg b/documentation-assets/images/eleventhedition.jpg deleted file mode 100644 index bb90c5c..0000000 Binary files a/documentation-assets/images/eleventhedition.jpg and /dev/null differ diff --git a/documentation-assets/images/fast.jpg b/documentation-assets/images/fast.jpg deleted file mode 100644 index 0c1f4d1..0000000 Binary files a/documentation-assets/images/fast.jpg and /dev/null differ diff --git a/documentation-assets/images/foundation.jpg b/documentation-assets/images/foundation.jpg deleted file mode 100644 index 41d1cd9..0000000 Binary files a/documentation-assets/images/foundation.jpg and /dev/null differ diff --git a/documentation-assets/images/hivemind.jpg b/documentation-assets/images/hivemind.jpg deleted file mode 100644 index 7c419a8..0000000 Binary files a/documentation-assets/images/hivemind.jpg and /dev/null differ diff --git a/documentation-assets/images/jimnielson.jpg b/documentation-assets/images/jimnielson.jpg deleted file mode 100644 index ab643bc..0000000 Binary files a/documentation-assets/images/jimnielson.jpg and /dev/null differ diff --git a/documentation-assets/images/resize.png b/documentation-assets/images/resize.png deleted file mode 100644 index 5278963..0000000 Binary files a/documentation-assets/images/resize.png and /dev/null differ diff --git a/documentation-assets/images/responsive.jpg b/documentation-assets/images/responsive.jpg deleted file mode 100644 index e459d86..0000000 Binary files a/documentation-assets/images/responsive.jpg and /dev/null differ diff --git a/documentation-assets/images/superskeleton.jpg b/documentation-assets/images/superskeleton.jpg deleted file mode 100644 index 7e62423..0000000 Binary files a/documentation-assets/images/superskeleton.jpg and /dev/null differ diff --git a/examples/landing/css/custom.css b/examples/landing/css/custom.css new file mode 100644 index 0000000..4c8cae5 --- /dev/null +++ b/examples/landing/css/custom.css @@ -0,0 +1,157 @@ +/* Shared +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.button { + border-radius: 100px; +} + +/* Nav +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.navbar { + display: none; +} + +/* Sections +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.section { + padding: 8rem 0 7rem; + text-align: center; +} +.section-heading, +.section-description { + margin-bottom: 1.2rem; +} + +/* Hero +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.phones { + position: relative; +} +.phone { + position: relative; + max-width: 80%; + margin: 3rem auto -12rem; +} +.phone + .phone { + display: none; +} + +/* Values +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.values { + background-image: url('../images/values-bg.jpg'); + background-size: cover; + color: #fff; + padding-bottom: 5rem; +} +.value-multiplier { + margin-bottom: .5rem; + color: #11DFC7; +} +.value-heading { + margin-bottom: .3rem; +} +.value-description { + opacity: .8; + font-weight: 300; +} + +/* Help +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.get-help { + border-bottom: 1px solid #ddd; +} + +/* Categories +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.categories { + background-image: url('../images/values-bg.jpg'); + background-size: cover; + color: #fff; +} +.categories .section-description { + margin-bottom: 4rem; +} + +/* Bigger than 550 */ +@media (min-width: 550px) { + .hero { + padding: 12rem 0; + text-align: left; + height: 165px; + } + .section { + padding: 12rem 0 11rem; + } + .phone { + position: absolute; + top: -7rem; + right: 3rem; + max-height: 362px; + z-index: 3; + } + .phone + .phone { + top: -6rem; + display: block; + max-width: 73.8%; + right: 0; + z-index: 2; + max-height: 338px; + } + .hero-heading { + font-size: 2.4rem; + } +} + +/* Bigger than 750 */ +@media (min-width: 750px) { + .hero { + height: 190px; + } + .hero-heading { + font-size: 2.6rem; + } + .section { + padding: 14rem 0 15rem; + } + .hero { + padding: 16rem 0 14rem; + } + .section-description { + max-width: 60%; + margin-left: auto; + margin-right: auto; + } + .phone { + top: -14rem; + right: 5rem; + max-height: 510px; + } + .phone + .phone { + top: -12rem; + max-height: 472px; + } + .categories { + padding: 15rem 0 8rem; + } +} + +/* Bigger than 1000 */ +@media (min-width: 1000px) { + .section { + padding: 20rem 0 19rem; + } + .hero { + padding: 22rem 0; + } + .hero-heading { + font-size: 3.0rem; + } + .phone { + top: -16rem; + max-height: 615px; + } + .phone + .phone { + top: -14rem; + max-height: 570px; + } +} \ No newline at end of file diff --git a/examples/landing/images/iphone.png b/examples/landing/images/iphone.png new file mode 100644 index 0000000..0f42930 Binary files /dev/null and b/examples/landing/images/iphone.png differ diff --git a/examples/landing/images/placeholder.png b/examples/landing/images/placeholder.png new file mode 100644 index 0000000..d20fe31 Binary files /dev/null and b/examples/landing/images/placeholder.png differ diff --git a/examples/landing/images/values-bg.jpg b/examples/landing/images/values-bg.jpg new file mode 100644 index 0000000..d17c084 Binary files /dev/null and b/examples/landing/images/values-bg.jpg differ diff --git a/examples/landing/index.html b/examples/landing/index.html new file mode 100644 index 0000000..06272c9 --- /dev/null +++ b/examples/landing/index.html @@ -0,0 +1,117 @@ + + + + + + + Skeleton: Responsive CSS Boilerplate + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

Stop coding non-responsive sites. Let users view sites from anywhere.

+ Try Skeleton +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+
+ +
+

Need help getting started?

+

Skeleton is an amazingly easy place to start with responsive development. If you want to learn more, just visit the documentation!

+ View Skeleton Docs +
+ +
+
+

Responsive Images

+

Skeleton images sit easily in grid with .u-max-full-width class. I suggest exploring solution to serving different images based on device size.

+
+
+ +
+
+ +
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/images/examples/landing.jpg b/images/examples/landing.jpg new file mode 100644 index 0000000..dd2df91 Binary files /dev/null and b/images/examples/landing.jpg differ diff --git a/images/feather.svg b/images/feather.svg new file mode 100644 index 0000000..bb1e6fa --- /dev/null +++ b/images/feather.svg @@ -0,0 +1,12 @@ + + + + feather + Created with Sketch Beta. + + + + + + + \ No newline at end of file diff --git a/images/pens.svg b/images/pens.svg new file mode 100644 index 0000000..8f94436 --- /dev/null +++ b/images/pens.svg @@ -0,0 +1,21 @@ + + + + pens + Created with Sketch Beta. + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/watch.svg b/images/watch.svg new file mode 100644 index 0000000..b6b16c6 --- /dev/null +++ b/images/watch.svg @@ -0,0 +1,18 @@ + + + + watch + Created with Sketch Beta. + + + + + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index ea884a7..f563b62 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ –––––––––––––––––––––––––––––––––––––––––––––––––– --> Skeleton: Responsive CSS Boilerplate - - + + diff --git a/js/site.js b/js/site.js new file mode 100644 index 0000000..3cb76e5 --- /dev/null +++ b/js/site.js @@ -0,0 +1,94 @@ +$(document).ready(function() { + + // Variables + var $codeSnippets = $('.code-example-body'), + $nav = $('.navbar'), + $body = $('body'), + $window = $(window), + $popoverLink = $('[data-popover]'), + navOffsetTop = $nav.offset().top, + $document = $(document), + entityMap = { + "&": "&", + "<": "<", + ">": ">", + '"': '"', + "'": ''', + "/": '/' + } + + function init() { + $window.on('scroll', onScroll) + $window.on('resize', resize) + $popoverLink.on('click', openPopover) + $document.on('click', closePopover) + $('a[href^="#"]').on('click', smoothScroll) + buildSnippets(); + } + + function smoothScroll(e) { + e.preventDefault(); + $(document).off("scroll"); + var target = this.hash, + menu = target; + $target = $(target); + $('html, body').stop().animate({ + 'scrollTop': $target.offset().top-40 + }, 0, 'swing', function () { + window.location.hash = target; + $(document).on("scroll", onScroll); + }); + } + + function openPopover(e) { + e.preventDefault() + closePopover(); + var popover = $($(this).data('popover')); + popover.toggleClass('open') + e.stopImmediatePropagation(); + } + + function closePopover(e) { + if($('.popover.open').length > 0) { + $('.popover').removeClass('open') + } + } + + $("#button").click(function() { + $('html, body').animate({ + scrollTop: $("#elementtoScrollToID").offset().top + }, 2000); +}); + + function resize() { + $body.removeClass('has-docked-nav') + navOffsetTop = $nav.offset().top + onScroll() + } + + function onScroll() { + if(navOffsetTop < $window.scrollTop() && !$body.hasClass('has-docked-nav')) { + $body.addClass('has-docked-nav') + } + if(navOffsetTop > $window.scrollTop() && $body.hasClass('has-docked-nav')) { + $body.removeClass('has-docked-nav') + } + } + + function escapeHtml(string) { + return String(string).replace(/[&<>"'\/]/g, function (s) { + return entityMap[s]; + }); + } + + function buildSnippets() { + $codeSnippets.each(function() { + var newContent = escapeHtml($(this).html()) + $(this).html(newContent) + }) + } + + + init(); + +}); \ No newline at end of file diff --git a/src/images/apple-touch-icon-114x114.png b/src/images/apple-touch-icon-114x114.png deleted file mode 100644 index 88a9d5e..0000000 Binary files a/src/images/apple-touch-icon-114x114.png and /dev/null differ diff --git a/src/images/apple-touch-icon-72x72.png b/src/images/apple-touch-icon-72x72.png deleted file mode 100644 index bbca145..0000000 Binary files a/src/images/apple-touch-icon-72x72.png and /dev/null differ diff --git a/src/images/apple-touch-icon.png b/src/images/apple-touch-icon.png deleted file mode 100644 index 72281c1..0000000 Binary files a/src/images/apple-touch-icon.png and /dev/null differ diff --git a/src/images/favicon.ico b/src/images/favicon.ico deleted file mode 100644 index 821c691..0000000 Binary files a/src/images/favicon.ico and /dev/null differ diff --git a/src/stylesheets/base.css b/src/stylesheets/base.css deleted file mode 100644 index 9ae0270..0000000 --- a/src/stylesheets/base.css +++ /dev/null @@ -1,269 +0,0 @@ -/* -* Skeleton V1.2 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 6/20/2012 -*/ - - -/* Table of Content -================================================== - #Reset & Basics - #Basic Styles - #Site Styles - #Typography - #Links - #Lists - #Images - #Buttons - #Forms - #Misc */ - - -/* #Reset & Basics (Inspired by E. Meyers) -================================================== */ - 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; } - 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; } - - -/* #Basic Styles -================================================== */ - body { - background: #fff; - font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #444; - -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ - -webkit-text-size-adjust: 100%; - } - - -/* #Typography -================================================== */ - h1, h2, h3, h4, h5, h6 { - color: #181818; - font-family: "Georgia", "Times New Roman", serif; - font-weight: normal; } - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; } - h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;} - h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; } - h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; } - h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; } - h5 { font-size: 17px; line-height: 24px; } - h6 { font-size: 14px; line-height: 21px; } - .subheader { color: #777; } - - p { margin: 0 0 20px 0; } - p img { margin: 0; } - p.lead { font-size: 21px; line-height: 27px; color: #777; } - - em { font-style: italic; } - strong { font-weight: bold; color: #333; } - small { font-size: 80%; } - -/* Blockquotes */ - blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; } - blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; } - blockquote cite { display: block; font-size: 12px; color: #555; } - blockquote cite:before { content: "\2014 \0020"; } - blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } - - hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } - - -/* #Links -================================================== */ - a, a:visited { color: #333; text-decoration: underline; outline: 0; } - a:hover, a:focus { color: #000; } - p a, p a:visited { line-height: inherit; } - - -/* #Lists -================================================== */ - ul, ol { margin-bottom: 20px; } - ul { list-style: none outside; } - ol { list-style: decimal; } - ol, ul.square, ul.circle, ul.disc { margin-left: 30px; } - ul.square { list-style: square outside; } - ul.circle { list-style: circle outside; } - ul.disc { list-style: disc outside; } - ul ul, ul ol, - ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; } - ul ul li, ul ol li, - ol ol li, ol ul li { margin-bottom: 6px; } - li { line-height: 18px; margin-bottom: 12px; } - ul.large li { line-height: 21px; } - li p { line-height: 21px; } - -/* #Images -================================================== */ - - img.scale-with-grid { - max-width: 100%; - height: auto; } - - -/* #Buttons -================================================== */ - - .button, - button, - input[type="submit"], - input[type="reset"], - input[type="button"] { - background: #eee; /* Old browsers */ - background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */ - background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */ - background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */ - background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */ - background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */ - background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */ - border: 1px solid #aaa; - border-top: 1px solid #ccc; - border-left: 1px solid #ccc; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - color: #444; - display: inline-block; - font-size: 11px; - font-weight: bold; - text-decoration: none; - text-shadow: 0 1px rgba(255, 255, 255, .75); - cursor: pointer; - margin-bottom: 20px; - line-height: normal; - padding: 8px 10px; - font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; } - - .button:hover, - button:hover, - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover { - color: #222; - background: #ddd; /* Old browsers */ - background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */ - background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */ - background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */ - background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */ - background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */ - background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */ - border: 1px solid #888; - border-top: 1px solid #aaa; - border-left: 1px solid #aaa; } - - .button:active, - button:active, - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active { - border: 1px solid #666; - background: #ccc; /* Old browsers */ - background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */ - background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */ - background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */ - background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */ - background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */ - background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ } - - .button.full-width, - button.full-width, - input[type="submit"].full-width, - input[type="reset"].full-width, - input[type="button"].full-width { - width: 100%; - padding-left: 0 !important; - padding-right: 0 !important; - text-align: center; } - - /* Fix for odd Mozilla border & padding issues */ - button::-moz-focus-inner, - input::-moz-focus-inner { - border: 0; - padding: 0; - } - - -/* #Forms -================================================== */ - - form { - margin-bottom: 20px; } - fieldset { - margin-bottom: 20px; } - input[type="text"], - input[type="password"], - input[type="email"], - textarea, - select { - border: 1px solid #ccc; - padding: 6px 4px; - outline: none; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #777; - margin: 0; - width: 210px; - max-width: 100%; - display: block; - margin-bottom: 20px; - background: #fff; } - select { - padding: 0; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - textarea:focus { - border: 1px solid #aaa; - color: #444; - -moz-box-shadow: 0 0 3px rgba(0,0,0,.2); - -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2); - box-shadow: 0 0 3px rgba(0,0,0,.2); } - textarea { - min-height: 60px; } - label, - legend { - display: block; - font-weight: bold; - font-size: 13px; } - select { - width: 220px; } - input[type="checkbox"] { - display: inline; } - label span, - legend span { - font-weight: normal; - font-size: 13px; - color: #444; } - -/* #Misc -================================================== */ - .remove-bottom { margin-bottom: 0 !important; } - .half-bottom { margin-bottom: 10px !important; } - .add-bottom { margin-bottom: 20px !important; } - - diff --git a/src/stylesheets/layout.css b/src/stylesheets/layout.css deleted file mode 100644 index b99f451..0000000 --- a/src/stylesheets/layout.css +++ /dev/null @@ -1,58 +0,0 @@ -/* -* Skeleton V1.2 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 6/20/2012 -*/ - -/* Table of Content -================================================== - #Site Styles - #Page Styles - #Media Queries - #Font-Face */ - -/* #Site Styles -================================================== */ - -/* #Page Styles -================================================== */ - -/* #Media Queries -================================================== */ - - /* Smaller than standard 960 (devices and browsers) */ - @media only screen and (max-width: 959px) {} - - /* Tablet Portrait size to standard 960 (devices and browsers) */ - @media only screen and (min-width: 768px) and (max-width: 959px) {} - - /* All Mobile Sizes (devices and browser) */ - @media only screen and (max-width: 767px) {} - - /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ - @media only screen and (min-width: 480px) and (max-width: 767px) {} - - /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ - @media only screen and (max-width: 479px) {} - - -/* #Font-Face -================================================== */ -/* This is the proper syntax for an @font-face file - Just create a "fonts" folder at the root, - copy your FontName into code below and remove - comment brackets */ - -/* @font-face { - font-family: 'FontName'; - src: url('../fonts/FontName.eot'); - src: url('../fonts/FontName.eot?iefix') format('eot'), - url('../fonts/FontName.woff') format('woff'), - url('../fonts/FontName.ttf') format('truetype'), - url('../fonts/FontName.svg#webfontZam02nTh') format('svg'); - font-weight: normal; - font-style: normal; } -*/ \ No newline at end of file diff --git a/src/stylesheets/skeleton.css b/src/stylesheets/skeleton.css deleted file mode 100644 index 5db3d38..0000000 --- a/src/stylesheets/skeleton.css +++ /dev/null @@ -1,242 +0,0 @@ -/* -* Skeleton V1.2 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 6/20/2012 -*/ - - -/* Table of Contents -================================================== - #Base 960 Grid - #Tablet (Portrait) - #Mobile (Portrait) - #Mobile (Landscape) - #Clearing */ - - - -/* #Base 960 Grid -================================================== */ - - .container { position: relative; width: 960px; margin: 0 auto; padding: 0; } - .container .column, - .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; } - .row { margin-bottom: 20px; } - - /* Nested Column Classes */ - .column.alpha, .columns.alpha { margin-left: 0; } - .column.omega, .columns.omega { margin-right: 0; } - - /* Base Grid */ - .container .one.column, - .container .one.columns { width: 40px; } - .container .two.columns { width: 100px; } - .container .three.columns { width: 160px; } - .container .four.columns { width: 220px; } - .container .five.columns { width: 280px; } - .container .six.columns { width: 340px; } - .container .seven.columns { width: 400px; } - .container .eight.columns { width: 460px; } - .container .nine.columns { width: 520px; } - .container .ten.columns { width: 580px; } - .container .eleven.columns { width: 640px; } - .container .twelve.columns { width: 700px; } - .container .thirteen.columns { width: 760px; } - .container .fourteen.columns { width: 820px; } - .container .fifteen.columns { width: 880px; } - .container .sixteen.columns { width: 940px; } - - .container .one-third.column { width: 300px; } - .container .two-thirds.column { width: 620px; } - - /* Offsets */ - .container .offset-by-one { padding-left: 60px; } - .container .offset-by-two { padding-left: 120px; } - .container .offset-by-three { padding-left: 180px; } - .container .offset-by-four { padding-left: 240px; } - .container .offset-by-five { padding-left: 300px; } - .container .offset-by-six { padding-left: 360px; } - .container .offset-by-seven { padding-left: 420px; } - .container .offset-by-eight { padding-left: 480px; } - .container .offset-by-nine { padding-left: 540px; } - .container .offset-by-ten { padding-left: 600px; } - .container .offset-by-eleven { padding-left: 660px; } - .container .offset-by-twelve { padding-left: 720px; } - .container .offset-by-thirteen { padding-left: 780px; } - .container .offset-by-fourteen { padding-left: 840px; } - .container .offset-by-fifteen { padding-left: 900px; } - - - -/* #Tablet (Portrait) -================================================== */ - - /* Note: Design for a width of 768px */ - - @media only screen and (min-width: 768px) and (max-width: 959px) { - .container { width: 768px; } - .container .column, - .container .columns { margin-left: 10px; margin-right: 10px; } - .column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; } - .column.omega, .columns.omega { margin-right: 0; margin-left: 10px; } - .alpha.omega { margin-left: 0; margin-right: 0; } - - .container .one.column, - .container .one.columns { width: 28px; } - .container .two.columns { width: 76px; } - .container .three.columns { width: 124px; } - .container .four.columns { width: 172px; } - .container .five.columns { width: 220px; } - .container .six.columns { width: 268px; } - .container .seven.columns { width: 316px; } - .container .eight.columns { width: 364px; } - .container .nine.columns { width: 412px; } - .container .ten.columns { width: 460px; } - .container .eleven.columns { width: 508px; } - .container .twelve.columns { width: 556px; } - .container .thirteen.columns { width: 604px; } - .container .fourteen.columns { width: 652px; } - .container .fifteen.columns { width: 700px; } - .container .sixteen.columns { width: 748px; } - - .container .one-third.column { width: 236px; } - .container .two-thirds.column { width: 492px; } - - /* Offsets */ - .container .offset-by-one { padding-left: 48px; } - .container .offset-by-two { padding-left: 96px; } - .container .offset-by-three { padding-left: 144px; } - .container .offset-by-four { padding-left: 192px; } - .container .offset-by-five { padding-left: 240px; } - .container .offset-by-six { padding-left: 288px; } - .container .offset-by-seven { padding-left: 336px; } - .container .offset-by-eight { padding-left: 384px; } - .container .offset-by-nine { padding-left: 432px; } - .container .offset-by-ten { padding-left: 480px; } - .container .offset-by-eleven { padding-left: 528px; } - .container .offset-by-twelve { padding-left: 576px; } - .container .offset-by-thirteen { padding-left: 624px; } - .container .offset-by-fourteen { padding-left: 672px; } - .container .offset-by-fifteen { padding-left: 720px; } - } - - -/* #Mobile (Portrait) -================================================== */ - - /* Note: Design for a width of 320px */ - - @media only screen and (max-width: 767px) { - .container { width: 300px; } - .container .columns, - .container .column { margin: 0; } - - .container .one.column, - .container .one.columns, - .container .two.columns, - .container .three.columns, - .container .four.columns, - .container .five.columns, - .container .six.columns, - .container .seven.columns, - .container .eight.columns, - .container .nine.columns, - .container .ten.columns, - .container .eleven.columns, - .container .twelve.columns, - .container .thirteen.columns, - .container .fourteen.columns, - .container .fifteen.columns, - .container .sixteen.columns, - .container .one-third.column, - .container .two-thirds.column { width: 300px; } - - /* Offsets */ - .container .offset-by-one, - .container .offset-by-two, - .container .offset-by-three, - .container .offset-by-four, - .container .offset-by-five, - .container .offset-by-six, - .container .offset-by-seven, - .container .offset-by-eight, - .container .offset-by-nine, - .container .offset-by-ten, - .container .offset-by-eleven, - .container .offset-by-twelve, - .container .offset-by-thirteen, - .container .offset-by-fourteen, - .container .offset-by-fifteen { padding-left: 0; } - - } - - -/* #Mobile (Landscape) -================================================== */ - - /* Note: Design for a width of 480px */ - - @media only screen and (min-width: 480px) and (max-width: 767px) { - .container { width: 420px; } - .container .columns, - .container .column { margin: 0; } - - .container .one.column, - .container .one.columns, - .container .two.columns, - .container .three.columns, - .container .four.columns, - .container .five.columns, - .container .six.columns, - .container .seven.columns, - .container .eight.columns, - .container .nine.columns, - .container .ten.columns, - .container .eleven.columns, - .container .twelve.columns, - .container .thirteen.columns, - .container .fourteen.columns, - .container .fifteen.columns, - .container .sixteen.columns, - .container .one-third.column, - .container .two-thirds.column { width: 420px; } - } - - -/* #Clearing -================================================== */ - - /* Self Clearing Goodness */ - .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; } - - /* Use clearfix class on parent to clear nested columns, - or wrap each row of columns in a
*/ - .clearfix:before, - .clearfix:after, - .row:before, - .row:after { - content: '\0020'; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; } - .row:after, - .clearfix:after { - clear: both; } - .row, - .clearfix { - zoom: 1; } - - /* You can also use a
to clear columns */ - .clear { - clear: both; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; - }