projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a152b89
)
Consistent font size for code listings
author
Alexander Ebert
<ebert@woltlab.com>
Fri, 7 May 2021 12:45:11 +0000
(14:45 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Fri, 7 May 2021 12:45:11 +0000
(14:45 +0200)
wcfsetup/install/files/style/bbcode/code.scss
patch
|
blob
|
blame
|
history
wcfsetup/install/files/style/bbcode/inlineCode.scss
patch
|
blob
|
blame
|
history
wcfsetup/install/files/style/layout/global.scss
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/style/bbcode/code.scss
b/wcfsetup/install/files/style/bbcode/code.scss
index 9a1b848f85562f5673b213ce7fed64fc392b1933..9a023c54aaca5d81a6fe1058de6ce9d976b42a71 100644
(file)
--- 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 baa5aa8b712bf63dddf236a92c2679c2bade313b..4d2049e398a97c04d0f1d4e680b30e5548c04520 100644
(file)
--- 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 2f85f0a2751fffb352f342fc1081af17e989c79f..d3e981f828f9d2362d2f51b12651e2a80df1bd8c 100644
(file)
--- 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 */