Skip to content

Commit 5ca5ec3

Browse files
committed
doc: css consistency on anchor links
1 parent f1742c9 commit 5ca5ec3

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

doc/api_assets/style.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,29 +163,30 @@ h3 + h3 {
163163
margin: 0 0 0.5em;
164164
}
165165

166-
h2, h3 {
166+
h2, h3, h4 {
167167
position:relative;
168168
padding-right:40px;
169169
}
170-
h1 span, h2 span, h3 span {
170+
h1 span, h2 span, h3 span, h4 span {
171+
font-size:25px;
171172
position:absolute;
172173
display:block;
173174
top:0;
174175
right:0;
175176
opacity: 0.3;
176177
}
177-
h1 span:hover, h2 span:hover, h3 span:hover {
178+
h1 span:hover, h2 span:hover, h3 span:hover, h4 span:hover {
178179
opacity: 1;
179180
}
180-
h1 span a, h2 span a, h3 span a {
181+
h1 span a, h2 span a, h3 span a, h4 span a {
181182
font-size: 0.8em;
182183
color: #000;
183184
text-decoration: none;
184185
font-family: Helvetica, Arial, sans-serif;
185186
font-weight:bold;
186187
}
187188

188-
h1 span a.top, h3 span a.top, h3 span a.top {
189+
h1 span a.top, h3 span a.top, h3 span a.top, h4 span a.top {
189190
/* XXX Get an image and clean up these two links
190191
* so that they look nice next to one another.
191192
* http://www.chrisglass.com/work/nodejs/website/v05/docs.html

0 commit comments

Comments
 (0)