Skip to content

Commit 1014996

Browse files
committed
correct code styling in wikipedia
1 parent f51a69f commit 1014996

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

wikipedia.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ body
4949
color: $light !important;
5050
}
5151

52+
// code formatting
53+
pre, code
54+
{
55+
span {
56+
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace !important;
57+
// have to make it normal (otherwise, font width is computed wrongly)
58+
font-weight: normal !important;
59+
}
60+
}
61+
5262
// links
5363
a, a:active, a:focus
5464
{

0 commit comments

Comments
 (0)