From aff3694f28946a0640f15dc07591dbfb332fcbaf Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 9 Jun 2012 12:58:55 -0700 Subject: [PATCH] remove mention of prettify from docs, fix docs subnav width when fixed --- docs/assets/css/docs.css | 6 +++--- docs/base-css.html | 15 ++------------- docs/templates/pages/base-css.mustache | 15 ++------------- 3 files changed, 7 insertions(+), 29 deletions(-) diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index bbf8e339a8..18b7f5c9f1 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -346,7 +346,7 @@ hr.soften { filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */ } .subnav-fixed .nav { - width: 938px; + max-width: 780px; margin: 0 auto; padding: 0 1px; } @@ -918,7 +918,7 @@ form.bs-docs-example { /* Jumbotron buttons */ .jumbotron .btn { margin-bottom: 10px; - } +av } /* Subnav */ .subnav { @@ -1026,7 +1026,7 @@ form.bs-docs-example { /* Update subnav container */ .subnav-fixed .nav { - width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */ + max-width: 970px; /* 2px less to account for left/right borders being removed when in fixed mode */ } } diff --git a/docs/base-css.html b/docs/base-css.html index de0363dd46..084654b27a 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -424,19 +424,6 @@ For example, <code>section</code> should be wrapped as inline.

Note: Be sure to keep code within <pre> tags as close to the left as possible; it will render all tabs.

You may optionally add the .pre-scrollable class which will set a max-height of 350px and provide a y-axis scrollbar.

- -

Google Prettify

-

Take the same <pre> element and add two optional classes for enhanced rendering.

-
-<p>Sample text here...</p>
-
-
-<pre class="prettyprint
-     linenums">
-  &lt;p&gt;Sample text here...&lt;/p&gt;
-</pre>
-
-

Download google-code-prettify and view the readme for how to use.

@@ -448,6 +435,8 @@ For example, <code>section</code> should be wrapped as inline.

Tables For, you guessed it, tabular data

+ +

Table markup

diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 9010bef7a0..ee95ac755d 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -355,19 +355,6 @@

{{_i}}Note: Be sure to keep code within <pre> tags as close to the left as possible; it will render all tabs.{{/i}}

{{_i}}You may optionally add the .pre-scrollable class which will set a max-height of 350px and provide a y-axis scrollbar.{{/i}}

- -

Google Prettify

-

Take the same <pre> element and add two optional classes for enhanced rendering.

-
-<p>{{_i}}Sample text here...{{/i}}</p>
-
-
-<pre class="prettyprint
-     linenums">
-  &lt;p&gt;{{_i}}Sample text here...{{/i}}&lt;/p&gt;
-</pre>
-
-

{{_i}}Download google-code-prettify and view the readme for how to use.{{/i}}

@@ -379,6 +366,8 @@

{{_i}}Tables For, you guessed it, tabular data{{/i}}

+ +

{{_i}}Table markup{{/i}}