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 */
|
/* First level of nav */
|
||||||
.api-sidenav {
|
.api-sidenav {
|
||||||
margin-top: 30px;
|
margin-top: 20px;
|
||||||
|
margin-left: -10px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
width: auto;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
text-shadow: 0 1px 0 #fff;
|
text-shadow: 0 1px 0 #fff;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
/*margin-top: 30px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* All levels of nav */
|
/* All levels of nav */
|
||||||
@@ -144,7 +147,7 @@ dt:hover > a.headerlink {
|
|||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
padding-bottom: 3px;
|
padding-bottom: 3px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
font-size: 90%;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Show and affix the side nav when space allows it */
|
/* Show and affix the side nav when space allows it */
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
<!-- OpenStack Specific CSS -->
|
<!-- OpenStack Specific CSS -->
|
||||||
<link rel="stylesheet" href="apiref/css/main.css"
|
<link rel="stylesheet" href="apiref/css/main.css"
|
||||||
type="text/css"/>
|
type="text/css"/>
|
||||||
|
<link rel="stylesheet" href="apiref/css/style.css"/>
|
||||||
<link href="apiref/css/main.css" rel="stylesheet"
|
<link href="apiref/css/main.css" rel="stylesheet"
|
||||||
type="text/css"/>
|
type="text/css"/>
|
||||||
<link href="apiref/css/bootstrap.min.css" rel="stylesheet"
|
<link href="apiref/css/bootstrap.min.css" rel="stylesheet"
|
||||||
@@ -253,18 +254,12 @@
|
|||||||
<ul class="nav api-sidenav">
|
<ul class="nav api-sidenav">
|
||||||
<xsl:apply-templates select="d:chapter"
|
<xsl:apply-templates select="d:chapter"
|
||||||
mode="toc"/>
|
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 -->
|
<!-- add list of all services to the sidebar menu -->
|
||||||
<xsl:apply-templates
|
<xsl:apply-templates
|
||||||
select="//d:book//d:itemizedlist[@xml:id='service-list']/d:listitem/d:para/d:link"
|
select="//d:book//d:itemizedlist[@xml:id='service-list']/d:listitem/d:para/d:link"
|
||||||
mode="menu-toc"/>
|
mode="menu-toc"/>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-7">
|
<div class="col-md-7">
|
||||||
@@ -377,7 +372,7 @@
|
|||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<!-- show top menu item in side nav bar -->
|
<!-- show top menu item in side nav bar -->
|
||||||
<li>
|
<li>
|
||||||
<a href="#{@xml:id}">
|
<a class="smallcapped" href="#{@xml:id}">
|
||||||
<xsl:value-of select="translate(d:title,' ',' ')"
|
<xsl:value-of select="translate(d:title,' ',' ')"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user