Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
ad1e9697
Commit
ad1e9697
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
update grid system mixins in less docs for new grid
parent
e8ef7d5e
1 merge request
!1952
Tabulation navigation with Typeahead
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/less.html
+7
-12
docs/less.html
docs/templates/pages/less.mustache
+7
-12
docs/templates/pages/less.mustache
with
14 additions
and
24 deletions
+14
-24
docs/assets/bootstrap.zip
+
0
-
0
View file @
ad1e9697
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/less.html
+
7
-
12
View file @
ad1e9697
...
...
@@ -552,22 +552,17 @@
<tr>
<td><code>
.container-fixed()
</code></td>
<td><em
class=
"muted"
>
none
</em></td>
<td>
Provide a fixed-width (set with
<code>
@siteWidth
</code>
)
container for holding your content
</td>
<td>
Create a horizontally centered
container for holding your content
</td>
</tr>
<tr>
<td><code>
.columns
()
</code></td>
<td><code>
@
columns: 1
</code></td>
<td>
Build a grid column that spans any number of columns (defaults to 1 column)
</td>
<td><code>
#grid > .core
()
</code></td>
<td><code>
@
gridColumnWidth, @gridGutterWidth
</code></td>
<td>
Generate a pixel grid system (container, row, and columns) with
<em>
n
</em>
columns and
<em>
x
</em>
pixel wide gutter
</td>
</tr>
<tr>
<td><code>
.offset()
</code></td>
<td><code>
@columns: 1
</code></td>
<td>
Offset a grid column with left margin that spans any number of columns
</td>
</tr>
<tr>
<td><code>
.gridColumn()
</code></td>
<td><em
class=
"muted"
>
none
</em></td>
<td>
Make an element float like a grid column
</td>
<td><code>
#grid > .fluid()
</code></td>
<td><code>
@fluidGridColumnWidth, @fluidGridGutterWidth
</code></td>
<td>
Generate a precent grid system with
<em>
n
</em>
columns and
<em>
x
</em>
% wide gutter
</td>
</tr>
</tbody>
</table>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/less.mustache
+
7
-
12
View file @
ad1e9697
...
...
@@ -476,22 +476,17 @@
<tr>
<td><code>
.container-fixed()
</code></td>
<td><em
class=
"muted"
>
none
</em></td>
<td>
{{
_i
}}
Provide a fixed-width (set with
<code>
@siteWidth
</code>
)
container for holding your content
{{/
i
}}
</td>
<td>
{{
_i
}}
Create a horizontally centered
container for holding your content
{{/
i
}}
</td>
</tr>
<tr>
<td><code>
.columns
()
</code></td>
<td><code>
@
columns: 1
</code></td>
<td>
{{
_i
}}
Build a grid column that spans any number of columns (defaults to 1 column)
{{/
i
}}
</td>
<td><code>
#grid > .core
()
</code></td>
<td><code>
@
gridColumnWidth, @gridGutterWidth
</code></td>
<td>
{{
_i
}}
Generate a pixel grid system (container, row, and columns) with
<em>
n
</em>
columns and
<em>
x
</em>
pixel wide gutter
{{/
i
}}
</td>
</tr>
<tr>
<td><code>
.offset()
</code></td>
<td><code>
@columns: 1
</code></td>
<td>
{{
_i
}}
Offset a grid column with left margin that spans any number of columns
{{/
i
}}
</td>
</tr>
<tr>
<td><code>
.gridColumn()
</code></td>
<td><em
class=
"muted"
>
none
</em></td>
<td>
{{
_i
}}
Make an element float like a grid column
{{/
i
}}
</td>
<td><code>
#grid > .fluid()
</code></td>
<td><code>
@fluidGridColumnWidth, @fluidGridGutterWidth
</code></td>
<td>
{{
_i
}}
Generate a precent grid system with
<em>
n
</em>
columns and
<em>
x
</em>
% wide gutter
{{/
i
}}
</td>
</tr>
</tbody>
</table>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets