From d88e4fdd31e4f9f1d0c962dd13cd07574755a088 Mon Sep 17 00:00:00 2001 From: Ruth Cheesley Date: Tue, 22 Oct 2024 01:36:49 +0100 Subject: [PATCH] Add theme styling to match Mautic branding --- docs/_templates/layout.html | 2 +- docs/css/theme.css | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 docs/css/theme.css diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index ebc2f04d..9f57bc93 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,2 +1,2 @@ {% extends "!layout.html" %} -{% set css_files = css_files + ["_static/tablefix.css"] %} \ No newline at end of file +{% set css_files = css_files + ["_static/tablefix.css"] + ["_static/theme.css"] %} \ No newline at end of file diff --git a/docs/css/theme.css b/docs/css/theme.css new file mode 100644 index 00000000..3c275f8f --- /dev/null +++ b/docs/css/theme.css @@ -0,0 +1,15 @@ +.wy-side-nav-search, .wy-nav-side { + background-color: #4e5e9e; +} + +.wy-menu-vertical p.caption { + color: #fdb933; +} + +a { + color: #4e5e9e; +} + +.wy-menu-vertical a, .wy-side-nav-search>a { + color: #ffffff; +} \ No newline at end of file