Skip to content

Commit

Permalink
Tidying up the docs layout [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Jan 24, 2015
1 parent cb2ae08 commit d015b73
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
13 changes: 6 additions & 7 deletions support/docs/source/_themes/pixl8_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,16 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

<div class="header-bar">
<a href="{{ pathto(master_doc) }}" class="project-title"> {{ project }}</a>
{% include "searchbox.html" %}
</div>

<div class="wy-grid-for-nav">
{# SIDE NAV, TOGGLES ON MOBILE #}
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
{% block sidebartitle %}
<a href="{{ pathto(master_doc) }}" class="home-link"> {{ project }}</a>
{% endblock %}
{% include "searchbox.html" %}
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
{% if toctree %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.header-bar {
/*.header-bar {
width : 100%;
position : fixed;
z-index : 201;
Expand All @@ -14,22 +14,22 @@
text-indent : -9999px;
float : left;
}
*/
.wy-side-nav-search {
background-color : #2C3D4E;

.header-bar div[role="search"] {
float : left;
width : calc( 100% - 320px );
padding : 10px;
}

.header-bar div[role="search"] input[type="text"] {
width: 100%;
border-radius: 50px;
padding: 6px 12px;
border-color: #2C3D4E;
.wy-side-nav-search .home-link {
background : url( ./logo-preside-admin-header.png ) 3px 0px no-repeat;
display : block;
height : 31px;
width : 300px;
text-indent : -9999px;
}

.wy-grid-for-nav {
top : 51px;
.wy-side-nav-search .home-link:hover {
background : url( ./logo-preside-admin-header.png ) 10px 10px no-repeat;
}

.wy-menu-vertical li.on a,
Expand Down

0 comments on commit d015b73

Please sign in to comment.