From: Alexander Ebert Date: Fri, 7 May 2021 12:45:11 +0000 (+0200) Subject: Consistent font size for code listings X-Git-Tag: 5.4.0_Alpha_2~36 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24f474f75f97e3a6a07d6f1deef64a2e54a95923;p=GitHub%2FWoltLab%2FWCF.git Consistent font size for code listings --- diff --git a/wcfsetup/install/files/style/bbcode/code.scss b/wcfsetup/install/files/style/bbcode/code.scss index 9a1b848f85..9a023c54aa 100644 --- a/wcfsetup/install/files/style/bbcode/code.scss +++ b/wcfsetup/install/files/style/bbcode/code.scss @@ -4,6 +4,7 @@ border-radius: 2px; color: rgb(68, 68, 68) !important; font-family: $wcfFontFamilyMonospace; + font-size: 14px; margin: 1em 0; padding: 10px 20px; position: relative; @@ -121,6 +122,7 @@ display: block; overflow-x: auto; font-family: $wcfFontFamilyMonospace; + font-size: 14px; .codeBoxLine { display: block; diff --git a/wcfsetup/install/files/style/bbcode/inlineCode.scss b/wcfsetup/install/files/style/bbcode/inlineCode.scss index baa5aa8b71..4d2049e398 100644 --- a/wcfsetup/install/files/style/bbcode/inlineCode.scss +++ b/wcfsetup/install/files/style/bbcode/inlineCode.scss @@ -16,6 +16,7 @@ kbd { color: rgba(68, 68, 68, 1) !important; display: inline; font-family: $wcfFontFamilyMonospace; + font-size: 14px; font-style: normal; font-weight: normal; margin: 0 2px; diff --git a/wcfsetup/install/files/style/layout/global.scss b/wcfsetup/install/files/style/layout/global.scss index 2f85f0a275..d3e981f828 100644 --- a/wcfsetup/install/files/style/layout/global.scss +++ b/wcfsetup/install/files/style/layout/global.scss @@ -29,6 +29,7 @@ .monospace { font-family: $wcfFontFamilyMonospace !important; + font-size: 14px; } /* boxes with an image */