diff options
| Commit | fa396105151fc622503a23d61e5a9f1225d52405 (patch) | |
|---|---|---|
| Author | 2016-05-05 17:35:26 +0800 | |
| Committer | 2016-05-05 17:35:26 +0800 | |
| Files | 85a029b6fe82f8817372249c5655fc2b2aee4aa7 /src/layout.less | |
| Spectre-Dark-Gruvbox-0.1.19.tar Spectre-Dark-Gruvbox-0.1.19.tar.gz Spectre-Dark-Gruvbox-0.1.19.zip | ||
| Parent | e0b8c0453aa5f5ac70558ae6ccf626c6182052f6 (diff) | |
| Parent | 2861b7bfdbf2c39b8ad404afbcbf2f3db59818df (diff) | |
Merge pull request #36 from picturepan2/feature/more-layout v0.1.19
Feature/more layout
1 files changed, 9 insertions, 12 deletions
| -rw-r--r-- | src/layout.less | 21 |
diff --git a/src/layout.less b/src/layout.less index 6a9a643..dbc48c9 100644 --- a/src/layout.less +++ b/src/layout.less @@ -8,18 +8,15 @@ width: 100%; &:extend(.clearfix all); } -@media screen and (min-width: 981px) { +// Grid sizes +@media screen and (min-width: (960px + 2 * @html-font-size * @layout-gutter)) { .grid-960 { - margin-left: auto; - margin-right: auto; - width: 96rem; + width: 96rem + 2 * @layout-gutter; } } -@media screen and (min-width: 481px) { +@media screen and (min-width: (480px + 2 * @html-font-size * @layout-gutter)) { .grid-480 { - margin-left: auto; - margin-right: auto; - width: 48rem; + width: 48rem + 2 * @layout-gutter; } } @@ -84,7 +81,7 @@ .col-1 { width: 8.33333333%; } -@media screen and (min-width: (@size-xs+1px)) { +@media screen and (min-width: (@size-xs + 1px)) { .col-xs-12, .col-xs-11, .col-xs-10, @@ -136,7 +133,7 @@ width: 8.33333333%; } } -@media screen and (min-width: (@size-sm+1px)) { +@media screen and (min-width: (@size-sm + 1px)) { .col-sm-12, .col-sm-11, .col-sm-10, @@ -188,7 +185,7 @@ width: 8.33333333%; } } -@media screen and (min-width: (@size-md+1px)) { +@media screen and (min-width: (@size-md + 1px)) { .col-md-12, .col-md-11, .col-md-10, @@ -240,7 +237,7 @@ width: 8.33333333%; } } -@media screen and (min-width: (@size-md+1px)) { +@media screen and (min-width: (@size-md + 1px)) { .form-horizontal { padding: 1rem; |