Skip to content
GitLab
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
efc741b1
Commit
efc741b1
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #11082 from ZDroid/nuke_zeros
Nuke trailing zeros
parents
3431f323
b3c04c95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
customize.html
+2
-2
customize.html
less/variables.less
+2
-2
less/variables.less
with
4 additions
and
4 deletions
+4
-4
customize.html
+
2
-
2
View file @
efc741b1
...
@@ -417,11 +417,11 @@ base_url: "../"
...
@@ -417,11 +417,11 @@ base_url: "../"
<div
class=
"col-lg-6"
>
<div
class=
"col-lg-6"
>
<h4>
Heading font sizes
</h4>
<h4>
Heading font sizes
</h4>
<label>
@font-size-h1
</label>
<label>
@font-size-h1
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"floor(@font-size-base * 2.6
0
)"
data-var=
"@font-size-h1"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"floor(@font-size-base * 2.6)"
data-var=
"@font-size-h1"
>
<label>
@font-size-h2
</label>
<label>
@font-size-h2
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"floor(@font-size-base * 2.15)"
data-var=
"@font-size-h2"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"floor(@font-size-base * 2.15)"
data-var=
"@font-size-h2"
>
<label>
@font-size-h3
</label>
<label>
@font-size-h3
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"ceil(@font-size-base * 1.7
0
)"
data-var=
"@font-size-h3"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"ceil(@font-size-base * 1.7)"
data-var=
"@font-size-h3"
>
<label>
@font-size-h4
</label>
<label>
@font-size-h4
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"ceil(@font-size-base * 1.25)"
data-var=
"@font-size-h4"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"ceil(@font-size-base * 1.25)"
data-var=
"@font-size-h4"
>
<label>
@font-size-h5
</label>
<label>
@font-size-h5
</label>
...
...
This diff is collapsed.
Click to expand it.
less/variables.less
+
2
-
2
View file @
efc741b1
...
@@ -48,9 +48,9 @@
...
@@ -48,9 +48,9 @@
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
@font-size-h1: floor(@font-size-base * 2.6
0
); // ~36px
@font-size-h1: floor(@font-size-base * 2.6); // ~36px
@font-size-h2: floor(@font-size-base * 2.15); // ~30px
@font-size-h2: floor(@font-size-base * 2.15); // ~30px
@font-size-h3: ceil(@font-size-base * 1.7
0
); // ~24px
@font-size-h3: ceil(@font-size-base * 1.7); // ~24px
@font-size-h4: ceil(@font-size-base * 1.25); // ~18px
@font-size-h4: ceil(@font-size-base * 1.25); // ~18px
@font-size-h5: @font-size-base;
@font-size-h5: @font-size-base;
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
...
...
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