This commit is contained in:
InsanusMokrassar
2026-05-23 11:30:30 +00:00
parent 55907d39f9
commit 80a0145cb4
6686 changed files with 469404 additions and 412054 deletions

View File

@@ -1,40 +0,0 @@
/*
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
/* Light weight */
@font-face {
font-family: 'JetBrains Sans';
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
font-display: swap;
}
/* Regular weight */
@font-face {
font-family: 'JetBrains Sans';
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
/* SemiBold weight */
@font-face {
font-family: 'JetBrains Sans';
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@supports (font-variation-settings: normal) {
@font-face {
font-family: 'JetBrains Sans';
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2') format('woff2 supports variations'),
url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2') format('woff2-variations'),
url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
}

View File

@@ -6,13 +6,13 @@
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*!
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*!
*/:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-hover: rgb(69, 140, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgba(38, 38, 40, 1);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w21: rgba(255, 255, 255, 0.21);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-b100: rgba(0, 0, 0, 1);--color-background-inline-code: var(--color-b08);--color-background-code-block: rgba(25, 25, 28, 0.05);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-number: rgba(135, 16, 148, 1);--color-cd-number-alternative: rgba(109, 185, 243, 1);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255);--copy-icon-color: var(--color-b50);--copy-icon-hover-color: var(--color-b70)}/*!
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*!
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*!
*/:root{--font-family-default: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 15.5px/24px var(--font-family-mono)}/*!
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0}
*/:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px;border-radius:0;outline-offset:-4px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}span[data-test-custom=ring-select-popup-filter-icon]{top:10px;left:11px}@media(width < 900px){span[data-test-custom=ring-select-popup-filter-icon]{top:16px;left:11px}}span[data-test-custom=ring-select-popup-filter-icon] svg{width:20px !important;height:20px !important}.popup-wrapper{min-width:636px !important;margin-top:-42px;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#262628 !important}@media(width < 900px){.popup-wrapper{top:-1px !important;right:-1px !important;bottom:-1px !important;left:-1px !important;overflow-y:hidden !important;margin-top:0}}.popup-wrapper [class^=filterWrapper]{margin-bottom:4px;padding-right:0;border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{--outline-width: 4px;width:calc(100% - var(--outline-width));height:39px;margin-left:-40px;padding-right:52px;padding-left:40px;color:#fff;border-radius:0;font-size:16px;font-weight:normal !important}.popup-wrapper input::placeholder{color:rgba(0,0,0,0)}@media(width < 900px){.popup-wrapper input{height:51px}}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}@media(width < 900px){.popup-wrapper div[data-test=ring-input]{overflow:hidden}}.popup-wrapper button[data-test=ring-input-clear]{top:0;right:40px;height:39px;padding:9px 12px;transition:none;color:#fff !important;border-radius:0;line-height:21px}@media(width < 900px){.popup-wrapper button[data-test=ring-input-clear]{right:52px;height:52px}}.popup-wrapper button[data-test=ring-input-clear]:focus-visible{box-shadow:inset 4px 0 0 var(--color-key-blue-50),inset -4px 0 0 var(--color-key-blue-50),0 -4px 0 var(--color-key-blue-50),0 4px 0 var(--color-key-blue-50)}@media(width < 900px){.popup-wrapper button[data-test=ring-input-clear]:focus-visible{outline:var(--focus-outline);outline-offset:-4px;box-shadow:none}}.popup-wrapper button[data-test=ring-input-clear]:hover{background-color:var(--color-w10)}@media(width < 900px){.popup-wrapper button[data-test=ring-input-clear]{padding:15.5px 12px}}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.search--close-button{position:absolute;top:-1px;right:-1px;width:41px;height:41px !important;border-radius:0 !important}@media(width < 900px){.search--close-button{width:52px;height:52px !important;background-color:rgba(0,0,0,0) !important}.search--close-button:hover{background-color:var(--color-w10) !important}.search--close-button:active{background-color:var(--color-w16) !important}.search--close-button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}div[data-test=ring-popup]{overflow:visible;border-radius:0}div[data-test=ring-popup] .ReactVirtualized__List{max-height:412px !important}div[data-test=ring-popup] .ReactVirtualized__List:focus-visible{outline:var(--focus-outline)}@media(width < 900px){div[data-test=ring-popup] .ReactVirtualized__List{max-height:calc(100vh - 51px) !important}}
/* stylelint-disable color-no-hex */
.light,

View File

@@ -21,19 +21,29 @@ code .token {
* @author Lea Verou
*/
:root {
--code-area-punctuation: var(--color-cd-punctuation);
--code-area-string: var(--color-cd-builtin);
--code-area-keyword: var(--color-cd-keyword);
--code-area-function: var(--color-cd-function);
--code-area-operator: var(--color-cd-operator);
--code-area-number: var(--color-cd-number);
}
:root.theme-dark {
--code-area-string: var(--color-cd-builtin-alternative);
--code-area-keyword: var(--color-cd-keyword-alternative);
--code-area-function: var(--color-cd-function-alternative);
--code-area-operator: var(--color-cd-operator-alternative);
--code-area-number: var(--color-cd-number-alternative);
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #8c8c8c;
}
.token.cdata,
.token.punctuation {
color: #999;
}
.token.namespace {
opacity: 0.7;
color: var(--code-area-punctuation);
}
.token.property,
@@ -43,7 +53,7 @@ code .token {
.token.constant,
.token.symbol,
.token.deleted {
color: #871094;
color: var(--code-area-number);
}
.token.selector,
@@ -52,7 +62,7 @@ code .token {
.token.char,
.token.builtin,
.token.inserted {
color: #067d17;
color: var(--code-area-string);
}
.token.operator,
@@ -60,36 +70,36 @@ code .token {
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
/* This background color was intended by the author of this theme. */
background: hsla(0, 0%, 100%, 0.5);
color: var(--code-area-operator);
background: none;
}
.token.interpolation-punctuation {
color: var(--code-area-keyword);
}
.token.atrule,
.token.attr-value,
.token.keyword {
font-size: inherit; /* to override .keyword */
color: #0033b3;
.token.keyword,
.token.interpolation-punctuation {
color: var(--code-area-keyword);
}
.token.function {
color: #00627a;
}
.token.class-name {
color: #000000;
color: var(--code-area-function);
}
.token.regex,
.token.important,
.token.variable {
color: #871094;
color: var(--code-area-number);
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
@@ -98,115 +108,6 @@ code .token {
cursor: help;
}
.token.operator {
background: none;
}
/*
* DARK THEME
*/
:root.theme-dark .token.comment,
:root.theme-dark .token.prolog,
:root.theme-dark .token.cdata {
color: #808080;
}
:root.theme-dark .token.delimiter,
:root.theme-dark .token.boolean,
:root.theme-dark .token.keyword,
:root.theme-dark .token.selector,
:root.theme-dark .token.important,
:root.theme-dark .token.atrule {
color: #cc7832;
}
:root.theme-dark .token.operator,
:root.theme-dark .token.punctuation,
:root.theme-dark .token.attr-name {
color: #a9b7c6;
}
:root.theme-dark .token.tag,
:root.theme-dark .token.tag .punctuation,
:root.theme-dark .token.doctype,
:root.theme-dark .token.builtin {
color: #e8bf6a;
}
:root.theme-dark .token.entity,
:root.theme-dark .token.number,
:root.theme-dark .token.symbol {
color: #6897bb;
}
:root.theme-dark .token.property,
:root.theme-dark .token.constant,
:root.theme-dark .token.variable {
color: #9876aa;
}
:root.theme-dark .token.string,
:root.theme-dark .token.char {
color: #6a8759;
}
:root.theme-dark .token.attr-value,
:root.theme-dark .token.attr-value .punctuation {
color: #a5c261;
}
:root.theme-dark .token.attr-value .punctuation:first-child {
color: #a9b7c6;
}
:root.theme-dark .token.url {
text-decoration: underline;
color: #287bde;
background: transparent;
}
:root.theme-dark .token.function {
color: #ffc66d;
}
:root.theme-dark .token.regex {
background: #364135;
}
:root.theme-dark .token.deleted {
background: #484a4a;
}
:root.theme-dark .token.inserted {
background: #294436;
}
:root.theme-dark .token.class-name {
color: #a9b7c6;
}
:root.theme-dark .token.function {
color: #ffc66d;
}
:root.theme-darkcode .language-css .token.property,
:root.theme-darkcode .language-css,
:root.theme-dark .token.property + .token.punctuation {
color: #a9b7c6;
}
code.language-css .token.id {
color: #ffc66d;
}
:root.theme-dark code.language-css .token.selector > .token.class,
:root.theme-dark code.language-css .token.selector > .token.attribute,
:root.theme-dark code.language-css .token.selector > .token.pseudo-class,
:root.theme-dark code.language-css .token.selector > .token.pseudo-element {
color: #ffc66d;
}
:root.theme-dark .language-plaintext .token {
/* plaintext code should be colored as article text */
color: inherit !important;

View File

@@ -2,54 +2,35 @@
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
@import url('./font-jb-sans-auto.css');
@import url('https://fonts.googleapis.com/css?family=JetBrains+Mono');
/* --- root styles --- */
:root {
--default-gray: #f4f4f4;
--default-font-color: rgb(0, 0, 0);
--header-font-color: var(--default-font-color);
--breadcrumb-font-color: #637282;
--breadcrumb-margin: 24px;
--hover-link-color: #5B5DEF;
--footer-height: 64px;
--footer-padding-top: 48px;
--footer-background: var(--default-gray);
--footer-font-color: var(--average-color);
--footer-go-to-top-color: white;
--horizontal-spacing-for-content: 16px;
--bottom-spacing: 16px;
--color-scrollbar: rgba(39, 40, 44, 0.40);
--color-scrollbar-track: var(--default-gray);
--default-white: #fff;
--background-color: var(--default-white);
--dark-mode-and-search-icon-color: var(--default-white);
--color-dark: #27282c;
--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-font-family: 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);
--brief-color: var(--average-color);
--copy-icon-color: rgba(39, 40, 44, .7);
--copy-icon-hover-color: var(--color-dark);
--code-background: rgba(39, 40, 44, .05);
--default-font-size: 16px;
--blockquote-background: rgba(39, 40, 44, .05);
--border-color: rgba(39, 40, 44, .2);
--navigation-highlight-color: rgba(39, 40, 44, 0.05);
--top-navigation-height: 73px;
--max-width: 1160px;
--white-10: hsla(0, 0%, 100%, .1);
--active-tab-border-color: #7F52FF;
--active-tab-border-color: var(--color-key-blue);
--inactive-tab-border-color: rgba(164, 164, 170, 0.7);
--active-section-color: #7F52FF;
--inactive-section-color: rgba(25, 25, 28, .7);
--sidebar-width: 280px;
--sidemenu-section-active-color: #7F52FF;
}
@@ -89,42 +70,39 @@ html, body {
/* /--- root styles --- */
/* --- global tags styles --- */
body, table {
background: var(--background-color);
font-family: var(--default-font-family);
font-style: normal;
font-weight: normal;
font-size: var(--default-font-size);
line-height: 1.6;
margin: 0;
}
h1 {
font-size: 40px;
line-height: 48px;
letter-spacing: -1px;
font-size: 44px;
line-height: 44px;
margin-bottom: 24px;
margin-top: 48px;
}
h2 {
font-size: 31px;
line-height: 40px;
letter-spacing: -0.5px;
font-size: 32px;
line-height: 32px;
margin-bottom: 24px;
margin-top: 48px;
}
h3 {
font-size: 20px;
line-height: 28px;
letter-spacing: -0.2px;
font-size: 24px;
line-height: 24px;
margin-bottom: 24px;
margin-top: 48px;
}
h4, h5 {
font-size: 16px;
line-height: 24px;
margin-bottom: 24px;
margin-top: 24px;
}
p, ul, ol, table, pre, dl {
margin: 0;
}
a {
text-decoration: none;
}
u {
text-decoration: none;
padding-bottom: 2px;
@@ -136,12 +114,12 @@ blockquote {
margin: 0;
padding-left: 1ch;
font-style: italic;
color: var(--average-color);
color: var(--color-dark);
}
.theme-dark blockquote {
color: var(--default-font-color);
border-left-color: var(--code-background);
border-left-color: var(--blockquote-background);
}
pre {
@@ -150,37 +128,12 @@ pre {
dt {
color: #444;
font-weight: 530;
}
img {
max-width: 100%;
}
small {
font-size: 11px;
}
table {
width: 100%;
border-collapse: collapse;
padding: 5px;
}
th, td {
padding: 12px 10px 11px;
text-align: left;
vertical-align: top;
}
tbody > tr {
min-height: 56px;
}
td:first-child {
width: 20vw;
}
/* /--- global tags styles --- */
/* --- utils classes --- */
@@ -221,13 +174,11 @@ td:first-child {
--color-dark: #3d3d41;
--default-font-color: rgba(255, 255, 255, 0.96);
--border-color: hsla(0, 0%, 100%, 0.2);
--code-background: hsla(0, 0%, 100%, 0.05);
--breadcrumb-font-color: #8c8c8e;
--brief-color: hsla(0, 0%, 100%, 0.4);
--blockquote-background: hsla(0, 0%, 100%, 0.05);
--copy-icon-color: hsla(0, 0%, 100%, 0.6);
--copy-icon-hover-color: #fff;
--active-tab-border-color: var(--default-font-color);
--active-tab-border-color: var(--color-key-blue);
--inactive-tab-border-color: hsla(0, 0%, 100%, 0.4);
--active-section-color: var(--default-font-color);
@@ -243,77 +194,12 @@ td:first-child {
/* /---dark theme --- */
.root {
display: flex;
flex-direction: column;
height: 100%;
}
/* --- Layout styles --- */
#container {
display: flex;
flex: 1 1 auto;
min-height: 0; /* full height exclude header */
}
#container > #main {
overflow: auto;
}
#main {
display: flex;
flex-direction: column;
flex: 1 1 0; /* full width, but no affects for sidebar */
}
/* /--- Layout styles --- */
/* --- Main Content styles --- */
.main-content {
padding-bottom: var(--bottom-spacing);
margin-left: auto;
margin-right: auto;
max-width: var(--max-width);
width: 100%;
z-index: 0;
}
.main-content > * {
margin-left: var(--horizontal-spacing-for-content);
margin-right: var(--horizontal-spacing-for-content);
}
.main-content .content > hr {
margin: 30px 0;
border-top: 3px double #8c8b8b;
}
.main-content :is(h1, h2) {
font-weight: 530;
font-weight: 600;
}
/* /--- Main Content styles --- */
/* /--- Breadcrumbs styles --- */
.breadcrumbs, .breadcrumbs a, .breadcrumbs a:hover {
margin-top: var(--breadcrumb-margin);
color: var(--breadcrumb-font-color);
overflow-wrap: break-word;
}
.breadcrumbs .delimiter {
margin: auto 2px;
}
.breadcrumbs .current {
color: var(--default-font-color);
}
/* /--- Breadcrumbs styles --- */
.cover > .platform-hinted {
padding-bottom: 12px;
margin-bottom: 24px;
}
.cover {
@@ -321,11 +207,6 @@ td:first-child {
flex-direction: column;
}
.cover .platform-hinted.with-platform-tabs .sourceset-dependent-content > .block ~ .symbol {
padding-top: 16px;
padding-left: 0;
}
.cover .sourceset-dependent-content > .block {
padding: 16px 0;
font-size: 18px;
@@ -352,6 +233,10 @@ td:first-child {
margin-top: 8px;
}
/**
first block on a page
http://localhost:8001/jvm/org.jetbrains.dokka.uitest.internal/function-to-be-used-as-sample.html
*/
blockquote,
.content > .symbol:first-of-type,
p.paragraph:first-child,
@@ -363,12 +248,8 @@ p.paragraph:first-child,
margin-top: 0;
}
.content h4 {
margin-bottom: 0;
}
.divergent-group {
background-color: var(--background-color);
background-color: var(--color-background);
padding: 16px 0 8px 0;
margin-bottom: 2px;
}
@@ -385,16 +266,6 @@ p.paragraph:first-child,
padding-top: 0;
}
.sample-container, div.CodeMirror {
position: relative;
display: flex;
flex-direction: column;
}
code.paragraph {
display: block;
}
.strikethrough {
text-decoration: line-through;
}
@@ -423,159 +294,24 @@ code.paragraph {
padding: 0;
}
.symbol:not(.token), code {
background-color: var(--code-background);
align-items: center;
box-sizing: border-box;
white-space: pre-wrap;
font-family: var(--default-monospace-font-family);
font-size: var(--default-font-size);
}
.symbol:not(.token), code.block {
display: block;
padding: 12px 32px 12px 12px;
border-radius: 8px;
line-height: 24px;
position: relative;
}
code {
overflow-x: auto;
max-width: 100%;
}
code:not(.block) {
display: inline-block;
vertical-align: bottom;
}
.symbol > a {
color: var(--hover-link-color);
}
.copy-icon {
cursor: pointer;
}
.sample-container span.copy-icon {
display: none;
}
.js .sample-container:hover span.copy-icon {
display: inline-block;
}
.sample-container span.copy-icon::before {
width: 24px;
height: 24px;
display: inline-block;
content: '';
/* masks are required if you want to change color of the icon dynamically instead of using those provided with the SVG */
-webkit-mask: url("../images/copy-icon.svg") no-repeat 50% 50%;
mask: url("../images/copy-icon.svg") no-repeat 50% 50%;
-webkit-mask-size: cover;
mask-size: cover;
background-color: var(--copy-icon-color);
}
.sample-container span.copy-icon:hover::before {
background-color: var(--copy-icon-hover-color);
}
.copy-popup-wrapper {
display: none;
align-items: center;
position: absolute;
z-index: 1000;
background: var(--background-color);
font-weight: normal;
font-family: var(--default-font-family);
width: max-content;
font-size: var(--default-font-size);
cursor: default;
border: 1px solid #D8DCE1;
box-sizing: border-box;
box-shadow: 0 5px 10px var(--ring-popup-shadow-color);
border-radius: 3px;
color: var(--default-font-color);
}
.copy-popup-wrapper > .copy-popup-icon::before {
content: url("../images/copy-successful-icon.svg");
padding: 8px;
}
.copy-popup-wrapper > .copy-popup-icon {
position: relative;
top: 3px;
}
.copy-popup-wrapper.popup-to-left {
/* since it is in position absolute we can just move it to the left to make it always appear on the left side of the icon */
left: -15em;
}
.table-row:hover .copy-popup-wrapper.active-popup,
.sample-container:hover .copy-popup-wrapper.active-popup {
display: flex !important;
}
.copy-popup-wrapper:hover {
font-weight: normal;
}
.copy-popup-wrapper > span:last-child {
padding-right: 14px;
}
.symbol .top-right-position, .sample-container .top-right-position {
/* it is important for a parent to have a position: relative */
position: absolute;
top: 8px;
right: 8px;
overflow-wrap: break-word;
word-break: break-word;
}
.brief {
white-space: pre-wrap;
overflow: hidden;
}
h1.cover {
font-size: 52px;
line-height: 56px;
letter-spacing: -1.5px;
margin-bottom: 0;
padding-bottom: 32px;
margin-bottom: 24px;
display: block;
}
@media (max-width: 1119px) {
h1.cover {
font-size: 48px;
line-height: 48px;
padding-bottom: 8px;
}
}
@media (max-width: 759px) {
@media (max-width: 899px) {
h1.cover {
font-size: 32px;
line-height: 32px;
margin-bottom: 24px;
}
}
.UnderCoverText {
font-size: 16px;
line-height: 28px;
}
.UnderCoverText code {
font-size: inherit;
}
.UnderCoverText table {
margin: 8px 0 8px 0;
word-break: break-word;
@@ -589,38 +325,14 @@ h1.cover {
}
}
.main-content a:not([data-name]) {
padding-bottom: 2px;
border-bottom: 1px solid var(--border-color);
cursor: pointer;
text-decoration: none;
color: inherit;
font-size: inherit;
line-height: inherit;
transition: color .1s, border-color .1s;
overflow-wrap: break-word;
word-break: break-word;
}
.main-content a:hover {
border-bottom-color: unset;
color: inherit
}
a small {
font-size: 11px;
margin-top: -0.6em;
display: block;
}
p.paragraph img {
display: block;
}
.deprecation-content {
margin: 20px 10px;
margin: 16px 0;
border: 1px solid var(--border-color);
padding: 13px 15px 16px 15px;
padding: 16px;
}
.deprecation-content > h3 {
@@ -630,19 +342,12 @@ p.paragraph img {
.deprecation-content > h4 {
font-size: 16px;
margin-top: 15px;
margin-top: 16px;
margin-bottom: 0;
}
.deprecation-content code.block {
padding: 5px 10px;
display: inline-block;
}
/** https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.native.concurrent/atomic-lazy.html **/
.deprecation-content .footnote {
margin-left: 25px;
font-size: 13px;
font-weight: bold;
display: block;
}
@@ -654,64 +359,6 @@ p.paragraph img {
display: none !important;
}
td.content {
padding-left: 24px;
padding-top: 16px;
display: flex;
flex-direction: column;
}
.main-subrow {
display: flex;
flex-direction: row;
padding: 0;
flex-wrap: wrap;
}
.main-subrow > div {
margin-bottom: 8px;
}
.main-subrow > div > span {
display: flex;
position: relative;
}
.js .main-subrow:hover .anchor-icon {
opacity: 1;
transition: 0.2s;
}
.main-subrow .anchor-icon {
opacity: 0;
transition: 0.2s 0.5s;
}
.main-subrow .anchor-icon::before {
content: url("../images/anchor-copy-button.svg");
}
.main-subrow .anchor-icon:hover {
cursor: pointer;
}
.main-subrow .anchor-icon:hover > svg path {
fill: var(--hover-link-color);
}
@media (hover: none) {
.main-subrow .anchor-icon {
display: none;
}
}
.main-subrow .anchor-wrapper {
position: relative;
width: 24px;
height: 16px;
margin-left: 3px;
}
.inline-flex {
display: inline-flex;
}
@@ -739,11 +386,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o
font-size: var(--default-font-size);
}
.cover > .with-platform-tabs > .content {
padding: 8px 16px;
border: 1px solid var(--border-color);
}
.cover > .block {
padding-top: 48px;
padding-bottom: 24px;
@@ -759,69 +401,11 @@ Just in case of possible performance degradation it excluding tabs with briefs o
display: block;
}
.table-row .inline-comment {
padding-top: 8px;
padding-bottom: 8px;
}
.table-row .platform-hinted .sourceset-dependent-content .brief,
.table-row .platform-hinted .sourceset-dependent-content .inline-comment {
padding: 8px;
}
.table {
display: flex;
flex-direction: column;
}
.table-row {
display: flex;
flex-direction: column;
border-bottom: 1px solid var(--border-color);
padding: 11px 0 12px 0;
background-color: var(--background-color);
}
.table-row:last-of-type {
border-bottom: none;
}
.table-row .brief-comment {
color: var(--brief-color);
}
.platform-dependent-row {
display: grid;
padding-top: 8px;
}
.title-row {
display: grid;
grid-template-columns: auto auto 7em;
width: 100%;
}
@media print, (min-width: 960px) {
.title-row {
grid-template-columns: 20% auto 7em;
}
}
.keyValue {
display: grid;
grid-gap: 8px;
}
@media print, (min-width: 960px) {
.keyValue {
grid-template-columns: 20% 80%;
}
.keyValue > div:first-child {
word-break: break-word;
}
}
@media print, (max-width: 960px) {
div.wrapper {
width: auto;
@@ -866,72 +450,5 @@ Just in case of possible performance degradation it excluding tabs with briefs o
.filtered-message {
margin: 25px;
font-size: 20px;
font-weight: bolder;
font-weight: 600;
}
div.runnablesample {
height: fit-content;
}
/* --- footer --- */
.footer {
clear: both;
display: flex;
align-items: center;
position: relative;
min-height: var(--footer-height);
font-size: 12px;
line-height: 16px;
letter-spacing: 0.2px;
color: var(--footer-font-color);
margin-top: auto;
background-color: var(--footer-background);
}
.footer--button {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: var(--footer-go-to-top-color);
background-repeat: no-repeat;
background-position: 50% 50%;
padding: 0;
border: none;
cursor: pointer;
font-size: 0;
line-height: 0;
transition: background-color 200ms ease-in-out;
will-change: background-color;
}
.footer--button:hover {
opacity: 0.9;
}
.footer--button_go-to-top {
background-image: url("../images/go-to-top-icon.svg");
margin-left: var(--horizontal-spacing-for-content);
margin-right: 8px;
}
.footer--link {
display: inline-flex;
align-items: center;
color: var(--breadcrumb-font-color);
}
.footer--link_external:after {
content: '';
width: 12px;
height: 12px;
margin-left: 4px;
margin-right: var(--horizontal-spacing-for-content);
background-image: url("../images/footer-go-to-link.svg");
background-repeat: no-repeat;
background-position: 50% 50%;
}
/* /--- footer --- */