executablebooks / sphinx-exercise

A Sphinx extension for producing exercise and solution directives.
https://ebp-sphinx-exercise.readthedocs.io
MIT License
19 stars 7 forks source link

Make package less theme dependant #51

Open mmcky opened 2 years ago

mmcky commented 2 years ago

Describe the problem/need and solution

Context

Currently this package is only really compatible with

  1. sphinx_book_theme
  2. quantecon_book_theme

it would be nice to add css styling to be theme independent

Problem / Idea

Using the sphinx default theme alabaster results in incomplete exercise and solution admonitions missing icons

Solution

Add icons to be theme agnostic through package css(?)

Benefit

More widely useable across various themes.

Guide for implementation

No response

Tasks and updates

No response

mmcky commented 2 years ago

@AakashGfude do you know which css elements I would need to bring in to a sphinx_exercise.css file to support those icons