aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources/dokka
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-08-03 13:51:50 +0200
committerGitHub <noreply@github.com>2022-08-03 13:51:50 +0200
commit3994c42f2f2366d2e551e62412518a210581cb3a (patch)
tree8f67a972f4ae055f8e6177cf43aaf4cc1f06e5d6 /plugins/base/src/main/resources/dokka
parent018af7d18f50b0677a31714e29744ac2d8713c4f (diff)
downloaddokka-3994c42f2f2366d2e551e62412518a210581cb3a.tar.gz
dokka-3994c42f2f2366d2e551e62412518a210581cb3a.tar.bz2
dokka-3994c42f2f2366d2e551e62412518a210581cb3a.zip
Apply the same style to all KDoc tags, including throws/see/parameters (#2587)
Diffstat (limited to 'plugins/base/src/main/resources/dokka')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 5b1e95e6..7e9761a6 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -239,6 +239,14 @@ p.paragraph:first-child,
margin-top: 0;
}
+.content .kdoc-tag > p.paragraph {
+ margin-top: 0;
+}
+
+.content h4 {
+ margin-bottom: 0;
+}
+
.divergent-group {
background-color: var(--background-color);
padding: 16px 0 8px 0;
@@ -1016,11 +1024,12 @@ td.content {
.keyValue {
display: grid;
+ grid-gap: 8px;
}
@media print, screen and (min-width: 960px) {
.keyValue {
- grid-template-columns: 20% 80%;
+ grid-template-columns: 25% 75%;
}
.title-row {