Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
b62fa23d
Commit
b62fa23d
authored
Jun 02, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8006 from aristath/3.0.0-wip
using screen-size variables for grids
parents
75db70a6
6fda25b4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
less/grid.less
less/grid.less
+3
-3
less/variables.less
less/variables.less
+13
-0
No files found.
less/grid.less
View file @
b62fa23d
...
...
@@ -39,21 +39,21 @@
// Responsive: Tablets and up
@media screen and (min-width: @screen-tablet) {
.container {
max-width:
728px
;
max-width:
@container-tablet
;
}
}
// Responsive: Desktops and up
@media screen and (min-width: @screen-desktop) {
.container {
max-width:
940px
;
max-width:
@container-desktop
;
}
}
// Responsive: Large desktops and up
@media screen and (min-width: @screen-large-desktop) {
.container {
max-width:
1170px
;
max-width:
@container-large-desktop
;
}
}
...
...
less/variables.less
View file @
b62fa23d
...
...
@@ -403,6 +403,19 @@
@screen-large-desktop: @screen-large;
// Container sizes
// --------------------------------------------------
// Small screen / tablet
@container-tablet: 728px;
// Medium screen / desktop
@container-desktop: 940px;
// Large screen / wide desktop
@container-large-desktop: 1170px;
// Grid system
// --------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment