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

Don't ignore Pygments background #169

Merged
merged 2 commits into from
Jul 15, 2024
Merged
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
5 changes: 3 additions & 2 deletions alabaster/static/alabaster.css_t
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{%- set theme_body_bg = theme_body_bg or theme_base_bg %}
{%- set theme_code_highlight_bg = theme_code_highlight_bg or theme_body_bg %}
{%- set theme_sidebar_header = theme_sidebar_header or theme_gray_1 %}
{%- set theme_sidebar_link = theme_sidebar_link or theme_gray_1 %}
{%- set theme_anchor_hover_fg = theme_anchor_hover_fg or theme_gray_1 %}

{%- set theme_footnote_border = theme_footnote_border or theme_gray_2 %}
{%- set theme_pre_bg = theme_pre_bg or theme_gray_2 %}
{%- set theme_pre_bg = theme_pre_bg or 'unset' %}

{%- set theme_head_font_family = theme_head_font_family or theme_font_family %}

Expand Down Expand Up @@ -322,9 +321,11 @@ div.admonition p.last {
margin-bottom: 0;
}

{%- if theme_code_highlight_bg %}
div.highlight {
background-color: {{ theme_code_highlight_bg }};
}
{%- endif %}

dt:target, .highlight {
background: {{ theme_highlight_bg }};
Expand Down
Loading