fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 99 forks source link

How do I make vimb use a particular font to render web pages? #673

Closed SisyphusIsntHappy closed 3 years ago

SisyphusIsntHappy commented 3 years ago

I need to override the web page default font and use a particular font, say JatBrains Mono. How do I do this?

fanglingsu commented 3 years ago

Do you really want to change all the fonts on a page? This would also change icon fonts so that some icons will be rendered as broken chars. To change the font you could try to add something like following to the .config/vimb/style.css

* {
  font-family: JatBrains Mono !important;
}
SisyphusIsntHappy commented 3 years ago

Thank you, good to know.

On Wed, Jun 9, 2021 at 2:24 AM Daniel Carl @.***> wrote:

Do you really want to change all the fonts on a page? This would also change icon fonts so that some icons will be rendered as broken chars. To change the font you could try to add something like following to the .config/vimb/style.css

  • { font-family: JatBrains Mono !important; }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fanglingsu/vimb/issues/673#issuecomment-857134673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGWK3A5C6VI4Q7INXX5DPODTRZ7QZANCNFSM453DXZDA .