|
|
|
@ -373,15 +373,15 @@ pre, code, code.hljs { |
|
|
|
font-family: monospace; |
|
|
|
font-family: monospace; |
|
|
|
border-radius: 3px; |
|
|
|
border-radius: 3px; |
|
|
|
background: #f0f0f0; |
|
|
|
background: #f0f0f0; |
|
|
|
|
|
|
|
font-size: 1.05em; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Non-syntax highlighted code tag to be slightly bigger so it outstands in text */ |
|
|
|
/* Don't increase the size of code in pre tag, pre tag already did it. |
|
|
|
code:not(.hljs) { |
|
|
|
Otherwise code size would be even bigger (1.05em * 1.05em = 1.1025em) */ |
|
|
|
font-size: 1.05em; |
|
|
|
pre code { |
|
|
|
|
|
|
|
font-size: 1em; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Syntax highlighted code tag to get some padding and keep font-size */ |
|
|
|
|
|
|
|
code.hljs { |
|
|
|
code.hljs { |
|
|
|
font-size: 1em; |
|
|
|
|
|
|
|
padding: 1em; |
|
|
|
padding: 1em; |
|
|
|
} |
|
|
|
} |
|
|
|
|