1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge pull request #13882 from thomaswelton/issue-13713-use-variable-small

Use @font-size-small variable to calculate <small> font-size
This commit is contained in:
Mark Otto 2014-06-23 12:59:46 -07:00
commit b8a04f8c60

View file

@ -74,10 +74,10 @@ p {
// Emphasis & misc
// -------------------------
// Ex: 14px base font * 85% = about 12px
// Ex: (12px small font / 14px base font) * 100% = about 85%
small,
.small {
font-size: 85%;
font-size: floor((100% * @font-size-small / @font-size-base));
}
// Undo browser default styling