aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-08-30 14:24:05 +0200
committerGitHub <noreply@github.com>2021-08-30 14:24:05 +0200
commit1f58b5b3d8dc83338561b2ca64d6434b0c3ee1a3 (patch)
treeca400bc6bcb33268d7a7686f293548efbab73077
parent9518bf22eb14076c53e8d1b3bc45fe8b07e10da5 (diff)
downloaddokka-1f58b5b3d8dc83338561b2ca64d6434b0c3ee1a3.tar.gz
dokka-1f58b5b3d8dc83338561b2ca64d6434b0c3ee1a3.tar.bz2
dokka-1f58b5b3d8dc83338561b2ca64d6434b0c3ee1a3.zip
Fix signatures being bolded, increase spacing in divergent (#2101)
-rw-r--r--plugins/base/src/main/resources/dokka/styles/jetbrains-mono.css4
-rw-r--r--plugins/base/src/main/resources/dokka/styles/prism.css1
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css6
3 files changed, 5 insertions, 6 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/jetbrains-mono.css b/plugins/base/src/main/resources/dokka/styles/jetbrains-mono.css
index 274eb9c2..9a0f06f8 100644
--- a/plugins/base/src/main/resources/dokka/styles/jetbrains-mono.css
+++ b/plugins/base/src/main/resources/dokka/styles/jetbrains-mono.css
@@ -12,6 +12,6 @@
src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/web/JetBrainsMono-Bold.eot') format('embedded-opentype'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/webfonts/JetBrainsMono-Bold.woff2') format('woff2'),
url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/ttf/JetBrainsMono-Bold.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
+ font-weight: bold;
+ font-style: bold;
} \ No newline at end of file
diff --git a/plugins/base/src/main/resources/dokka/styles/prism.css b/plugins/base/src/main/resources/dokka/styles/prism.css
index 90c4d7a9..d622fdb0 100644
--- a/plugins/base/src/main/resources/dokka/styles/prism.css
+++ b/plugins/base/src/main/resources/dokka/styles/prism.css
@@ -99,6 +99,5 @@ https://prismjs.com/download.html#themes=prism&languages=clike+java+javadoclike+
.annotation,.control,.field,.filename,.keyword,.menupath,.property,.string,.value {
color: #27282c;
- /*color: var(--wh-color-text-bold);*/
font-weight: 700;
} \ No newline at end of file
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 7a2dfae0..c7b65293 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -224,7 +224,7 @@ html ::-webkit-scrollbar-thumb {
.divergent-group {
background-color: var(--background-color);
- padding: 8px 0 8px 0;
+ padding: 16px 0 8px 0;
margin-bottom: 2px;
}
@@ -359,7 +359,7 @@ code.paragraph {
z-index: 1000;
background: white;
font-weight: normal;
- font-family: 'Inter', "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-family: var(--default-font-family);
width: max-content;
font-size: var(--default-font-size);
cursor: default;
@@ -487,7 +487,7 @@ code.paragraph {
}
body, table {
- font-family: 'Inter', "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-family: var(--default-font-family);
background: var(--background-color);
font-style: normal;
font-weight: normal;