Add "javadoc" class for <a/> elements on site.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/220fb239 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/220fb239 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/220fb239 Branch: refs/heads/LOG4J2-608 Commit: 220fb23919f3d5296f6297bfc81eebb5c9f049d0 Parents: d690e7a Author: Matt Sicker <[email protected]> Authored: Mon Sep 1 19:15:27 2014 -0500 Committer: Matt Sicker <[email protected]> Committed: Mon Sep 1 19:20:53 2014 -0500 ---------------------------------------------------------------------- src/site/resources/css/site.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/220fb239/src/site/resources/css/site.css ---------------------------------------------------------------------- diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css index f31fc2a..fc5a069 100644 --- a/src/site/resources/css/site.css +++ b/src/site/resources/css/site.css @@ -21,7 +21,7 @@ div.clear hr { display: none; } /* Tweaks to the bootstrap theme --------------------------------- */ li { line-height: 20px; } -tt { font-family: Menlo, Monaco, "Courier New", monospace; font-size: 12px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 3px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; } +tt { font: 12px Menlo, Monaco, "Courier New", monospace; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 3px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; } dt { margin: 15px 0 5px 0; font-size: 1.2em } .big-red { font-weight: bold; color: #D14 } @@ -84,3 +84,11 @@ dt { margin: 15px 0 5px 0; font-size: 1.2em } } ol.linenums { margin: 0 0 0 33px; } ol.linenums li { padding-left: 12px; color: #bebec5; line-height: 18px; text-shadow: 0 1px 0 #fff; } + +/* Additional styles. +-----------------------*/ + +/* fixed width font links (e.g., to a JavaDoc page) */ +a.javadoc, a.javadoc:hover { + font: 12px Menlo, Monaco, "Courier New", monospace; +}
