From e2be33f25da62ac25ea95b160540e30cc7afca1f Mon Sep 17 00:00:00 2001
From: Stefan M <StefMa@users.noreply.github.com>
Date: Thu, 10 Dec 2020 11:55:54 +0100
Subject: Add dokka to GitHub link (#1661)

* Add dokka to link

* Change anchor text color in footer
---
 plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 3 ++-
 plugins/base/src/main/resources/dokka/styles/style.css      | 6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

(limited to 'plugins/base/src')

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
+}
-- 
cgit