-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,19 @@ textarea { | |
font-size: 90%; /* mono fonts have naturally large proportions, scale them down to match open sans. */ | ||
} | ||
|
||
/** | ||
* Apply a bold font weight. | ||
* | ||
* @memberof Type utils | ||
* @example | ||
* <div class='txt-bold'>txt-bold</div> | ||
*/ | ||
.txt-bold { | ||
font-weight: bold !important; | ||
/* prevent bold text inside inline text from offsetting line height */ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
samanpwbb
Author
Contributor
|
||
line-height: 1em; | ||
} | ||
|
||
/** | ||
* Classes for font size and line height, lists, block quotes, code blocks, and more. | ||
* | ||
|
@@ -376,15 +389,6 @@ textarea { | |
font-weight: normal !important; | ||
} | ||
|
||
/** | ||
* Apply a bold font weight. | ||
* | ||
* @memberof Type utils | ||
* @example | ||
* <div class='txt-bold'>txt-bold</div> | ||
*/ | ||
.txt-bold { font-weight: bold !important; } | ||
|
||
/** | ||
* Italicize text. | ||
* | ||
|
This seems like a very strange choice to me, @samanpwbb. Can you explain why it works the way you want it to? Does it have strange side-effects? — e.g. if you have multi-line bold text next to multi-line non-bold text of the same size?