update index (don't fail to linkify 'Ox.$')

This commit is contained in:
rolux 2012-04-11 22:38:16 +02:00
parent 1d9bf5aacd
commit 27113d2462
2 changed files with 9 additions and 3 deletions

View file

@ -11,7 +11,9 @@ body {
text-decoration: underline;
}
.OxComment .doclink {
font-size: 12px;
padding: 1px 3px 1px 3px;
border-radius: 2px;
font-size: 11px;
text-decoration: none;
}
.OxComment .doclink:hover {
@ -107,9 +109,11 @@ body.OxThemeModern,
background-color: rgb(16, 16, 16);
}
.OxThemeClassic .OxComment .doclink,
.OxThemeClassic .page {
background-color: rgb(255, 255, 255);
}
.OxThemeModern .OxComment .doclink,
.OxThemeModern .page {
background-color: rgb(0, 0, 0);
}
@ -121,13 +125,15 @@ body.OxThemeModern,
background: rgb(32, 32, 32);
}
.OxThemeClassic .OxComment .doclink,
.OxThemeClassic .logo,
.OxThemeClassic .page,
.OxThemeClassic .readme .OxSyntaxHighlighter {
box-shadow: 0 0 1px rgb(160, 160, 160)
}
.OxThemeModern .OxComment .doclink,
.OxThemeModern .logo,
.OxThemeModern .page,
.OxThemeModern .readme .OxSyntaxHighlighter {
box-shadow: 0 0 1px rgb(96, 96, 96)
}
}

View file

@ -273,7 +273,7 @@ Ox.load(function() {
}
],
comment: [
/\b(Ox\.\w+)\b/g,
/\b(Ox\.[\w\$_]+)/g,
'<a href="#doc/$1" class="OxMonospace doclink">$1</a>'
],
version: [