mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
update LESS docs to note @baseFontSize and @baseLineHeight must be pixels
This commit is contained in:
parent
d4914f47c3
commit
917f11e679
Binary file not shown.
@ -199,45 +199,47 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="span2"><code>@sansFontFamily</code></td>
|
||||
<td>"Helvetica Neue", Helvetica, Arial, sans-serif</td>
|
||||
<td colspan="2">"Helvetica Neue", Helvetica, Arial, sans-serif</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@serifFontFamily</code></td>
|
||||
<td><code>Georgia, "Times New Roman", Times, serif</code></td>
|
||||
<td colspan="2"><code>Georgia, "Times New Roman", Times, serif</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@monoFontFamily</code></td>
|
||||
<td>Menlo, Monaco, "Courier New", monospace</td>
|
||||
<td colspan="2">Menlo, Monaco, "Courier New", monospace</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="span2"><code>@baseFontSize</code></td>
|
||||
<td>13px</td>
|
||||
<td><em class="muted">Must be pixels</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@baseFontFamily</code></td>
|
||||
<td><code>@sansFontFamily</code></td>
|
||||
<td colspan="2"><code>@sansFontFamily</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@baseLineHeight</code></td>
|
||||
<td>18px</td>
|
||||
<td><em class="muted">Must be pixels</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@altFontFamily</code></td>
|
||||
<td><code>@serifFontFamily</code></td>
|
||||
<td colspan="2"><code>@serifFontFamily</code></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="span2"><code>@headingsFontFamily</code></td>
|
||||
<td><code>inherit</code></td>
|
||||
<td colspan="2"><code>inherit</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@headingsFontWeight</code></td>
|
||||
<td><code>bold</code></td>
|
||||
<td colspan="2"><code>bold</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@headingsColor</code></td>
|
||||
<td><code>inherit</code></td>
|
||||
<td colspan="2"><code>inherit</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
18
docs/templates/pages/less.mustache
vendored
18
docs/templates/pages/less.mustache
vendored
@ -122,45 +122,47 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="span2"><code>@sansFontFamily</code></td>
|
||||
<td>"Helvetica Neue", Helvetica, Arial, sans-serif</td>
|
||||
<td colspan="2">"Helvetica Neue", Helvetica, Arial, sans-serif</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@serifFontFamily</code></td>
|
||||
<td><code>Georgia, "Times New Roman", Times, serif</code></td>
|
||||
<td colspan="2"><code>Georgia, "Times New Roman", Times, serif</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@monoFontFamily</code></td>
|
||||
<td>Menlo, Monaco, "Courier New", monospace</td>
|
||||
<td colspan="2">Menlo, Monaco, "Courier New", monospace</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="span2"><code>@baseFontSize</code></td>
|
||||
<td>13px</td>
|
||||
<td><em class="muted">Must be pixels</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@baseFontFamily</code></td>
|
||||
<td><code>@sansFontFamily</code></td>
|
||||
<td colspan="2"><code>@sansFontFamily</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@baseLineHeight</code></td>
|
||||
<td>18px</td>
|
||||
<td><em class="muted">Must be pixels</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@altFontFamily</code></td>
|
||||
<td><code>@serifFontFamily</code></td>
|
||||
<td colspan="2"><code>@serifFontFamily</code></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="span2"><code>@headingsFontFamily</code></td>
|
||||
<td><code>inherit</code></td>
|
||||
<td colspan="2"><code>inherit</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@headingsFontWeight</code></td>
|
||||
<td><code>bold</code></td>
|
||||
<td colspan="2"><code>bold</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@headingsColor</code></td>
|
||||
<td><code>inherit</code></td>
|
||||
<td colspan="2"><code>inherit</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user