* Compiles css framework from sass
* Adds watch commands
* Copies existing css to sass file
* Moves sass out of static path
* Removes global linter
I wasn't sure how to customize this, and it's not providing a lot of
additional value on top of the domain-specific linters
* Reverts invalid change to dockerfile
* Changes stylelint path
* Remove unused bulma files
* Properly minifies generated css
* Fixes regression in thread display
* rgba function only works with percents for whatever reason
* Hush stylelint
* Removes trailing zeros
* Compile sass in Django
Co-authored-by: Joachim <joachim.robert@protonmail.com>
* Python formatting
* Updates linter
* Updates commands
* Adds css-config file
Co-authored-by: Joachim <joachim.robert@protonmail.com>
* Stylelint fix
* Removes unused compiled bulma files
Co-authored-by: Joachim <joachim.robert@protonmail.com>
https://dequeuniversity.com/rules/axe/4.3/aria-required-children
In order to make this work, I had to translate Bulma's style so it doesn't use `ul` and `li` anymore.
The JS code had to be adapted, I also changed `button` to `tab` (seemed like a more relevant name) and added a `scrollIntoView()` on load the active tab is always visible.
Include the license and a README explaining things in the repo itself.
Depending on an external source for this is intended to be temporary,
the goal is to have a Bookywrm-managed source for these, but this should
be stable enough for now.
We build it into the Dockerfile to make it available without adding it
to the git repo itself, because git history is forever and we don't want
to bake large files into the history.
Theoretically it would make sense to gate this download on the
ENABLE_PREVIEW_IMAGES environment variable, but ENV variables aren't
available at Docker image build time (for sensible reasons), so we just
unconditonally download it.
This does mean users will ultimately download it anyway, but the benefit
to doing this over adding it to the git history is that if we switch
fonts, or update this one, or change strategies altogether, this version
of the font will no longer have to be downloaded.
Additionally, the font won't be downloaded until the application is
actually built, which involves a bunch of other downloading (of Docker
images and the like), so it's a reasonable time to do it.