Amphibious has a fluid and responsive layout system based on a solid sixteen column grid system.
The Core
Built on the HTML5 Boilerplate
Amphibious inherits all of strengths and years of cross browser research of the html5 boilerplate and helps you build fast, robust, and adaptable web apps or sites.
Conditionl html classes not extra style sheets for browser behaviour
A.mphibio.us' base grid is a sixteen column variation of the 960 grid system. The syntax is simple, elegant, and lightweight columns, (or col for short) act like columns and rows well um... they act like rows and keep all the columns inside that row. It's effective and cross-browser, so you don’t have to worry about compatibility issues or page load inconsistencies.
Amphibious relies on the combination of classes to determine the layout, .col for example floats the element, while .ten determines that it spans ten columns of the grid. All column spans are name spaced to happen inside a container element to remian adaptpable.
A more complex layout might include a row element for example:
Header
Main Content
Some Copy
Inner sidebar
Some Copy
Footer
would be marked up like
<div class="container">
<div class="sixteen col first last">Header</div>
<div class="six col first">
<nav>
<ul>
<li>Nav Item</li>
<li>Nav Item</li>
<li>Nav Item</li>
</ul>
</nav>
</div>
<div class="ten col last">
<div class="row">
<div class="six col first">
<h2>Main Content</h2>
<p>Some Copy</p>
</div>
<div class="four col last">
<h4>Inner sidebar</h4>
<p>Some Copy</p>
</div>
</div>
</div>
<div class="sixteen col first last">Footer</div>
</div>
A.mphibio.us has the flexibility to go mobile like a champ. Go ahead, resize the browser and watch as the layout reacts!
Responsive Columns
These set of column classes repond to two different grid size and casscade down to blocks for mobile devices.
One
Fifteen
Fourteen
Two
Three
Thirteen
Twelve
Four
Five
Eleven
Ten
Six
Seven
Nine
Eight
Eight
Sixteen
Padded Columns
One
Fifteen
Fourteen
Two
Three
Thirteen
Twelve
Four
Five
Eleven
Ten
Six
Seven
Nine
Eight
Eight
Sixteen
Fluid Columns
These set of column classes repond fluidly for all container sizes excluding mobile devices.
One Third
One Third
One Third
One Third
Two Thirds
One Quarter
One Quarter
One Quarter
One Quarter
One Quarter
Three Quarters
One Quarter
Half
One Quarter
Half
Half
Padded Columns
One Third
One Third
One Third
One Third
Two Thirds
One Quarter
One Quarter
One Quarter
One Quarter
One Quarter
Three Quarters
One Quarter
Half
One Quarter
Half
Half
SEO Optimization
Source Ordering of content for maximum load efficiency.
<div class="six col push_ten"></div>
<div class="ten col pull_sixteen absolute"></div>
sixteen col
Media Queries
A.mphibio.us uses a lot of media queries to serve the scalable grid, but also for the convenience of styling your site on different size screens. A.mphibio.us' media queries are almost exclusively targeted at max and min widths rather than device sizes or orientations. The advantage of this is browsers and future mobile devices that don't map to exact set dimensions will still benefit from the styles. That being said, all of the queries were written to be optimal on Apple iOS devices. The built in media queries include:
Smaller than 960: Smaller than the standard base grid