diff options
| author | Mark Otto <[email protected]> | 2011-09-02 21:00:01 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-02 21:00:01 -0700 |
| commit | c4481b54a8c2cf05bd12d04196e3234523d27653 (patch) | |
| tree | 0e4b34685863f4286ffd0a1b1ef01b68c924ec98 /bootstrap-1.2.0.min.css | |
| parent | 2589c0ac4ecc86feed81cfc5df344e0eb78cda64 (diff) | |
| download | bootstrap-c4481b54a8c2cf05bd12d04196e3234523d27653.tar.xz bootstrap-c4481b54a8c2cf05bd12d04196e3234523d27653.zip | |
improve CSS properties for centering content, the container, and fluid container so as to not override properties where possible
Diffstat (limited to 'bootstrap-1.2.0.min.css')
| -rw-r--r-- | bootstrap-1.2.0.min.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap-1.2.0.min.css b/bootstrap-1.2.0.min.css index 95b54405b..e08535175 100644 --- a/bootstrap-1.2.0.min.css +++ b/bootstrap-1.2.0.min.css @@ -21,7 +21,7 @@ input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;} textarea{overflow:auto;vertical-align:top;} .clearfix{zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";} .clearfix:after{clear:both;} -.center-block{display:block;margin:0 auto;} +.center-block{display:block;margin-left:auto;margin-right:auto;} .container{width:940px;margin:0 auto;zoom:1;margin-bottom:18px;}.container:before,.container:after{display:table;content:"";} .container:after{clear:both;} .btn.danger,.alert-message.danger,.btn.danger:hover,.alert-message.danger:hover,.btn.error,.alert-message.error,.btn.error:hover,.alert-message.error:hover,.btn.success,.alert-message.success,.btn.success:hover,.alert-message.success:hover,.btn.info,.alert-message.info,.btn.info:hover,.alert-message.info:hover{color:#ffffff;} @@ -65,8 +65,8 @@ textarea{overflow:auto;vertical-align:top;} .row .offset-two-thirds{margin-left:660px;} html,body{background-color:#fff;} body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#808080;} -.container{width:940px;margin:0 auto;} -.container-fluid{padding:0 20px;zoom:1;margin-bottom:18px;}.container-fluid:before,.container-fluid:after{display:table;content:"";} +.container{width:940px;margin-left:auto;margin-right:auto;} +.container-fluid{padding-left:20px;padding-right:20px;zoom:1;margin-bottom:18px;}.container-fluid:before,.container-fluid:after{display:table;content:"";} .container-fluid:after{clear:both;} .container-fluid>.sidebar{float:left;width:220px;} .container-fluid>.content{min-width:700px;max-width:1180px;margin-left:240px;} |
