aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-08-18 19:33:53 +0200
committerGitHub <noreply@github.com>2022-08-18 19:33:53 +0200
commit50a3323322265ff3b5dab1d861a25bbb1167812a (patch)
tree0966cfab6d9155724a65439a5c0d1476d66b0a7a /plugins/base/src/main/resources
parentdf8d9879b818799c83ff731b3a78e7d2b96fd8e5 (diff)
downloaddokka-50a3323322265ff3b5dab1d861a25bbb1167812a.tar.gz
dokka-50a3323322265ff3b5dab1d861a25bbb1167812a.tar.bz2
dokka-50a3323322265ff3b5dab1d861a25bbb1167812a.zip
Add deprecation details block (#2622)
Diffstat (limited to 'plugins/base/src/main/resources')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css33
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 8e379c75..0d1085c1 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -743,6 +743,39 @@ small {
font-size: 11px;
}
+.deprecation-content {
+ margin: 20px 10px;
+ border:1px solid var(--border-color);
+ padding: 13px 15px 16px 15px;
+}
+
+.deprecation-content > h3 {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+.deprecation-content > h4 {
+ font-size: 16px;
+ margin-top: 15px;
+ margin-bottom: 0;
+}
+
+.deprecation-content code.block {
+ padding: 5px 10px;
+ display: inline-block;
+}
+
+.deprecation-content .footnote {
+ margin-left: 25px;
+ font-size: 13px;
+ font-weight: bold;
+ display: block;
+}
+
+.deprecation-content .footnote > p {
+ margin: 0;
+}
+
.platform-tag {
display: flex;
flex-direction: row;