diff options
author | Konstantin Chernenko <kb.chernenko@gmail.com> | 2023-05-30 21:32:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 21:32:20 +0200 |
commit | 78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d (patch) | |
tree | f09361b6e924a3c96c17222aa7f38decedf7ab0c /plugins/base/src/main/resources/dokka/styles/style.css | |
parent | 62c77882c7079e5e1d8e9ea321d3d6e2f129848a (diff) | |
download | dokka-78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d.tar.gz dokka-78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d.tar.bz2 dokka-78a33d4aa45bbdbcb4c9cb6ea3b751f4f991735d.zip |
Use JetBrains Sans as default font (#3017)
Diffstat (limited to 'plugins/base/src/main/resources/dokka/styles/style.css')
-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 40b01116..c7e82c64 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -1,3 +1,4 @@ +@import url('./font-jb-sans-auto.css'); @import url('https://fonts.googleapis.com/css?family=JetBrains+Mono'); /* --- root styles --- */ @@ -24,7 +25,7 @@ --background-color: var(--default-white); --dark-mode-and-search-icon-color: var(--default-white); --color-dark: #27282c; - --default-font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif; + --default-font-family: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,Roboto, Oxygen, Ubuntu,Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif; --default-monospace-font-family: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; --default-font-size: 15px; --average-color: var(--color-dark); @@ -144,7 +145,7 @@ pre { dt { color: #444; - font-weight: 700; + font-weight: 530; } img { @@ -482,6 +483,10 @@ td:first-child { margin: 30px 0; border-top: 3px double #8c8b8b; } + +.main-content :is(h1, h2) { + font-weight: 530; +} /* /--- Main Content styles --- */ /* /--- Breadcrumbs styles --- */ @@ -1428,7 +1433,7 @@ div.runnablesample { display: flex; align-items: center; color: #fff; - font-weight: 700; + font-weight: 530; } .library-name--link::before { |