Permalink
Fetching contributors…
Cannot retrieve contributors at this time
107 lines (99 sloc) 3.72 KB
<!DOCTYPE html>
<html>
<head>
<title>Griddles</title>
<!--[if lt IE 9]><script type="text/javascript" src="js/html5shiv.js"></script><![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<link href='css/debug/griddles-mq.css' rel='stylesheet' type='text/css'>
<!--<![endif]-->
<!--[if lt IE 9]>
<link href='css/debug/griddles-no-mq.css' rel='stylesheet' type='text/css'>
<![endif]-->
<style type='text/css'>
header, aside {
display: block;
}
html, body {
height: 100%;
}
html {
background: #fff;
}
body {
max-width: 70em;
margin: 0 auto;
}
.grid {
background: #fff;
}
header h1 {
padding: 10px;
background: #eee;
margin: 10px 0;
}
aside {
display: block;
}
.sidebar {
width: 250px;
float: left;
}
.main {
display: block;
padding-left: 260px;
}
.inner {
width: 100%;
background: #fff;
padding: 10px;
height: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
background: #eee;
}
aside {
padding: 10px;
background: #eee;
}
</style>
</head>
<body>
<div class="grid">
<header class="g-100">
<h1>Griddles - Fixed Sidebar</h1>
</header>
<div class="g-cont sidebar">
<aside>
<h2>This is the sidebar</h2>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
</aside>
</div>
<div class="g-100 main">
<div class="inner clearfix">
<h2>This is the main content block</h2>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
</body>
</html>