mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00:00
fixes #10961: change variable names in grid docs
This commit is contained in:
parent
a8f21b5ae9
commit
548603a926
26
css.html
26
css.html
@ -424,7 +424,7 @@ base_url: "../"
|
|||||||
// Then clear the floated columns
|
// Then clear the floated columns
|
||||||
.clearfix();
|
.clearfix();
|
||||||
|
|
||||||
@media (min-width: @screen-small) {
|
@media (min-width: @screen-sm) {
|
||||||
margin-left: (@gutter / -2);
|
margin-left: (@gutter / -2);
|
||||||
margin-right: (@gutter / -2);
|
margin-right: (@gutter / -2);
|
||||||
}
|
}
|
||||||
@ -462,7 +462,7 @@ base_url: "../"
|
|||||||
padding-right: (@gutter / 2);
|
padding-right: (@gutter / 2);
|
||||||
|
|
||||||
// Calculate width based on number of columns available
|
// Calculate width based on number of columns available
|
||||||
@media (min-width: @screen-small) {
|
@media (min-width: @screen-sm) {
|
||||||
float: left;
|
float: left;
|
||||||
width: percentage((@columns / @grid-columns));
|
width: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
@ -470,17 +470,17 @@ base_url: "../"
|
|||||||
|
|
||||||
// Generate the small column offsets
|
// Generate the small column offsets
|
||||||
.make-sm-column-offset(@columns) {
|
.make-sm-column-offset(@columns) {
|
||||||
@media (min-width: @screen-small) {
|
@media (min-width: @screen-sm) {
|
||||||
margin-left: percentage((@columns / @grid-columns));
|
margin-left: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.make-sm-column-push(@columns) {
|
.make-sm-column-push(@columns) {
|
||||||
@media (min-width: @screen-small) {
|
@media (min-width: @screen-sm) {
|
||||||
left: percentage((@columns / @grid-columns));
|
left: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.make-sm-column-pull(@columns) {
|
.make-sm-column-pull(@columns) {
|
||||||
@media (min-width: @screen-small) {
|
@media (min-width: @screen-sm) {
|
||||||
right: percentage((@columns / @grid-columns));
|
right: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -495,7 +495,7 @@ base_url: "../"
|
|||||||
padding-right: (@gutter / 2);
|
padding-right: (@gutter / 2);
|
||||||
|
|
||||||
// Calculate width based on number of columns available
|
// Calculate width based on number of columns available
|
||||||
@media (min-width: @screen-medium) {
|
@media (min-width: @screen-md) {
|
||||||
float: left;
|
float: left;
|
||||||
width: percentage((@columns / @grid-columns));
|
width: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
@ -503,17 +503,17 @@ base_url: "../"
|
|||||||
|
|
||||||
// Generate the medium column offsets
|
// Generate the medium column offsets
|
||||||
.make-md-column-offset(@columns) {
|
.make-md-column-offset(@columns) {
|
||||||
@media (min-width: @screen-medium) {
|
@media (min-width: @screen-md) {
|
||||||
margin-left: percentage((@columns / @grid-columns));
|
margin-left: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.make-md-column-push(@columns) {
|
.make-md-column-push(@columns) {
|
||||||
@media (min-width: @screen-medium) {
|
@media (min-width: @screen-md) {
|
||||||
left: percentage((@columns / @grid-columns));
|
left: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.make-md-column-pull(@columns) {
|
.make-md-column-pull(@columns) {
|
||||||
@media (min-width: @screen-medium) {
|
@media (min-width: @screen-md) {
|
||||||
right: percentage((@columns / @grid-columns));
|
right: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -528,7 +528,7 @@ base_url: "../"
|
|||||||
padding-right: (@gutter / 2);
|
padding-right: (@gutter / 2);
|
||||||
|
|
||||||
// Calculate width based on number of columns available
|
// Calculate width based on number of columns available
|
||||||
@media (min-width: @screen-large) {
|
@media (min-width: @screen-lg) {
|
||||||
float: left;
|
float: left;
|
||||||
width: percentage((@columns / @grid-columns));
|
width: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
@ -536,17 +536,17 @@ base_url: "../"
|
|||||||
|
|
||||||
// Generate the large column offsets
|
// Generate the large column offsets
|
||||||
.make-lg-column-offset(@columns) {
|
.make-lg-column-offset(@columns) {
|
||||||
@media (min-width: @screen-large) {
|
@media (min-width: @screen-lg) {
|
||||||
margin-left: percentage((@columns / @grid-columns));
|
margin-left: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.make-lg-column-push(@columns) {
|
.make-lg-column-push(@columns) {
|
||||||
@media (min-width: @screen-large) {
|
@media (min-width: @screen-lg) {
|
||||||
left: percentage((@columns / @grid-columns));
|
left: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.make-lg-column-pull(@columns) {
|
.make-lg-column-pull(@columns) {
|
||||||
@media (min-width: @screen-large) {
|
@media (min-width: @screen-lg) {
|
||||||
right: percentage((@columns / @grid-columns));
|
right: percentage((@columns / @grid-columns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user