Which theme is used in reveal.js for code blocks? - themes

Which theme is used in reveal.js by default for highlight syntax?

The default theme is Zenburn, see index.html.
Also try Zenburn here: http://softwaremaniacs.org/media/soft/highlight/test.html

Related

Change the favicon of the Sphinx Read The Docs theme?

I'm already using a custom css to override some of the styles of the theme using
def setup(app):
app.add_css_file('custom.css')
This works fine. What other app. functions are available?
I can't find any documentation.
I'm looking for the function to override the favicon.
Thanks to #StevePiercy I found this documentation: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_favicon
conf.py
html_favicon = 'favicon.ico'
I put favicon.ico in my source folder, next to my .rst-files and it is working as expected:
https://global-coffee-data-standard.readthedocs.io/en/latest/index.html
In addition to Sphinx's native favicon support (https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_favicon), you can also use this Sphinx extension I created: https://pypi.org/project/sphinx-favicon/ With this extension, you can add multiple favicons, including apple-touch-icon and icons of different sizes. You can also use PNG or other supported file types.

Sphinx Alabaster font - what is the settings of standard libraries?

I'm using the alabaster theme in sphinx but still can't get the standard font look like Falcon and Celery.
Looking at falcon's conf.py I couldn't find any font related html_theme_options so I wonder how those two libraries keep a unified font style which is not the default.
I also tried using falcon's custom.css - But that didn't work either.
What should I set in conf.py in order to get this exact font look?
Falcon used a non-standard method of overriding the default theme's style sheet. I don't recommend this method.
You can either override the theme's default CSS or the theme's template files. Details of how to do so are answered in this SO post.

why are the arrows missing on the read thod docs theme

I've created documentation using Sphinx and the read the docs theme, but the arrows are missing from the buttons
Can anyone help?
Make sure the css files of sphinx theme are located in the right place
Your Sphinx document probably uses CSS that specifies a font, in which these unicode "codepoint boxes" are arrows.
Either the CSS is external, but not shipped alongside with the HTML, or so is the font.

Change logo alignment sphinx

Is there a way to set the html logo to the centre of the sidebar?
I have looked around, but cannot find this option, does it exist?
To change the style of the HTML of your Sphinx project, you need to adjust the CSS of your theme.
You can do this by setting the html_style variable in your project's conf.py file to reference a custom style sheet, as described here in the Sphinx documentation.
The exact CSS rules you need to apply depend on the HTML theme you are using.

What theme does Runnable Use for their Ace Editor Implementation

It looks as though runnable.com uses ace code editor. What is the purple theme they use?
http://runnable.com/UmGTLn0iIYljAAEu/codemirror-example-change-theme
It appears they are using custom theme runnable_dark. Try running ace.define.modules["ace/theme/runnable_dark"].cssText in devtools to see it's css.

Resources