diff --git a/index.css b/index.css index d39e7a39..3e41ea35 100644 --- a/index.css +++ b/index.css @@ -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) -} +} \ No newline at end of file diff --git a/index.js b/index.js index 2f9e2f47..9bbab353 100644 --- a/index.js +++ b/index.js @@ -273,7 +273,7 @@ Ox.load(function() { } ], comment: [ - /\b(Ox\.\w+)\b/g, + /\b(Ox\.[\w\$_]+)/g, '$1' ], version: [