From dfbb5919532b1dbe1868aadac6e2e95286cad969 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 4 Sep 2011 14:02:56 -0700 Subject: addng docs for the themes stuff and examples --- docs/assets/css/docs.css | 28 +++++++++++++++++----------- docs/assets/img/example-diagram-01.png | Bin 0 -> 1675 bytes docs/assets/img/example-diagram-02.png | Bin 0 -> 1831 bytes docs/assets/img/example-diagram-03.png | Bin 0 -> 1531 bytes docs/index.html | 29 ++++++++++++++++++++++++++--- 5 files changed, 43 insertions(+), 14 deletions(-) create mode 100644 docs/assets/img/example-diagram-01.png create mode 100644 docs/assets/img/example-diagram-02.png create mode 100644 docs/assets/img/example-diagram-03.png (limited to 'docs') diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index f72cd3953..d46656103 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -151,10 +151,8 @@ div.quickstart form textarea { } /* Render mini layout previews -------------------------------------------------- */ -div.mini-layout { - height: 340px; - margin-bottom: 20px; - padding: 9px; +.diagram, +.mini-layout { border: 1px solid #ccc; -webkit-border-radius: 6px; -moz-border-radius: 6px; @@ -163,28 +161,36 @@ div.mini-layout { -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); } -div.mini-layout div { +.diagram { + padding: 4px; +} +.mini-layout { + height: 340px; + margin-bottom: 20px; + padding: 9px; +} +.mini-layout div { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } -div.mini-layout div.mini-layout-body { +.mini-layout .mini-layout-body { background-color: #dceaf4; margin: 0 auto; width: 340px; height: 340px; } -div.mini-layout.fluid div.mini-layout-sidebar, -div.mini-layout.fluid div.mini-layout-header, -div.mini-layout.fluid div.mini-layout-body { +.mini-layout.fluid .mini-layout-sidebar, +.mini-layout.fluid .mini-layout-header, +.mini-layout.fluid .mini-layout-body { float: left; } -div.mini-layout.fluid div.mini-layout-sidebar { +.mini-layout.fluid .mini-layout-sidebar { background-color: #bbd8e9; width: 90px; height: 340px; } -div.mini-layout.fluid div.mini-layout-body { +.mini-layout.fluid .mini-layout-body { width: 300px; margin-left: 10px; } diff --git a/docs/assets/img/example-diagram-01.png b/docs/assets/img/example-diagram-01.png new file mode 100644 index 000000000..16ac0c44e Binary files /dev/null and b/docs/assets/img/example-diagram-01.png differ diff --git a/docs/assets/img/example-diagram-02.png b/docs/assets/img/example-diagram-02.png new file mode 100644 index 000000000..90c30e6a1 Binary files /dev/null and b/docs/assets/img/example-diagram-02.png differ diff --git a/docs/assets/img/example-diagram-03.png b/docs/assets/img/example-diagram-03.png new file mode 100644 index 000000000..00401e0b1 Binary files /dev/null and b/docs/assets/img/example-diagram-03.png differ diff --git a/docs/index.html b/docs/index.html index 1c8809645..7531807fd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -110,13 +110,13 @@

About Bootstrap Brief history, browser support, and more

-
+

History

In the earlier days of Twitter, engineers used almost any library they were familiar with to meet front-end requirements. Bootstrap began as an answer to the challenges that presented and development quickly accelerated during Twitter’s first Hackweek.

With the help and feedback of many engineers at Twitter, Bootstrap has grown significantly to encompass not only basic styles, but more elegant and durable front-end design patterns.

Read more on dev.twitter.com ›

-
+

Browser support

Bootstrap is tested and supported in major modern browsers like Chrome, Safari, Internet Explorer, and Firefox.

Tested and supported in Chrome, Safari, Internet Explorer, and Firefox @@ -128,7 +128,7 @@
  • Opera 11
  • -
    +

    What's included

    Bootstrap comes complete with compiled CSS, uncompiled, and example templates.

      @@ -139,6 +139,29 @@
    + +
    +
    +

    Quick-start examples

    +

    Need some quick templates? Check out these basic examples we've put together:

    + +
    +
    + Simple three-column layout with hero unit +
    +
    + Fluid layout with static sidebar +
    +
    + Simple hanging container for apps +
    +
    +
    +
    +

    Theming Bootstrap

    +

    Starting with v1.3.0, Bootstrap comes equipped with a customizable Less file, Theme.less. It's designed to replace default values in the library and provide a one-stop-shop for adding-on.

    +
    +
    -- cgit v1.2.3