@bytechain.cn/colamd 1.5.1 → 2.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -21
- package/README.md +160 -1012
- package/README_CN.md +210 -1070
- package/dist/main/chunks/docx-export.js +29695 -0
- package/dist/main/chunks/image-export.js +175 -0
- package/dist/main/index.js +17765 -452
- package/dist/preload/index.js +135 -23
- package/dist/renderer/assets/2DXBBFLN-BmaQ8lqV.js +667 -0
- package/dist/renderer/assets/46IJ22JX-Caywmaj-.js +854 -0
- package/dist/renderer/assets/4TTDE5I4-C82Tw8vO.js +502 -0
- package/dist/renderer/assets/4UF3HTLV-BD8W-BSm.js +30 -0
- package/dist/renderer/assets/5THPTBWS-2mBFupjU.js +21 -0
- package/dist/renderer/assets/7WLXJQOR-C8MM6Bra.js +23 -0
- package/dist/renderer/assets/AAXQQPKT-CCArPgA1.js +1131 -0
- package/dist/renderer/assets/AKE5O7KZ-DOAgUvEX.js +185 -0
- package/dist/renderer/assets/BNMLP6AG-igM96Ol7.js +805 -0
- package/dist/renderer/assets/DKTLEL5E-Dj3316cp.js +42 -0
- package/dist/renderer/assets/DR6PKOQU-C-e6zzyf.js +302 -0
- package/dist/renderer/assets/E4RJ7UJB-BMF4zoOQ.js +442 -0
- package/dist/renderer/assets/ELSXBIJH-BI2ySIoX.js +39 -0
- package/dist/renderer/assets/ERTIBQVS-CnvF3w9r.js +183 -0
- package/dist/renderer/assets/F653G4FO-CgzvjfOe.js +1498 -0
- package/dist/renderer/assets/FKCDD66M-BkVPFntx.js +205 -0
- package/dist/renderer/assets/FP7KDXVC-K0VCFuri.js +222 -0
- package/dist/renderer/assets/FT5I3RHX-zgsvTvBh.js +244 -0
- package/dist/renderer/assets/FTXIJQGB-BX14b7pN.js +13 -0
- package/dist/renderer/assets/G3MDBVQH-qZ3yfAIw.js +25 -0
- package/dist/renderer/assets/GY35JXOZ-Lo9DxsPK.js +169 -0
- package/dist/renderer/assets/H5EEJPP2-Bw2musel.js +354 -0
- package/dist/renderer/assets/HWDLEDTA-CCOSSl9K.js +982 -0
- package/dist/renderer/assets/JZWSX6AR-BBtw8K-1.js +67 -0
- package/dist/renderer/assets/KQOEJWJY-Brg31xSn.js +84 -0
- package/dist/renderer/assets/KS3BB3KE-2GQdjVNT.js +139 -0
- package/dist/renderer/assets/KXJRRZHI-B0Oj-tMS.js +503 -0
- package/dist/renderer/assets/MFVI5XKI-BpwEOECT.js +10 -0
- package/dist/renderer/assets/MWY2J62P-CSmi7lMQ.js +1103 -0
- package/dist/renderer/assets/MXGNCBL2-CSoCLfJw.js +217 -0
- package/dist/renderer/assets/N6DAJLIZ-DB-xlSjM.js +120 -0
- package/dist/renderer/assets/NU5M23IW-BhGgUeDk.js +117 -0
- package/dist/renderer/assets/NV4XNBIS-DMg8ibKU.js +1221 -0
- package/dist/renderer/assets/OGLU4SIR-DOU7cIL3.js +290 -0
- package/dist/renderer/assets/OUNS5N76-BO_k5M0O.js +1065 -0
- package/dist/renderer/assets/PU4ISKXV-Cw53csyu.js +516 -0
- package/dist/renderer/assets/PUZGS23X-_iUQg51-.js +21 -0
- package/dist/renderer/assets/Q3IYVLG5-ZFBZi3vs.js +501 -0
- package/dist/renderer/assets/QYHQDLKZ-BPb6lHi6.js +984 -0
- package/dist/renderer/assets/RVARI57O-DMrXgtoB.js +10 -0
- package/dist/renderer/assets/RZSVICHU-I7fvqLMQ.js +263 -0
- package/dist/renderer/assets/UEXXS2NB-AVpw2xTC.js +25 -0
- package/dist/renderer/assets/UHTQJXKL-6oSc4D2k.js +135 -0
- package/dist/renderer/assets/URA2L2QI-DkFUeeK0.js +201 -0
- package/dist/renderer/assets/UXCHDUKG-B54p4156.js +174 -0
- package/dist/renderer/assets/VKNV3BUX-Cc_4x0WI.js +278 -0
- package/dist/renderer/assets/VMV7XPHP-BjfrE66I.js +127 -0
- package/dist/renderer/assets/WEVWDWVA-Ca8eMbXN.js +57 -0
- package/dist/renderer/assets/XRRJ35LF-EWRU-xXu.js +120 -0
- package/dist/renderer/assets/YFKBLVVN-D2oaE2c2.js +991 -0
- package/dist/renderer/assets/YHRE5QGZ-ucJgE2vP.js +698 -0
- package/dist/renderer/assets/ZF3OVT4B-SN2E7Wbi.js +421 -0
- package/dist/renderer/assets/apl-fqmucPXA.js +140 -0
- package/dist/renderer/assets/asciiarmor-DucZyvP0.js +56 -0
- package/dist/renderer/assets/asn1-BnOEsgAm.js +144 -0
- package/dist/renderer/assets/asterisk-QAlztEwS.js +345 -0
- package/dist/renderer/assets/brainfuck-DZVCuF_t.js +53 -0
- package/dist/renderer/assets/clike-xqXYL6ge.js +805 -0
- package/dist/renderer/assets/clojure-BhXMqnxz.js +849 -0
- package/dist/renderer/assets/cmake-BGaNd9E7.js +71 -0
- package/dist/renderer/assets/cobol-4yqQntpt.js +120 -0
- package/dist/renderer/assets/coffeescript-D2dXvhEc.js +308 -0
- package/dist/renderer/assets/commonlisp-CF_VNHQR.js +130 -0
- package/dist/renderer/assets/crystal-DyuLTqLs.js +398 -0
- package/dist/renderer/assets/css-c-jst79C.js +1783 -0
- package/dist/renderer/assets/cypher-Dlu_3r4V.js +121 -0
- package/dist/renderer/assets/d-UURgV0Ux.js +179 -0
- package/dist/renderer/assets/diff-B_Bi2Crb.js +25 -0
- package/dist/renderer/assets/dockerfile-Bvk733Ga.js +201 -0
- package/dist/renderer/assets/dtd-Dy74G54E.js +114 -0
- package/dist/renderer/assets/dylan-TSb-Nfix.js +314 -0
- package/dist/renderer/assets/ebnf-4fKAGW3a.js +140 -0
- package/dist/renderer/assets/ecl-B59qGGVg.js +178 -0
- package/dist/renderer/assets/eiffel-Dze7nlu3.js +134 -0
- package/dist/renderer/assets/elm-DG7jkhNZ.js +176 -0
- package/dist/renderer/assets/erlang-BO6gOnGA.js +674 -0
- package/dist/renderer/assets/factor-CMxFHDqz.js +65 -0
- package/dist/renderer/assets/fcl-CDDUNjTj.js +141 -0
- package/dist/renderer/assets/forth-B9D2JCeE.js +116 -0
- package/dist/renderer/assets/fortran-CAG2BFbe.js +467 -0
- package/dist/renderer/assets/gas-d3KEcW3x.js +294 -0
- package/dist/renderer/assets/gherkin-DhZlEZiy.js +115 -0
- package/dist/renderer/assets/groovy-CpwJiBl7.js +223 -0
- package/dist/renderer/assets/haskell-ySd-OUo8.js +459 -0
- package/dist/renderer/assets/haxe-7MlzfeYV.js +514 -0
- package/dist/renderer/assets/http-BqypyemW.js +79 -0
- package/dist/renderer/assets/idl-4HIGJlDI.js +985 -0
- package/dist/renderer/assets/index-6G13Twgt.js +311 -0
- package/dist/renderer/assets/index-B2_pQa3G.js +384 -0
- package/dist/renderer/assets/index-B4keY9Xz.js +328 -0
- package/dist/renderer/assets/index-B5Jih3QA.js +47421 -0
- package/dist/renderer/assets/index-BH0PaTow.js +405 -0
- package/dist/renderer/assets/index-BWfIKsyn.js +8 -0
- package/dist/renderer/assets/index-B_BLxvag.js +156 -0
- package/dist/renderer/assets/index-BnXxA35e.js +325 -0
- package/dist/renderer/assets/index-Bu1PrnbA.js +81 -0
- package/dist/renderer/assets/index-BvXJHaQ4.js +60 -0
- package/dist/renderer/assets/index-BzHXcCGC.js +307 -0
- package/dist/renderer/assets/index-CXI9cRfo.js +287 -0
- package/dist/renderer/assets/index-Ccsf_83j.js +149 -0
- package/dist/renderer/assets/index-CkLQq2g4.js +688 -0
- package/dist/renderer/assets/index-DNL6Tijf.js +8 -0
- package/dist/renderer/assets/index-DRZsGkXi.js +78 -0
- package/dist/renderer/assets/index-Dfyz4Aee.js +181 -0
- package/dist/renderer/assets/index-HtqODURL.js +703 -0
- package/dist/renderer/assets/{index-DxOzbfR-.js → index-MJfkvBRx.js} +1 -1
- package/dist/renderer/assets/index-NsiBA9UX.js +113 -0
- package/dist/renderer/assets/index-aUzhL6sM.js +96 -0
- package/dist/renderer/assets/index-bx07CRyn.css +2503 -0
- package/dist/renderer/assets/{index-CBcVpA3d.js → index-k1ZFPJcr.js} +3 -4
- package/dist/renderer/assets/javascript-C_OHM9hj.js +994 -0
- package/dist/renderer/assets/julia-Bs6JJhYG.js +407 -0
- package/dist/renderer/assets/lazy-BY7ljzvO.js +1041 -0
- package/dist/renderer/assets/livescript-DmzgM3Yt.js +296 -0
- package/dist/renderer/assets/lua-Cvg8VrAA.js +256 -0
- package/dist/renderer/assets/mathematica-DNLOL9PQ.js +110 -0
- package/dist/renderer/assets/mbox-Ga7d4MMN.js +117 -0
- package/dist/renderer/assets/mirc-Dma3B8rS.js +107 -0
- package/dist/renderer/assets/mllike-DHn7xckP.js +334 -0
- package/dist/renderer/assets/modelica-0d55jYY0.js +147 -0
- package/dist/renderer/assets/mscgen-DdqZYINH.js +135 -0
- package/dist/renderer/assets/mumps-Btr8VblO.js +93 -0
- package/dist/renderer/assets/nginx-DTDtBDVN.js +141 -0
- package/dist/renderer/assets/nsis-CyKBdPWp.js +62 -0
- package/dist/renderer/assets/ntriples-CvgOYMpL.js +153 -0
- package/dist/renderer/assets/octave-DYBj3-tl.js +200 -0
- package/dist/renderer/assets/oz-R_e8WMIi.js +231 -0
- package/dist/renderer/assets/pascal-GD8iposT.js +105 -0
- package/dist/renderer/assets/perl-DL9mHpoi.js +1105 -0
- package/dist/renderer/assets/pig-C_4T4YIV.js +101 -0
- package/dist/renderer/assets/powershell-B0suO7Vd.js +328 -0
- package/dist/renderer/assets/properties-BR-vP1aU.js +58 -0
- package/dist/renderer/assets/protobuf-BxgpyhoW.js +77 -0
- package/dist/renderer/assets/pug-CTXt1f8z.js +405 -0
- package/dist/renderer/assets/puppet-Bdao66PW.js +137 -0
- package/dist/renderer/assets/python-CvWbmiX4.js +427 -0
- package/dist/renderer/assets/q-CrbCVq4a.js +131 -0
- package/dist/renderer/assets/r-V7nswm59.js +170 -0
- package/dist/renderer/assets/rpm-C-DLY-If.js +109 -0
- package/dist/renderer/assets/ruby-CQTpZw6f.js +331 -0
- package/dist/renderer/assets/sas-D2UG-yhZ.js +207 -0
- package/dist/renderer/assets/scheme-BKzrkGJD.js +222 -0
- package/dist/renderer/assets/shell-BlsXDxCn.js +222 -0
- package/dist/renderer/assets/sieve-CjwBwOY5.js +135 -0
- package/dist/renderer/assets/simple-mode-DMneyfDu.js +130 -0
- package/dist/renderer/assets/smalltalk-BOIGQuhN.js +121 -0
- package/dist/renderer/assets/solr-CwD7U71z.js +69 -0
- package/dist/renderer/assets/sparql-DYskk2vE.js +249 -0
- package/dist/renderer/assets/spreadsheet-Bgtt3oLP.js +87 -0
- package/dist/renderer/assets/sql-BSrOzCRI.js +354 -0
- package/dist/renderer/assets/stex-B6LNC55o.js +231 -0
- package/dist/renderer/assets/stylus-BkS-boTH.js +565 -0
- package/dist/renderer/assets/swift-FRZi1uvB.js +291 -0
- package/dist/renderer/assets/tcl-CUcaCdmq.js +114 -0
- package/dist/renderer/assets/textile-BnFpjsrl.js +414 -0
- package/dist/renderer/assets/tiddlywiki-CjprD-Qp.js +218 -0
- package/dist/renderer/assets/tiki-DK9DOeWn.js +268 -0
- package/dist/renderer/assets/toml-BOuWGMcf.js +76 -0
- package/dist/renderer/assets/troff-E1bJ0PPL.js +61 -0
- package/dist/renderer/assets/ttcn-cfg-Dc39-fIP.js +133 -0
- package/dist/renderer/assets/ttcn-tKd4HLu4.js +192 -0
- package/dist/renderer/assets/turtle-Dq7-1WAf.js +124 -0
- package/dist/renderer/assets/vb-Dp90gtsv.js +196 -0
- package/dist/renderer/assets/vbscript-CI6_mxxU.js +479 -0
- package/dist/renderer/assets/velocity-BwIZK1TH.js +149 -0
- package/dist/renderer/assets/verilog-DDCYnHN8.js +430 -0
- package/dist/renderer/assets/vhdl-DCkMIyT9.js +158 -0
- package/dist/renderer/assets/{web-BKE0SH0E.js → web-C4yaM4Cl.js} +1 -1
- package/dist/renderer/assets/{web-CBsFp24u.js → web-CF2Dtak3.js} +2 -3
- package/dist/renderer/assets/{web-Dc8YgoHP.js → web-DUy9unYf.js} +1 -1
- package/dist/renderer/assets/webidl-BTLTThCm.js +204 -0
- package/dist/renderer/assets/xquery-BrBUuxMR.js +525 -0
- package/dist/renderer/assets/yacas-b5lAVEIl.js +130 -0
- package/dist/renderer/assets/z80-BZV19vqv.js +93 -0
- package/dist/renderer/index.html +97 -77
- package/package.json +88 -60
- package/themes/README.md +99 -300
- package/themes/bear.css +38 -0
- package/themes/dark.css +20 -0
- package/themes/dracula.css +38 -0
- package/themes/elegant.css +53 -671
- package/themes/gruvbox.css +42 -0
- package/themes/light.css +20 -0
- package/themes/midnight.css +31 -0
- package/themes/nord.css +38 -0
- package/themes/notion.css +48 -0
- package/themes/sepia.css +48 -0
- package/themes/solarized-dark.css +35 -0
- package/themes/template.css +76 -498
- package/themes/writer.css +44 -0
- package/.github/workflows/release.yml +0 -66
- package/.trae/specs/optimize-theme-loading/checklist.md +0 -20
- package/.trae/specs/optimize-theme-loading/spec.md +0 -103
- package/.trae/specs/optimize-theme-loading/tasks.md +0 -40
- package/CHANGELOG.md +0 -320
- package/CLAUDE.md +0 -143
- package/android/app/build/.npmkeep +0 -0
- package/android/app/build.gradle +0 -76
- package/android/app/capacitor.build.gradle +0 -24
- package/android/app/proguard-rules.pro +0 -21
- package/android/app/release.keystore +0 -0
- package/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +0 -26
- package/android/app/src/main/AndroidManifest.xml +0 -64
- package/android/app/src/main/java/cn/bytechain/colamd/MainActivity.java +0 -180
- package/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -170
- package/android/app/src/main/res/drawable/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -34
- package/android/app/src/main/res/layout/activity_main.xml +0 -12
- package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
- package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/values/ic_launcher_background.xml +0 -4
- package/android/app/src/main/res/values/strings.xml +0 -7
- package/android/app/src/main/res/values/styles.xml +0 -22
- package/android/app/src/main/res/xml/file_paths.xml +0 -5
- package/android/app/src/main/res/xml/network_security_config.xml +0 -8
- package/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +0 -18
- package/android/build.gradle +0 -29
- package/android/capacitor.settings.gradle +0 -21
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/android/gradle.properties +0 -22
- package/android/gradlew +0 -248
- package/android/gradlew.bat +0 -92
- package/android/settings.gradle +0 -5
- package/android/variables.gradle +0 -16
- package/capacitor.config.js +0 -29
- package/capacitor.config.ts +0 -30
- package/demo.md +0 -193
- package/dist/renderer/assets/arc-_lugyDzx.js +0 -131
- package/dist/renderer/assets/architectureDiagram-3BPJPVTR-DDfP-F9D.js +0 -8721
- package/dist/renderer/assets/blockDiagram-GPEHLZMM-DOETUKma.js +0 -3826
- package/dist/renderer/assets/c4Diagram-AAUBKEIU-kAmLfVtk.js +0 -2483
- package/dist/renderer/assets/channel-CD4vJFwr.js +0 -7
- package/dist/renderer/assets/chunk-2J33WTMH-DkVrgw4l.js +0 -24
- package/dist/renderer/assets/chunk-4BX2VUAB-JTZ-VKNX.js +0 -16
- package/dist/renderer/assets/chunk-55IACEB6-Di_O5box.js +0 -13
- package/dist/renderer/assets/chunk-727SXJPM-BgKvwR8w.js +0 -2016
- package/dist/renderer/assets/chunk-AQP2D5EJ-DonSXCCQ.js +0 -1953
- package/dist/renderer/assets/chunk-FMBD7UC4-CsV8Lmy6.js +0 -19
- package/dist/renderer/assets/chunk-ND2GUHAM-C_-_dlq7.js +0 -116
- package/dist/renderer/assets/chunk-QZHKN3VN-aCmcDsfu.js +0 -19
- package/dist/renderer/assets/classDiagram-4FO5ZUOK-nuHQLjzM.js +0 -24
- package/dist/renderer/assets/classDiagram-v2-Q7XG4LA2-nuHQLjzM.js +0 -24
- package/dist/renderer/assets/cose-bilkent-S5V4N54A-Di1_SXt9.js +0 -4943
- package/dist/renderer/assets/cytoscape.esm-CpHeHM5e.js +0 -30269
- package/dist/renderer/assets/dagre-BM42HDAG-CqOUIYsL.js +0 -706
- package/dist/renderer/assets/defaultLocale-B2RvLBDe.js +0 -206
- package/dist/renderer/assets/diagram-2AECGRRQ-F-fP19TC.js +0 -302
- package/dist/renderer/assets/diagram-5GNKFQAL-BD5XZc8G.js +0 -170
- package/dist/renderer/assets/diagram-KO2AKTUF-Qa3ZxA67.js +0 -633
- package/dist/renderer/assets/diagram-LMA3HP47-DqDnw2RA.js +0 -213
- package/dist/renderer/assets/diagram-OG6HWLK6-BH4Elzby.js +0 -852
- package/dist/renderer/assets/erDiagram-TEJ5UH35-CaKZCewa.js +0 -1228
- package/dist/renderer/assets/flowDiagram-I6XJVG4X-C8znUgyL.js +0 -2333
- package/dist/renderer/assets/ganttDiagram-6RSMTGT7-DnRvbMnU.js +0 -3721
- package/dist/renderer/assets/gitGraphDiagram-PVQCEYII-CZuRZzk4.js +0 -1374
- package/dist/renderer/assets/graph-CYiEKt0j.js +0 -1988
- package/dist/renderer/assets/index-B4uDgADr.js +0 -530
- package/dist/renderer/assets/index-BX6JHKv6.js +0 -73314
- package/dist/renderer/assets/index-CGj1spkU.js +0 -27
- package/dist/renderer/assets/index-CcwAgVRi.css +0 -2226
- package/dist/renderer/assets/index-D4CPFkph.js +0 -9
- package/dist/renderer/assets/index-Y89U1ptl.js +0 -9
- package/dist/renderer/assets/infoDiagram-5YYISTIA-BlBUdqMb.js +0 -32
- package/dist/renderer/assets/init-ZxktEp_H.js +0 -16
- package/dist/renderer/assets/ishikawaDiagram-YF4QCWOH-TeVytCrP.js +0 -968
- package/dist/renderer/assets/journeyDiagram-JHISSGLW-BLZa3jnX.js +0 -1256
- package/dist/renderer/assets/kanban-definition-UN3LZRKU-foVxWrJn.js +0 -1053
- package/dist/renderer/assets/layout-DOAlFUVb.js +0 -2610
- package/dist/renderer/assets/linear-BMBn6kVq.js +0 -340
- package/dist/renderer/assets/mindmap-definition-RKZ34NQL-5pGeNCcp.js +0 -1181
- package/dist/renderer/assets/ordinal-DSZU4PqD.js +0 -76
- package/dist/renderer/assets/pieDiagram-4H26LBE5-N9aAUxfr.js +0 -247
- package/dist/renderer/assets/preload-helper-tXtZnHb0.js +0 -88
- package/dist/renderer/assets/quadrantDiagram-W4KKPZXB-BPxbtjga.js +0 -1345
- package/dist/renderer/assets/requirementDiagram-4Y6WPE33-CK1LrJyG.js +0 -1205
- package/dist/renderer/assets/sankeyDiagram-5OEKKPKP-BNj7Sqii.js +0 -1275
- package/dist/renderer/assets/sequenceDiagram-3UESZ5HK-B-r7lNhI.js +0 -4515
- package/dist/renderer/assets/stateDiagram-AJRCARHV-wrWE0MRa.js +0 -451
- package/dist/renderer/assets/stateDiagram-v2-BHNVJYJU-CE-Lqo2d.js +0 -22
- package/dist/renderer/assets/timeline-definition-PNZ67QCA-BkeMGH4J.js +0 -1597
- package/dist/renderer/assets/vennDiagram-CIIHVFJN-BTxVzto3.js +0 -2487
- package/dist/renderer/assets/wardley-L42UT6IY-b-_GPpqL.js +0 -30699
- package/dist/renderer/assets/wardleyDiagram-YWT4CUSO-D2r5dVGW.js +0 -976
- package/dist/renderer/assets/web-TfDzToU7.js +0 -58
- package/dist/renderer/assets/xychartDiagram-2RQKCTM6-BHQdINVc.js +0 -1933
- package/docs/RELEASE_NOTES_v1.5.1.md +0 -382
- package/docs/academic-demo.md +0 -567
- package/docs/agent-diff-view.md +0 -48
- package/docs/demo.html +0 -748
- package/docs/demo.md +0 -546
- package/docs/demo.pdf +0 -0
- package/docs/theme-paradigm.md +0 -797
- package/electron-builder.yml +0 -64
- package/electron.vite.config.js +0 -31
- package/electron.vite.config.ts +0 -30
- package/ios/App/App/AppDelegate.swift +0 -49
- package/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
- package/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -14
- package/ios/App/App/Assets.xcassets/Contents.json +0 -6
- package/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +0 -23
- package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
- package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
- package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
- package/ios/App/App/Base.lproj/LaunchScreen.storyboard +0 -32
- package/ios/App/App/Base.lproj/Main.storyboard +0 -19
- package/ios/App/App/Info.plist +0 -49
- package/ios/App/App.xcodeproj/project.pbxproj +0 -408
- package/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/App/Podfile +0 -28
- package/resources/entitlements.mac.plist +0 -12
- package/resources/icon.icns +0 -0
- package/resources/icon.png +0 -0
- package/resources/icon.svg +0 -23
- package/resources/templates/slides/icon.png +0 -0
- package/resources/templates/slides/slides-template.md +0 -74
- package/resources/templates/slides/template-forest-ink.html +0 -540
- package/resources/templates/slides/template.html +0 -535
- package/scripts/afterPack.js +0 -13
- package/scripts/generate-icons.js +0 -102
- package/src/main/index.ts +0 -919
- package/src/preload/index.d.ts +0 -51
- package/src/preload/index.js +0 -70
- package/src/preload/index.ts +0 -110
- package/src/renderer/capacitor-api.ts +0 -713
- package/src/renderer/editor/editor.ts +0 -287
- package/src/renderer/editor/html-view.ts +0 -15
- package/src/renderer/editor/plugins/index.ts +0 -86
- package/src/renderer/editor/plugins/math-plugin.ts +0 -305
- package/src/renderer/editor/plugins/mermaid-plugin-custom.css +0 -46
- package/src/renderer/editor/plugins/mermaid-plugin-dark.css +0 -428
- package/src/renderer/editor/plugins/mermaid-plugin-elegant.css +0 -443
- package/src/renderer/editor/plugins/mermaid-plugin-newsprint.css +0 -208
- package/src/renderer/editor/plugins/mermaid-plugin.css +0 -111
- package/src/renderer/editor/plugins/mermaid-plugin.ts +0 -680
- package/src/renderer/editor/plugins/themes/base/dark.css +0 -23
- package/src/renderer/editor/plugins/themes/base/elegant.css +0 -32
- package/src/renderer/editor/plugins/themes/base/light.css +0 -20
- package/src/renderer/editor/plugins/themes/base/newsprint.css +0 -27
- package/src/renderer/editor/plugins/themes/base.css +0 -509
- package/src/renderer/editor/plugins/themes/components/mermaid/academic.css +0 -43
- package/src/renderer/editor/plugins/themes/components/mermaid/dark.css +0 -20
- package/src/renderer/editor/plugins/themes/components/mermaid/elegant.css +0 -24
- package/src/renderer/editor/plugins/themes/components/mermaid/light.css +0 -21
- package/src/renderer/editor/plugins/themes/components/mermaid/newsprint.css +0 -26
- package/src/renderer/editor/plugins/themes/components/mermaid/variables.css +0 -592
- package/src/renderer/editor/plugins/themes/foundation.css +0 -143
- package/src/renderer/editor/plugins/themes/theme-manager.ts +0 -133
- package/src/renderer/env.d.ts +0 -10
- package/src/renderer/index.html +0 -76
- package/src/renderer/main.ts +0 -775
- package/src/renderer/mobile.css +0 -428
- package/themes/academic-paper-pt.css +0 -1321
- package/themes/academic-paper.css +0 -1416
- package/themes/forest-ink.css +0 -664
- package/themes/guizang.css +0 -732
- package/themes/pixso-design.css +0 -1261
- package/themes/swiss-design.css +0 -596
- package/tsconfig.json +0 -14
- package/tsconfig.main.json +0 -12
- package/tsconfig.main.tsbuildinfo +0 -1
- package/tsconfig.preload.json +0 -12
- package/tsconfig.preload.tsbuildinfo +0 -1
- package/tsconfig.renderer.json +0 -13
- package/tsconfig.renderer.tsbuildinfo +0 -1
- package/tsconfig.tsbuildinfo +0 -1
package/themes/forest-ink.css
DELETED
|
@@ -1,664 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ColaMD 主题:Forest Ink (森林墨)
|
|
3
|
-
* 配色:宣纸底 + 松烟墨绿
|
|
4
|
-
* 灵感来源:wanhua-ppt 的 Forest Ink 设计规范
|
|
5
|
-
* 兼容:ColaMD (body.theme-custom) / Typora
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* ── 1. 根变量 & 主题变量 ── */
|
|
9
|
-
:root {
|
|
10
|
-
--side-bar-bg-color: #e4e8e4;
|
|
11
|
-
--control-text-color: #555;
|
|
12
|
-
--active-file-bg-color: #d6dfd6;
|
|
13
|
-
--active-file-text-color: #1a2e1f;
|
|
14
|
-
--active-file-border-color: #3d6b4a;
|
|
15
|
-
--bg-color: #eef1ee;
|
|
16
|
-
--text-color: #1a2e1f;
|
|
17
|
-
--select-text-bg-color: rgba(61, 107, 74, 0.18);
|
|
18
|
-
--select-text-font-color: #1a2e1f;
|
|
19
|
-
--rawblock-edit-panel-bd: #c8d0ca;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
body.theme-custom {
|
|
23
|
-
--bg-color: #eef1ee;
|
|
24
|
-
--text-color: #1a2e1f;
|
|
25
|
-
--heading-color: #1a2e1f;
|
|
26
|
-
--border-color: #c8d0ca;
|
|
27
|
-
--code-bg: #e4e8e4;
|
|
28
|
-
--code-color: #3d6b4a;
|
|
29
|
-
--code-block-bg: #1a2e1f;
|
|
30
|
-
--code-block-text: #dde4dd;
|
|
31
|
-
--code-block-color: #dde4dd;
|
|
32
|
-
--blockquote-bg: #e3e7e3;
|
|
33
|
-
--blockquote-border: #3d6b4a;
|
|
34
|
-
--link-color: #3d6b4a;
|
|
35
|
-
--accent-color: #3d6b4a;
|
|
36
|
-
--accent-dark: #2d5538;
|
|
37
|
-
--accent-light: #c8d0ca;
|
|
38
|
-
--surface-color: #e3e7e3;
|
|
39
|
-
--surface-alt: #f2f4f2;
|
|
40
|
-
--text-muted: #555;
|
|
41
|
-
--text-dim: #777;
|
|
42
|
-
--selection-bg: rgba(61, 107, 74, 0.18);
|
|
43
|
-
--table-header-bg: #e4e8e4;
|
|
44
|
-
--table-stripe: rgba(61, 107, 74, 0.04);
|
|
45
|
-
--scrollbar-thumb: #c4c0b8;
|
|
46
|
-
--scrollbar-thumb-hover: #ada9a2;
|
|
47
|
-
--hr-color: #d4cfc4;
|
|
48
|
-
--mermaid-font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
|
|
49
|
-
--mermaid-font-size: 12px;
|
|
50
|
-
--mermaid-dark-mode: false;
|
|
51
|
-
--mermaid-background: #e5eae6;
|
|
52
|
-
--mermaid-primary-color: #d6dfd6;
|
|
53
|
-
--mermaid-primary-border-color: #3d6b4a;
|
|
54
|
-
--mermaid-primary-text-color: #1a2e1f;
|
|
55
|
-
--mermaid-secondary-color: #dde4dd;
|
|
56
|
-
--mermaid-secondary-border-color: #5a7a64;
|
|
57
|
-
--mermaid-secondary-text-color: #1a2e1f;
|
|
58
|
-
--mermaid-tertiary-color: #eef1ee;
|
|
59
|
-
--mermaid-tertiary-border-color: #6a8a74;
|
|
60
|
-
--mermaid-tertiary-text-color: #555;
|
|
61
|
-
--mermaid-line-color: #6a8a74;
|
|
62
|
-
--mermaid-text-color: #1a2e1f;
|
|
63
|
-
--mermaid-main-bkg: #d6dfd6;
|
|
64
|
-
--mermaid-second-bkg: #e5eae6;
|
|
65
|
-
--mermaid-main-contrast-color: #3d6b4a;
|
|
66
|
-
--mermaid-label-background: #eef1ee;
|
|
67
|
-
--mermaid-label-text-color: #1a2e1f;
|
|
68
|
-
--mermaid-node-border: #3d6b4a;
|
|
69
|
-
--mermaid-node-bkg: #d6dfd6;
|
|
70
|
-
--mermaid-cluster-bkg: rgba(61, 107, 74, 0.10);
|
|
71
|
-
--mermaid-cluster-border: #3d6b4a;
|
|
72
|
-
--mermaid-default-link-color: #6a8a74;
|
|
73
|
-
--mermaid-edge-label-background: #eef1ee;
|
|
74
|
-
--mermaid-arrowhead-color: #6a8a74;
|
|
75
|
-
--mermaid-person-border: #1a2e1f;
|
|
76
|
-
--mermaid-person-bkg: #d6dfd6;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
pre { --select-text-bg-color: #243528; --select-text-font-color: #fff; }
|
|
80
|
-
|
|
81
|
-
/* ── 2. 全局 ── */
|
|
82
|
-
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
|
|
83
|
-
body.theme-custom, html, body {
|
|
84
|
-
background-color: #eef1ee;
|
|
85
|
-
color: #1a2e1f;
|
|
86
|
-
font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
|
|
87
|
-
line-height: 1.9;
|
|
88
|
-
}
|
|
89
|
-
body.theme-custom { -webkit-font-smoothing: antialiased; }
|
|
90
|
-
#write { max-width: 820px; margin: 0 auto; padding: 30px 60px 100px; }
|
|
91
|
-
#write > ul:first-child, #write > ol:first-child { margin-top: 30px; }
|
|
92
|
-
|
|
93
|
-
@media only screen and (min-width:1400px) { #write { max-width: 920px; } }
|
|
94
|
-
@media only screen and (max-width:768px) { #write { padding: 20px 20px 60px; } }
|
|
95
|
-
|
|
96
|
-
/* ── 3. 标题 ── */
|
|
97
|
-
h1, h2, h3, h4, h5, h6,
|
|
98
|
-
body.theme-custom h1, body.theme-custom h2, body.theme-custom h3,
|
|
99
|
-
body.theme-custom h4, body.theme-custom h5, body.theme-custom h6 {
|
|
100
|
-
position: relative;
|
|
101
|
-
color: #1a2e1f;
|
|
102
|
-
font-weight: 700;
|
|
103
|
-
line-height: 1.4;
|
|
104
|
-
margin-top: 1.8em;
|
|
105
|
-
margin-bottom: 0.6em;
|
|
106
|
-
}
|
|
107
|
-
h1, body.theme-custom h1 { font-size: 1.8em; padding-bottom: 0.3em; cursor: text; }
|
|
108
|
-
h2, body.theme-custom h2 { font-size: 1.5em; padding-bottom: 0.2em; cursor: text; }
|
|
109
|
-
h3, body.theme-custom h3 { font-size: 1.25em; cursor: text; }
|
|
110
|
-
h4, body.theme-custom h4 { font-size: 1.1em; cursor: text; }
|
|
111
|
-
h5, body.theme-custom h5 { font-size: 1em; cursor: text; }
|
|
112
|
-
h6, body.theme-custom h6 { font-size: 0.95em; color: #555; cursor: text; }
|
|
113
|
-
|
|
114
|
-
h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor,
|
|
115
|
-
h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { text-decoration: none; }
|
|
116
|
-
|
|
117
|
-
/* ── 4. 内联元素 ── */
|
|
118
|
-
p { margin: 0.8em 0; line-height: 1.9; text-align: justify; }
|
|
119
|
-
|
|
120
|
-
strong, body.theme-custom strong { color: #3d6b4a; font-weight: 700; }
|
|
121
|
-
em, body.theme-custom em { font-style: italic; color: #444; }
|
|
122
|
-
em strong, strong em, body.theme-custom em strong, body.theme-custom strong em { color: #3d6b4a; }
|
|
123
|
-
|
|
124
|
-
a, body.theme-custom a { color: #3d6b4a; text-decoration: none; }
|
|
125
|
-
a:hover, body.theme-custom a:hover { text-decoration: underline; }
|
|
126
|
-
|
|
127
|
-
u, body.theme-custom u {
|
|
128
|
-
text-decoration: none;
|
|
129
|
-
border-bottom: 2px solid #3d6b4a;
|
|
130
|
-
padding-bottom: 1px;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
mark, body.theme-custom mark {
|
|
134
|
-
background: rgba(61, 107, 74, 0.15);
|
|
135
|
-
color: #1a2e1f;
|
|
136
|
-
padding: 1px 4px;
|
|
137
|
-
border-radius: 2px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
del, s { color: #999; }
|
|
141
|
-
|
|
142
|
-
/* ── 5. 引用块 ── */
|
|
143
|
-
blockquote, body.theme-custom blockquote {
|
|
144
|
-
margin: 1.5em 0;
|
|
145
|
-
padding: 15px 20px 15px 25px;
|
|
146
|
-
border-left: 4px solid #3d6b4a;
|
|
147
|
-
background: #e3e7e3;
|
|
148
|
-
color: #444;
|
|
149
|
-
}
|
|
150
|
-
blockquote p, body.theme-custom blockquote p { margin: 0.5em 0; }
|
|
151
|
-
|
|
152
|
-
/* ── 6. 分割线 ── */
|
|
153
|
-
hr, body.theme-custom hr { border: none; border-top: 1px solid #c8d0ca; margin: 2.5em 0; height: 0; }
|
|
154
|
-
|
|
155
|
-
/* ── 7. 列表 ── */
|
|
156
|
-
ul, ol, body.theme-custom ul, body.theme-custom ol { padding-left: 1.8em; margin: 0.8em 0; }
|
|
157
|
-
li, body.theme-custom li { margin: 0.35em 0; line-height: 1.8; }
|
|
158
|
-
ul li { list-style-type: disc; list-style-position: outside; }
|
|
159
|
-
ol li { list-style-type: decimal; list-style-position: outside; }
|
|
160
|
-
.md-task-list-item > input { margin-left: -1.3em; margin-top: 0.3em; }
|
|
161
|
-
|
|
162
|
-
/* ── 8. 内联代码 ── */
|
|
163
|
-
code, tt,
|
|
164
|
-
body.theme-custom code, body.theme-custom tt {
|
|
165
|
-
font-family: "IBM Plex Mono", "JetBrains Mono", "Fira Code", monospace;
|
|
166
|
-
font-size: 0.9em;
|
|
167
|
-
padding: 2px 6px;
|
|
168
|
-
margin: 0 2px;
|
|
169
|
-
background: #e4e8e4;
|
|
170
|
-
border-radius: 3px;
|
|
171
|
-
color: #3d6b4a;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/* ── 9. 代码块 ── */
|
|
175
|
-
pre.md-fences {
|
|
176
|
-
font-family: "IBM Plex Mono", "JetBrains Mono", "Fira Code", monospace;
|
|
177
|
-
font-size: 0.88em;
|
|
178
|
-
line-height: 1.6;
|
|
179
|
-
background: #1a2e1f;
|
|
180
|
-
color: #e8e4de;
|
|
181
|
-
padding: 18px 22px;
|
|
182
|
-
border-radius: 6px;
|
|
183
|
-
margin: 1.5em 0;
|
|
184
|
-
overflow-x: auto;
|
|
185
|
-
}
|
|
186
|
-
pre.md-fences code { background: transparent; color: inherit; padding: 0; margin: 0; border-radius: 0; }
|
|
187
|
-
|
|
188
|
-
body.theme-custom #editor .ProseMirror pre {
|
|
189
|
-
font-family: "IBM Plex Mono", "JetBrains Mono", "Fira Code", monospace;
|
|
190
|
-
font-size: 0.88em;
|
|
191
|
-
line-height: 1.6;
|
|
192
|
-
background: #1a2e1f !important;
|
|
193
|
-
color: #e8e4de !important;
|
|
194
|
-
padding: 18px 22px;
|
|
195
|
-
border-radius: 6px;
|
|
196
|
-
margin: 1.5em 0;
|
|
197
|
-
overflow-x: auto;
|
|
198
|
-
}
|
|
199
|
-
body.theme-custom #editor .ProseMirror pre code {
|
|
200
|
-
background: transparent !important;
|
|
201
|
-
color: #e8e4de !important;
|
|
202
|
-
padding: 0; margin: 0; border-radius: 0;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/* ── 10. 代码语法高亮 ── */
|
|
206
|
-
.cm-s-inner { font-family: "IBM Plex Mono", "JetBrains Mono", "Fira Code", monospace; font-size: 0.9em; line-height: 1.6; }
|
|
207
|
-
|
|
208
|
-
/* 注释 / 引用 / 分隔线 */
|
|
209
|
-
body.theme-custom .token.comment, body.theme-custom .token.prolog,
|
|
210
|
-
body.theme-custom .token.doctype, body.theme-custom .token.cdata,
|
|
211
|
-
.cm-s-inner .cm-comment, .cm-s-inner .cm-quote, .cm-s-inner .cm-hr { color: #7a8075; font-style: italic; }
|
|
212
|
-
|
|
213
|
-
/* 标点 / 元数据 */
|
|
214
|
-
body.theme-custom .token.punctuation, .cm-s-inner .cm-meta { color: #c4c0b8; }
|
|
215
|
-
|
|
216
|
-
/* 关键字 (粗体) */
|
|
217
|
-
body.theme-custom .token.keyword, body.theme-custom .token.important,
|
|
218
|
-
.cm-s-inner .cm-keyword { color: #3d6b4a; font-weight: 700; }
|
|
219
|
-
|
|
220
|
-
/* 布尔 / 内建 / 标签 / 选择器 / 常量 / 删除 / 原子 / 错误 */
|
|
221
|
-
body.theme-custom .token.boolean, body.theme-custom .token.builtin,
|
|
222
|
-
body.theme-custom .token.tag, body.theme-custom .token.selector,
|
|
223
|
-
body.theme-custom .token.constant, body.theme-custom .token.deleted,
|
|
224
|
-
.cm-s-inner .cm-atom, .cm-s-inner .cm-builtin,
|
|
225
|
-
.cm-s-inner .cm-tag, .cm-s-inner .cm-error { color: #3d6b4a; }
|
|
226
|
-
|
|
227
|
-
/* 字符串 / 属性值 / 符号 / 插入 */
|
|
228
|
-
body.theme-custom .token.string, body.theme-custom .token.attr-value,
|
|
229
|
-
body.theme-custom .token.symbol, body.theme-custom .token.inserted,
|
|
230
|
-
.cm-s-inner .cm-string { color: #7ba86a; }
|
|
231
|
-
|
|
232
|
-
/* 数字 */
|
|
233
|
-
body.theme-custom .token.number, .cm-s-inner .cm-number { color: #b8a35a; }
|
|
234
|
-
|
|
235
|
-
/* 函数 / 类名 / 变量 / 属性名 / 实体 / 定义 */
|
|
236
|
-
body.theme-custom .token.function, body.theme-custom .token.class-name,
|
|
237
|
-
body.theme-custom .token.variable, body.theme-custom .token.attr-name,
|
|
238
|
-
body.theme-custom .token.property, body.theme-custom .token.entity,
|
|
239
|
-
.cm-s-inner .cm-def, .cm-s-inner .cm-variable-2,
|
|
240
|
-
.cm-s-inner .cm-attribute, .cm-s-inner .cm-property,
|
|
241
|
-
.cm-s-inner .cm-header { color: #c9a85a; }
|
|
242
|
-
|
|
243
|
-
.cm-s-inner .cm-header { font-weight: 700; }
|
|
244
|
-
body.theme-custom .token.url, .cm-s-inner .cm-link { color: #c9a85a; text-decoration: underline; }
|
|
245
|
-
|
|
246
|
-
/* 运算符 */
|
|
247
|
-
body.theme-custom .token.operator, .cm-s-inner .cm-operator { color: #b5b0a8; }
|
|
248
|
-
|
|
249
|
-
/* 正则 / 代码文本色 */
|
|
250
|
-
body.theme-custom .token.regex { color: #c99a5e; }
|
|
251
|
-
.cm-s-inner .cm-variable { color: #e8e4de; }
|
|
252
|
-
|
|
253
|
-
/* ── 11. 表格 ── */
|
|
254
|
-
table, body.theme-custom table {
|
|
255
|
-
width: 100%;
|
|
256
|
-
border-collapse: collapse;
|
|
257
|
-
margin: 1.5em 0;
|
|
258
|
-
font-size: 0.95em;
|
|
259
|
-
}
|
|
260
|
-
table th, body.theme-custom table th {
|
|
261
|
-
background: #e4e8e4;
|
|
262
|
-
font-weight: 700;
|
|
263
|
-
color: #1a2e1f;
|
|
264
|
-
padding: 10px 14px;
|
|
265
|
-
border-bottom: 2px solid #3d6b4a;
|
|
266
|
-
text-align: left;
|
|
267
|
-
}
|
|
268
|
-
table td, body.theme-custom table td {
|
|
269
|
-
padding: 10px 14px;
|
|
270
|
-
border-bottom: 1px solid #c8d0ca;
|
|
271
|
-
}
|
|
272
|
-
table tr:hover td, body.theme-custom table tr:hover td {
|
|
273
|
-
background: rgba(61, 107, 74, 0.04);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/* ── 12. 图片 ── */
|
|
277
|
-
img, body.theme-custom img { max-width: 100%; }
|
|
278
|
-
p > img:only-child, body.theme-custom p > img:only-child { display: block; margin: 1.5em auto; }
|
|
279
|
-
body.theme-custom figure { margin: 1.5em 0; text-align: center; }
|
|
280
|
-
body.theme-custom figcaption { font-size: 0.9em; color: var(--text-muted); margin-top: 0.6em; }
|
|
281
|
-
|
|
282
|
-
/* ── 13. 数学公式 ── */
|
|
283
|
-
|
|
284
|
-
/* ColaMD */
|
|
285
|
-
body.theme-custom .math-block {
|
|
286
|
-
background: #e4e8e4;
|
|
287
|
-
padding: 16px 0;
|
|
288
|
-
margin: 1.5em 0;
|
|
289
|
-
border-radius: 6px;
|
|
290
|
-
border: 1px solid #c8d0ca;
|
|
291
|
-
text-align: center;
|
|
292
|
-
overflow-x: auto;
|
|
293
|
-
}
|
|
294
|
-
body.theme-custom .math-block .katex,
|
|
295
|
-
body.theme-custom .math-block .katex-display,
|
|
296
|
-
body.theme-custom .math-block .MathJax,
|
|
297
|
-
body.theme-custom .math-block .katex *,
|
|
298
|
-
body.theme-custom .math-block .MathJax *,
|
|
299
|
-
body.theme-custom .math-block .katex .mord,
|
|
300
|
-
body.theme-custom .math-block .katex .mbin,
|
|
301
|
-
body.theme-custom .math-block .katex .mrel,
|
|
302
|
-
body.theme-custom .math-block .katex .mopen,
|
|
303
|
-
body.theme-custom .math-block .katex .mclose,
|
|
304
|
-
body.theme-custom .math-block .katex .mpunct,
|
|
305
|
-
body.theme-custom .math-block .katex .minner { color: #1a2e1f !important; }
|
|
306
|
-
|
|
307
|
-
/* Typora */
|
|
308
|
-
.md-math-block, .MathJax_Display { margin: 1.5em 0 !important; text-align: center; }
|
|
309
|
-
.md-inline-math, .md-inline-math script, .md-math-inline, .MathJax { color: #1a2e1f; }
|
|
310
|
-
.MathJax svg, .MathJax_Display svg { fill: currentColor; stroke: currentColor; }
|
|
311
|
-
|
|
312
|
-
/* ── 14. Mermaid ── */
|
|
313
|
-
|
|
314
|
-
/* 容器 */
|
|
315
|
-
.md-diagram-panel { margin: 1.5em 0; }
|
|
316
|
-
.md-diagram-panel.md-mermaid,
|
|
317
|
-
body.theme-custom .mermaid-block,
|
|
318
|
-
body.theme-custom .mermaid-preview {
|
|
319
|
-
background: #e5eae6;
|
|
320
|
-
border: 1px solid #b8c4bc;
|
|
321
|
-
border-radius: 6px;
|
|
322
|
-
padding: 20px;
|
|
323
|
-
margin: 1.5em 0;
|
|
324
|
-
}
|
|
325
|
-
.md-diagram-panel.md-mermaid svg,
|
|
326
|
-
body.theme-custom .mermaid-preview svg { max-width: 100%; height: auto; }
|
|
327
|
-
|
|
328
|
-
/* 全局字体 */
|
|
329
|
-
.md-diagram-panel.md-mermaid svg text,
|
|
330
|
-
body.theme-custom .mermaid-preview svg text {
|
|
331
|
-
fill: #1a2e1f;
|
|
332
|
-
font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
|
|
333
|
-
}
|
|
334
|
-
body.theme-custom .mermaid-preview svg .nodeLabel span,
|
|
335
|
-
body.theme-custom .mermaid-preview svg .edgeLabel span {
|
|
336
|
-
font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
|
|
337
|
-
}
|
|
338
|
-
body.theme-custom .mermaid-preview svg foreignObject span {
|
|
339
|
-
color: #1a2e1f !important;
|
|
340
|
-
font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif !important;
|
|
341
|
-
font-size: 14px !important;
|
|
342
|
-
}
|
|
343
|
-
.md-diagram-panel.md-mermaid .node .label {
|
|
344
|
-
color: #1a2e1f !important;
|
|
345
|
-
font-family: "Noto Serif SC", "Source Han Serif SC", Georgia, serif !important;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
/* 通用节点 & 连线 (ColaMD) */
|
|
349
|
-
body.theme-custom .mermaid-preview svg .node rect,
|
|
350
|
-
body.theme-custom .mermaid-preview svg .node circle,
|
|
351
|
-
body.theme-custom .mermaid-preview svg .node ellipse,
|
|
352
|
-
body.theme-custom .mermaid-preview svg .node polygon,
|
|
353
|
-
body.theme-custom .mermaid-preview svg .node path {
|
|
354
|
-
stroke: #3d6b4a;
|
|
355
|
-
fill: #d6dfd6 !important;
|
|
356
|
-
}
|
|
357
|
-
body.theme-custom .mermaid-preview svg .edgePath .path { stroke: #6a8a74; }
|
|
358
|
-
body.theme-custom .mermaid-preview svg .cluster rect,
|
|
359
|
-
body.theme-custom .mermaid-preview svg .cluster path { stroke: #3d6b4a; }
|
|
360
|
-
body.theme-custom .mermaid-preview svg defs marker path { fill: #6a8a74; stroke: #6a8a74; }
|
|
361
|
-
|
|
362
|
-
/* 通用节点 & 连线 (Typora) */
|
|
363
|
-
.md-diagram-panel.md-mermaid .node rect,
|
|
364
|
-
.md-diagram-panel.md-mermaid .node circle,
|
|
365
|
-
.md-diagram-panel.md-mermaid .node ellipse,
|
|
366
|
-
.md-diagram-panel.md-mermaid .node polygon {
|
|
367
|
-
fill: #d6dfd6 !important;
|
|
368
|
-
stroke: #3d6b4a !important;
|
|
369
|
-
stroke-width: 1.5px !important;
|
|
370
|
-
}
|
|
371
|
-
.md-diagram-panel.md-mermaid .edgePath .path {
|
|
372
|
-
stroke: #6a8a74 !important;
|
|
373
|
-
stroke-width: 1.5px !important;
|
|
374
|
-
}
|
|
375
|
-
.md-diagram-panel.md-mermaid .edgeLabel {
|
|
376
|
-
background-color: #e5eae6 !important;
|
|
377
|
-
color: #333 !important;
|
|
378
|
-
}
|
|
379
|
-
.md-diagram-panel.md-mermaid .cluster rect {
|
|
380
|
-
fill: rgba(61, 107, 74, 0.12) !important;
|
|
381
|
-
stroke: #3d6b4a !important;
|
|
382
|
-
stroke-width: 1px !important;
|
|
383
|
-
stroke-dasharray: 4,4;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/* 硬编码色值覆盖 */
|
|
387
|
-
body.theme-custom .mermaid-preview svg rect[stroke="#444444"],
|
|
388
|
-
body.theme-custom .mermaid-preview svg path[stroke="#444444"],
|
|
389
|
-
body.theme-custom .mermaid-preview svg line[stroke="#444444"],
|
|
390
|
-
body.theme-custom .mermaid-preview svg rect[stroke="#000000"],
|
|
391
|
-
body.theme-custom .mermaid-preview svg path[stroke="#000000"],
|
|
392
|
-
body.theme-custom .mermaid-preview svg line[stroke="#000000"] { stroke: #3d6b4a !important; }
|
|
393
|
-
|
|
394
|
-
/* 标签 & 文本 (ColaMD) */
|
|
395
|
-
body.theme-custom .mermaid-preview svg .label text,
|
|
396
|
-
body.theme-custom .mermaid-preview svg .nodeLabel text { fill: #1a2e1f !important; }
|
|
397
|
-
body.theme-custom .mermaid-preview svg .nodeLabel span { color: #1a2e1f !important; }
|
|
398
|
-
body.theme-custom .mermaid-preview svg .edgeLabel text { fill: #1a2e1f !important; }
|
|
399
|
-
body.theme-custom .mermaid-preview svg .edgeLabel rect { fill: #e5eae6 !important; }
|
|
400
|
-
body.theme-custom .mermaid-preview svg .edgeLabel span { color: #1a2e1f !important; }
|
|
401
|
-
|
|
402
|
-
/* 文本偏移 */
|
|
403
|
-
body.theme-custom .mermaid-preview svg .label text,
|
|
404
|
-
body.theme-custom .mermaid-preview svg .nodeLabel text { transform: translateY(-3px) !important; }
|
|
405
|
-
body.theme-custom .mermaid-preview svg .titleText { transform: translateY(-1px) !important; }
|
|
406
|
-
body.theme-custom .mermaid-preview svg .xychart .axis text { transform: translateY(0) !important; }
|
|
407
|
-
body.theme-custom .mermaid-preview svg .nodeLabel,
|
|
408
|
-
body.theme-custom .mermaid-preview svg .edgeLabel {
|
|
409
|
-
display: inline-block !important;
|
|
410
|
-
position: relative !important;
|
|
411
|
-
top: -3px !important;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/* 状态图 */
|
|
415
|
-
body.theme-custom .mermaid-preview svg .statediagram-state rect,
|
|
416
|
-
body.theme-custom .mermaid-preview svg .statediagram-state circle { stroke: #3d6b4a; }
|
|
417
|
-
body.theme-custom .mermaid-preview svg .statediagram-state .nodeLabel text,
|
|
418
|
-
body.theme-custom .mermaid-preview svg .statediagram-state .nodeLabel span,
|
|
419
|
-
body.theme-custom .mermaid-preview svg .statediagram-cluster .outer-title text,
|
|
420
|
-
body.theme-custom .mermaid-preview svg .edgeLabel .label text { fill: #1a2e1f !important; color: #1a2e1f !important; }
|
|
421
|
-
body.theme-custom .mermaid-preview svg .statediagram-cluster rect { stroke: #3d6b4a; }
|
|
422
|
-
body.theme-custom .mermaid-preview svg .transition { stroke: #6a8a74; }
|
|
423
|
-
|
|
424
|
-
/* 饼图 */
|
|
425
|
-
body.theme-custom .mermaid-preview svg .pieCircle,
|
|
426
|
-
body.theme-custom .mermaid-preview svg .slice { stroke: #3d6b4a; }
|
|
427
|
-
body.theme-custom .mermaid-preview svg .pieTitleText,
|
|
428
|
-
body.theme-custom .mermaid-preview svg .legend text { fill: #1a2e1f !important; }
|
|
429
|
-
|
|
430
|
-
/* 四象限图 */
|
|
431
|
-
body.theme-custom .mermaid-preview svg .quadrant rect { stroke: #3d6b4a; }
|
|
432
|
-
body.theme-custom .mermaid-preview svg .quadrant text,
|
|
433
|
-
body.theme-custom .mermaid-preview svg .quadrant .titleText { fill: #1a2e1f !important; }
|
|
434
|
-
body.theme-custom .mermaid-preview svg .quadrant .axis text { fill: #777 !important; }
|
|
435
|
-
body.theme-custom .mermaid-preview svg .quadrant .axis line,
|
|
436
|
-
body.theme-custom .mermaid-preview svg .quadrant .axis path { stroke: #6a8a74; }
|
|
437
|
-
body.theme-custom .mermaid-preview svg .quadrant .point { fill: #3d6b4a; stroke: #3d6b4a; }
|
|
438
|
-
|
|
439
|
-
/* XY Chart */
|
|
440
|
-
body.theme-custom .mermaid-preview svg .xychart .axis text { fill: #777 !important; }
|
|
441
|
-
body.theme-custom .mermaid-preview svg .xychart .axis line,
|
|
442
|
-
body.theme-custom .mermaid-preview svg .xychart .axis path { stroke: #6a8a74; }
|
|
443
|
-
body.theme-custom .mermaid-preview svg .xychart .plot rect { stroke: #3d6b4a; }
|
|
444
|
-
body.theme-custom .mermaid-preview svg .xychart .plot line { stroke: #c4bfb5; }
|
|
445
|
-
body.theme-custom .mermaid-preview svg .xychart .titleText { fill: #1a2e1f !important; }
|
|
446
|
-
|
|
447
|
-
/* Sankey */
|
|
448
|
-
body.theme-custom .mermaid-preview svg .sankey .link { stroke: #3d6b4a; }
|
|
449
|
-
body.theme-custom .mermaid-preview svg .sankey text { fill: #1a2e1f !important; }
|
|
450
|
-
|
|
451
|
-
/* 时序图 (ColaMD) */
|
|
452
|
-
body.theme-custom .mermaid-preview svg .actor rect,
|
|
453
|
-
body.theme-custom .mermaid-preview svg .actor path { stroke: #3d6b4a; }
|
|
454
|
-
body.theme-custom .mermaid-preview svg text.actor { fill: #1a2e1f !important; }
|
|
455
|
-
body.theme-custom .mermaid-preview svg .messageLine0,
|
|
456
|
-
body.theme-custom .mermaid-preview svg .messageLine1 { stroke: #6a8a74 !important; }
|
|
457
|
-
body.theme-custom .mermaid-preview svg .messageText,
|
|
458
|
-
body.theme-custom .mermaid-preview svg .labelText,
|
|
459
|
-
body.theme-custom .mermaid-preview svg .loopText tspan,
|
|
460
|
-
body.theme-custom .mermaid-preview svg .altText tspan,
|
|
461
|
-
body.theme-custom .mermaid-preview svg .optText tspan { fill: #1a2e1f !important; }
|
|
462
|
-
body.theme-custom .mermaid-preview svg .loopText,
|
|
463
|
-
body.theme-custom .mermaid-preview svg .altText,
|
|
464
|
-
body.theme-custom .mermaid-preview svg .optText { fill: #777 !important; }
|
|
465
|
-
body.theme-custom .mermaid-preview svg .loopLine,
|
|
466
|
-
body.theme-custom .mermaid-preview svg .altLine,
|
|
467
|
-
body.theme-custom .mermaid-preview svg .optLine { stroke: #6a8a74 !important; }
|
|
468
|
-
body.theme-custom .mermaid-preview svg .labelBox { stroke: #b5b0a8; }
|
|
469
|
-
|
|
470
|
-
/* 时序图 (Typora) */
|
|
471
|
-
.md-diagram-panel.md-mermaid .actor { fill: #d6dfd6 !important; stroke: #3d6b4a !important; }
|
|
472
|
-
.md-diagram-panel.md-mermaid text.actor { fill: #1a2e1f !important; }
|
|
473
|
-
.md-diagram-panel.md-mermaid .messageLine0,
|
|
474
|
-
.md-diagram-panel.md-mermaid .messageLine1 { stroke: #6a8a74 !important; }
|
|
475
|
-
.md-diagram-panel.md-mermaid .messageText { fill: #555 !important; }
|
|
476
|
-
|
|
477
|
-
/* 类图 */
|
|
478
|
-
body.theme-custom .mermaid-preview svg .classBox rect,
|
|
479
|
-
body.theme-custom .mermaid-preview svg .classBox path { stroke: #3d6b4a; }
|
|
480
|
-
body.theme-custom .mermaid-preview svg .classTitle text,
|
|
481
|
-
body.theme-custom .mermaid-preview svg .classTitle span { fill: #1a2e1f !important; color: #1a2e1f !important; }
|
|
482
|
-
body.theme-custom .mermaid-preview svg .classText text,
|
|
483
|
-
body.theme-custom .mermaid-preview svg .classText span { fill: #555 !important; color: #555 !important; }
|
|
484
|
-
body.theme-custom .mermaid-preview svg .divider { stroke: #b5b0a8; }
|
|
485
|
-
body.theme-custom .mermaid-preview svg .relation { stroke: #6a8a74; }
|
|
486
|
-
|
|
487
|
-
/* 甘特图 (ColaMD) */
|
|
488
|
-
body.theme-custom .mermaid-preview svg .task { stroke: #3d6b4a; }
|
|
489
|
-
body.theme-custom .mermaid-preview svg .taskText,
|
|
490
|
-
body.theme-custom .mermaid-preview svg .taskTextOutsideRight,
|
|
491
|
-
body.theme-custom .mermaid-preview svg .taskTextOutsideLeft,
|
|
492
|
-
body.theme-custom .mermaid-preview svg .sectionText,
|
|
493
|
-
body.theme-custom .mermaid-preview svg .sectionTitle { fill: #1a2e1f !important; }
|
|
494
|
-
body.theme-custom .mermaid-preview svg .section rect { stroke: #b5b0a8; }
|
|
495
|
-
body.theme-custom .mermaid-preview svg .today { stroke: #3d6b4a !important; }
|
|
496
|
-
body.theme-custom .mermaid-preview svg .grid .tick line { stroke: #c4bfb5; }
|
|
497
|
-
body.theme-custom .mermaid-preview svg .grid .domain { stroke: #6a8a74; }
|
|
498
|
-
body.theme-custom .mermaid-preview svg .tick text { fill: #777; }
|
|
499
|
-
|
|
500
|
-
/* 甘特图 (Typora) */
|
|
501
|
-
.md-diagram-panel.md-mermaid .section0,
|
|
502
|
-
.md-diagram-panel.md-mermaid .section1,
|
|
503
|
-
.md-diagram-panel.md-mermaid .section2,
|
|
504
|
-
.md-diagram-panel.md-mermaid .section3 { fill: rgba(61, 107, 74, 0.14) !important; }
|
|
505
|
-
.md-diagram-panel.md-mermaid .task0,
|
|
506
|
-
.md-diagram-panel.md-mermaid .task1,
|
|
507
|
-
.md-diagram-panel.md-mermaid .task2,
|
|
508
|
-
.md-diagram-panel.md-mermaid .task3 { fill: #3d6b4a !important; stroke: #2d5538 !important; }
|
|
509
|
-
.md-diagram-panel.md-mermaid .today { stroke: #3d6b4a !important; stroke-width: 2px !important; }
|
|
510
|
-
|
|
511
|
-
/* 思维导图 */
|
|
512
|
-
body.theme-custom .mermaid-preview svg .mindmap-node rect,
|
|
513
|
-
body.theme-custom .mermaid-preview svg .mindmap-node circle,
|
|
514
|
-
body.theme-custom .mermaid-preview svg .mindmap-node ellipse,
|
|
515
|
-
body.theme-custom .mermaid-preview svg .mindmap-node polygon,
|
|
516
|
-
body.theme-custom .mermaid-preview svg .mindmap-node path { stroke: #3d6b4a; }
|
|
517
|
-
body.theme-custom .mermaid-preview svg .mindmap-node text,
|
|
518
|
-
body.theme-custom .mermaid-preview svg .mindmap-node .nodeLabel text,
|
|
519
|
-
body.theme-custom .mermaid-preview svg .mindmap-node .nodeLabel span { fill: #1a2e1f !important; color: #1a2e1f !important; }
|
|
520
|
-
body.theme-custom .mermaid-preview svg .mindmap-edge { stroke: #6a8a74; }
|
|
521
|
-
|
|
522
|
-
/* Block 图 */
|
|
523
|
-
body.theme-custom .mermaid-preview svg .block rect,
|
|
524
|
-
body.theme-custom .mermaid-preview svg .block path { stroke: #3d6b4a; }
|
|
525
|
-
body.theme-custom .mermaid-preview svg .block text,
|
|
526
|
-
body.theme-custom .mermaid-preview svg .block .nodeLabel text,
|
|
527
|
-
body.theme-custom .mermaid-preview svg .block .nodeLabel span { fill: #1a2e1f !important; color: #1a2e1f !important; }
|
|
528
|
-
|
|
529
|
-
/* ER 图 */
|
|
530
|
-
body.theme-custom .mermaid-preview svg .er .entityBox rect,
|
|
531
|
-
body.theme-custom .mermaid-preview svg .er .entityBox path { stroke: #3d6b4a; }
|
|
532
|
-
body.theme-custom .mermaid-preview svg .er text,
|
|
533
|
-
body.theme-custom .mermaid-preview svg .er .relationshipLabel { fill: #1a2e1f !important; }
|
|
534
|
-
body.theme-custom .mermaid-preview svg .er .relationshipLine { stroke: #6a8a74; }
|
|
535
|
-
|
|
536
|
-
/* Git 图 */
|
|
537
|
-
body.theme-custom .mermaid-preview svg .git .commit rect,
|
|
538
|
-
body.theme-custom .mermaid-preview svg .git .commit circle { stroke: #3d6b4a; }
|
|
539
|
-
body.theme-custom .mermaid-preview svg .git text,
|
|
540
|
-
body.theme-custom .mermaid-preview svg .git .branchLabel text { fill: #1a2e1f !important; }
|
|
541
|
-
|
|
542
|
-
/* 用户旅程图 */
|
|
543
|
-
body.theme-custom .mermaid-preview svg .journey .task rect { stroke: #3d6b4a; }
|
|
544
|
-
body.theme-custom .mermaid-preview svg .journey text { fill: #1a2e1f !important; }
|
|
545
|
-
|
|
546
|
-
/* 时间线 */
|
|
547
|
-
body.theme-custom .mermaid-preview svg .timeline rect { stroke: #3d6b4a; }
|
|
548
|
-
body.theme-custom .mermaid-preview svg .timeline text { fill: #1a2e1f !important; }
|
|
549
|
-
|
|
550
|
-
/* C4 架构图 */
|
|
551
|
-
body.theme-custom .mermaid-preview svg .c4 .person rect,
|
|
552
|
-
body.theme-custom .mermaid-preview svg .c4 .person path,
|
|
553
|
-
body.theme-custom .mermaid-preview svg .c4 .system rect,
|
|
554
|
-
body.theme-custom .mermaid-preview svg .c4 .system path,
|
|
555
|
-
body.theme-custom .mermaid-preview svg .c4 .container rect,
|
|
556
|
-
body.theme-custom .mermaid-preview svg .c4 .container path,
|
|
557
|
-
body.theme-custom .mermaid-preview svg .c4 .boundary rect,
|
|
558
|
-
body.theme-custom .mermaid-preview svg .c4 .boundary path { stroke: #3d6b4a; }
|
|
559
|
-
body.theme-custom .mermaid-preview svg .c4 text,
|
|
560
|
-
body.theme-custom .mermaid-preview svg .c4 span { fill: #1a2e1f !important; color: #1a2e1f !important; }
|
|
561
|
-
|
|
562
|
-
/* 人物节点 */
|
|
563
|
-
body.theme-custom .mermaid-preview svg .person rect,
|
|
564
|
-
body.theme-custom .mermaid-preview svg .person path { stroke: #1a2e1f; }
|
|
565
|
-
body.theme-custom .mermaid-preview svg .person-man text { fill: #ffffff !important; }
|
|
566
|
-
body.theme-custom .mermaid-preview svg .person-man span { color: #ffffff !important; }
|
|
567
|
-
|
|
568
|
-
/* ── 15. YAML 元数据 ── */
|
|
569
|
-
pre.md-meta-block,
|
|
570
|
-
body.theme-custom .frontmatter,
|
|
571
|
-
body.theme-custom .yaml-front-matter {
|
|
572
|
-
font-family: "IBM Plex Mono", "JetBrains Mono", "Fira Code", monospace;
|
|
573
|
-
font-size: 0.85em;
|
|
574
|
-
background: #e3e7e3;
|
|
575
|
-
border: 1px solid #c8d0ca;
|
|
576
|
-
border-radius: 4px;
|
|
577
|
-
padding: 14px 18px;
|
|
578
|
-
margin-bottom: 2em;
|
|
579
|
-
color: #666;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
/* ── 16. 脚注 ── */
|
|
583
|
-
.md-footnote { font-size: 0.85em; color: #3d6b4a; }
|
|
584
|
-
sup.md-footnote { background: transparent; }
|
|
585
|
-
|
|
586
|
-
/* ── 17. 目录 ── */
|
|
587
|
-
.md-toc { font-size: 0.9em; }
|
|
588
|
-
.md-toc-content { margin-left: 0; }
|
|
589
|
-
.md-toc-item { color: #1a2e1f; }
|
|
590
|
-
.md-toc-h1 .md-toc-inner { font-weight: 700; }
|
|
591
|
-
|
|
592
|
-
/* ── 18. 侧边栏 ── */
|
|
593
|
-
.sidebar-content { font-family: inherit; }
|
|
594
|
-
.file-node-content { line-height: 1.6; }
|
|
595
|
-
.file-node-title { font-size: 1em; }
|
|
596
|
-
|
|
597
|
-
/* ── 19. 聚焦模式 ── */
|
|
598
|
-
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * { color: #bbb !important; }
|
|
599
|
-
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) img { opacity: 0.5; }
|
|
600
|
-
|
|
601
|
-
/* ── 20. 搜索 & 选择 ── */
|
|
602
|
-
::selection, body.theme-custom ::selection { background: rgba(61, 107, 74, 0.18); }
|
|
603
|
-
#write .md-search-hit { background: rgba(61, 107, 74, 0.18); border-radius: 2px; }
|
|
604
|
-
|
|
605
|
-
/* ── 21. 滚动条 ── */
|
|
606
|
-
::-webkit-scrollbar,
|
|
607
|
-
body.theme-custom ::-webkit-scrollbar { width: 6px; height: 6px; }
|
|
608
|
-
::-webkit-scrollbar-thumb,
|
|
609
|
-
body.theme-custom ::-webkit-scrollbar-thumb { background: #c4c0b8; border-radius: 3px; }
|
|
610
|
-
::-webkit-scrollbar-thumb:hover,
|
|
611
|
-
body.theme-custom ::-webkit-scrollbar-thumb:hover { background: #ada9a2; }
|
|
612
|
-
::-webkit-scrollbar-track,
|
|
613
|
-
body.theme-custom ::-webkit-scrollbar-track { background: transparent; }
|
|
614
|
-
|
|
615
|
-
/* ── 22. Megamenu ── */
|
|
616
|
-
.megamenu-content { font-family: inherit; }
|
|
617
|
-
#megamenu-back-btn { color: #1a2e1f; }
|
|
618
|
-
|
|
619
|
-
/* ── 23. 大纲 ── */
|
|
620
|
-
.outline-content { font-size: 0.9em; }
|
|
621
|
-
.outline-item { padding: 4px 0; }
|
|
622
|
-
.outline-active, .outline-item:hover { color: #3d6b4a; }
|
|
623
|
-
|
|
624
|
-
/* ── 24. 工具提示 ── */
|
|
625
|
-
.ty-tooltip { font-size: 0.85em; background: #333; color: #eee; border-radius: 4px; }
|
|
626
|
-
|
|
627
|
-
/* ── 25. 打印 ── */
|
|
628
|
-
@media print {
|
|
629
|
-
html { font-size: 13px; }
|
|
630
|
-
html, body { background: #fff; }
|
|
631
|
-
#write { max-width: none; padding: 0; }
|
|
632
|
-
pre.md-fences { background: #f5f5f5; color: #333; border: 1px solid #ddd; }
|
|
633
|
-
table th { background: #f5f5f5; }
|
|
634
|
-
body.theme-custom { background: #fff !important; color: #000 !important; }
|
|
635
|
-
body.theme-custom pre {
|
|
636
|
-
background: #f5f5f5 !important;
|
|
637
|
-
color: #333 !important;
|
|
638
|
-
border: 1px solid #ddd !important;
|
|
639
|
-
}
|
|
640
|
-
body.theme-custom .math-block { background: #fafafa !important; border: 1px solid #ddd !important; }
|
|
641
|
-
body.theme-custom .mermaid-block,
|
|
642
|
-
body.theme-custom .mermaid-preview,
|
|
643
|
-
.md-diagram-panel.md-mermaid { background: #fafafa !important; border: 1px solid #ddd !important; }
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/* ── 26. 移动端适配 ── */
|
|
647
|
-
@media only screen and (max-width:768px) {
|
|
648
|
-
body.theme-custom { font-size: 15px; line-height: 1.8; }
|
|
649
|
-
body.theme-custom h1 { font-size: 1.5em; }
|
|
650
|
-
body.theme-custom h2 { font-size: 1.3em; }
|
|
651
|
-
body.theme-custom h3 { font-size: 1.15em; }
|
|
652
|
-
body.theme-custom pre { padding: 14px 16px; font-size: 0.82em; }
|
|
653
|
-
body.theme-custom table { font-size: 0.85em; }
|
|
654
|
-
body.theme-custom table th,
|
|
655
|
-
body.theme-custom table td { padding: 8px 10px; }
|
|
656
|
-
body.theme-custom blockquote { padding: 12px 14px 12px 18px; }
|
|
657
|
-
body.theme-custom .math-block { padding: 12px 0; overflow-x: auto; }
|
|
658
|
-
body.theme-custom .mermaid-block,
|
|
659
|
-
body.theme-custom .mermaid-preview,
|
|
660
|
-
.md-diagram-panel.md-mermaid { padding: 12px; margin: 1em 0; }
|
|
661
|
-
body.theme-custom .mermaid-preview svg { max-width: 100% !important; height: auto !important; }
|
|
662
|
-
body.theme-custom .mermaid-preview svg text { font-size: 10px !important; }
|
|
663
|
-
body.theme-custom .mermaid-preview svg .titleText { font-size: 12px !important; }
|
|
664
|
-
}
|