aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-27 13:36:08 -0800
committerMark Otto <[email protected]>2012-01-27 13:36:08 -0800
commitd7b8a9c9303f1f1bd69ae02f74bb17aaa87a2ceb (patch)
treeeb49b418073a46628e94e398e19b544963df74a1
parenta0b40b361a59987c98688fafae05d2eb68b659db (diff)
downloadbootstrap-d7b8a9c9303f1f1bd69ae02f74bb17aaa87a2ceb.tar.xz
bootstrap-d7b8a9c9303f1f1bd69ae02f74bb17aaa87a2ceb.zip
align text in buttons so folks can easily make them different widths
-rw-r--r--docs/assets/css/bootstrap.css3
-rw-r--r--less/buttons.less1
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 6c630c35e..9c8aaee5a 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -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: Fri Jan 27 13:35:16 PST 2012
+ * Date: Fri Jan 27 13:35:54 PST 2012
*/
article,
aside,
@@ -2461,6 +2461,7 @@ table .span12 {
font-size: 13px;
line-height: 18px;
color: #333333;
+ text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
background-color: #fafafa;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
diff --git a/less/buttons.less b/less/buttons.less
index f18cf9d95..08620a3c3 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -77,6 +77,7 @@
font-size: @baseFontSize;
line-height: @baseLineHeight;
color: @grayDark;
+ text-align: center;
text-shadow: 0 1px 1px rgba(255,255,255,.75);
#gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
border: 1px solid #ccc;