Small change to fix problem on overview page for OpenStack api-site
Updated sidebar menu so that font of top item in menu is small caps - this change fixes only the font of the top item in the sidebar menu - does not fix the PDF issue Change-Id: I2b8f00b2ba33ef0653313f1719ae416d758bc239 author: diane fleming
This commit is contained in:
@@ -103,13 +103,16 @@ dt:hover > a.headerlink {
|
||||
|
||||
/* First level of nav */
|
||||
.api-sidenav {
|
||||
margin-top: 30px;
|
||||
margin-top: 20px;
|
||||
margin-left: -10px;
|
||||
margin-bottom: 30px;
|
||||
width: auto;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-color: #f5f5f5;
|
||||
border-radius: 5px;
|
||||
/*margin-top: 30px;*/
|
||||
}
|
||||
|
||||
/* All levels of nav */
|
||||
@@ -144,7 +147,7 @@ dt:hover > a.headerlink {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 30px;
|
||||
font-size: 90%;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Show and affix the side nav when space allows it */
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
<!-- OpenStack Specific CSS -->
|
||||
<link rel="stylesheet" href="apiref/css/main.css"
|
||||
type="text/css"/>
|
||||
<link rel="stylesheet" href="apiref/css/style.css"/>
|
||||
<link href="apiref/css/main.css" rel="stylesheet"
|
||||
type="text/css"/>
|
||||
<link href="apiref/css/bootstrap.min.css" rel="stylesheet"
|
||||
@@ -253,18 +254,12 @@
|
||||
<ul class="nav api-sidenav">
|
||||
<xsl:apply-templates select="d:chapter"
|
||||
mode="toc"/>
|
||||
<li>
|
||||
<!-- API ref page TOC -->
|
||||
<xsl:apply-templates
|
||||
select="//d:preface//d:title"
|
||||
mode="menu-toc"/>
|
||||
<ul class="nav active">
|
||||
<ul class="nav active">
|
||||
<!-- add list of all services to the sidebar menu -->
|
||||
<xsl:apply-templates
|
||||
select="//d:book//d:itemizedlist[@xml:id='service-list']/d:listitem/d:para/d:link"
|
||||
mode="menu-toc"/>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="row">
|
||||
<div class="col-md-7">
|
||||
@@ -377,7 +372,7 @@
|
||||
<xsl:otherwise>
|
||||
<!-- show top menu item in side nav bar -->
|
||||
<li>
|
||||
<a href="#{@xml:id}">
|
||||
<a class="smallcapped" href="#{@xml:id}">
|
||||
<xsl:value-of select="translate(d:title,' ',' ')"
|
||||
/>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user