mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
Merge pull request #145 from silverstripe/hotfix/logo-clipping-title-fix
Hotfix/logo clipping title fix
This commit is contained in:
commit
6553bf10e2
8
composer.lock
generated
8
composer.lock
generated
@ -558,12 +558,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/silverstripe/silverstripe-docsviewer.git",
|
||||
"reference": "b8dea84832d46723b0f94e52211227f4ed7d419a"
|
||||
"reference": "9d7a1f621049980167a5a3ba4e7b418a62ee55ee"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/silverstripe/silverstripe-docsviewer/zipball/b8dea84832d46723b0f94e52211227f4ed7d419a",
|
||||
"reference": "b8dea84832d46723b0f94e52211227f4ed7d419a",
|
||||
"url": "https://api.github.com/repos/silverstripe/silverstripe-docsviewer/zipball/9d7a1f621049980167a5a3ba4e7b418a62ee55ee",
|
||||
"reference": "9d7a1f621049980167a5a3ba4e7b418a62ee55ee",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -591,7 +591,7 @@
|
||||
"documentation",
|
||||
"silverstripe"
|
||||
],
|
||||
"time": "2016-10-27 21:07:02"
|
||||
"time": "2016-11-07 13:31:41"
|
||||
},
|
||||
{
|
||||
"name": "silverstripe/dynamodb",
|
||||
|
@ -100,13 +100,18 @@ form .message.error {
|
||||
display: none;
|
||||
}
|
||||
/* SilverStripe logo on top of page */
|
||||
#masthead .menu-bar {
|
||||
margin-bottom: 24px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
#masthead .logo {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
height: 40px;
|
||||
width: 75%;
|
||||
margin-bottom: 24px;
|
||||
width: 140px;
|
||||
margin-left: 4px;
|
||||
margin-top: 4px;
|
||||
background: url(https://www.silverstripe.org/themes/ssv3/img/global-logo-open-source.svg) no-repeat;
|
||||
}
|
||||
}
|
||||
|
13
themes/docs/templates/DocumentationViewer.ss
vendored
13
themes/docs/templates/DocumentationViewer.ss
vendored
@ -5,13 +5,12 @@
|
||||
|
||||
<div id="masthead" <% if Versions %>class="has_versions"<% end_if %>>
|
||||
<div class="wrapper">
|
||||
<a class="logo" href="https://docs.silverstripe.org/"></a>
|
||||
<a class="menu-toggle">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</a>
|
||||
<div class="menu-bar">
|
||||
<a class="logo" href="https://userhelp.silverstripe.org/"></a>
|
||||
<a class="menu-open">
|
||||
<%t DocumentationViewer.MENU "Menu" %>
|
||||
</a>
|
||||
</div>
|
||||
<% if Breadcrumbs.count > 1 %>
|
||||
<% include DocumentationBreadcrumbs %>
|
||||
<% else_if Page.Title %>
|
||||
|
35
themes/docs/templates/DocumentationViewer_all.ss
vendored
Normal file
35
themes/docs/templates/DocumentationViewer_all.ss
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<% include DocumentationHead %>
|
||||
|
||||
<div id="masthead" <% if Versions %>class="has_versions"<% end_if %>>
|
||||
<div class="wrapper">
|
||||
|
||||
<div class="doc-breadcrumbs">
|
||||
<p>
|
||||
<a class="breadcrumb" href="$BaseHref">Documentation</a>
|
||||
<span>/</span>
|
||||
<a class="breadcrumb current">Index</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wrapper">
|
||||
<div id="layout" class="clearfix">
|
||||
|
||||
$Layout
|
||||
|
||||
<% include DocumentationFooter %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<% include DocumentationGA %>
|
||||
<% include DocumentationEnd %>
|
||||
</html>
|
35
themes/docs/templates/DocumentationViewer_results.ss
vendored
Normal file
35
themes/docs/templates/DocumentationViewer_results.ss
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<% include DocumentationHead %>
|
||||
|
||||
<div id="masthead" <% if Versions %>class="has_versions"<% end_if %>>
|
||||
<div class="wrapper">
|
||||
|
||||
<div class="doc-breadcrumbs">
|
||||
<p>
|
||||
<a class="breadcrumb" href="$BaseHref">Documentation</a>
|
||||
<span>/</span>
|
||||
<a class="breadcrumb current">Search</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wrapper">
|
||||
<div id="layout" class="clearfix">
|
||||
|
||||
$Layout
|
||||
|
||||
<% include DocumentationFooter %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<% include DocumentationGA %>
|
||||
<% include DocumentationEnd %>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user