diff options
author | Konstantin Chernenko <kb.chernenko@gmail.com> | 2023-05-24 17:08:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 17:08:18 +0200 |
commit | f55e22d5fe3f9121b7ed81d0c3f8c6a094dff45c (patch) | |
tree | 977c6b9cd32d62d8ff23e660c49ea738e96abbeb /examples/gradle/dokka-customFormat-example | |
parent | d9c8c6c0035ad59dc0a5495f3247205bb8553295 (diff) | |
download | dokka-f55e22d5fe3f9121b7ed81d0c3f8c6a094dff45c.tar.gz dokka-f55e22d5fe3f9121b7ed81d0c3f8c6a094dff45c.tar.bz2 dokka-f55e22d5fe3f9121b7ed81d0c3f8c6a094dff45c.zip |
update mobile view and some bugs (#2836)
* Fix dark theme bugs: mobile TOC is visible on 1px and has white background, menu icon is black
* Refactoring css styles for header controls
* Change header responsive layout
* Change header responsive layout
* Fix scrollable columns for any header size
* Remove main content mobile spacing
* Change style for platform filters and labels
* Fix: add burger icon into dist
* Fix: long code token in mobile view
* Fix: color in filter selector
* Fix: long token in keyValue for desktop
* Fix: add spacing for iPad Mini
* Fix: dropdown for multiple versions
* update platform brand colors
* Fix: sample spacing, blockquote, playground initialize
* Safari fix outline for platform tags
* Fix non-js main content for better SEO
* Fix outline for safari browser
* Add consistent vertical spacing for header. It should normalize subpixel artifacts and centred content.
* Update manual for custom logo
* Add comment for playground
* Hide copy button for non-js user
* fix; use google fonts
* feat; change style for platform in platform-tags
* Revert Inter as defult font
* Add breaks for CONSTANTS
* incorrect non-js script position
* less specific selector for article links
Diffstat (limited to 'examples/gradle/dokka-customFormat-example')
-rw-r--r-- | examples/gradle/dokka-customFormat-example/logo-styles.css | 28 |
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 |