aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-07 01:03:26 -0800
committerMark Otto <[email protected]>2012-01-07 01:03:26 -0800
commitd6a1402f2af5111e11a87a6029b642dc0b814854 (patch)
treee00d943ecc552656c43fd240a3e3b3a792be37ed /docs
parentbcf1136f2c8236cd3fa28eac7e57a9a3fc17d104 (diff)
downloadbootstrap-d6a1402f2af5111e11a87a6029b642dc0b814854.tar.xz
bootstrap-d6a1402f2af5111e11a87a6029b642dc0b814854.zip
update form shadows and tweak prettyprint styles
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/js/google-code-prettify/prettify.css18
-rw-r--r--docs/base-css.html5
2 files changed, 18 insertions, 5 deletions
diff --git a/docs/assets/js/google-code-prettify/prettify.css b/docs/assets/js/google-code-prettify/prettify.css
index e3bbf8b6c..c2031b594 100644
--- a/docs/assets/js/google-code-prettify/prettify.css
+++ b/docs/assets/js/google-code-prettify/prettify.css
@@ -21,10 +21,22 @@ pre.prettyprint {
padding: 8px;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
+ -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
+ -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
+ box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
}
/* Specify class=linenums on a pre to get line numbering */
-ol.linenums { margin: 0 0 0 40px; } /* IE indents via margin-left */
-ol.linenums li { color: #bebec5; line-height: 18px; text-shadow: 0 1px 0 #fff; }
+ol.linenums {
+ margin: 0 0 0 33px; /* IE indents via margin-left */
+}
+ol.linenums li {
+ padding-left: 7px;
+ color: #bebec5;
+ line-height: 18px;
+ text-shadow: 0 1px 0 #fff;
+}
/* Alternate shading for lines */
-li.L1, li.L3, li.L5, li.L7, li.L9 { } \ No newline at end of file
+li.L1, li.L3, li.L5, li.L7, li.L9 {
+
+} \ No newline at end of file
diff --git a/docs/base-css.html b/docs/base-css.html
index b8a6a2f8d..5ae1790f7 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -1009,8 +1009,9 @@
<hr>
<h3>Form validation</h3>
<p>It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.</p>
-<pre class="prettyprint">
-&lt;fieldset class="control-group error"&gt;
+<pre class="prettyprint linenums">
+&lt;fieldset
+ class="control-group error"&gt;
...
&lt;/fieldset&gt;
</pre>