0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

using screen-size variables for grids

This commit is contained in:
Aristeides Stathopoulos 2013-05-27 19:33:14 +03:00
parent 7cbb1c0452
commit 2b088ef44e

View File

@ -39,21 +39,21 @@
// Responsive: Tablets and up
@media screen and (min-width: @screen-tablet) {
.container {
max-width: 728px;
max-width: (@screen-tablet - 40);
}
}
// Responsive: Desktops and up
@media screen and (min-width: @screen-desktop) {
.container {
max-width: 940px;
max-width: (@screen-desktop - 52);
}
}
// Responsive: Large desktops and up
@media screen and (min-width: @screen-large-desktop) {
.container {
max-width: 1170px;
max-width: (@screen-large-desktop - @grid-gutter-width);
}
}