diff options
Diffstat (limited to 'plugins/base/src')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt | 3 | ||||
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/logo-styles.css | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt index 347e16bf..665ae730 100644 --- a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt +++ b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt @@ -106,7 +106,8 @@ class StylesInstaller(private val dokkaContext: DokkaContext) : PageTransformer "styles/style.css", "styles/jetbrains-mono.css", "styles/main.css", - "styles/prism.css" + "styles/prism.css", + "styles/logo-styles.css" ) override fun invoke(input: RootPageNode): RootPageNode = diff --git a/plugins/base/src/main/resources/dokka/styles/logo-styles.css b/plugins/base/src/main/resources/dokka/styles/logo-styles.css new file mode 100644 index 00000000..25de3f61 --- /dev/null +++ b/plugins/base/src/main/resources/dokka/styles/logo-styles.css @@ -0,0 +1,15 @@ +.library-name a { + position: relative; + margin-left: 55px; +} + +.library-name a::before { + content: ''; + background: url("../images/logo-icon.svg") center no-repeat; + background-size: contain; + position: absolute; + width: 50px; + height: 50px; + top: -18px; + left: -55px; +}
\ No newline at end of file |