Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Merge branch 'mslinn-stylesheets'
Browse files Browse the repository at this point in the history
  • Loading branch information
krasserm committed Mar 24, 2017
2 parents ee636fe + 928eac9 commit 5a94362
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 31 deletions.
15 changes: 11 additions & 4 deletions src/sphinx/_ext/tabbedcode.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ul.tabbed-code-selector {
margin-bottom: 0 !important;
position: relative;
bottom: -22px;
bottom: -12px;
list-style-type: none;
display: inline-flex;
}
Expand All @@ -16,12 +16,19 @@ ul.tabbed-code-selector li {
float: left;
border: 1px solid #e1e4e5;
background-color: #f5f5f5;
border-bottom: none;
color: #646567;
}
ul.tabbed-code-selector li:hover {
background-color: #ebebeb;
}
ul.tabbed-code-selector li.selected {
background-color: #f8f8f8;
border-bottom: 1px solid #f8f8f8;
}
background-color: #fbf97a;
border-bottom: none;
color: black;
}

ul.tabbed-code-selector li[class^='highlight'] {
border-top-right-radius: 8px;
border-top-left-radius: 8px;
}
10 changes: 5 additions & 5 deletions src/sphinx/_themes/rbmh/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
<a href="{{ pathto(master_doc) }}"><img src="{{ pathto('_static/' + logo, 1) }}" class="logo" /></a>
{% endif %}

{% include "searchbox.html" %}

{% endblock %}
</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
{% block menu %}
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
{% set toctree = toctree(maxdepth=5, collapse=False, includehidden=True) %}
{% if toctree %}
{{ toctree }}
{% else %}
Expand All @@ -122,7 +122,7 @@
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="{{ pathto(master_doc) }}"><img src="{{ pathto('_static/RedBullMediaHouse-light.png', 1) }}" class="logo" /></a>
</nav>

{# PAGE CONTENT #}
<div class="wy-nav-content">
<div class="rst-content">
Expand All @@ -143,7 +143,7 @@
</div>
</div>
{% include "footer.html" %}

</section>

</div>
Expand Down
100 changes: 78 additions & 22 deletions src/sphinx/_themes/rbmh/static/css/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5a94362

Please sign in to comment.