WIP mobile header style override for docsviewer

This commit is contained in:
Jared Lee 2016-10-21 10:20:21 +13:00 committed by Cam Findlay
parent faf1b063d5
commit e8dc86a0e9
2 changed files with 25 additions and 8 deletions

View File

@ -91,10 +91,21 @@ form .message.error {
/* Remove global navigation in mobile view */
.nav-mobile {
display: block;
min-height: 0;
margin: 0;
}
@media (max-width: 992px) {
.nav-mobile{
/*.nav-mobile{
display: none;
}*/
.site-header {
display: none;
}
#sidebar a.logo {
height: 20px;
width: 20px;
background-color: red;
background: url(https://www.silverstripe.org/themes/ssv3/img/global-logo-open-source.svg);
}
}

View File

@ -5,6 +5,12 @@
<div id="masthead" <% if Versions %>class="has_versions"<% end_if %>>
<div class="wrapper">
<a class="menu-toggle">
<span></span>
<span></span>
<span></span>
<span></span>
</a>
<% if Breadcrumbs.count > 1 %>
<% include DocumentationBreadcrumbs %>
<% else_if Page.Title %>