|
1 | | -{% 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 %} |
3 | | -{% set theme_sidebar_header = theme_sidebar_header or theme_gray_1 %} |
4 | | -{% set theme_sidebar_link = theme_sidebar_link or theme_gray_1 %} |
5 | | -{% set theme_anchor_hover_fg = theme_anchor_hover_fg or theme_gray_1 %} |
| 1 | +{%- 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 %} |
| 3 | +{%- set theme_sidebar_header = theme_sidebar_header or theme_gray_1 %} |
| 4 | +{%- set theme_sidebar_link = theme_sidebar_link or theme_gray_1 %} |
| 5 | +{%- set theme_anchor_hover_fg = theme_anchor_hover_fg or theme_gray_1 %} |
6 | 6 |
|
7 | | -{% 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_footnote_border = theme_footnote_border or theme_gray_2 %} |
| 8 | +{%- set theme_pre_bg = theme_pre_bg or theme_gray_2 %} |
9 | 9 |
|
10 | 10 |
|
11 | | -{# set up admonition styling #} |
12 | | -{# - basic level #} |
13 | | -{% set theme_admonition_xref_bg = theme_admonition_xref_bg or theme_xref_bg %} |
14 | | -{% set theme_admonition_bg = theme_admonition_bg or theme_gray_2 %} |
15 | | -{% set theme_note_bg = theme_note_bg or theme_gray_2 %} |
16 | | -{% set theme_seealso_bg = theme_seealso_bg or theme_gray_2 %} |
| 11 | +{#- set up admonition styling #} |
| 12 | +{#- - basic level #} |
| 13 | +{%- set theme_admonition_xref_bg = theme_admonition_xref_bg or theme_xref_bg %} |
| 14 | +{%- set theme_admonition_bg = theme_admonition_bg or theme_gray_2 %} |
| 15 | +{%- set theme_note_bg = theme_note_bg or theme_gray_2 %} |
| 16 | +{%- set theme_seealso_bg = theme_seealso_bg or theme_gray_2 %} |
17 | 17 |
|
18 | | -{# - critical level #} |
19 | | -{% set theme_danger_bg = theme_danger_bg or theme_pink_1 %} |
20 | | -{% set theme_danger_border = theme_danger_border or theme_pink_2 %} |
21 | | -{% set theme_danger_shadow = theme_danger_shadow or theme_pink_3 %} |
| 18 | +{#- - critical level #} |
| 19 | +{%- set theme_danger_bg = theme_danger_bg or theme_pink_1 %} |
| 20 | +{%- set theme_danger_border = theme_danger_border or theme_pink_2 %} |
| 21 | +{%- set theme_danger_shadow = theme_danger_shadow or theme_pink_3 %} |
22 | 22 |
|
23 | | -{% set theme_error_bg = theme_error_bg or theme_pink_1 %} |
24 | | -{% set theme_error_border = theme_error_border or theme_pink_2 %} |
25 | | -{% set theme_error_shadow = theme_error_shadow or theme_pink_3 %} |
| 23 | +{%- set theme_error_bg = theme_error_bg or theme_pink_1 %} |
| 24 | +{%- set theme_error_border = theme_error_border or theme_pink_2 %} |
| 25 | +{%- set theme_error_shadow = theme_error_shadow or theme_pink_3 %} |
26 | 26 |
|
27 | | -{# - warning level #} |
28 | | -{% set theme_caution_bg = theme_caution_bg or theme_pink_1 %} |
29 | | -{% set theme_caution_border = theme_caution_border or theme_pink_2 %} |
| 27 | +{#- - warning level #} |
| 28 | +{%- set theme_caution_bg = theme_caution_bg or theme_pink_1 %} |
| 29 | +{%- set theme_caution_border = theme_caution_border or theme_pink_2 %} |
30 | 30 |
|
31 | | -{% set theme_attention_bg = theme_attention_bg or theme_pink_1 %} |
32 | | -{% set theme_attention_border = theme_attention_border or theme_pink_2 %} |
| 31 | +{%- set theme_attention_bg = theme_attention_bg or theme_pink_1 %} |
| 32 | +{%- set theme_attention_border = theme_attention_border or theme_pink_2 %} |
33 | 33 |
|
34 | | -{% set theme_warn_bg = theme_warn_bg or theme_pink_1 %} |
35 | | -{% set theme_warn_border = theme_warn_border or theme_pink_2 %} |
| 34 | +{%- set theme_warn_bg = theme_warn_bg or theme_pink_1 %} |
| 35 | +{%- set theme_warn_border = theme_warn_border or theme_pink_2 %} |
36 | 36 |
|
37 | | -{# - normal level #} |
38 | | -{% set theme_important_bg = theme_important_bg or theme_gray_2 %} |
39 | | -{% set theme_tip_bg = theme_tip_bg or theme_gray_2 %} |
40 | | -{% set theme_hint_bg = theme_hint_bg or theme_gray_2 %} |
| 37 | +{#- - normal level #} |
| 38 | +{%- set theme_important_bg = theme_important_bg or theme_gray_2 %} |
| 39 | +{%- set theme_tip_bg = theme_tip_bg or theme_gray_2 %} |
| 40 | +{%- set theme_hint_bg = theme_hint_bg or theme_gray_2 %} |
41 | 41 |
|
42 | | -{# /set up admonition styling #} |
| 42 | +{#- /set up admonition styling #} |
43 | 43 |
|
44 | | -{% set theme_shadow = theme_shadow or theme_gray_2 %} |
| 44 | +{%- set theme_shadow = theme_shadow or theme_gray_2 %} |
45 | 45 |
|
46 | 46 |
|
47 | | -{% set theme_topic_bg = theme_topic_bg or theme_gray_2 %} |
| 47 | +{%- set theme_topic_bg = theme_topic_bg or theme_gray_2 %} |
48 | 48 |
|
49 | | -{% set theme_narrow_sidebar_link = theme_narrow_sidebar_link or theme_gray_3 %} |
50 | | -{% set theme_sidebar_hr = theme_sidebar_hr or theme_gray_3 %} |
| 49 | +{%- set theme_narrow_sidebar_link = theme_narrow_sidebar_link or theme_gray_3 %} |
| 50 | +{%- set theme_sidebar_hr = theme_sidebar_hr or theme_gray_3 %} |
51 | 51 |
|
52 | 52 |
|
53 | 53 | @import url("basic.css"); |
|
0 commit comments