mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
switch to max-width on containers
This commit is contained in:
parent
125c3859a0
commit
c15aa36798
10 changed files with 29 additions and 25 deletions
6
dist/css/bootstrap.css
vendored
6
dist/css/bootstrap.css
vendored
|
@ -654,17 +654,17 @@ pre code {
|
||||||
}
|
}
|
||||||
@media (min-width: 48em) {
|
@media (min-width: 48em) {
|
||||||
.container {
|
.container {
|
||||||
width: 45rem;
|
max-width: 45rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 62em) {
|
@media (min-width: 62em) {
|
||||||
.container {
|
.container {
|
||||||
width: 60rem;
|
max-width: 60rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 75em) {
|
@media (min-width: 75em) {
|
||||||
.container {
|
.container {
|
||||||
width: 72.25rem;
|
max-width: 72.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.container-fluid {
|
.container-fluid {
|
||||||
|
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/css/docs.min.css
vendored
2
docs/assets/css/docs.min.css
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/js/raw-files.min.js
vendored
2
docs/assets/js/raw-files.min.js
vendored
File diff suppressed because one or more lines are too long
6
docs/dist/css/bootstrap.css
vendored
6
docs/dist/css/bootstrap.css
vendored
|
@ -654,17 +654,17 @@ pre code {
|
||||||
}
|
}
|
||||||
@media (min-width: 48em) {
|
@media (min-width: 48em) {
|
||||||
.container {
|
.container {
|
||||||
width: 45rem;
|
max-width: 45rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 62em) {
|
@media (min-width: 62em) {
|
||||||
.container {
|
.container {
|
||||||
width: 60rem;
|
max-width: 60rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 75em) {
|
@media (min-width: 75em) {
|
||||||
.container {
|
.container {
|
||||||
width: 72.25rem;
|
max-width: 72.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.container-fluid {
|
.container-fluid {
|
||||||
|
|
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,23 +1,27 @@
|
||||||
h4 {
|
body {
|
||||||
margin-top: 25px;
|
padding-top: 2rem;
|
||||||
|
padding-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
.row .row {
|
.row .row {
|
||||||
margin-top: 10px;
|
margin-top: 1rem;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
[class*="col-"] {
|
[class*="col-"] {
|
||||||
padding-top: 15px;
|
padding-top: 1rem;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 1rem;
|
||||||
background-color: #eee;
|
|
||||||
background-color: rgba(86,61,124,.15);
|
background-color: rgba(86,61,124,.15);
|
||||||
border: 1px solid #ddd;
|
|
||||||
border: 1px solid rgba(86,61,124,.2);
|
border: 1px solid rgba(86,61,124,.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
margin-top: 40px;
|
margin-top: 2rem;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
.make-container();
|
.make-container();
|
||||||
|
|
||||||
@media (min-width: @screen-sm-min) {
|
@media (min-width: @screen-sm-min) {
|
||||||
width: @container-sm;
|
max-width: @container-sm;
|
||||||
}
|
}
|
||||||
@media (min-width: @screen-md-min) {
|
@media (min-width: @screen-md-min) {
|
||||||
width: @container-md;
|
max-width: @container-md;
|
||||||
}
|
}
|
||||||
@media (min-width: @screen-lg-min) {
|
@media (min-width: @screen-lg-min) {
|
||||||
width: @container-lg;
|
max-width: @container-lg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue