From d709dba284180679accb6e164686249bdf243211 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 13 Feb 2013 23:37:08 -0800 Subject: Start using some includes; test out some pygments highlighting --- docs/getting-started.html | 407 +++++++++++++++++++++++----------------------- 1 file changed, 207 insertions(+), 200 deletions(-) (limited to 'docs/getting-started.html') diff --git a/docs/getting-started.html b/docs/getting-started.html index 6ef060637..742dc466f 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -1,6 +1,7 @@ --- layout: default title: Getting started +description: Overview of the project, its contents, and how to get started with a simple template. --- -
- -
- - - - -
-
- -
- -

Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations.

-

Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:

-
+      
+      
+ +

Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations.

+

Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:

+ +{% highlight bash %} bootstrap/ ├── css/ │ ├── bootstrap.css @@ -78,172 +80,177 @@ title: Getting started ├── glyphiconshalflings-regular.svg ├── glyphiconshalflings-regular.ttf └── glyphiconshalflings-regular.woff -
-

This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.

-

Please note that all JavaScript plugins require jQuery to be included.

-
- - - - -
- -

Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation.

- -

Docs sections

-

In addition to the getting started documentation you're reading now, the Bootstrap docs are broken into a few key pages.

- -

Core CSS

-

Global styles for the body, Normalize, links, grid system, tables, forms, buttons, icons, and more.

-

Components

-

Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more. Head here to see what kind of custom components Bootstrap has to offer beyond basic HTML elements.

-

JavaScript plugins

-

Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.

-
- - - - -
- -

With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the File structure.

-

Now, here's a look at a typical HTML file:

-
-<!DOCTYPE html>
-<html>
-  <head>
-    <title>Bootstrap 101 Template</title>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  </head>
-  <body>
-    <h1>Hello, world!</h1>
-    <script src="http://code.jquery.com/jquery.js"></script>
-  </body>
-</html>
-
-

To make this a Bootstrapped template, just include the appropriate CSS and JS files:

-
-<!DOCTYPE html>
-<html>
-  <head>
-    <title>Bootstrap 101 Template</title>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <!-- Bootstrap -->
-    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
-  </head>
-  <body>
-    <h1>Hello, world!</h1>
-    <script src="http://code.jquery.com/jquery.js"></script>
-    <script src="js/bootstrap.min.js"></script>
-  </body>
-</html>
-
-

And you're set! With those two files added, you can begin to develop any site or application with Bootstrap.

- -
- -

Responsive features in IE8

-

Internet Explorer 8 lacks support for media queries, the method by which we deliver responsive CSS to folks. To enable that, you need to include a third party tool (which we include in the project repository) called Respond.js.

+{% endhighlight %} + +

This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.

+

Please note that all JavaScript plugins require jQuery to be included.

+
+ + + + +
+ +

Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation.

+ +

Docs sections

+

In addition to the getting started documentation you're reading now, the Bootstrap docs are broken into a few key pages.

+ +

Core CSS

+

Global styles for the body, Normalize, links, grid system, tables, forms, buttons, icons, and more.

+

Components

+

Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more. Head here to see what kind of custom components Bootstrap has to offer beyond basic HTML elements.

+

JavaScript plugins

+

Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.

+
+ + + + +
+ +

With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the File structure.

+

Now, here's a look at a typical HTML file:

+ +{% highlight html linenos %} + + + + Bootstrap 101 Template + + + +

Hello, world!

+ + + +{% endhighlight %} + +

To make this a Bootstrapped template, just include the appropriate CSS and JS files:

+ +{% highlight html linenos %} + + + + Bootstrap 101 Template + + + + + +

Hello, world!

+ + + + +{% endhighlight %} + +

And you're set! With those two files added, you can begin to develop any site or application with Bootstrap.

+ +
+ +

Responsive features in IE8

+

Internet Explorer 8 lacks support for media queries, the method by which we deliver responsive CSS to folks. To enable that, you need to include a third party tool (which we include in the project repository) called Respond.js.

 <!--[if lt IE 9]>
   <script src="/assets/js/respond/respond.js"></script>
 <![endif]-->
 
-
- - - - -
-
+ + + + +
+ +

Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.

+
+
+ + + +

Starter template

+

A barebones HTML document with all the Bootstrap CSS and JavaScript included.

-

Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.

-
-
- - - -

Starter template

-

A barebones HTML document with all the Bootstrap CSS and JavaScript included.

-
-
- - - -

Basic marketing site

-

Featuring a hero unit for a primary message and three supporting elements.

-
-
- - - -

Narrow marketing

-

Slim, lightweight marketing template for small projects or teams.

-
-
- - - -

Justified nav

-

Marketing page with equal-width navigation links in a modified navbar.

-
-
- - - -

Sign in

-

Barebones sign in form with custom, larger form controls and a flexible layout.

-
-
- - - -

Sticky footer

-

Pin a fixed-height footer to the bottom of the user's viewport.

-
-
- - - -

Sticky footer w/ navbar

-

Add a fixed navbar to the default sticky footer template.

-
-
- - - -

Carousel jumbotron

-

An interactive riff on the basic marketing site featuring a prominent carousel.

-
+
+ + + +

Basic marketing site

+

Featuring a hero unit for a primary message and three supporting elements.

-
+
+ + + +

Narrow marketing

+

Slim, lightweight marketing template for small projects or teams.

+
+
+ + + +

Justified nav

+

Marketing page with equal-width navigation links in a modified navbar.

+
+
+ + + +

Sign in

+

Barebones sign in form with custom, larger form controls and a flexible layout.

+
+
+ + + +

Sticky footer

+

Pin a fixed-height footer to the bottom of the user's viewport.

+
+
+ + + +

Sticky footer w/ navbar

+

Add a fixed navbar to the default sticky footer template.

+
+
+ + + +

Carousel jumbotron

+

An interactive riff on the basic marketing site featuring a prominent carousel.

+
+
+ - -
- -

Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.

- Visit the Bootstrap docs - Customize Bootstrap -
+ +
+ +

Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.

+ Visit the Bootstrap docs + Customize Bootstrap +
-
- + + - + -- cgit v1.2.3