\usepackage{xcolor} \definecolor{AMaubergine}{rgb}{0.2,0.18,0.22} \definecolor{AMorange}{rgb}{0.84,0.32,0.28} % Redefine these colors to your liking in the preamble. \definecolor{TitleColor}{named}{AMorange} \definecolor{InnerLinkColor}{named}{AMorange} \definecolor{OuterLinkColor}{named}{AMorange} % Redefine these colors to something not white if you want to have colored % background and border for code examples. %\definecolor{VerbatimColor}{rgb}{0.92,0.92,0.92}%{0.99,0.77,0.65} %\definecolor{VerbatimBorderColor}{named}{AMaubergine} \makeatletter \fancypagestyle{normal}{ \fancyhf{} \headheight 40pt \setlength{\topmargin}{-20mm} \fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}} \fancyfoot[LO,RE]{{\py@HeaderFamily \@title}} \fancyhead[LO]{{\py@HeaderFamily\nouppercase{\rightmark}}} \fancyhead[RE]{{\py@HeaderFamily\nouppercase{\leftmark}}} \fancyhead[LE,RO]{{\includegraphics[height=25pt]{logo-400.png}}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} } \makeatother \PassOptionsToClass{openany}{\sphinxdocclass} \renewcommand{\releasename}{}