Closed euri10 closed 3 years ago
The !important in the asciinema-custom.css file makes it impossible to override it
!important
asciinema-custom.css
I want to be able to override the asciinema-custom.css adding this to conf.py:
conf.py
html_css_files = [ 'css/asciinema-custom.css', 'css/copybutton.css' ]
then have a custom font in _static/fonts and then use my custom font in _static/css/asciinema_custom.css
_static/fonts
_static/css/asciinema_custom.css
@font-face { font-family: 'MesloLGS NF Regular'; src: url('../fonts/MesloLGS NF Regular.ttf') format('truetype'); } .asciinema-terminal { font-family: 'MesloLGS NF Regular', Consolas, Menlo, 'Bitstream Vera Sans Mono', monospace, 'Powerline Symbols'; }
The
!important
in theasciinema-custom.css
file makes it impossible to override itI want to be able to override the
asciinema-custom.css
adding this toconf.py
:then have a custom font in
_static/fonts
and then use my custom font in_static/css/asciinema_custom.css