diff options
author | vmishenev <vad-mishenev@yandex.ru> | 2021-10-18 00:29:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 00:29:45 +0300 |
commit | b85bc284d71b51e76f8c4388ee6c20b86385c14e (patch) | |
tree | 1f121cd11e524dfd9d38a734fb65e76e342cda29 /plugins/base | |
parent | 53064bdd310a9d9e18efe2865e21b11f9337a8f6 (diff) | |
download | dokka-b85bc284d71b51e76f8c4388ee6c20b86385c14e.tar.gz dokka-b85bc284d71b51e76f8c4388ee6c20b86385c14e.tar.bz2 dokka-b85bc284d71b51e76f8c4388ee6c20b86385c14e.zip |
Fix paragraph margin and label highlighting (#2190)
Diffstat (limited to 'plugins/base')
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/style.css | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 2e69c3ee..94e61cef 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -223,7 +223,12 @@ html ::-webkit-scrollbar-thumb { width: 100%; } -.cover p.paragraph { +.brief p.paragraph { + margin-top: 0; +} + +.main-content p.paragraph, +.sample-container { margin-top: 8px; } @@ -307,7 +312,7 @@ code.paragraph { padding: 0; } -.symbol, code { +.symbol:not(.token), code { background-color: var(--code-background); align-items: center; box-sizing: border-box; @@ -316,7 +321,7 @@ code.paragraph { font-size: var(--default-font-size); } -.symbol, code.block { +.symbol:not(.token), code.block { display: block; padding: 12px 32px 12px 12px; border-radius: 8px; |