From c8f57215aa826ff2d3ebea54855c1b45019988a7 Mon Sep 17 00:00:00 2001 From: Vitaly Potyarkin Date: Fri, 18 Oct 2019 16:21:06 +0300 Subject: [PATCH] Add stylesheet to restore old visual style By default this stylesheet is not used, because it may break some Boostwatch themes. User must explicitly enable it via THEME_CSS_OVERRIDES --- alchemy/static/css/oldstyle.css | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 alchemy/static/css/oldstyle.css diff --git a/alchemy/static/css/oldstyle.css b/alchemy/static/css/oldstyle.css new file mode 100644 index 0000000..8cb9769 --- /dev/null +++ b/alchemy/static/css/oldstyle.css @@ -0,0 +1,40 @@ +/* Restore colors as they were before adding Boostwatch support + * https://github.com/nairobilug/pelican-alchemy/pull/79 + * + * Add THEME_CSS_OVERRIDES = ['theme/css/oldstyle.css'] + * to your pelicanconf.py to enable this stylesheet */ + +::selection { + background: #0085a1; + color: #fff; +} + +body { + background-color: #f5f5f5; +} + +a { + color: #333; +} + +a:focus, +a:hover { + color: #0085a1; +} + +blockquote { + color: #818a91; + opacity: inherit; +} + +.header { + border-bottom: 1px solid rgba(0,0,0,.1) +} + +.footer { + border-top: 1px solid rgba(0,0,0,.1) +} + +.highlight pre { + border: 1px solid rgba(0,0,0,.1) +}