Skip to content

Commit 1d8c553

Browse files
author
bcgwebdesign
committed
tidy up the nav buttons
1 parent 469bb03 commit 1d8c553

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

themes/doi-theme/assets/sass/partials/_handbook.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,24 @@
6363
border:1px solid lightgrey;
6464
flex-basis:50%;
6565
padding:10px 20px;
66+
transition: all 0.2s;
6667
&:hover {
6768
cursor:pointer;
68-
background-color:#5c7292;
69-
color:#fff;
69+
transition: all 0.2s;
70+
border:1px solid #5c7292;
7071
}
7172
}
7273
.prev {
73-
74+
.prevtext:before {
75+
content: "« ";
76+
}
7477
}
7578
.next {
7679
text-align:right;
7780

81+
.nexttext:after {
82+
content: " »";
83+
}
7884
}
7985

8086
}

themes/doi-theme/static/data/handbook-html.xslt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
</xsl:when>
8383
<xsl:otherwise>
8484
<h3>
85-
<xsl:value-of select="substring-after($sectionid,'sec')"/> -
85+
<xsl:value-of select="substring-after($sectionid,'sec')"/>
86+
<xsl:text>&#xA0;</xsl:text>
8687
<xsl:value-of select="normalize-space(.)"/>
8788
</h3>
8889
</xsl:otherwise>
@@ -122,7 +123,8 @@
122123
<div class='section-title'>
123124
<h2>
124125
<xsl:if test="@id != 'preface' and @id != 'sec-glossary'">
125-
<xsl:value-of select="substring-after(@id,'sec')"/> -
126+
<xsl:value-of select="substring-after(@id,'sec')"/>
127+
<xsl:text>&#xA0;</xsl:text>
126128
</xsl:if>
127129
<xsl:value-of select="normalize-space(title)"/>
128130
</h2>

0 commit comments

Comments
 (0)