mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 22:49:44 +00:00
fix(*): code font size and extra mathjax scoll bar (#125)
* style(font): use em for responsive code font size * style(mathjax): avoid extra horizontal scrollbar
This commit is contained in:
parent
920e2eb84b
commit
4fe268549a
2 changed files with 2 additions and 1 deletions
|
@ -192,5 +192,6 @@
|
|||
.MJXc-display {
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding-right: 1px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -190,7 +190,7 @@ $content-table-border-color: darken($deputy-color, 3%) !default;
|
|||
$code-color: #c7254e !default;
|
||||
|
||||
// Font size of code.
|
||||
$code-font-size: 13px !default;
|
||||
$code-font-size: 0.9em !default;
|
||||
|
||||
// Font family of the code.
|
||||
$code-font-family: Consolas, Monaco, Menlo, "DejaVu Sans Mono",
|
||||
|
|
Loading…
Reference in a new issue