Skip to content

Commit a35a1df

Browse files
authored
Don't ignore the Pygments background (#169)
1 parent 17e55e5 commit a35a1df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

alabaster/static/alabaster.css_t

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{%- set theme_body_bg = theme_body_bg or theme_base_bg %}
2-
{%- set theme_code_highlight_bg = theme_code_highlight_bg or theme_body_bg %}
32
{%- set theme_sidebar_header = theme_sidebar_header or theme_gray_1 %}
43
{%- set theme_sidebar_link = theme_sidebar_link or theme_gray_1 %}
54
{%- set theme_anchor_hover_fg = theme_anchor_hover_fg or theme_gray_1 %}
65

76
{%- set theme_footnote_border = theme_footnote_border or theme_gray_2 %}
8-
{%- set theme_pre_bg = theme_pre_bg or theme_gray_2 %}
7+
{%- set theme_pre_bg = theme_pre_bg or 'unset' %}
98

109
{%- set theme_head_font_family = theme_head_font_family or theme_font_family %}
1110

@@ -322,9 +321,11 @@ div.admonition p.last {
322321
margin-bottom: 0;
323322
}
324323

324+
{%- if theme_code_highlight_bg %}
325325
div.highlight {
326326
background-color: {{ theme_code_highlight_bg }};
327327
}
328+
{%- endif %}
328329

329330
dt:target, .highlight {
330331
background: {{ theme_highlight_bg }};

0 commit comments

Comments
 (0)