From 20c0cf2efb558049afd9f6de1d499d212f31f647 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 8 Jan 2018 08:31:07 +0100 Subject: [PATCH] Add custom CSS --- docs/source/_static/css/style.css | 13 +++++++++++++ docs/source/conf.py | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 docs/source/_static/css/style.css diff --git a/docs/source/_static/css/style.css b/docs/source/_static/css/style.css new file mode 100644 index 00000000..a49a838f --- /dev/null +++ b/docs/source/_static/css/style.css @@ -0,0 +1,13 @@ +@import url("theme.css"); + +.wy-side-nav-search, .wy-nav-top { + background-color: #d1ccc1; +} + +.wy-nav-top, .wy-nav-top a { + color: #3b3936; +} + +.wy-side-nav-search input[type=text] { + border-color: #918e86; +} diff --git a/docs/source/conf.py b/docs/source/conf.py index 33933e4f..012365ea 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -125,6 +125,8 @@ html_favicon = '_static/pyrogram.ico' # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] +html_style = 'css/style.css' + # Custom sidebar templates, must be a dictionary that maps document names # to template names. #