You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom CSS class intended to display the underlying content (which isn't inline code) in the monospaced font family:
.ctanpkg {
font-family: monospace ;
}
AFAICS, the underlying content is indeed displayed in the monospaced font family, but in a smaller size than the regular content (perhaps because of the --code-font-size: var(--font-size--small--2); setting in the _fonts.scss file).
I've tried several font-size settings but none of them give consistent results with computer/smartphone screens.
How can I get the same size as the regular content?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
(This discussion is related to #104.)
I have a custom CSS class intended to display the underlying content (which isn't inline code) in the monospaced font family:
AFAICS, the underlying content is indeed displayed in the monospaced font family, but in a smaller size than the regular content (perhaps because of the
--code-font-size: var(--font-size--small--2);
setting in the_fonts.scss
file).I've tried several font-size settings but none of them give consistent results with computer/smartphone screens.
How can I get the same size as the regular content?
Beta Was this translation helpful? Give feedback.
All reactions