diff --git a/templates/base.html b/templates/base.html index 50752830f..1a07dcf86 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,13 +13,12 @@ - {%- block css -%}{%- endblock css -%} - {%- block title -%} Docs.rs {%- endblock title -%} + {%- block css -%}{%- endblock css -%} diff --git a/templates/macros.html b/templates/macros.html index 59b57d74f..cac4f54d4 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -22,8 +22,30 @@ {# Makes the appropriate CSS imports for highlighting #} {% macro highlight_css() %} {# Load the highlighting theme css #} - + {% endmacro highlight_css %} {# diff --git a/templates/style/base.scss b/templates/style/base.scss index 22d8ec0f6..d0b683d9b 100644 --- a/templates/style/base.scss +++ b/templates/style/base.scss @@ -97,7 +97,7 @@ body { border-bottom: 1px solid; } pre { - background-color: #F5F5F5; + background-color: var(--color-background-code); padding: 14px; } code, kbd, pre, samp {