mirror of
https://github.com/BetterAndroid/PanguText.git
synced 2025-09-07 03:05:30 +08:00
Deploy to GitHub pages
This commit is contained in:
36
KDoc/pangutext-android/styles/font-jb-sans-auto.css
Normal file
36
KDoc/pangutext-android/styles/font-jb-sans-auto.css
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2014-2023 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;
|
||||
}
|
||||
/* 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;
|
||||
}
|
||||
/* 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;
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
9
KDoc/pangutext-android/styles/logo-styles.css
Normal file
9
KDoc/pangutext-android/styles/logo-styles.css
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/
|
||||
|
||||
:root {
|
||||
--dokka-logo-image-url: url('../images/logo-icon.svg');
|
||||
--dokka-logo-height: 50px;
|
||||
--dokka-logo-width: 50px;
|
||||
}
|
124
KDoc/pangutext-android/styles/main.css
Normal file
124
KDoc/pangutext-android/styles/main.css
Normal file
@@ -0,0 +1,124 @@
|
||||
/*!
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important;color:rgba(255,255,255,.8)}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;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}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}
|
||||
/* stylelint-disable color-no-hex */
|
||||
|
||||
:root {
|
||||
--ring-unit: 8px;
|
||||
|
||||
/* Element */
|
||||
--ring-line-color: #dfe5eb;
|
||||
--ring-dark-line-color: #475159;
|
||||
--ring-borders-color: #b8d1e5;
|
||||
--ring-dark-borders-color: #406380;
|
||||
--ring-icon-color: var(--ring-borders-color);
|
||||
--ring-icon-secondary-color: #999;
|
||||
--ring-border-disabled-color: #dbdbdb;
|
||||
--ring-icon-disabled-color: #bbb;
|
||||
--ring-border-hover-color: #80c6ff;
|
||||
--ring-dark-border-hover-color: #70b1e6;
|
||||
--ring-icon-hover-color: var(--ring-link-hover-color);
|
||||
--ring-main-color: #008eff;
|
||||
--ring-main-hover-color: #007ee5;
|
||||
--ring-icon-error-color: #db5860;
|
||||
--ring-icon-warning-color: #eda200;
|
||||
--ring-icon-success-color: #59a869;
|
||||
--ring-pale-control-color: #cfdbe5;
|
||||
--ring-popup-border-components: 0, 42, 76;
|
||||
--ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);
|
||||
--ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);
|
||||
--ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);
|
||||
--ring-pinned-shadow-color: #737577;
|
||||
|
||||
/* Text */
|
||||
--ring-search-color: #669ecc;
|
||||
--ring-hint-color: #406380;
|
||||
--ring-link-color: #0f5b99;
|
||||
--ring-link-hover-color: #ff008c;
|
||||
--ring-error-color: #c22731;
|
||||
--ring-warning-color: #cc8b00;
|
||||
--ring-success-color: #1b8833;
|
||||
--ring-text-color: #1f2326;
|
||||
--ring-dark-text-color: #fff;
|
||||
--ring-heading-color: var(--ring-text-color);
|
||||
--ring-secondary-color: #737577;
|
||||
--ring-dark-secondary-color: #888;
|
||||
--ring-disabled-color: #999;
|
||||
--ring-dark-disabled-color: #444;
|
||||
--ring-dark-active-color: #ccc;
|
||||
|
||||
/* Background */
|
||||
--ring-content-background-color: #fff;
|
||||
--ring-popup-background-color: #fff;
|
||||
--ring-sidebar-background-color: #f7f9fa;
|
||||
--ring-selected-background-color: #d4edff;
|
||||
--ring-hover-background-color: #ebf6ff;
|
||||
--ring-dark-selected-background-color: #002a4d;
|
||||
--ring-message-background-color: #111314;
|
||||
--ring-navigation-background-color: #000;
|
||||
--ring-tag-background-color: #e6ecf2;
|
||||
--ring-removed-background-color: #ffd5cb;
|
||||
--ring-warning-background-color: #faeccd;
|
||||
--ring-added-background-color: #bce8bb;
|
||||
|
||||
/* Code */
|
||||
--ring-code-background-color: var(--ring-content-background-color);
|
||||
--ring-code-color: #000;
|
||||
--ring-code-comment-color: #707070;
|
||||
--ring-code-meta-color: #707070;
|
||||
--ring-code-keyword-color: #000080;
|
||||
--ring-code-tag-background-color: #efefef;
|
||||
--ring-code-tag-color: var(--ring-code-keyword-color);
|
||||
--ring-code-tag-font-weight: bold;
|
||||
--ring-code-field-color: #660e7a;
|
||||
--ring-code-attribute-color: #00f;
|
||||
--ring-code-number-color: var(--ring-code-attribute-color);
|
||||
--ring-code-string-color: #007a00;
|
||||
--ring-code-addition-color: #aadeaa;
|
||||
--ring-code-deletion-color: #c8c8c8;
|
||||
|
||||
/* Metrics */
|
||||
--ring-border-radius: 3px;
|
||||
--ring-border-radius-small: 2px;
|
||||
--ring-font-size-larger: 14px;
|
||||
--ring-font-size: 13px;
|
||||
--ring-font-size-smaller: 12px;
|
||||
--ring-line-height-taller: 21px;
|
||||
--ring-line-height: 20px;
|
||||
--ring-line-height-lower: 18px;
|
||||
--ring-line-height-lowest: 16px;
|
||||
--ring-ease: 0.3s ease-out;
|
||||
--ring-fast-ease: 0.15s ease-out;
|
||||
--ring-font-family: system-ui, Arial, sans-serif;
|
||||
--ring-font-family-monospace:
|
||||
Menlo,
|
||||
"Bitstream Vera Sans Mono",
|
||||
"Ubuntu Mono",
|
||||
Consolas,
|
||||
"Courier New",
|
||||
Courier,
|
||||
monospace;
|
||||
|
||||
/* Common z-index-values */
|
||||
|
||||
/* Invisible element is an absolutely positioned element which should be below */
|
||||
/* all other elements on the page */
|
||||
--ring-invisible-element-z-index: -1;
|
||||
|
||||
/* z-index for position: fixed elements */
|
||||
--ring-fixed-z-index: 1;
|
||||
|
||||
/* Elements that should overlay all other elements on the page */
|
||||
--ring-overlay-z-index: 5;
|
||||
|
||||
/* Alerts should de displayed above overlays */
|
||||
--ring-alert-z-index: 6;
|
||||
}
|
||||
|
||||
/*!
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*//*!
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/html,.app-root{height:100%}.search-root{margin:0;padding:0;background:var(--ring-content-background-color);font-family:var(--ring-font-family);font-size:var(--ring-font-size);line-height:var(--ring-line-height)}.search-content{z-index:8}
|
||||
|
||||
/*# sourceMappingURL=main.css.map*/
|
217
KDoc/pangutext-android/styles/prism.css
Normal file
217
KDoc/pangutext-android/styles/prism.css
Normal file
@@ -0,0 +1,217 @@
|
||||
/*
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Custom Dokka styles
|
||||
*/
|
||||
code .token {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
/**
|
||||
* Styles based on webhelp's prism.js styles
|
||||
* Changes:
|
||||
* - Since webhelp's styles are in .pcss, they use nesting which is not achievable in native CSS
|
||||
* so nested css blocks have been unrolled (like dark theme).
|
||||
* - Webhelp uses "Custom Class" prism.js plugin, so all of their prism classes are prefixed with "--prism".
|
||||
* Dokka doesn't seem to need this plugin at the moment, so all "--prism" prefixes have been removed.
|
||||
* - Removed all styles related to `pre` and `code` tags. Kotlinlang's resulting styles are so spread out and complicated
|
||||
* that it's difficult to gather in one place. Instead use code styles defined in the main Dokka styles,
|
||||
* which at the moment looks fairly similar.
|
||||
*
|
||||
* Based on prism.js default theme
|
||||
* Based on dabblet (http://dabblet.com)
|
||||
* @author Lea Verou
|
||||
*/
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: #8c8c8c;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.token.namespace {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #871094;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #067d17;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.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);
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
font-size: inherit; /* to override .keyword */
|
||||
color: #0033b3;
|
||||
}
|
||||
|
||||
.token.function {
|
||||
color: #00627a;
|
||||
}
|
||||
|
||||
.token.class-name {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #871094;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
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;
|
||||
}
|
1509
KDoc/pangutext-android/styles/style.css
Normal file
1509
KDoc/pangutext-android/styles/style.css
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user