wp_scaffold 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/bin/wp +18 -0
- data/lib/.DS_Store +0 -0
- data/lib/wp_scaffold/generator.rb +81 -0
- data/lib/wp_scaffold/helper.rb +11 -0
- data/lib/wp_scaffold/templates/.DS_Store +0 -0
- data/lib/wp_scaffold/templates/custom_post_type/page-custom.php +50 -0
- data/lib/wp_scaffold/templates/custom_post_type/register-cpt.php +31 -0
- data/lib/wp_scaffold/templates/custom_post_type/single-custom.php +18 -0
- data/lib/wp_scaffold/templates/theme_base/.gitignore +2 -0
- data/lib/wp_scaffold/templates/theme_base/README.md +4 -0
- data/lib/wp_scaffold/templates/theme_base/category.php +19 -0
- data/lib/wp_scaffold/templates/theme_base/coffee/main.coffee +2 -0
- data/lib/wp_scaffold/templates/theme_base/footer.php +15 -0
- data/lib/wp_scaffold/templates/theme_base/front-page.php +18 -0
- data/lib/wp_scaffold/templates/theme_base/functions/breadcrumbs.php +23 -0
- data/lib/wp_scaffold/templates/theme_base/functions/theme-settings.php +60 -0
- data/lib/wp_scaffold/templates/theme_base/functions.php +44 -0
- data/lib/wp_scaffold/templates/theme_base/header.php +31 -0
- data/lib/wp_scaffold/templates/theme_base/home.php +17 -0
- data/lib/wp_scaffold/templates/theme_base/index.php +18 -0
- data/lib/wp_scaffold/templates/theme_base/js/main.js +2 -0
- data/lib/wp_scaffold/templates/theme_base/js/vendor/fastclick.js +762 -0
- data/lib/wp_scaffold/templates/theme_base/js/vendor/html5shiv.js +8 -0
- data/lib/wp_scaffold/templates/theme_base/js/vendor/jquery.easydropdown.min.js +24 -0
- data/lib/wp_scaffold/templates/theme_base/js/vendor/retina-1.1.0.min.js +10 -0
- data/lib/wp_scaffold/templates/theme_base/page.php +22 -0
- data/lib/wp_scaffold/templates/theme_base/partials/content-post.php +33 -0
- data/lib/wp_scaffold/templates/theme_base/screenshot.png +0 -0
- data/lib/wp_scaffold/templates/theme_base/single.php +17 -0
- data/lib/wp_scaffold/templates/theme_base/style.css +211 -0
- data/lib/wp_scaffold/templates/theme_base/styles/_base.scss +36 -0
- data/lib/wp_scaffold/templates/theme_base/styles/_grid.scss +327 -0
- data/lib/wp_scaffold/templates/theme_base/styles/_normalize.scss +410 -0
- data/lib/wp_scaffold/templates/theme_base/styles/style.scss +19 -0
- data/lib/wp_scaffold/usage.txt +11 -0
- data/lib/wp_scaffold/version.rb +3 -0
- data/lib/wp_scaffold.rb +12 -0
- data/wp_scaffold.gemspec +23 -0
- metadata +116 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
|
+
*/
|
4
|
+
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
5
|
+
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
|
6
|
+
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
|
7
|
+
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
|
8
|
+
for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/*
|
2
|
+
* EASYDROPDOWN - A Drop-down Builder for Styleable Inputs and Menus
|
3
|
+
* Version: 2.1.1
|
4
|
+
* License: Creative Commons Attribution 3.0 Unported - CC BY 3.0
|
5
|
+
* http://creativecommons.org/licenses/by/3.0/
|
6
|
+
* This software may be used freely on commercial and non-commercial projects with attribution to the author/copyright holder.
|
7
|
+
* Author: Patrick Kunka
|
8
|
+
* Copyright 2013 Patrick Kunka, All Rights Reserved
|
9
|
+
*/
|
10
|
+
|
11
|
+
(function(d){function e(){this.isField=!0;this.keyboardMode=this.hasLabel=this.cutOff=this.disabled=this.inFocus=this.down=!1;this.nativeTouch=!0;this.wrapperClass="dropdown";this.onChange=null}e.prototype={constructor:e,instances:[],init:function(a,c){var b=this;d.extend(b,c);b.$select=d(a);b.id=a.id;b.options=[];b.$options=b.$select.find("option");b.isTouch="ontouchend"in document;b.$select.removeClass(b.wrapperClass+" dropdown");b.$select.is(":disabled")&&(b.disabled=!0);b.$options.length&&(b.$options.each(function(a){var c=
|
12
|
+
d(this);c.is(":selected")&&(b.selected={index:a,title:c.text()},b.focusIndex=a);c.hasClass("label")&&0==a?(b.hasLabel=!0,b.label=c.text(),c.attr("value","")):b.options.push({domNode:c[0],title:c.text(),value:c.val(),selected:c.is(":selected")})}),b.selected||(b.selected={index:0,title:b.$options.eq(0).text()},b.focusIndex=0),b.render())},render:function(){var a=this;a.$container=a.$select.wrap('<div class="'+a.wrapperClass+(a.isTouch&&a.nativeTouch?" touch":"")+(a.disabled?" disabled":"")+'"><span class="old"/></div>').parent().parent();
|
13
|
+
a.$active=d('<span class="selected">'+a.selected.title+"</span>").appendTo(a.$container);a.$carat=d('<span class="carat"/>').appendTo(a.$container);a.$scrollWrapper=d("<div><ul/></div>").appendTo(a.$container);a.$dropDown=a.$scrollWrapper.find("ul");a.$form=a.$container.closest("form");d.each(a.options,function(){a.$dropDown.append("<li"+(this.selected?' class="active"':"")+">"+this.title+"</li>")});a.$items=a.$dropDown.find("li");a.maxHeight=0;a.cutOff&&a.$items.length>a.cutOff&&a.$container.addClass("scrollable");
|
14
|
+
for(i=0;i<a.$items.length;i++){var c=a.$items.eq(i);a.maxHeight+=c.outerHeight();if(a.cutOff==i+1)break}a.isTouch&&a.nativeTouch?a.bindTouchHandlers():a.bindHandlers()},bindTouchHandlers:function(){var a=this;a.$container.on("click.easyDropDown",function(){a.$select.focus()});a.$select.on({change:function(){var c=d(this).find("option:selected"),b=c.text(),c=c.val();a.$active.text(b);"function"===typeof a.onChange&&a.onChange.call(a.$select[0],{title:b,value:c})},focus:function(){a.$container.addClass("focus")},
|
15
|
+
blur:function(){a.$container.removeClass("focus")}})},bindHandlers:function(){var a=this;a.query="";a.$container.on({"click.easyDropDown":function(){a.down||a.disabled?a.close():a.open()},"mousemove.easyDropDown":function(){a.keyboardMode&&(a.keyboardMode=!1)}});d("body").on("click.easyDropDown."+a.id,function(c){c=d(c.target);var b=a.wrapperClass.split(" ").join(".");!c.closest("."+b).length&&a.down&&a.close()});a.$items.on({"click.easyDropDown":function(){var c=d(this).index();a.select(c);a.$select.focus()},
|
16
|
+
"mouseover.easyDropDown":function(){if(!a.keyboardMode){var c=d(this);c.addClass("focus").siblings().removeClass("focus");a.focusIndex=c.index()}},"mouseout.easyDropDown":function(){a.keyboardMode||d(this).removeClass("focus")}});a.$select.on({"focus.easyDropDown":function(){a.$container.addClass("focus");a.inFocus=!0},"blur.easyDropDown":function(){a.$container.removeClass("focus");a.inFocus=!1},"keydown.easyDropDown":function(c){if(a.inFocus){a.keyboardMode=!0;var b=c.keyCode;if(38==b||40==b||32==
|
17
|
+
b)c.preventDefault(),38==b?(a.focusIndex--,a.focusIndex=0>a.focusIndex?a.$items.length-1:a.focusIndex):40==b&&(a.focusIndex++,a.focusIndex=a.focusIndex>a.$items.length-1?0:a.focusIndex),a.down||a.open(),a.$items.removeClass("focus").eq(a.focusIndex).addClass("focus"),a.cutOff&&a.scrollToView(),a.query="";if(a.down)if(9==b||27==b)a.close();else{if(13==b)return c.preventDefault(),a.select(a.focusIndex),a.close(),!1;if(8==b)return c.preventDefault(),a.query=a.query.slice(0,-1),a.search(),clearTimeout(a.resetQuery),
|
18
|
+
!1;38!=b&&40!=b&&(c=String.fromCharCode(b),a.query+=c,a.search(),clearTimeout(a.resetQuery))}}},"keyup.easyDropDown":function(){a.resetQuery=setTimeout(function(){a.query=""},1200)}});a.$dropDown.on("scroll.easyDropDown",function(c){a.$dropDown[0].scrollTop==a.$dropDown[0].scrollHeight-a.maxHeight?a.$container.addClass("bottom"):a.$container.removeClass("bottom")});if(a.$form.length)a.$form.on("reset.easyDropDown",function(){a.$active.text(a.hasLabel?a.label:a.options[0].title)})},unbindHandlers:function(){this.$container.add(this.$select).add(this.$items).add(this.$form).add(this.$dropDown).off(".easyDropDown");
|
19
|
+
d("body").off("."+this.id)},open:function(){var a=window.scrollY||document.documentElement.scrollTop,c=window.scrollX||document.documentElement.scrollLeft,b=this.notInViewport(a);this.closeAll();this.$select.focus();window.scrollTo(c,a+b);this.$container.addClass("open");this.$scrollWrapper.css("height",this.maxHeight+"px");this.down=!0},close:function(){this.$container.removeClass("open");this.$scrollWrapper.css("height","0px");this.focusIndex=this.selected.index;this.query="";this.down=!1},closeAll:function(){var a=
|
20
|
+
Object.getPrototypeOf(this).instances,c;for(c in a)a[c].close()},select:function(a){"string"===typeof a&&(a=this.$select.find("option[value="+a+"]").index()-1);var c=this.options[a],b=this.hasLabel?a+1:a;this.$items.removeClass("active").eq(a).addClass("active");this.$active.text(c.title);this.$select.find("option").removeAttr("selected").eq(b).prop("selected",!0).parent().trigger("change");this.selected={index:a,title:c.title};this.focusIndex=i;"function"===typeof this.onChange&&this.onChange.call(this.$select[0],
|
21
|
+
{title:c.title,value:c.value})},search:function(){var a=this,c=function(b){a.focusIndex=b;a.$items.removeClass("focus").eq(a.focusIndex).addClass("focus");a.scrollToView()};for(i=0;i<a.options.length;i++){var b=a.options[i].title.toUpperCase();if(0==b.indexOf(a.query)){c(i);return}}for(i=0;i<a.options.length;i++)if(b=a.options[i].title.toUpperCase(),-1<b.indexOf(a.query)){c(i);break}},scrollToView:function(){if(this.focusIndex>=this.cutOff){var a=this.$items.eq(this.focusIndex).outerHeight()*(this.focusIndex+
|
22
|
+
1)-this.maxHeight;this.$dropDown.scrollTop(a)}},notInViewport:function(a){var c=a+(window.innerHeight||document.documentElement.clientHeight),b=this.$dropDown.offset().top+this.maxHeight;return b>=a&&b<=c?0:b-c+5},destroy:function(){this.unbindHandlers();this.$select.unwrap().siblings().remove();this.$select.unwrap();delete Object.getPrototypeOf(this).instances[this.$select[0].id]},disable:function(){this.disabled=!0;this.$container.addClass("disabled");this.$select.attr("disabled",!0);this.down||
|
23
|
+
this.close()},enable:function(){this.disabled=!1;this.$container.removeClass("disabled");this.$select.attr("disabled",!1)}};var f=function(a,c){a.id=a.id?a.id:"EasyDropDown"+("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6).toUpperCase();var b=new e;b.instances[a.id]||(b.instances[a.id]=b,b.init(a,c))};d.fn.easyDropDown=function(){var a=arguments,c=[],b;b=this.each(function(){if(a&&"string"===typeof a[0]){var b=e.prototype.instances[this.id][a[0]](a[1],a[2]);b&&c.push(b)}else f(this,a[0])});
|
24
|
+
return c.length?1<c.length?c:c[0]:b};d(function(){"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(a){return a.__proto__}:function(a){return a.constructor.prototype});d("select.dropdown").each(function(){var a=d(this).attr("data-settings");settings=a?d.parseJSON(a):{};f(this,settings)})})})(jQuery);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/*!
|
2
|
+
* Retina.js v1.1.0
|
3
|
+
*
|
4
|
+
* Copyright 2013 Imulus, LLC
|
5
|
+
* Released under the MIT license
|
6
|
+
*
|
7
|
+
* Retina.js is an open source script that makes it easy to serve
|
8
|
+
* high-resolution images to devices with retina displays.
|
9
|
+
*/
|
10
|
+
(function(){var root=typeof exports=="undefined"?window:exports;var config={check_mime_type:true};root.Retina=Retina;function Retina(){}Retina.configure=function(options){if(options==null)options={};for(var prop in options)config[prop]=options[prop]};Retina.init=function(context){if(context==null)context=root;var existing_onload=context.onload||new Function;context.onload=function(){var images=document.getElementsByTagName("img"),retinaImages=[],i,image;for(i=0;i<images.length;i++){image=images[i];retinaImages.push(new RetinaImage(image))}existing_onload()}};Retina.isRetina=function(){var mediaQuery="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(root.devicePixelRatio>1)return true;if(root.matchMedia&&root.matchMedia(mediaQuery).matches)return true;return false};root.RetinaImagePath=RetinaImagePath;function RetinaImagePath(path,at_2x_path){this.path=path;if(typeof at_2x_path!=="undefined"&&at_2x_path!==null){this.at_2x_path=at_2x_path;this.perform_check=false}else{this.at_2x_path=path.replace(/\.\w+$/,function(match){return"@2x"+match});this.perform_check=true}}RetinaImagePath.confirmed_paths=[];RetinaImagePath.prototype.is_external=function(){return!!(this.path.match(/^https?\:/i)&&!this.path.match("//"+document.domain))};RetinaImagePath.prototype.check_2x_variant=function(callback){var http,that=this;if(this.is_external()){return callback(false)}else if(!this.perform_check&&typeof this.at_2x_path!=="undefined"&&this.at_2x_path!==null){return callback(true)}else if(this.at_2x_path in RetinaImagePath.confirmed_paths){return callback(true)}else{http=new XMLHttpRequest;http.open("HEAD",this.at_2x_path);http.onreadystatechange=function(){if(http.readyState!=4){return callback(false)}if(http.status>=200&&http.status<=399){if(config.check_mime_type){var type=http.getResponseHeader("Content-Type");if(type==null||!type.match(/^image/i)){return callback(false)}}RetinaImagePath.confirmed_paths.push(that.at_2x_path);return callback(true)}else{return callback(false)}};http.send()}};function RetinaImage(el){this.el=el;this.path=new RetinaImagePath(this.el.getAttribute("src"),this.el.getAttribute("data-at2x"));var that=this;this.path.check_2x_variant(function(hasVariant){if(hasVariant)that.swap()})}root.RetinaImage=RetinaImage;RetinaImage.prototype.swap=function(path){if(typeof path=="undefined")path=this.path.at_2x_path;var that=this;function load(){if(!that.el.complete){setTimeout(load,5)}else{that.el.setAttribute("width",that.el.offsetWidth);that.el.setAttribute("height",that.el.offsetHeight);that.el.setAttribute("src",path)}}load()};if(Retina.isRetina()){Retina.init(root)}})();
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- This is the page.php file, used for "pages" -->
|
2
|
+
|
3
|
+
<?php get_header(); ?>
|
4
|
+
|
5
|
+
<section>
|
6
|
+
<!-- Start Loop -->
|
7
|
+
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
8
|
+
|
9
|
+
<div class="breadcrumbs">
|
10
|
+
<?php get_breadcrumbs($post); ?>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<h1><?php the_title(); ?></h1>
|
14
|
+
<?php the_content(); ?>
|
15
|
+
|
16
|
+
<?php endwhile; else: ?>
|
17
|
+
<p>Page not found!</p>
|
18
|
+
<?php endif; ?>
|
19
|
+
<!-- End Loop -->
|
20
|
+
</section>
|
21
|
+
|
22
|
+
<?php get_footer(); ?>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<article>
|
2
|
+
|
3
|
+
<h4><?php the_title(); ?></h4>
|
4
|
+
|
5
|
+
<span>
|
6
|
+
Posted in: <?php the_category(', '); ?>
|
7
|
+
<br/>
|
8
|
+
</span>
|
9
|
+
|
10
|
+
<span>
|
11
|
+
Written by: <?php the_author(); ?>
|
12
|
+
<br/>
|
13
|
+
</span>
|
14
|
+
|
15
|
+
<span>
|
16
|
+
On: <?php the_time('F j, Y'); ?>
|
17
|
+
<br/>
|
18
|
+
</span>
|
19
|
+
|
20
|
+
|
21
|
+
<?php if(is_single()): ?>
|
22
|
+
|
23
|
+
<?php the_content(); ?>
|
24
|
+
<?php comments_template(); ?>
|
25
|
+
|
26
|
+
<?php else: ?>
|
27
|
+
|
28
|
+
<?php the_excerpt(); ?>
|
29
|
+
<a href="<?php the_permalink(); ?>">Continue Reading →</a>
|
30
|
+
|
31
|
+
<?php endif; ?>
|
32
|
+
|
33
|
+
</article>
|
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- This is the single.php file, used for "posts" -->
|
2
|
+
|
3
|
+
<?php get_header(); ?>
|
4
|
+
|
5
|
+
<section>
|
6
|
+
<!-- Start Loop -->
|
7
|
+
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
8
|
+
|
9
|
+
<?php get_template_part( 'partials/content', 'post' ); ?>
|
10
|
+
|
11
|
+
<?php endwhile; else: ?>
|
12
|
+
<p>Post not found!</p>
|
13
|
+
<?php endif; ?>
|
14
|
+
<!-- End Loop -->
|
15
|
+
</section>
|
16
|
+
|
17
|
+
<?php get_footer(); ?>
|
@@ -0,0 +1,211 @@
|
|
1
|
+
/*
|
2
|
+
Theme Name: ___THEME_NAME___
|
3
|
+
Description: Blank theme with basic Wordpress functions included.
|
4
|
+
Author: Nathan Hackley
|
5
|
+
Author URI: http://nathanhackley.com
|
6
|
+
Version: 0.1
|
7
|
+
*/
|
8
|
+
/*--- Browser Reset ---*/
|
9
|
+
* {
|
10
|
+
margin: 0;
|
11
|
+
padding: 0;
|
12
|
+
-webkit-box-sizing: border-box;
|
13
|
+
-moz-box-sizing: border-box;
|
14
|
+
box-sizing: border-box; }
|
15
|
+
|
16
|
+
:focus {
|
17
|
+
outline: none; }
|
18
|
+
|
19
|
+
::-moz-focus-inner {
|
20
|
+
border: 0; }
|
21
|
+
|
22
|
+
a {
|
23
|
+
cursor: pointer; }
|
24
|
+
|
25
|
+
a, img {
|
26
|
+
border: 0;
|
27
|
+
outline: none;
|
28
|
+
text-decoration: none; }
|
29
|
+
|
30
|
+
ul {
|
31
|
+
list-style: none; }
|
32
|
+
|
33
|
+
html {
|
34
|
+
height: 100%; }
|
35
|
+
|
36
|
+
body {
|
37
|
+
text-align: center;
|
38
|
+
height: 100%; }
|
39
|
+
|
40
|
+
.container {
|
41
|
+
margin: 0 auto;
|
42
|
+
min-width: 768px;
|
43
|
+
max-width: 1200px;
|
44
|
+
overflow: hidden;
|
45
|
+
text-align: left; }
|
46
|
+
|
47
|
+
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, .grid_13, .grid_14, .grid_15, .grid_16, .grid_third, .grid_two_thirds {
|
48
|
+
float: left;
|
49
|
+
margin-left: 1%;
|
50
|
+
margin-right: 1%;
|
51
|
+
position: relative;
|
52
|
+
display: inline; }
|
53
|
+
|
54
|
+
.clear:after {
|
55
|
+
content: ".";
|
56
|
+
display: block;
|
57
|
+
clear: both;
|
58
|
+
visibility: hidden;
|
59
|
+
line-height: 0;
|
60
|
+
height: 0; }
|
61
|
+
|
62
|
+
/* --- Float Helpers --- */
|
63
|
+
.right {
|
64
|
+
float: right !important; }
|
65
|
+
|
66
|
+
.left {
|
67
|
+
float: left !important; }
|
68
|
+
|
69
|
+
.container .grid_1 {
|
70
|
+
width: 4.25%; }
|
71
|
+
|
72
|
+
.container .grid_2 {
|
73
|
+
width: 10.5%; }
|
74
|
+
|
75
|
+
.container .grid_3 {
|
76
|
+
width: 16.75%; }
|
77
|
+
|
78
|
+
.container .grid_4 {
|
79
|
+
width: 23.0%; }
|
80
|
+
|
81
|
+
.container .grid_5 {
|
82
|
+
width: 29.25%; }
|
83
|
+
|
84
|
+
.container .grid_6 {
|
85
|
+
width: 35.5%; }
|
86
|
+
|
87
|
+
.container .grid_7 {
|
88
|
+
width: 41.75%; }
|
89
|
+
|
90
|
+
.container .grid_8 {
|
91
|
+
width: 48.0%; }
|
92
|
+
|
93
|
+
.container .grid_9 {
|
94
|
+
width: 54.25%; }
|
95
|
+
|
96
|
+
.container .grid_10 {
|
97
|
+
width: 60.5%; }
|
98
|
+
|
99
|
+
.container .grid_11 {
|
100
|
+
width: 66.75%; }
|
101
|
+
|
102
|
+
.container .grid_12 {
|
103
|
+
width: 73.0%; }
|
104
|
+
|
105
|
+
.container .grid_13 {
|
106
|
+
width: 79.25%; }
|
107
|
+
|
108
|
+
.container .grid_14 {
|
109
|
+
width: 85.5%; }
|
110
|
+
|
111
|
+
.container .grid_15 {
|
112
|
+
width: 91.75%; }
|
113
|
+
|
114
|
+
.container .grid_16 {
|
115
|
+
width: 98.0%; }
|
116
|
+
|
117
|
+
.container .grid_third {
|
118
|
+
width: 31.3%; }
|
119
|
+
|
120
|
+
.container .grid_two_thirds {
|
121
|
+
width: 64.6%; }
|
122
|
+
|
123
|
+
.container .prefix_1 {
|
124
|
+
margin-left: 7.25%; }
|
125
|
+
|
126
|
+
.container .prefix_2 {
|
127
|
+
margin-left: 13.5%; }
|
128
|
+
|
129
|
+
.container .prefix_3 {
|
130
|
+
margin-left: 19.75%; }
|
131
|
+
|
132
|
+
.container .prefix_4 {
|
133
|
+
margin-left: 26.0%; }
|
134
|
+
|
135
|
+
.container .prefix_5 {
|
136
|
+
margin-left: 32.25%; }
|
137
|
+
|
138
|
+
.container .prefix_6 {
|
139
|
+
margin-left: 38.5%; }
|
140
|
+
|
141
|
+
.container .prefix_7 {
|
142
|
+
margin-left: 44.75%; }
|
143
|
+
|
144
|
+
.container .prefix_8 {
|
145
|
+
margin-left: 51.0%; }
|
146
|
+
|
147
|
+
.container .prefix_9 {
|
148
|
+
margin-left: 57.25%; }
|
149
|
+
|
150
|
+
.container .prefix_10 {
|
151
|
+
margin-left: 63.5%; }
|
152
|
+
|
153
|
+
.container .prefix_11 {
|
154
|
+
margin-left: 69.75%; }
|
155
|
+
|
156
|
+
.container .prefix_12 {
|
157
|
+
margin-left: 76.0%; }
|
158
|
+
|
159
|
+
.container .prefix_13 {
|
160
|
+
margin-left: 82.25%; }
|
161
|
+
|
162
|
+
.container .prefix_14 {
|
163
|
+
margin-left: 88.5%; }
|
164
|
+
|
165
|
+
.container .prefix_15 {
|
166
|
+
margin-left: 94.75%; }
|
167
|
+
|
168
|
+
.container .suffix_1 {
|
169
|
+
margin-right: 7.25%; }
|
170
|
+
|
171
|
+
.container .suffix_2 {
|
172
|
+
margin-right: 13.5%; }
|
173
|
+
|
174
|
+
.container .suffix_3 {
|
175
|
+
margin-right: 19.75%; }
|
176
|
+
|
177
|
+
.container .suffix_4 {
|
178
|
+
margin-right: 26.0%; }
|
179
|
+
|
180
|
+
.container .suffix_5 {
|
181
|
+
margin-right: 32.25%; }
|
182
|
+
|
183
|
+
.container .suffix_6 {
|
184
|
+
margin-right: 38.5%; }
|
185
|
+
|
186
|
+
.container .suffix_7 {
|
187
|
+
margin-right: 44.75%; }
|
188
|
+
|
189
|
+
.container .suffix_8 {
|
190
|
+
margin-right: 51.0%; }
|
191
|
+
|
192
|
+
.container .suffix_9 {
|
193
|
+
margin-right: 57.25%; }
|
194
|
+
|
195
|
+
.container .suffix_10 {
|
196
|
+
margin-right: 63.5%; }
|
197
|
+
|
198
|
+
.container .suffix_11 {
|
199
|
+
margin-right: 69.75%; }
|
200
|
+
|
201
|
+
.container .suffix_12 {
|
202
|
+
margin-right: 76.0%; }
|
203
|
+
|
204
|
+
.container .suffix_13 {
|
205
|
+
margin-right: 82.25%; }
|
206
|
+
|
207
|
+
.container .suffix_14 {
|
208
|
+
margin-right: 88.5%; }
|
209
|
+
|
210
|
+
.container .suffix_15 {
|
211
|
+
margin-right: 94.75%; }
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*--- Browser Reset ---*/
|
2
|
+
|
3
|
+
* {
|
4
|
+
margin:0;
|
5
|
+
padding:0;
|
6
|
+
-webkit-box-sizing: border-box;
|
7
|
+
-moz-box-sizing: border-box;
|
8
|
+
box-sizing: border-box;
|
9
|
+
}
|
10
|
+
|
11
|
+
:focus {outline:none;}
|
12
|
+
::-moz-focus-inner {border:0;}
|
13
|
+
|
14
|
+
a {
|
15
|
+
cursor: pointer;
|
16
|
+
}
|
17
|
+
|
18
|
+
a, img {
|
19
|
+
border:0;
|
20
|
+
outline:none;
|
21
|
+
text-decoration:none;
|
22
|
+
}
|
23
|
+
|
24
|
+
ul {
|
25
|
+
list-style:none;
|
26
|
+
}
|
27
|
+
|
28
|
+
html {
|
29
|
+
height: 100%;
|
30
|
+
}
|
31
|
+
|
32
|
+
body {
|
33
|
+
text-align: center;
|
34
|
+
height: 100%;
|
35
|
+
}
|
36
|
+
|