mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
switch to max-width on containers
This commit is contained in:
parent
125c3859a0
commit
c15aa36798
6
dist/css/bootstrap.css
vendored
6
dist/css/bootstrap.css
vendored
@ -654,17 +654,17 @@ pre code {
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
.container {
|
||||
width: 45rem;
|
||||
max-width: 45rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: 62em) {
|
||||
.container {
|
||||
width: 60rem;
|
||||
max-width: 60rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: 75em) {
|
||||
.container {
|
||||
width: 72.25rem;
|
||||
max-width: 72.25rem;
|
||||
}
|
||||
}
|
||||
.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) {
|
||||
.container {
|
||||
width: 45rem;
|
||||
max-width: 45rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: 62em) {
|
||||
.container {
|
||||
width: 60rem;
|
||||
max-width: 60rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: 75em) {
|
||||
.container {
|
||||
width: 72.25rem;
|
||||
max-width: 72.25rem;
|
||||
}
|
||||
}
|
||||
.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 {
|
||||
margin-top: 25px;
|
||||
body {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.row .row {
|
||||
margin-top: 10px;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
[class*="col-"] {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
background-color: #eee;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
background-color: rgba(86,61,124,.15);
|
||||
border: 1px solid #ddd;
|
||||
border: 1px solid rgba(86,61,124,.2);
|
||||
}
|
||||
|
||||
hr {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 40px;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
@ -11,13 +11,13 @@
|
||||
.make-container();
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
width: @container-sm;
|
||||
max-width: @container-sm;
|
||||
}
|
||||
@media (min-width: @screen-md-min) {
|
||||
width: @container-md;
|
||||
max-width: @container-md;
|
||||
}
|
||||
@media (min-width: @screen-lg-min) {
|
||||
width: @container-lg;
|
||||
max-width: @container-lg;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user