Skip to content

Commit 43bc77a

Browse files
committed
Adapt custom sphinx_rtd_theme CSS for the new version
1 parent 9700c6d commit 43bc77a

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

user_guide_src/source/_themes/sphinx_rtd_theme/static/css/citheme.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,34 @@ div#pulldown-menu {
7272
color: #aaaaaa;
7373
}
7474

75+
.wy-side-nav-search a {
76+
color: #ffffff;
77+
}
78+
79+
.wy-menu-vertical a:active {
80+
background-color: #dd4814;
81+
}
82+
83+
.wy-nav-content {
84+
max-width: none;
85+
}
86+
87+
.wy-nav-content-wrap a, .wy-nav-content-wrap a:visited {
88+
color: #dd4814;
89+
}
90+
91+
.wy-nav-content-wrap a:hover, .wy-nav-content-wrap a:active {
92+
color: #97310e;
93+
}
94+
95+
.wy-alert.wy-alert-success .wy-alert-title, .rst-content .wy-alert-success.note .wy-alert-title, .rst-content .wy-alert-success.attention .wy-alert-title, .rst-content .wy-alert-success.caution .wy-alert-title, .rst-content .wy-alert-success.danger .wy-alert-title, .rst-content .wy-alert-success.error .wy-alert-title, .rst-content .hint .wy-alert-title, .rst-content .important .wy-alert-title, .rst-content .tip .wy-alert-title, .rst-content .wy-alert-success.warning .wy-alert-title, .rst-content .wy-alert-success.seealso .wy-alert-title, .rst-content .wy-alert-success.admonition-todo .wy-alert-title, .wy-alert.wy-alert-success .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-success .admonition-title, .rst-content .wy-alert-success.note .admonition-title, .rst-content .wy-alert-success.attention .admonition-title, .rst-content .wy-alert-success.caution .admonition-title, .rst-content .wy-alert-success.danger .admonition-title, .rst-content .wy-alert-success.error .admonition-title, .rst-content .hint .admonition-title, .rst-content .important .admonition-title, .rst-content .tip .admonition-title, .rst-content .wy-alert-success.warning .admonition-title, .rst-content .wy-alert-success.seealso .admonition-title, .rst-content .wy-alert-success.admonition-todo .admonition-title {
96+
background-color: #dd4814;
97+
}
98+
99+
.wy-alert.wy-alert-success, .rst-content .wy-alert-success.note, .rst-content .wy-alert-success.attention, .rst-content .wy-alert-success.caution, .rst-content .wy-alert-success.danger, .rst-content .wy-alert-success.error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .wy-alert-success.warning, .rst-content .wy-alert-success.seealso, .rst-content .wy-alert-success.admonition-todo {
100+
background: rgba(0,0,0,0.05);
101+
}
102+
75103
/* override table width restrictions */
76104
.wy-table-responsive table td, .wy-table-responsive table th {
77105
white-space: normal;

user_guide_src/source/_themes/sphinx_rtd_theme/theme.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ display_version = False
1212
navigation_depth = 4
1313
prev_next_buttons_location = bottom
1414
canonical_url =
15+
style_nav_header_background = #DD4814

0 commit comments

Comments
 (0)