diff options
author | Stefan M <StefMa@users.noreply.github.com> | 2020-12-10 11:55:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 11:55:54 +0100 |
commit | e2be33f25da62ac25ea95b160540e30cc7afca1f (patch) | |
tree | d5a4c3fabcb18d68371fb381e2df4b358bd52cbd | |
parent | 084ae72f5dfec6a4ff6f370807fe5312cf23cf93 (diff) | |
download | dokka-e2be33f25da62ac25ea95b160540e30cc7afca1f.tar.gz dokka-e2be33f25da62ac25ea95b160540e30cc7afca1f.tar.bz2 dokka-e2be33f25da62ac25ea95b160540e30cc7afca1f.zip |
Add dokka to GitHub link (#1661)
* Add dokka to link
* Change anchor text color in footer
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 3 | ||||
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/style.css | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 8c319f98..7287c08a 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -777,8 +777,9 @@ open class HtmlRenderer( } span { text("© 2020 Copyright") } span("pull-right") { - span { text("Sponsored and developed by dokka") } + span { text("Sponsored and developed by ") } a(href = "https://github.com/Kotlin/dokka") { + span { text("dokka") } span(classes = "padded-icon") } } diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 339b5415..d2658a9d 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -1109,6 +1109,10 @@ td.content { padding: 0 16px; } +.footer a { + color: var(--breadcrumb-font-color); +} + .footer .padded-icon { padding-left: 0.5em; } @@ -1221,4 +1225,4 @@ div.runnablesample { font-size: 32px; line-height: 32px; } -}
\ No newline at end of file +} |