Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
override theme colours when enabled
Browse files Browse the repository at this point in the history
mmcky committed Jan 30, 2025

Verified

This commit was signed with the committer’s verified signature.
freya022 freya02
1 parent ee9ed7d commit 5ee2f05
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/quantecon_book_theme/theme/quantecon_book_theme/layout.html
Original file line number Diff line number Diff line change
@@ -79,6 +79,40 @@
{%- endblock %}
{%- block content %}

<!-- Override QuantEcon theme colors -->
{%- if not theme_quantecon_project %}
<style>
a {
color: #313131;
}
a:hover {
color: #313131;
}
a:visited {
color: #111111;
}

.main-index {
#qe-page-author-links {
border-bottom: 5px solid #313131;
}
}

.qe-page__header {
border-bottom: 5px solid #313131;
}

.qe-page__footer {
border-top: 5px solid #313131;
}

.toctree-wrapper {
.caption-text {
color: #111111
}
}
</style>
{%- endif %}

<span id="top"></span>

1 comment on commit 5ee2f05

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.