Fix a lot of ePub errors

This commit is contained in:
Kujiu 2020-07-12 01:57:40 +02:00
parent c183b8c326
commit 43bf3b0ac8
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
35 changed files with 823 additions and 1121 deletions

33
package-lock.json generated
View file

@ -354,12 +354,31 @@
"mime-db": "1.44.0"
}
},
"minimist": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
"integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
},
"oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
"integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
"optional": true
},
"optimist": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
"integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
"requires": {
"minimist": "~0.0.1",
"wordwrap": "~0.0.2"
}
},
"pako": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
},
"performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
@ -451,6 +470,15 @@
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"optional": true
},
"sfnt2woff": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/sfnt2woff/-/sfnt2woff-1.0.1.tgz",
"integrity": "sha512-em3KvF+HvLG0Z+rGlyCx5XdTqlk023a1neiz5p4KvQ1p17rzl9EHUQg+do0f2ZJ3KjbgFu1dZbvZ2l97kW605A==",
"requires": {
"optimist": "^0.6.1",
"pako": "^1.0.6"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@ -529,6 +557,11 @@
"core-util-is": "1.0.2",
"extsprintf": "^1.2.0"
}
},
"wordwrap": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
"integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
}
}
}

View file

@ -7,9 +7,12 @@
"doc": "docs"
},
"scripts": {
"build:theme": "lessc --clean-css='--advanced' ui/theme.less sphinx_nervproject_theme/static/sphinx_nervproject_theme.css",
"build:epub": "lessc --clean-css='--advanced' ui/theme-epub.less sphinx_nervproject_theme/static/sphinx_nervproject_epub.css",
"build": "npm run build:theme && npm run build:epub"
"build:theme-light": "lessc --clean-css='--advanced' ui/theme-light.less sphinx_nervproject_theme/static/theme-light.css",
"build:theme-light-hc": "lessc --clean-css='--advanced' ui/theme-light-hc.less sphinx_nervproject_theme/static/theme-light-hc.css",
"build:theme-dark": "lessc --clean-css='--advanced' ui/theme-dark.less sphinx_nervproject_theme/static/theme-dark.css",
"build:theme-dark-hc": "lessc --clean-css='--advanced' ui/theme-dark-hc.less sphinx_nervproject_theme/static/theme-dark-hc.css",
"build:theme-print": "lessc --clean-css='--advanced' ui/theme-print.less sphinx_nervproject_theme/static/theme-print.css",
"build": "npm run build:theme-light && npm run build:theme-light-hc && npm run build:theme-dark && npm run build:theme-dark-hc && npm run build:theme-print"
},
"repository": {
"type": "git",
@ -19,6 +22,7 @@
"license": "EUPL 1.2",
"dependencies": {
"less": "^3.11.3",
"less-plugin-clean-css": "^1.5.1"
"less-plugin-clean-css": "^1.5.1",
"sfnt2woff": "^1.0.1"
}
}

View file

@ -50,8 +50,8 @@ setup(
"ablog/*.html",
"static/*.css",
"static/*.js",
"static/fonts/luciole/*.ttf",
"static/fonts/hack/*.ttf",
"static/fonts/luciole/*.woff",
"static/fonts/hack/*.woff",
"static/fa/*.svg",
"static/fa/*.txt",
]

View file

@ -1,5 +1,4 @@
from os import path
import sys
from docutils import nodes
from sphinx.environment.collectors import EnvironmentCollector
@ -160,6 +159,7 @@ def on_config_inited(app, conf):
exclude_files.append('_static/basic.css')
app.config.exclude_files = exclude_files
def setup(app):
app.add_env_collector(SimpleTocTreeCollector)
app.connect('html-page-context', add_toctree_data)

View file

@ -10,12 +10,15 @@
{# <meta name="description" content="{{ description }}"/> #}
{%- block css %}
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1)}}"/>
{% if builder=='epub' %}
<link rel="stylesheet" href="{{ pathto('_static/sphinx_nervproject_epub.css', 1)}}"/>
{% else %}
<link rel="stylesheet" href="{{ pathto('_static/sphinx_nervproject_theme.css', 1)}}"/>
{% if theme_isso %}
<link rel="stylesheet" href="{{ pathto('_static/isso.css', 1)}}">
<link rel="stylesheet" href="{{ pathto('_static/theme-light.css', 1)}}"/>
<link rel="stylesheet" media="(prefers-contrast: high)" href="{{ pathto('_static/theme-light-hc.css', 1)}}"/>
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="{{ pathto('_static/theme-dark.css', 1)}}"/>
<link rel="stylesheet" media="(prefers-color-scheme: dark) and (prefers-contrast: high)" href="{{ pathto('_static/theme-dark-hc.css', 1)}}"/>
{% if builder!='epub' %}
<link rel="stylesheet" media="print" href="{{ pathto('_static/theme-print.css', 1)}}"/>
{% endif %}
{% if theme_isso and builder=='html' %}
<link rel="stylesheet" href="{{ pathto('_static/isso.css', 1)}}"/>
<script data-isso="{{ theme_isso['prefix'] }}"
data-isso-id="{{ pagename }}"
data-isso-css="false"
@ -34,7 +37,6 @@
src="{{ theme_isso['url'] }}/js/embed.min.js"></script>
<style id="isso-style"></style>
{% endif %}
{% endif %}
{%- for css in css_files %}
{%- if css|attr("rel") %}
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
@ -81,7 +83,6 @@
<table role="none" id="main_layout_table">
<thead>
<tr><th><div id="layout_header">
&nbsp;
</div></th></tr>
</thead>
<tbody><tr><td>
@ -120,7 +121,6 @@
</td></tr></tbody>
<tfoot>
<tr><th><div id="layout_footer">
&nbsp;
</div></th></tr>
</tfoot>
</table>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

186
ui/theme-dark-hc.less Normal file
View file

@ -0,0 +1,186 @@
@import './wrapper.less';
@import './common.less';
@import './input.less';
@import './sidebar.less';
@import './mobile.less';
@import './config.less';
@sidebarWidth: @basesidebarWidth;
@contentWidth: @basecontentWidth;
@lineNumbersWrapperWidth: @baselineNumbersWrapperWidth;
@AClr: @darkHighContrastBaseAClr;
@SdA2Clr: @darkHighContrastBaseSdA2Clr;
@FClr: @darkHighContrastBaseFClr;
@BgClr: @darkHighContrastBaseBgClr;
@TClr: @darkHighContrastBaseTClr;
@T2Clr: @darkHighContrastBaseT2Clr;
@SdT2Clr: @darkHighContrastBaseSdT2Clr;
@TrClr: @darkHighContrastBaseTrClr;
@BClr: @darkHighContrastBaseBClr;
@LClr: @darkHighContrastBaseLClr;
@LHClr: @darkHighContrastBaseLHClr;
@ArBgClr: @darkHighContrastBaseArBgClr;
@NvAClr: @darkHighContrastBaseNvAClr;
@NvBgClr: @darkHighContrastBaseNvBgClr;
@NvBClr: @darkHighContrastBaseNvBClr;
@NvTClr: @darkHighContrastBaseNvTClr;
@NvLClr: @darkHighContrastBaseNvLClr;
@NvLHClr: @darkHighContrastBaseNvLHClr;
@InBgClr: @darkHighContrastBaseInBgClr;
@InBClr: @darkHighContrastBaseInBClr;
@BtnBgAClr: @darkHighContrastBaseBtnBgAClr;
@BtnBgClr: @darkHighContrastBaseBtnBgClr;
@BtnBClr: @darkHighContrastBaseBtnBClr;
@BtnTClr: @darkHighContrastBaseBtnTClr;
@AaBgClr: @darkHighContrastBaseAaBgClr;
@AaBClr: @darkHighContrastBaseAaBClr;
@AaTClr: @darkHighContrastBaseAaTClr;
@AaLClr: @darkHighContrastBaseAaLClr;
@AaLHClr: @darkHighContrastBaseAaLHClr;
@AtBgClr: @darkHighContrastBaseAtBgClr;
@AtBClr: @darkHighContrastBaseAtBClr;
@AtTClr: @darkHighContrastBaseAtTClr;
@AtLClr: @darkHighContrastBaseAtLClr;
@AtLHClr: @darkHighContrastBaseAtLHClr;
@AwBgClr: @darkHighContrastBaseAwBgClr;
@AwBClr: @darkHighContrastBaseAwBClr;
@AwTClr: @darkHighContrastBaseAwTClr;
@AwLClr: @darkHighContrastBaseAwLClr;
@AwLHClr: @darkHighContrastBaseAwLHClr;
@AdBgClr: @darkHighContrastBaseAdBgClr;
@AdBClr: @darkHighContrastBaseAdBClr;
@AdTClr: @darkHighContrastBaseAdTClr;
@AdLClr: @darkHighContrastBaseAdLClr;
@AdLHClr: @darkHighContrastBaseAdLHClr;
@AsBgClr: @darkHighContrastBaseAsBgClr;
@AsBClr: @darkHighContrastBaseAsBClr;
@AsTClr: @darkHighContrastBaseAsTClr;
@AsLClr: @darkHighContrastBaseAsLClr;
@AsLHClr: @darkHighContrastBaseAsLHClr;
@AhBgClr: @darkHighContrastBaseAhBgClr;
@AhBClr: @darkHighContrastBaseAhBClr;
@AhTClr: @darkHighContrastBaseAhTClr;
@AhLClr: @darkHighContrastBaseAhLClr;
@AhLHClr: @darkHighContrastBaseAhLHClr;
@AiBgClr: @darkHighContrastBaseAiBgClr;
@AiBClr: @darkHighContrastBaseAiBClr;
@AiTClr: @darkHighContrastBaseAiTClr;
@AiLClr: @darkHighContrastBaseAiLClr;
@AiLHClr: @darkHighContrastBaseAiLHClr;
@AnBgClr: @darkHighContrastBaseAnBgClr;
@AnBClr: @darkHighContrastBaseAnBClr;
@AnTClr: @darkHighContrastBaseAnTClr;
@AnLClr: @darkHighContrastBaseAnLClr;
@AnLHClr: @darkHighContrastBaseAnLHClr;
@AcBgClr: @darkHighContrastBaseAcBgClr;
@AcBClr: @darkHighContrastBaseAcBClr;
@AcTClr: @darkHighContrastBaseAcTClr;
@AcLClr: @darkHighContrastBaseAcLClr;
@AcLHClr: @darkHighContrastBaseAcLHClr;
@AeBgClr: @darkHighContrastBaseAeBgClr;
@AeBClr: @darkHighContrastBaseAeBClr;
@AeTClr: @darkHighContrastBaseAeTClr;
@AeLClr: @darkHighContrastBaseAeLClr;
@AeLHClr: @darkHighContrastBaseAeLHClr;
@BqAClr: @darkHighContrastBaseBqAClr;
@BqBgClr: @darkHighContrastBaseBqBgClr;
@BqBClr: @darkHighContrastBaseBqBClr;
@BqTClr: @darkHighContrastBaseBqTClr;
@BqLClr: @darkHighContrastBaseBqLClr;
@BqLHClr: @darkHighContrastBaseBqLHClr;
@CdAClr: @darkHighContrastBaseCdAClr;
@CdBgAClr: @darkHighContrastBaseCdBgAClr;
@CdBgClr: @darkHighContrastBaseCdBgClr;
@CdBClr: @darkHighContrastBaseCdBClr;
@TClr: @darkHighContrastBaseTClr;
@T2Clr: @darkHighContrastBaseT2Clr;
@SdT2Clr: @darkHighContrastBaseSdT2Clr;
@CdT2Clr: @darkHighContrastBaseCdT2Clr;
@CdTClr: @darkHighContrastBaseCdTClr;
@CdLClr: @darkHighContrastBaseCdLClr;
@CdLHClr: @darkHighContrastBaseCdLHClr;
@CdLnTClr: @darkHighContrastBaseCdLnTClr;
@CdLnBClr: @darkHighContrastBaseCdLnBClr;
@CdLnBgClr: @darkHighContrastBaseCdLnBgClr;
@PrAClr: @darkHighContrastBasePrAClr;
@PrBgAClr: @darkHighContrastBasePrBgAClr;
@PrBgClr: @darkHighContrastBasePrBgClr;
@PrBClr: @darkHighContrastBasePrBClr;
@PrB2Clr: @darkHighContrastBasePrB2Clr;
@PrTClr: @darkHighContrastBasePrTClr;
@PrLNClr: @darkHighContrastBasePrLNClr;
@PrLClr: @darkHighContrastBasePrLClr;
@PrLHClr: @darkHighContrastBasePrLHClr;
@TeAClr: @darkHighContrastBaseTeAClr;
@TeBgAClr: @darkHighContrastBaseTeBgAClr;
@TeBgClr: @darkHighContrastBaseTeBgClr;
@TeBClr: @darkHighContrastBaseTeBClr;
@TeTClr: @darkHighContrastBaseTeTClr;
@TeLClr: @darkHighContrastBaseTeLClr;
@TeLHClr: @darkHighContrastBaseTeLHClr;
@ToAClr: @darkHighContrastBaseToAClr;
@ToBgAClr: @darkHighContrastBaseToBgAClr;
@ToBgClr: @darkHighContrastBaseToBgClr;
@ToBClr: @darkHighContrastBaseToBClr;
@ToTClr: @darkHighContrastBaseToTClr;
@ToLClr: @darkHighContrastBaseToLClr;
@ToLHClr: @darkHighContrastBaseToLHClr;
@SdAClr: @darkHighContrastBaseSdAClr;
@SdBgClr: @darkHighContrastBaseSdBgClr;
@SdBClr: @darkHighContrastBaseSdBClr;
@SdTClr: @darkHighContrastBaseSdTClr;
@SdLClr: @darkHighContrastBaseSdLClr;
@SdLHClr: @darkHighContrastBaseSdLHClr;
@FoAClr: @darkHighContrastBaseFoAClr;
@FoBClr: @darkHighContrastBaseFoBClr;
@FoBgClr: @darkHighContrastBaseFoBgClr;
@FoTClr: @darkHighContrastBaseFoTClr;
@FoLClr: @darkHighContrastBaseFoLClr;
@FoLHClr: @darkHighContrastBaseFoLHClr;
@InAClr: @darkHighContrastBaseInAClr;
@InTClr: @darkHighContrastBaseInTClr;
@InHClr: @darkHighContrastBaseInHClr;
@BtnAClr: @darkHighContrastBaseBtnAClr;
@BtnHClr: @darkHighContrastBaseBtnHClr;
@BhBgClr: @darkHighContrastBaseBhBgClr;
@SEmailClr: @darkHighContrastBaseSEmailClr;
@SContactClr: @darkHighContrastBaseSContactClr;
@SFacebookClr: @darkHighContrastBaseSFacebookClr;
@SGithubClr: @darkHighContrastBaseSGithubClr;
@SGoogleClr: @darkHighContrastBaseSGoogleClr;
@SLinkedinClr: @darkHighContrastBaseSLinkedinClr;
@SPinterestClr: @darkHighContrastBaseSPinterestClr;
@SRedditClr: @darkHighContrastBaseSRedditClr;
@SRssClr: @darkHighContrastBaseSRssClr;
@SSoundcloudClr: @darkHighContrastBaseSSoundcloudClr;
@SStackOverflowClr: @darkHighContrastBaseSStackOverflowClr;
@STwitterClr: @darkHighContrastBaseSTwitterClr;
@SMastodonClr: @darkHighContrastBaseSMastodonClr;
@SDiasporaClr: @darkHighContrastBaseSDiasporaClr;
@SYoutubeClr: @darkHighContrastBaseSYoutubeClr;

186
ui/theme-dark.less Normal file
View file

@ -0,0 +1,186 @@
@import './wrapper.less';
@import './common.less';
@import './input.less';
@import './sidebar.less';
@import './mobile.less';
@import './config.less';
@sidebarWidth: @basesidebarWidth;
@contentWidth: @basecontentWidth;
@lineNumbersWrapperWidth: @baselineNumbersWrapperWidth;
@AClr: @darkBaseAClr;
@SdA2Clr: @darkBaseSdA2Clr;
@FClr: @darkBaseFClr;
@BgClr: @darkBaseBgClr;
@TClr: @darkBaseTClr;
@T2Clr: @darkBaseT2Clr;
@SdT2Clr: @darkBaseSdT2Clr;
@TrClr: @darkBaseTrClr;
@BClr: @darkBaseBClr;
@LClr: @darkBaseLClr;
@LHClr: @darkBaseLHClr;
@ArBgClr: @darkBaseArBgClr;
@NvAClr: @darkBaseNvAClr;
@NvBgClr: @darkBaseNvBgClr;
@NvBClr: @darkBaseNvBClr;
@NvTClr: @darkBaseNvTClr;
@NvLClr: @darkBaseNvLClr;
@NvLHClr: @darkBaseNvLHClr;
@InBgClr: @darkBaseInBgClr;
@InBClr: @darkBaseInBClr;
@BtnBgAClr: @darkBaseBtnBgAClr;
@BtnBgClr: @darkBaseBtnBgClr;
@BtnBClr: @darkBaseBtnBClr;
@BtnTClr: @darkBaseBtnTClr;
@AaBgClr: @darkBaseAaBgClr;
@AaBClr: @darkBaseAaBClr;
@AaTClr: @darkBaseAaTClr;
@AaLClr: @darkBaseAaLClr;
@AaLHClr: @darkBaseAaLHClr;
@AtBgClr: @darkBaseAtBgClr;
@AtBClr: @darkBaseAtBClr;
@AtTClr: @darkBaseAtTClr;
@AtLClr: @darkBaseAtLClr;
@AtLHClr: @darkBaseAtLHClr;
@AwBgClr: @darkBaseAwBgClr;
@AwBClr: @darkBaseAwBClr;
@AwTClr: @darkBaseAwTClr;
@AwLClr: @darkBaseAwLClr;
@AwLHClr: @darkBaseAwLHClr;
@AdBgClr: @darkBaseAdBgClr;
@AdBClr: @darkBaseAdBClr;
@AdTClr: @darkBaseAdTClr;
@AdLClr: @darkBaseAdLClr;
@AdLHClr: @darkBaseAdLHClr;
@AsBgClr: @darkBaseAsBgClr;
@AsBClr: @darkBaseAsBClr;
@AsTClr: @darkBaseAsTClr;
@AsLClr: @darkBaseAsLClr;
@AsLHClr: @darkBaseAsLHClr;
@AhBgClr: @darkBaseAhBgClr;
@AhBClr: @darkBaseAhBClr;
@AhTClr: @darkBaseAhTClr;
@AhLClr: @darkBaseAhLClr;
@AhLHClr: @darkBaseAhLHClr;
@AiBgClr: @darkBaseAiBgClr;
@AiBClr: @darkBaseAiBClr;
@AiTClr: @darkBaseAiTClr;
@AiLClr: @darkBaseAiLClr;
@AiLHClr: @darkBaseAiLHClr;
@AnBgClr: @darkBaseAnBgClr;
@AnBClr: @darkBaseAnBClr;
@AnTClr: @darkBaseAnTClr;
@AnLClr: @darkBaseAnLClr;
@AnLHClr: @darkBaseAnLHClr;
@AcBgClr: @darkBaseAcBgClr;
@AcBClr: @darkBaseAcBClr;
@AcTClr: @darkBaseAcTClr;
@AcLClr: @darkBaseAcLClr;
@AcLHClr: @darkBaseAcLHClr;
@AeBgClr: @darkBaseAeBgClr;
@AeBClr: @darkBaseAeBClr;
@AeTClr: @darkBaseAeTClr;
@AeLClr: @darkBaseAeLClr;
@AeLHClr: @darkBaseAeLHClr;
@BqAClr: @darkBaseBqAClr;
@BqBgClr: @darkBaseBqBgClr;
@BqBClr: @darkBaseBqBClr;
@BqTClr: @darkBaseBqTClr;
@BqLClr: @darkBaseBqLClr;
@BqLHClr: @darkBaseBqLHClr;
@CdAClr: @darkBaseCdAClr;
@CdBgAClr: @darkBaseCdBgAClr;
@CdBgClr: @darkBaseCdBgClr;
@CdBClr: @darkBaseCdBClr;
@TClr: @darkBaseTClr;
@T2Clr: @darkBaseT2Clr;
@SdT2Clr: @darkBaseSdT2Clr;
@CdT2Clr: @darkBaseCdT2Clr;
@CdTClr: @darkBaseCdTClr;
@CdLClr: @darkBaseCdLClr;
@CdLHClr: @darkBaseCdLHClr;
@CdLnTClr: @darkBaseCdLnTClr;
@CdLnBClr: @darkBaseCdLnBClr;
@CdLnBgClr: @darkBaseCdLnBgClr;
@PrAClr: @darkBasePrAClr;
@PrBgAClr: @darkBasePrBgAClr;
@PrBgClr: @darkBasePrBgClr;
@PrBClr: @darkBasePrBClr;
@PrB2Clr: @darkBasePrB2Clr;
@PrTClr: @darkBasePrTClr;
@PrLNClr: @darkBasePrLNClr;
@PrLClr: @darkBasePrLClr;
@PrLHClr: @darkBasePrLHClr;
@TeAClr: @darkBaseTeAClr;
@TeBgAClr: @darkBaseTeBgAClr;
@TeBgClr: @darkBaseTeBgClr;
@TeBClr: @darkBaseTeBClr;
@TeTClr: @darkBaseTeTClr;
@TeLClr: @darkBaseTeLClr;
@TeLHClr: @darkBaseTeLHClr;
@ToAClr: @darkBaseToAClr;
@ToBgAClr: @darkBaseToBgAClr;
@ToBgClr: @darkBaseToBgClr;
@ToBClr: @darkBaseToBClr;
@ToTClr: @darkBaseToTClr;
@ToLClr: @darkBaseToLClr;
@ToLHClr: @darkBaseToLHClr;
@SdAClr: @darkBaseSdAClr;
@SdBgClr: @darkBaseSdBgClr;
@SdBClr: @darkBaseSdBClr;
@SdTClr: @darkBaseSdTClr;
@SdLClr: @darkBaseSdLClr;
@SdLHClr: @darkBaseSdLHClr;
@FoAClr: @darkBaseFoAClr;
@FoBClr: @darkBaseFoBClr;
@FoBgClr: @darkBaseFoBgClr;
@FoTClr: @darkBaseFoTClr;
@FoLClr: @darkBaseFoLClr;
@FoLHClr: @darkBaseFoLHClr;
@InAClr: @darkBaseInAClr;
@InTClr: @darkBaseInTClr;
@InHClr: @darkBaseInHClr;
@BtnAClr: @darkBaseBtnAClr;
@BtnHClr: @darkBaseBtnHClr;
@BhBgClr: @darkBaseBhBgClr;
@SEmailClr: @darkBaseSEmailClr;
@SContactClr: @darkBaseSContactClr;
@SFacebookClr: @darkBaseSFacebookClr;
@SGithubClr: @darkBaseSGithubClr;
@SGoogleClr: @darkBaseSGoogleClr;
@SLinkedinClr: @darkBaseSLinkedinClr;
@SPinterestClr: @darkBaseSPinterestClr;
@SRedditClr: @darkBaseSRedditClr;
@SRssClr: @darkBaseSRssClr;
@SSoundcloudClr: @darkBaseSSoundcloudClr;
@SStackOverflowClr: @darkBaseSStackOverflowClr;
@STwitterClr: @darkBaseSTwitterClr;
@SMastodonClr: @darkBaseSMastodonClr;
@SDiasporaClr: @darkBaseSDiasporaClr;
@SYoutubeClr: @darkBaseSYoutubeClr;

186
ui/theme-light-hc.less Normal file
View file

@ -0,0 +1,186 @@
@import './wrapper.less';
@import './common.less';
@import './input.less';
@import './sidebar.less';
@import './mobile.less';
@import './config.less';
@sidebarWidth: @basesidebarWidth;
@contentWidth: @basecontentWidth;
@lineNumbersWrapperWidth: @baselineNumbersWrapperWidth;
@AClr: @highContrastBaseAClr;
@SdA2Clr: @highContrastBaseSdA2Clr;
@FClr: @highContrastBaseFClr;
@BgClr: @highContrastBaseBgClr;
@TClr: @highContrastBaseTClr;
@T2Clr: @highContrastBaseT2Clr;
@SdT2Clr: @highContrastBaseSdT2Clr;
@TrClr: @highContrastBaseTrClr;
@BClr: @highContrastBaseBClr;
@LClr: @highContrastBaseLClr;
@LHClr: @highContrastBaseLHClr;
@ArBgClr: @highContrastBaseArBgClr;
@NvAClr: @highContrastBaseNvAClr;
@NvBgClr: @highContrastBaseNvBgClr;
@NvBClr: @highContrastBaseNvBClr;
@NvTClr: @highContrastBaseNvTClr;
@NvLClr: @highContrastBaseNvLClr;
@NvLHClr: @highContrastBaseNvLHClr;
@InBgClr: @highContrastBaseInBgClr;
@InBClr: @highContrastBaseInBClr;
@BtnBgAClr: @highContrastBaseBtnBgAClr;
@BtnBgClr: @highContrastBaseBtnBgClr;
@BtnBClr: @highContrastBaseBtnBClr;
@BtnTClr: @highContrastBaseBtnTClr;
@AaBgClr: @highContrastBaseAaBgClr;
@AaBClr: @highContrastBaseAaBClr;
@AaTClr: @highContrastBaseAaTClr;
@AaLClr: @highContrastBaseAaLClr;
@AaLHClr: @highContrastBaseAaLHClr;
@AtBgClr: @highContrastBaseAtBgClr;
@AtBClr: @highContrastBaseAtBClr;
@AtTClr: @highContrastBaseAtTClr;
@AtLClr: @highContrastBaseAtLClr;
@AtLHClr: @highContrastBaseAtLHClr;
@AwBgClr: @highContrastBaseAwBgClr;
@AwBClr: @highContrastBaseAwBClr;
@AwTClr: @highContrastBaseAwTClr;
@AwLClr: @highContrastBaseAwLClr;
@AwLHClr: @highContrastBaseAwLHClr;
@AdBgClr: @highContrastBaseAdBgClr;
@AdBClr: @highContrastBaseAdBClr;
@AdTClr: @highContrastBaseAdTClr;
@AdLClr: @highContrastBaseAdLClr;
@AdLHClr: @highContrastBaseAdLHClr;
@AsBgClr: @highContrastBaseAsBgClr;
@AsBClr: @highContrastBaseAsBClr;
@AsTClr: @highContrastBaseAsTClr;
@AsLClr: @highContrastBaseAsLClr;
@AsLHClr: @highContrastBaseAsLHClr;
@AhBgClr: @highContrastBaseAhBgClr;
@AhBClr: @highContrastBaseAhBClr;
@AhTClr: @highContrastBaseAhTClr;
@AhLClr: @highContrastBaseAhLClr;
@AhLHClr: @highContrastBaseAhLHClr;
@AiBgClr: @highContrastBaseAiBgClr;
@AiBClr: @highContrastBaseAiBClr;
@AiTClr: @highContrastBaseAiTClr;
@AiLClr: @highContrastBaseAiLClr;
@AiLHClr: @highContrastBaseAiLHClr;
@AnBgClr: @highContrastBaseAnBgClr;
@AnBClr: @highContrastBaseAnBClr;
@AnTClr: @highContrastBaseAnTClr;
@AnLClr: @highContrastBaseAnLClr;
@AnLHClr: @highContrastBaseAnLHClr;
@AcBgClr: @highContrastBaseAcBgClr;
@AcBClr: @highContrastBaseAcBClr;
@AcTClr: @highContrastBaseAcTClr;
@AcLClr: @highContrastBaseAcLClr;
@AcLHClr: @highContrastBaseAcLHClr;
@AeBgClr: @highContrastBaseAeBgClr;
@AeBClr: @highContrastBaseAeBClr;
@AeTClr: @highContrastBaseAeTClr;
@AeLClr: @highContrastBaseAeLClr;
@AeLHClr: @highContrastBaseAeLHClr;
@BqAClr: @highContrastBaseBqAClr;
@BqBgClr: @highContrastBaseBqBgClr;
@BqBClr: @highContrastBaseBqBClr;
@BqTClr: @highContrastBaseBqTClr;
@BqLClr: @highContrastBaseBqLClr;
@BqLHClr: @highContrastBaseBqLHClr;
@CdAClr: @highContrastBaseCdAClr;
@CdBgAClr: @highContrastBaseCdBgAClr;
@CdBgClr: @highContrastBaseCdBgClr;
@CdBClr: @highContrastBaseCdBClr;
@TClr: @highContrastBaseTClr;
@T2Clr: @highContrastBaseT2Clr;
@SdT2Clr: @highContrastBaseSdT2Clr;
@CdT2Clr: @highContrastBaseCdT2Clr;
@CdTClr: @highContrastBaseCdTClr;
@CdLClr: @highContrastBaseCdLClr;
@CdLHClr: @highContrastBaseCdLHClr;
@CdLnTClr: @highContrastBaseCdLnTClr;
@CdLnBClr: @highContrastBaseCdLnBClr;
@CdLnBgClr: @highContrastBaseCdLnBgClr;
@PrAClr: @highContrastBasePrAClr;
@PrBgAClr: @highContrastBasePrBgAClr;
@PrBgClr: @highContrastBasePrBgClr;
@PrBClr: @highContrastBasePrBClr;
@PrB2Clr: @highContrastBasePrB2Clr;
@PrTClr: @highContrastBasePrTClr;
@PrLNClr: @highContrastBasePrLNClr;
@PrLClr: @highContrastBasePrLClr;
@PrLHClr: @highContrastBasePrLHClr;
@TeAClr: @highContrastBaseTeAClr;
@TeBgAClr: @highContrastBaseTeBgAClr;
@TeBgClr: @highContrastBaseTeBgClr;
@TeBClr: @highContrastBaseTeBClr;
@TeTClr: @highContrastBaseTeTClr;
@TeLClr: @highContrastBaseTeLClr;
@TeLHClr: @highContrastBaseTeLHClr;
@ToAClr: @highContrastBaseToAClr;
@ToBgAClr: @highContrastBaseToBgAClr;
@ToBgClr: @highContrastBaseToBgClr;
@ToBClr: @highContrastBaseToBClr;
@ToTClr: @highContrastBaseToTClr;
@ToLClr: @highContrastBaseToLClr;
@ToLHClr: @highContrastBaseToLHClr;
@SdAClr: @highContrastBaseSdAClr;
@SdBgClr: @highContrastBaseSdBgClr;
@SdBClr: @highContrastBaseSdBClr;
@SdTClr: @highContrastBaseSdTClr;
@SdLClr: @highContrastBaseSdLClr;
@SdLHClr: @highContrastBaseSdLHClr;
@FoAClr: @highContrastBaseFoAClr;
@FoBClr: @highContrastBaseFoBClr;
@FoBgClr: @highContrastBaseFoBgClr;
@FoTClr: @highContrastBaseFoTClr;
@FoLClr: @highContrastBaseFoLClr;
@FoLHClr: @highContrastBaseFoLHClr;
@InAClr: @highContrastBaseInAClr;
@InTClr: @highContrastBaseInTClr;
@InHClr: @highContrastBaseInHClr;
@BtnAClr: @highContrastBaseBtnAClr;
@BtnHClr: @highContrastBaseBtnHClr;
@BhBgClr: @highContrastBaseBhBgClr;
@SEmailClr: @highContrastBaseSEmailClr;
@SContactClr: @highContrastBaseSContactClr;
@SFacebookClr: @highContrastBaseSFacebookClr;
@SGithubClr: @highContrastBaseSGithubClr;
@SGoogleClr: @highContrastBaseSGoogleClr;
@SLinkedinClr: @highContrastBaseSLinkedinClr;
@SPinterestClr: @highContrastBaseSPinterestClr;
@SRedditClr: @highContrastBaseSRedditClr;
@SRssClr: @highContrastBaseSRssClr;
@SSoundcloudClr: @highContrastBaseSSoundcloudClr;
@SStackOverflowClr: @highContrastBaseSStackOverflowClr;
@STwitterClr: @highContrastBaseSTwitterClr;
@SMastodonClr: @highContrastBaseSMastodonClr;
@SDiasporaClr: @highContrastBaseSDiasporaClr;
@SYoutubeClr: @highContrastBaseSYoutubeClr;

View file

@ -1,5 +1,8 @@
@import './wrapper.less';
@import './common.less';
@import './input.less';
@import './sidebar.less';
@import './mobile.less';
@import './config.less';
@sidebarWidth: @basesidebarWidth;

187
ui/theme-print.less Normal file
View file

@ -0,0 +1,187 @@
@import './wrapper.less';
@import './common.less';
@import './input.less';
@import './sidebar.less';
@import './print.less';
@import './mobile.less';
@import './config.less';
@sidebarWidth: @basesidebarWidth;
@contentWidth: @basecontentWidth;
@lineNumbersWrapperWidth: @baselineNumbersWrapperWidth;
@AClr: @printBaseAClr;
@SdA2Clr: @printBaseSdA2Clr;
@FClr: @printBaseFClr;
@BgClr: @printBaseBgClr;
@TClr: @printBaseTClr;
@T2Clr: @printBaseT2Clr;
@SdT2Clr: @printBaseSdT2Clr;
@TrClr: @printBaseTrClr;
@BClr: @printBaseBClr;
@LClr: @printBaseLClr;
@LHClr: @printBaseLHClr;
@ArBgClr: @printBaseArBgClr;
@NvAClr: @printBaseNvAClr;
@NvBgClr: @printBaseNvBgClr;
@NvBClr: @printBaseNvBClr;
@NvTClr: @printBaseNvTClr;
@NvLClr: @printBaseNvLClr;
@NvLHClr: @printBaseNvLHClr;
@InBgClr: @printBaseInBgClr;
@InBClr: @printBaseInBClr;
@BtnBgAClr: @printBaseBtnBgAClr;
@BtnBgClr: @printBaseBtnBgClr;
@BtnBClr: @printBaseBtnBClr;
@BtnTClr: @printBaseBtnTClr;
@AaBgClr: @printBaseAaBgClr;
@AaBClr: @printBaseAaBClr;
@AaTClr: @printBaseAaTClr;
@AaLClr: @printBaseAaLClr;
@AaLHClr: @printBaseAaLHClr;
@AtBgClr: @printBaseAtBgClr;
@AtBClr: @printBaseAtBClr;
@AtTClr: @printBaseAtTClr;
@AtLClr: @printBaseAtLClr;
@AtLHClr: @printBaseAtLHClr;
@AwBgClr: @printBaseAwBgClr;
@AwBClr: @printBaseAwBClr;
@AwTClr: @printBaseAwTClr;
@AwLClr: @printBaseAwLClr;
@AwLHClr: @printBaseAwLHClr;
@AdBgClr: @printBaseAdBgClr;
@AdBClr: @printBaseAdBClr;
@AdTClr: @printBaseAdTClr;
@AdLClr: @printBaseAdLClr;
@AdLHClr: @printBaseAdLHClr;
@AsBgClr: @printBaseAsBgClr;
@AsBClr: @printBaseAsBClr;
@AsTClr: @printBaseAsTClr;
@AsLClr: @printBaseAsLClr;
@AsLHClr: @printBaseAsLHClr;
@AhBgClr: @printBaseAhBgClr;
@AhBClr: @printBaseAhBClr;
@AhTClr: @printBaseAhTClr;
@AhLClr: @printBaseAhLClr;
@AhLHClr: @printBaseAhLHClr;
@AiBgClr: @printBaseAiBgClr;
@AiBClr: @printBaseAiBClr;
@AiTClr: @printBaseAiTClr;
@AiLClr: @printBaseAiLClr;
@AiLHClr: @printBaseAiLHClr;
@AnBgClr: @printBaseAnBgClr;
@AnBClr: @printBaseAnBClr;
@AnTClr: @printBaseAnTClr;
@AnLClr: @printBaseAnLClr;
@AnLHClr: @printBaseAnLHClr;
@AcBgClr: @printBaseAcBgClr;
@AcBClr: @printBaseAcBClr;
@AcTClr: @printBaseAcTClr;
@AcLClr: @printBaseAcLClr;
@AcLHClr: @printBaseAcLHClr;
@AeBgClr: @printBaseAeBgClr;
@AeBClr: @printBaseAeBClr;
@AeTClr: @printBaseAeTClr;
@AeLClr: @printBaseAeLClr;
@AeLHClr: @printBaseAeLHClr;
@BqAClr: @printBaseBqAClr;
@BqBgClr: @printBaseBqBgClr;
@BqBClr: @printBaseBqBClr;
@BqTClr: @printBaseBqTClr;
@BqLClr: @printBaseBqLClr;
@BqLHClr: @printBaseBqLHClr;
@CdAClr: @printBaseCdAClr;
@CdBgAClr: @printBaseCdBgAClr;
@CdBgClr: @printBaseCdBgClr;
@CdBClr: @printBaseCdBClr;
@TClr: @printBaseTClr;
@T2Clr: @printBaseT2Clr;
@SdT2Clr: @printBaseSdT2Clr;
@CdT2Clr: @printBaseCdT2Clr;
@CdTClr: @printBaseCdTClr;
@CdLClr: @printBaseCdLClr;
@CdLHClr: @printBaseCdLHClr;
@CdLnTClr: @printBaseCdLnTClr;
@CdLnBClr: @printBaseCdLnBClr;
@CdLnBgClr: @printBaseCdLnBgClr;
@PrAClr: @printBasePrAClr;
@PrBgAClr: @printBasePrBgAClr;
@PrBgClr: @printBasePrBgClr;
@PrBClr: @printBasePrBClr;
@PrB2Clr: @printBasePrB2Clr;
@PrTClr: @printBasePrTClr;
@PrLNClr: @printBasePrLNClr;
@PrLClr: @printBasePrLClr;
@PrLHClr: @printBasePrLHClr;
@TeAClr: @printBaseTeAClr;
@TeBgAClr: @printBaseTeBgAClr;
@TeBgClr: @printBaseTeBgClr;
@TeBClr: @printBaseTeBClr;
@TeTClr: @printBaseTeTClr;
@TeLClr: @printBaseTeLClr;
@TeLHClr: @printBaseTeLHClr;
@ToAClr: @printBaseToAClr;
@ToBgAClr: @printBaseToBgAClr;
@ToBgClr: @printBaseToBgClr;
@ToBClr: @printBaseToBClr;
@ToTClr: @printBaseToTClr;
@ToLClr: @printBaseToLClr;
@ToLHClr: @printBaseToLHClr;
@SdAClr: @printBaseSdAClr;
@SdBgClr: @printBaseSdBgClr;
@SdBClr: @printBaseSdBClr;
@SdTClr: @printBaseSdTClr;
@SdLClr: @printBaseSdLClr;
@SdLHClr: @printBaseSdLHClr;
@FoAClr: @printBaseFoAClr;
@FoBClr: @printBaseFoBClr;
@FoBgClr: @printBaseFoBgClr;
@FoTClr: @printBaseFoTClr;
@FoLClr: @printBaseFoLClr;
@FoLHClr: @printBaseFoLHClr;
@InAClr: @printBaseInAClr;
@InTClr: @printBaseInTClr;
@InHClr: @printBaseInHClr;
@BtnAClr: @printBaseBtnAClr;
@BtnHClr: @printBaseBtnHClr;
@BhBgClr: @printBaseBhBgClr;
@SEmailClr: @printBaseSEmailClr;
@SContactClr: @printBaseSContactClr;
@SFacebookClr: @printBaseSFacebookClr;
@SGithubClr: @printBaseSGithubClr;
@SGoogleClr: @printBaseSGoogleClr;
@SLinkedinClr: @printBaseSLinkedinClr;
@SPinterestClr: @printBaseSPinterestClr;
@SRedditClr: @printBaseSRedditClr;
@SRssClr: @printBaseSRssClr;
@SSoundcloudClr: @printBaseSSoundcloudClr;
@SStackOverflowClr: @printBaseSStackOverflowClr;
@STwitterClr: @printBaseSTwitterClr;
@SMastodonClr: @printBaseSMastodonClr;
@SDiasporaClr: @printBaseSDiasporaClr;
@SYoutubeClr: @printBaseSYoutubeClr;

File diff suppressed because it is too large Load diff