Qiskit / qiskit_sphinx_theme

A Sphinx theme and documentation guidelines for Qiskit and Qiskit Ecosystem projects
https://qisk.it/docs-guide
Apache License 2.0
15 stars 29 forks source link

Use Sass-style comments in Furo #428

Closed Eric-Arellano closed 1 year ago

Eric-Arellano commented 1 year ago

CSS didn't let us use // style comments, but SCSS (Sassy CSS) does. These comments are simpler to write and read.

Uses ::before rather than :before

I found out that it's preferred to use ::before for clarity, e.g. footer::before rather than footer:before.

Moves some related rules closer together

Some code was moved closer to its relevant rules. This is prework for an upcoming refactor to use Sass nesting.

No changes were made -- it only moves the code.