Fixed some grid issues:

* Switched to margins for push/pull
* Removed tablet alpha and omega - they just break things

Added a couple of example files
This commit is contained in:
Nick Pack
2013-10-15 20:14:25 +01:00
parent aed101ae69
commit ab9632a8ca
7 changed files with 287 additions and 168 deletions

View File

@ -483,65 +483,65 @@ hr {
.container .offset-by-fifteen {
padding-left: 900px; }
.container .pull-by-one {
left: -60px; }
margin-left: -60px; }
.container .pull-by-two {
left: -120px; }
margin-left: -120px; }
.container .pull-by-three {
left: -180px; }
margin-left: -180px; }
.container .pull-by-four {
left: -240px; }
margin-left: -240px; }
.container .pull-by-five {
left: -300px; }
margin-left: -300px; }
.container .pull-by-six {
left: -360px; }
margin-left: -360px; }
.container .pull-by-seven {
left: -420px; }
margin-left: -420px; }
.container .pull-by-eight {
left: -480px; }
margin-left: -480px; }
.container .pull-by-nine {
left: -540px; }
margin-left: -540px; }
.container .pull-by-ten {
left: -600px; }
margin-left: -600px; }
.container .pull-by-eleven {
left: -660px; }
margin-left: -660px; }
.container .pull-by-twelve {
left: -720px; }
margin-left: -720px; }
.container .pull-by-thirteen {
left: -780px; }
margin-left: -780px; }
.container .pull-by-fourteen {
left: -840px; }
margin-left: -840px; }
.container .pull-by-fifteen {
left: -900px; }
margin-left: -900px; }
.container .push-by-one {
left: 60px; }
margin-left: 60px; }
.container .push-by-two {
left: 120px; }
margin-left: 120px; }
.container .push-by-three {
left: 180px; }
margin-left: 180px; }
.container .push-by-four {
left: 240px; }
margin-left: 240px; }
.container .push-by-five {
left: 300px; }
margin-left: 300px; }
.container .push-by-six {
left: 360px; }
margin-left: 360px; }
.container .push-by-seven {
left: 420px; }
margin-left: 420px; }
.container .push-by-eight {
left: 480px; }
margin-left: 480px; }
.container .push-by-nine {
left: 540px; }
margin-left: 540px; }
.container .push-by-ten {
left: 600px; }
margin-left: 600px; }
.container .push-by-eleven {
left: 660px; }
margin-left: 660px; }
.container .push-by-twelve {
left: 720px; }
margin-left: 720px; }
.container .push-by-thirteen {
left: 780px; }
margin-left: 780px; }
.container .push-by-fourteen {
left: 840px; }
margin-left: 840px; }
.container .push-by-fifteen {
left: 900px; }
margin-left: 900px; }
@media only screen and (max-width: 959px) {
.container {
@ -619,72 +619,68 @@ hr {
.container .offset-by-fifteen {
padding-left: 720px; }
.container .pull-by-one {
left: -48px; }
margin-left: -48px; }
.container .pull-by-two {
left: -96px; }
margin-left: -96px; }
.container .pull-by-three {
left: -144px; }
margin-left: -144px; }
.container .pull-by-four {
left: -192px; }
margin-left: -192px; }
.container .pull-by-five {
left: -240px; }
margin-left: -240px; }
.container .pull-by-six {
left: -288px; }
margin-left: -288px; }
.container .pull-by-seven {
left: -336px; }
margin-left: -336px; }
.container .pull-by-eight {
left: -384px; }
margin-left: -384px; }
.container .pull-by-nine {
left: -432px; }
margin-left: -432px; }
.container .pull-by-ten {
left: -480px; }
margin-left: -480px; }
.container .pull-by-eleven {
left: -528px; }
margin-left: -528px; }
.container .pull-by-twelve {
left: -576px; }
margin-left: -576px; }
.container .pull-by-thirteen {
left: -624px; }
margin-left: -624px; }
.container .pull-by-fourteen {
left: -672px; }
margin-left: -672px; }
.container .pull-by-fifteen {
left: -720px; }
margin-left: -720px; }
.container .push-by-one {
left: 48px; }
margin-left: 48px; }
.container .push-by-two {
left: 96px; }
margin-left: 96px; }
.container .push-by-three {
left: 144px; }
margin-left: 144px; }
.container .push-by-four {
left: 192px; }
margin-left: 192px; }
.container .push-by-five {
left: 240px; }
margin-left: 240px; }
.container .push-by-six {
left: 288px; }
margin-left: 288px; }
.container .push-by-seven {
left: 336px; }
margin-left: 336px; }
.container .push-by-eight {
left: 384px; }
margin-left: 384px; }
.container .push-by-nine {
left: 432px; }
margin-left: 432px; }
.container .push-by-ten {
left: 480px; }
margin-left: 480px; }
.container .push-by-eleven {
left: 528px; }
margin-left: 528px; }
.container .push-by-twelve {
left: 576px; }
margin-left: 576px; }
.container .push-by-thirteen {
left: 624px; }
margin-left: 624px; }
.container .push-by-fourteen {
left: 672px; }
margin-left: 672px; }
.container .push-by-fifteen {
left: 720px; }
margin-left: 720px; }
.container {
width: 768px; }
.container .alpha {
margin-right: 10px; }
.container .omega {
margin-left: 10px; } }
width: 768px; } }
/*
#Mobile Grid
Every column element in this grid is the total grid width

File diff suppressed because one or more lines are too long

View File

@ -5,69 +5,69 @@
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<title>Your Page Title Here</title>
<meta name="description" content="">
<meta name="author" content="">
<meta charset="utf-8">
<title>Your Page Title Here</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile Specific Metas
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS
<!-- CSS
================================================== -->
<link rel="stylesheet" href="css/Ribs.min.css">
<link rel="stylesheet" href="css/Ribs.min.css">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Favicons
================================================== -->
<link rel="shortcut icon" href="img/favicon.ico">
<link rel="apple-touch-icon" href="img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/apple-touch-icon-114x114.png">
<!-- Favicons
================================================== -->
<link rel="shortcut icon" href="img/favicon.ico">
<link rel="apple-touch-icon" href="img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/apple-touch-icon-114x114.png">
</head>
<body>
<!-- Primary Page Layout
================================================== -->
<!-- Primary Page Layout
================================================== -->
<!-- Delete everything in this .container and get started on your own site! -->
<!-- Delete everything in this .container and get started on your own site! -->
<div class="container">
<div class="sixteen columns">
<h1 class="remove-bottom" style="margin-top: 40px">Ribs</h1>
<h5>Version 1.0.5</h5>
<hr />
</div>
<div class="one-third column">
<h3>About Ribs</h3>
<p>Skeleton is a small collection of well-organized CSS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone. It's based on a responsive grid, but also provides very basic CSS for typography, buttons, forms and media queries. Go ahead, resize this super basic page to see the grid in action.</p>
<p>Ribs is the evolution of the original Skeleton Project.</p>
</div>
<div class="one-third column">
<h3>Three Core Principles</h3>
<p>Skeleton is built on three core principles:</p>
<ul class="square">
<li><strong>A Responsive Grid Down To Mobile</strong>: Elegant scaling from a browser to tablets to mobile.</li>
<li><strong>Fast to Start</strong>: It's a tool for rapid development with best practices</li>
<li><strong>Style Agnostic</strong>: It provides the most basic, beautiful styles, but is meant to be overwritten.</li>
</ul>
</div>
<div class="one-third column">
<h3>Docs &amp; Support</h3>
<p>The easiest way to really get started with Ribs is to check out the original skeleton docs and info at <a href="http://www.getskeleton.com">www.getskeleton.com.</a> - this is the main set of docs for the original css project, but will provide all of the needed insight. Ribs is open-source and has a <a href="https://github.com/nickpack/Ribs">project on github</a>, so check that out if you want to report bugs or create a pull request. If you have any questions, thoughts, concerns or feedback, please don't hesitate to email me at <a href="mailto:nick@nickpack.com">nick@nickpack.com</a>.</p>
</div>
<div class="container">
<div class="sixteen columns">
<h1 class="remove-bottom" style="margin-top: 40px">Ribs</h1>
<h5>Version 1.0.9</h5>
<hr />
</div>
<div class="one-third column">
<h3>About Ribs</h3>
<p>Skeleton is a small collection of well-organized CSS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone. It's based on a responsive grid, but also provides very basic CSS for typography, buttons, forms and media queries. Go ahead, resize this super basic page to see the grid in action.</p>
<p>Ribs is the evolution of the original Skeleton Project.</p>
</div>
<div class="one-third column">
<h3>Three Core Principles</h3>
<p>Skeleton is built on three core principles:</p>
<ul class="square">
<li><strong>A Responsive Grid Down To Mobile</strong>: Elegant scaling from a browser to tablets to mobile.</li>
<li><strong>Fast to Start</strong>: It's a tool for rapid development with best practices</li>
<li><strong>Style Agnostic</strong>: It provides the most basic, beautiful styles, but is meant to be overwritten.</li>
</ul>
</div>
<div class="one-third column">
<h3>Docs &amp; Support</h3>
<p>The easiest way to really get started with Ribs is to check out the original skeleton docs and info at <a href="http://www.getskeleton.com">www.getskeleton.com.</a> - this is the main set of docs for the original css project, but will provide all of the needed insight. Ribs is open-source and has a <a href="https://github.com/nickpack/Ribs">project on github</a>, so check that out if you want to report bugs or create a pull request. If you have any questions, thoughts, concerns or feedback, please don't hesitate to email me at <a href="mailto:nick@nickpack.com">nick@nickpack.com</a>.</p>
</div>
</div><!-- container -->
</div><!-- container -->
<!-- End Document
================================================== -->
</body>
</html>
</html>