Permalink
Browse files

adding first template to the repo for a generic website page

  • Loading branch information...
1 parent 16064be commit d324a242685b433cdb48279235a7837c816052fe @mdo mdo committed Aug 22, 2011
Showing with 96 additions and 3 deletions.
  1. +7 −1 bootstrap-1.1.0.css
  2. +2 −1 bootstrap-1.1.0.min.css
  3. +6 −1 lib/patterns.less
  4. +81 −0 templates/default.html
View
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Mon Aug 22 12:34:49 PDT 2011
+ * Date: Mon Aug 22 12:48:23 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -1398,6 +1398,7 @@ table .headerSortUp.purple, table .headerSortDown.purple {
}
.hero-unit {
background-color: #f5f5f5;
+ margin-top: 60px;
margin-bottom: 30px;
padding: 60px;
-webkit-border-radius: 6px;
@@ -1415,6 +1416,11 @@ table .headerSortUp.purple, table .headerSortDown.purple {
font-weight: 200;
line-height: 27px;
}
+footer {
+ margin-top: 17px;
+ padding-top: 17px;
+ border-top: 1px solid #eee;
+}
.page-header {
margin-bottom: 17px;
border-bottom: 1px solid #ddd;
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -254,6 +254,7 @@
.hero-unit {
background-color: #f5f5f5;
+ margin-top: 60px;
margin-bottom: 30px;
padding: 60px;
.border-radius(6px);
@@ -269,7 +270,11 @@
line-height: @baseline * 1.5;
}
}
-
+footer {
+ margin-top: @baseline - 1;
+ padding-top: @baseline - 1;
+ border-top: 1px solid #eee;
+}
// PAGE HEADERS
// ------------
View
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Bootstrap, from Twitter</title>
+ <meta name="description" content="">
+ <meta name="author" content="">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="../bootstrap-1.1.0.css" rel="stylesheet">
+
+ <!-- Le javascript -->
+ <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
+ <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
+ <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
+ <script src="assets/js/google-code-prettify/prettify.js"></script>
+ <script src="assets/js/application.js"></script>
+
+ <!-- Le fav and touch icons -->
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ </head>
+
+ <body>
+
+ <div class="topbar">
+ <div class="fill">
+ <div class="container fixed">
+ <h3><a href="#">Project name</a></h3>
+ <ul>
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#grid-system">About</a></li>
+ <li><a href="#layouts">Contact</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+
+ <!-- Main hero unit for a primary marketing message or call to action -->
+ <div class="hero-unit">
+ <h1>Hello, world!</h1>
+ <p>Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
+ <p><a class="btn primary large">Learn more &raquo;</a></p>
+ </div>
+
+ <!-- Example row of columns -->
+ <div class="row">
+ <div class="span6">
+ <h2>Heading</h2>
+ <p>Etiam porta sem malesuada magna mollis euismod. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
+ <p><a class="btn" href="#">View details &raquo;</a></p>
+ </div>
+ <div class="span5">
+ <h2>Heading</h2>
+ <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
+ <p><a class="btn" href="#">View details &raquo;</a></p>
+ </div>
+ <div class="span5">
+ <h2>Heading</h2>
+ <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
+ <p><a class="btn" href="#">View details &raquo;</a></p>
+ </div>
+ </div>
+
+ <footer>
+ <p>&copy; Company 2011</p>
+ </footer>
+
+ </div> <!-- /container -->
+
+ </body>
+</html>

0 comments on commit d324a24

Please sign in to comment.