aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-customFormat-example/logo-styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gradle/dokka-customFormat-example/logo-styles.css')
-rw-r--r--examples/gradle/dokka-customFormat-example/logo-styles.css28
1 files changed, 14 insertions, 14 deletions
diff --git a/examples/gradle/dokka-customFormat-example/logo-styles.css b/examples/gradle/dokka-customFormat-example/logo-styles.css
index 9558eb83..ffe4d503 100644
--- a/examples/gradle/dokka-customFormat-example/logo-styles.css
+++ b/examples/gradle/dokka-customFormat-example/logo-styles.css
@@ -1,20 +1,20 @@
/*
* All Margins and sizes are custom for the ktor-logo.png file.
- * You may need to modify it and find what works best for your case.
+ * You may need to override it and find what works best for your case.
*/
-.library-name a {
- position: relative;
- margin-left: 55px;
+:root {
+ --dokka-logo-image-url: url('../images/ktor-logo.png');
+ --dokka-logo-height: 125px;
+ --dokka-logo-width: 50px;
}
-.library-name a::before {
- content: '';
- background-image: url('../images/ktor-logo.png');
- background-repeat: no-repeat;
- background-size: 125px 50px;
- position: absolute;
- width: 52px;
- height: 50px;
- top: -18px;
- left: -62px;
+/* link custom rules styles */
+.library-name--link {
+ /* ... */
}
+
+/* logo custom rules styles */
+.library-name--link::before {
+ background-position: left;
+ width: 52px;
+} \ No newline at end of file