Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom css to readme, tidy the css file #77

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ The `docs/source/replacements.py` file contains a dictionary of replacement word

The `global.rst` file contains an [RST substitution](https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#substitution-definitions) so you can use `|br|` to create a raw html `</br>`. Useful in some formatting for example in the table headers. To use this substitution in a page you must include the following at the top of the page: `.. include:: /global.rst`

**Custom CSS**

Found in the `docs/source/_static/css/custom.css` file. Only a minimal set of CSS tweaks are there as we keep close to the default theme.

## Reference

For `Re Structured Text` help:
Expand Down
4 changes: 0 additions & 4 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
:root {
--main-colour: hwb(43 57% 35%);
/* --highlight: #A3ADB4; */
--highlight: hwb(0 0% 100% / 0.2);

/* --main-colour: #78BF26;
--highlight: #78BF26; */
}

/* search box border */
Expand Down