From a044a201faa58adabf743f371ef7465da4de2a84 Mon Sep 17 00:00:00 2001 From: Glen Cheney Date: Tue, 8 Mar 2016 18:29:56 +1100 Subject: [PATCH] Refactor more docs javascript and add css compilation with gulp. --- _config.yml | 2 +- _posts/2013-07-16-faq.html | 7 - _posts/2014-03-08-bootstrap3-grid.html | 2 +- _posts/2014-04-09-requirejs.html | 5 +- _scss/_demo-list.scss | 69 ++ _scss/_faq.scss | 73 ++ _scss/_global.scss | 73 ++ _scss/_helpers.scss | 53 +- _scss/_main.scss | 293 ------ _scss/_normalize.scss | 348 ++++---- _scss/_site-nav.scss | 68 ++ _scss/_variables.scss | 21 +- _scss/style.scss | 5 +- css/gallery.css | 44 +- css/shuffle-styles.css | 103 +-- css/style.css | 1126 +++++++++++------------- gulpfile.js | 15 +- js/demos/animate-in.js | 154 ++-- js/demos/bootstrap3grid.js | 22 - js/demos/padding-grid.js | 6 + js/evenheights.js | 2 + js/faq.js | 90 +- js/page.js | 23 +- js/require-main.js | 48 +- 24 files changed, 1252 insertions(+), 1400 deletions(-) create mode 100644 _scss/_demo-list.scss create mode 100644 _scss/_faq.scss create mode 100644 _scss/_global.scss create mode 100644 _scss/_site-nav.scss delete mode 100644 js/demos/bootstrap3grid.js create mode 100644 js/demos/padding-grid.js diff --git a/_config.yml b/_config.yml index 9cf2932..bb85c72 100644 --- a/_config.yml +++ b/_config.yml @@ -34,7 +34,7 @@ defaultTitle: 'Shuffle.js' defaultDescription: 'Categorize, sort, and filter a responsive grid of items' defaultImage: '/img/shuffle.png' -longDescription: 'Shuffle.js is a jQuery plugin for sorting, filtering, and laying out a group of items. It’s performant, responsive, and fast. Check out the demos!' +longDescription: 'Shuffle.js is a package for sorting, filtering, and laying out a group of items. It’s performant, responsive, and fast. Check out the demos!' demos: - url: 'demos/2013-05-01-basic' diff --git a/_posts/2013-07-16-faq.html b/_posts/2013-07-16-faq.html index 161202c..37d30fd 100644 --- a/_posts/2013-07-16-faq.html +++ b/_posts/2013-07-16-faq.html @@ -63,13 +63,6 @@ extraJS: [ "faq.js" ] -
-
-

Does Shuffle work with Zepto?

-

Not at the moment.

-
-
-

Padding isn’t working on the shuffle element.

diff --git a/_posts/2014-03-08-bootstrap3-grid.html b/_posts/2014-03-08-bootstrap3-grid.html index 6b1d172..18d478b 100644 --- a/_posts/2014-03-08-bootstrap3-grid.html +++ b/_posts/2014-03-08-bootstrap3-grid.html @@ -4,7 +4,7 @@ title: Bootstrap 3 Grid Demo description: Demonstrating how Shuffle can be used with a grid system which uses padding for gutters instead of margins. image: /demos/bootstrap3grid.jpg externalCSS: [ "http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" ] -extraJS: [ "demos/bootstrap3grid.js" ] +extraJS: [ "demos/padding-grid.js" ] ---