diff --git a/source/_static/ss14-logo.png b/source/_static/ss14-logo.png new file mode 100644 index 0000000..dedf697 Binary files /dev/null and b/source/_static/ss14-logo.png differ diff --git a/source/_static/style.css b/source/_static/style.css new file mode 100644 index 0000000..d7102b9 --- /dev/null +++ b/source/_static/style.css @@ -0,0 +1,12 @@ +.wy-side-nav-search { + /* #343131 -- #3d4059 */ + background: rgb(52,49,49); + background: linear-gradient(0deg, rgba(52,49,49,1) 0%, rgba(61,64,89,1) 100%); +} +.wy-body-for-nav { + background: #343131; +} +.wy-nav-side, +.wy-nav-content { + box-shadow: 2px 0px 10px 0px rgba(0,0,0,0.6); +} diff --git a/source/conf.py b/source/conf.py index 1ea975a..014cf42 100644 --- a/source/conf.py +++ b/source/conf.py @@ -11,15 +11,18 @@ templates_path = ['_templates'] language = 'ru' # Source options -source_encoding = 'utf-8-sig' +source_encoding = 'utf-8' source_suffix = ['.rst'] # HTML options +html_logo = '_static/ss14-logo.png' html_theme = 'sphinx_rtd_theme' +html_theme_options = { + 'collapse_navigation': False, + 'sticky_navigation': True, + 'logo_only': True, +} +html_css_files = ['style.css'] html_use_index = True html_show_sourcelink = False html_static_path = ['_static'] -html_theme_options = { - 'collapse_navigation': False, - 'sticky_navigation': True -}