Skip to content

Commit

Permalink
Don't ignore the Pygments background (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier authored Jul 15, 2024
1 parent 17e55e5 commit a35a1df
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit a35a1df

Please sign in to comment.