@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/pixso-design.css
DELETED
|
@@ -1,1261 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ColaMD 主题:Pixso Design (设计美学)
|
|
3
|
-
* 配色:纯净白底 + 渐变蓝紫点缀
|
|
4
|
-
* 风格:现代简约、大量留白、精致布局
|
|
5
|
-
* 兼容:ColaMD (body.theme-custom) / Typora
|
|
6
|
-
* 导入:Theme > Import Theme
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/* ── 1. 根变量 & 主题变量 ── */
|
|
10
|
-
:root {
|
|
11
|
-
--side-bar-bg-color: #f7f8fa;
|
|
12
|
-
--control-text-color: #5a6270;
|
|
13
|
-
--active-file-bg-color: #e8ecf2;
|
|
14
|
-
--active-file-text-color: #1e2330;
|
|
15
|
-
--active-file-border-color: #6366f1;
|
|
16
|
-
--bg-color: #ffffff;
|
|
17
|
-
--text-color: #2d3436;
|
|
18
|
-
--select-text-bg-color: rgba(99, 102, 241, 0.15);
|
|
19
|
-
--select-text-font-color: #1e2330;
|
|
20
|
-
--rawblock-edit-panel-bd: #e5e7eb;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
body.theme-custom {
|
|
24
|
-
--bg-color: #f8f9fb;
|
|
25
|
-
--text-color: #2d3436;
|
|
26
|
-
--heading-color: #1a1d26;
|
|
27
|
-
--border-color: #e5e7eb;
|
|
28
|
-
--code-bg: #f4f5f7;
|
|
29
|
-
--code-color: #6366f1;
|
|
30
|
-
--code-block-bg: #1e2235;
|
|
31
|
-
--code-block-text: #e4e7ed;
|
|
32
|
-
--code-block-color: #e4e7ed;
|
|
33
|
-
--blockquote-bg: #f9fafb;
|
|
34
|
-
--blockquote-border: linear-gradient(180deg, #6366f1, #8b5cf6);
|
|
35
|
-
--link-color: #6366f1;
|
|
36
|
-
--accent-color: #6366f1;
|
|
37
|
-
--accent-dark: #4f46e5;
|
|
38
|
-
--accent-light: #eef2ff;
|
|
39
|
-
--surface-color: #f9fafb;
|
|
40
|
-
--surface-alt: #f8f9fb;
|
|
41
|
-
--text-muted: #6b7280;
|
|
42
|
-
--text-dim: #9ca3af;
|
|
43
|
-
--selection-bg: rgba(99, 102, 241, 0.12);
|
|
44
|
-
--table-header-bg: #f9fafb;
|
|
45
|
-
--table-stripe: rgba(99, 102, 241, 0.03);
|
|
46
|
-
--scrollbar-thumb: #d1d5db;
|
|
47
|
-
--scrollbar-thumb-hover: #9ca3af;
|
|
48
|
-
--hr-color: #e5e7eb;
|
|
49
|
-
--mermaid-font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
50
|
-
--mermaid-font-size: 13px;
|
|
51
|
-
--mermaid-dark-mode: false;
|
|
52
|
-
--mermaid-background: linear-gradient(135deg, #f8f9fb 0%, #eef2ff 50%, #fdf4ff 100%);
|
|
53
|
-
--mermaid-primary-color: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
|
54
|
-
--mermaid-primary-border-color: #4f46e5;
|
|
55
|
-
--mermaid-primary-text-color: #ffffff;
|
|
56
|
-
--mermaid-secondary-color: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
|
|
57
|
-
--mermaid-secondary-border-color: #db2777;
|
|
58
|
-
--mermaid-secondary-text-color: #ffffff;
|
|
59
|
-
|
|
60
|
-
--mermaid-tertiary-color: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
|
|
61
|
-
--mermaid-tertiary-border-color: #0891b2;
|
|
62
|
-
--mermaid-tertiary-text-color: #ffffff;
|
|
63
|
-
--mermaid-line-color: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
|
|
64
|
-
--mermaid-text-color: #1e1b4b;
|
|
65
|
-
--mermaid-main-bkg: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
|
|
66
|
-
--mermaid-second-bkg: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
|
|
67
|
-
--mermaid-main-contrast-color: #4f46e5;
|
|
68
|
-
--mermaid-label-background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%);
|
|
69
|
-
--mermaid-label-text-color: #374151;
|
|
70
|
-
--mermaid-node-border: #4f46e5;
|
|
71
|
-
--mermaid-node-bkg: linear-gradient(145deg, #818cf8 0%, #6366f1 50%, #4f46e5 100%);
|
|
72
|
-
--mermaid-cluster-bkg: rgba(99, 102, 241, 0.08);
|
|
73
|
-
--mermaid-cluster-border: linear-gradient(90deg, #6366f1, #8b5cf6);
|
|
74
|
-
--mermaid-default-link-color: #a78bfa;
|
|
75
|
-
--mermaid-edge-label-background: linear-gradient(135deg, #dbeafe 0%, #fce7f3 100%);
|
|
76
|
-
--mermaid-arrowhead-color: #6366f1;
|
|
77
|
-
|
|
78
|
-
/* 多彩调色板 */
|
|
79
|
-
--mermaid-accent-pink: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
|
|
80
|
-
--mermaid-accent-cyan: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
|
|
81
|
-
--mermaid-accent-emerald: linear-gradient(135deg, #10b981 0%, #34d399 100%);
|
|
82
|
-
--mermaid-accent-amber: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
|
|
83
|
-
--mermaid-accent-rose: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
|
|
84
|
-
|
|
85
|
-
--mermaid-person-border: #4f46e5;
|
|
86
|
-
--mermaid-person-bkg: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
pre { --select-text-bg-color: #2d2640; --select-text-font-color: #fff; }
|
|
90
|
-
|
|
91
|
-
/* ── 2. 全局 ── */
|
|
92
|
-
html {
|
|
93
|
-
font-size: 16px;
|
|
94
|
-
-webkit-font-smoothing: antialiased;
|
|
95
|
-
-moz-osx-font-smoothing: grayscale;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
body.theme-custom,
|
|
99
|
-
html,
|
|
100
|
-
body {
|
|
101
|
-
background-color: #f8f9fb;
|
|
102
|
-
color: #2d3436;
|
|
103
|
-
font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
104
|
-
line-height: 1.85;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
body.theme-custom {
|
|
108
|
-
-webkit-font-smoothing: antialiased;
|
|
109
|
-
letter-spacing: 0.01em;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
#write {
|
|
113
|
-
max-width: 800px;
|
|
114
|
-
margin: 0 auto;
|
|
115
|
-
padding: 40px 60px 120px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
#write > ul:first-child,
|
|
119
|
-
#write > ol:first-child {
|
|
120
|
-
margin-top: 40px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@media only screen and (min-width:1400px) {
|
|
124
|
-
#write { max-width: 900px; }
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@media only screen and (max-width:768px) {
|
|
128
|
-
#write { padding: 30px 25px 80px; }
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* ── 3. 标题 ── */
|
|
132
|
-
h1, h2, h3, h4, h5, h6,
|
|
133
|
-
body.theme-custom h1, body.theme-custom h2, body.theme-custom h3,
|
|
134
|
-
body.theme-custom h4, body.theme-custom h5, body.theme-custom h6 {
|
|
135
|
-
position: relative;
|
|
136
|
-
color: #1a1d26;
|
|
137
|
-
font-weight: 700;
|
|
138
|
-
line-height: 1.35;
|
|
139
|
-
margin-top: 2.2em;
|
|
140
|
-
margin-bottom: 0.75em;
|
|
141
|
-
letter-spacing: -0.02em;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
h1, body.theme-custom h1 {
|
|
145
|
-
font-size: 2em;
|
|
146
|
-
padding-bottom: 0.35em;
|
|
147
|
-
cursor: text;
|
|
148
|
-
background: linear-gradient(135deg, #1a1d26 0%, #4338ca 100%);
|
|
149
|
-
-webkit-background-clip: text;
|
|
150
|
-
background-clip: text;
|
|
151
|
-
-webkit-text-fill-color: transparent;
|
|
152
|
-
color: #1a1d26;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
h2, body.theme-custom h2 {
|
|
156
|
-
font-size: 1.55em;
|
|
157
|
-
padding-bottom: 0.25em;
|
|
158
|
-
cursor: text;
|
|
159
|
-
border-bottom: none;
|
|
160
|
-
position: relative;
|
|
161
|
-
display: block;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
h2::after,
|
|
165
|
-
body.theme-custom h2::after {
|
|
166
|
-
content: '';
|
|
167
|
-
position: absolute;
|
|
168
|
-
left: 0;
|
|
169
|
-
bottom: 0.15em;
|
|
170
|
-
width: 60%;
|
|
171
|
-
height: 3px;
|
|
172
|
-
background: linear-gradient(90deg, #6366f1, #8b5cf6);
|
|
173
|
-
border-radius: 2px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
h3, body.theme-custom h3 {
|
|
177
|
-
font-size: 1.28em;
|
|
178
|
-
cursor: text;
|
|
179
|
-
color: #283149;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
h4, body.theme-custom h4 {
|
|
183
|
-
font-size: 1.12em;
|
|
184
|
-
cursor: text;
|
|
185
|
-
font-weight: 600;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
h5, body.theme-custom h5 {
|
|
189
|
-
font-size: 1em;
|
|
190
|
-
cursor: text;
|
|
191
|
-
font-weight: 600;
|
|
192
|
-
color: #374151;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
h6, body.theme-custom h6 {
|
|
196
|
-
font-size: 0.92em;
|
|
197
|
-
color: #6b7280;
|
|
198
|
-
cursor: text;
|
|
199
|
-
font-weight: 500;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor,
|
|
203
|
-
h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor {
|
|
204
|
-
text-decoration: none;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/* ── 4. 内联元素 ── */
|
|
208
|
-
p {
|
|
209
|
-
margin: 1em 0;
|
|
210
|
-
line-height: 1.85;
|
|
211
|
-
text-align: justify;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
strong, body.theme-custom strong {
|
|
215
|
-
color: #4338ca;
|
|
216
|
-
font-weight: 700;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
em, body.theme-custom em {
|
|
220
|
-
font-style: italic;
|
|
221
|
-
color: #4b5563;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
em strong, strong em,
|
|
225
|
-
body.theme-custom em strong, body.theme-custom strong em {
|
|
226
|
-
color: #4338ca;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
a, body.theme-custom a {
|
|
230
|
-
color: #6366f1;
|
|
231
|
-
text-decoration: none;
|
|
232
|
-
transition: all 0.2s ease;
|
|
233
|
-
border-bottom: 1px solid transparent;
|
|
234
|
-
border-bottom-color: rgba(99, 102, 241, 0.35);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
a:hover, body.theme-custom a:hover {
|
|
238
|
-
color: #4f46e5;
|
|
239
|
-
border-bottom-color: #4f46e5;
|
|
240
|
-
text-decoration: none;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
u, body.theme-custom u {
|
|
244
|
-
text-decoration: none;
|
|
245
|
-
border-bottom: 2px solid #6366f1;
|
|
246
|
-
padding-bottom: 1px;
|
|
247
|
-
opacity: 0.85;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
mark, body.theme-custom mark {
|
|
251
|
-
background: linear-gradient(120deg, rgba(99, 102, 241, 0.14) 0%, rgba(139, 92, 246, 0.14) 100%);
|
|
252
|
-
color: #2d3436;
|
|
253
|
-
padding: 2px 6px;
|
|
254
|
-
border-radius: 3px;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
del, s {
|
|
258
|
-
color: #9ca3af;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/* ── 5. 引用�?── */
|
|
262
|
-
blockquote, body.theme-custom blockquote {
|
|
263
|
-
margin: 1.8em 0;
|
|
264
|
-
padding: 20px 24px 20px 28px;
|
|
265
|
-
border-left: none;
|
|
266
|
-
position: relative;
|
|
267
|
-
background: linear-gradient(135deg, #f8f9ff 0%, #fdf4ff 100%);
|
|
268
|
-
color: #4b5563;
|
|
269
|
-
border-radius: 10px;
|
|
270
|
-
box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
blockquote::before,
|
|
274
|
-
body.theme-custom blockquote::before {
|
|
275
|
-
content: '';
|
|
276
|
-
position: absolute;
|
|
277
|
-
left: 0;
|
|
278
|
-
top: 0;
|
|
279
|
-
bottom: 0;
|
|
280
|
-
width: 4px;
|
|
281
|
-
background: linear-gradient(180deg, #6366f1, #8b5cf6);
|
|
282
|
-
border-radius: 10px 0 0 10px;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
blockquote p, body.theme-custom blockquote p {
|
|
286
|
-
margin: 0.6em 0;
|
|
287
|
-
line-height: 1.75;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/* ── 6. 分割�?── */
|
|
291
|
-
hr, body.theme-custom hr {
|
|
292
|
-
border: none;
|
|
293
|
-
height: 1px;
|
|
294
|
-
margin: 3em 0;
|
|
295
|
-
background: linear-gradient(90deg, transparent, #e5e7eb 50%, transparent);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/* ── 7. 列表 ── */
|
|
299
|
-
ul, ol, body.theme-custom ul, body.theme-custom ol {
|
|
300
|
-
padding-left: 1.9em;
|
|
301
|
-
margin: 1em 0;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
li, body.theme-custom li {
|
|
305
|
-
margin: 0.45em 0;
|
|
306
|
-
line-height: 1.78;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
ul li {
|
|
310
|
-
list-style-type: disc;
|
|
311
|
-
list-style-position: outside;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
ol li {
|
|
315
|
-
list-style-type: decimal;
|
|
316
|
-
list-style-position: outside;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.md-task-list-item > input {
|
|
320
|
-
margin-left: -1.3em;
|
|
321
|
-
margin-top: 0.32em;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/* ── 8. 内联代码 ── */
|
|
325
|
-
code, tt,
|
|
326
|
-
body.theme-custom code, body.theme-custom tt {
|
|
327
|
-
font-family: "JetBrains Mono", "Fira Code", "SF Mono", Menlo, Consolas, monospace;
|
|
328
|
-
font-size: 0.88em;
|
|
329
|
-
padding: 3px 7px;
|
|
330
|
-
margin: 0 2px;
|
|
331
|
-
background: #f4f5f7;
|
|
332
|
-
border-radius: 5px;
|
|
333
|
-
color: #6366f1;
|
|
334
|
-
border: 1px solid rgba(99, 102, 241, 0.08);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/* ── 9. 代码�?── */
|
|
338
|
-
pre.md-fences {
|
|
339
|
-
font-family: "JetBrains Mono", "Fira Code", "SF Mono", Menlo, Consolas, monospace;
|
|
340
|
-
font-size: 0.88em;
|
|
341
|
-
line-height: 1.68;
|
|
342
|
-
background: linear-gradient(145deg, #1e2235 0%, #2a2040 100%);
|
|
343
|
-
color: #e4e7ed;
|
|
344
|
-
padding: 22px 26px;
|
|
345
|
-
border-radius: 10px;
|
|
346
|
-
margin: 1.8em 0;
|
|
347
|
-
overflow-x: auto;
|
|
348
|
-
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.05);
|
|
349
|
-
border: 1px solid rgba(99, 102, 241, 0.15);
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
pre.md-fences code {
|
|
353
|
-
background: transparent;
|
|
354
|
-
color: inherit;
|
|
355
|
-
padding: 0;
|
|
356
|
-
margin: 0;
|
|
357
|
-
border-radius: 0;
|
|
358
|
-
border: none;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
body.theme-custom #editor .ProseMirror pre {
|
|
362
|
-
font-family: "JetBrains Mono", "Fira Code", "SF Mono", Menlo, Consolas, monospace;
|
|
363
|
-
font-size: 0.88em;
|
|
364
|
-
line-height: 1.68;
|
|
365
|
-
background: linear-gradient(145deg, #1e2235 0%, #2a2040 100%) !important;
|
|
366
|
-
color: #e4e7ed !important;
|
|
367
|
-
padding: 22px 26px;
|
|
368
|
-
border-radius: 10px;
|
|
369
|
-
margin: 1.8em 0;
|
|
370
|
-
overflow-x: auto;
|
|
371
|
-
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.05);
|
|
372
|
-
border: 1px solid rgba(99, 102, 241, 0.15);
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
body.theme-custom #editor .ProseMirror pre code {
|
|
376
|
-
background: transparent !important;
|
|
377
|
-
color: inherit !important;
|
|
378
|
-
padding: 0;
|
|
379
|
-
margin: 0;
|
|
380
|
-
border-radius: 0;
|
|
381
|
-
border: none;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
/* ── 10. 代码语法高亮 ── */
|
|
385
|
-
.cm-s-inner {
|
|
386
|
-
font-family: "JetBrains Mono", "Fira Code", "SF Mono", monospace;
|
|
387
|
-
font-size: 0.9em;
|
|
388
|
-
line-height: 1.68;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/* 注释 / 引用 / 分隔�?*/
|
|
392
|
-
body.theme-custom .token.comment, body.theme-custom .token.prolog,
|
|
393
|
-
body.theme-custom .token.doctype, body.theme-custom .token.cdata,
|
|
394
|
-
.cm-s-inner .cm-comment, .cm-s-inner .cm-quote, .cm-s-inner .cm-hr {
|
|
395
|
-
color: #7c83a6;
|
|
396
|
-
font-style: italic;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/* 标点 / 元数�?*/
|
|
400
|
-
body.theme-custom .token.punctuation, .cm-s-inner .cm-meta {
|
|
401
|
-
color: #9ca3be;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/* 关键�?(粗体) */
|
|
405
|
-
body.theme-custom .token.keyword, body.theme-custom .token.important,
|
|
406
|
-
.cm-s-inner .cm-keyword {
|
|
407
|
-
color: #a78bfa;
|
|
408
|
-
font-weight: 700;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/* 布尔 / 内建 / 标签 / 选择�?/ 常量 / 删除 / 原子 / 错误 */
|
|
412
|
-
body.theme-custom .token.boolean, body.theme-custom .token.builtin,
|
|
413
|
-
body.theme-custom .token.tag, body.theme-custom .token.selector,
|
|
414
|
-
body.theme-custom .token.constant, body.theme-custom .token.deleted,
|
|
415
|
-
.cm-s-inner .cm-atom, .cm-s-inner .cm-builtin,
|
|
416
|
-
.cm-s-inner .cm-tag, .cm-s-inner .cm-error {
|
|
417
|
-
color: #f472b6;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
/* 字符�?/ 属性�?/ 符号 / 插入 */
|
|
421
|
-
body.theme-custom .token.string, body.theme-custom .token.attr-value,
|
|
422
|
-
body.theme-custom .token.symbol, body.theme-custom .token.inserted,
|
|
423
|
-
.cm-s-inner .cm-string {
|
|
424
|
-
color: #34d399;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/* 数字 */
|
|
428
|
-
body.theme-custom .token.number, .cm-s-inner .cm-number {
|
|
429
|
-
color: #fbbf24;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
/* 函数 / 类名 / 变量 / 属性名 / 实体 / 定义 */
|
|
433
|
-
body.theme-custom .token.function, body.theme-custom .token.class-name,
|
|
434
|
-
body.theme-custom .token.variable, body.theme-custom .token.attr-name,
|
|
435
|
-
body.theme-custom .token.property, body.theme-custom .token.entity,
|
|
436
|
-
.cm-s-inner .cm-def, .cm-s-inner .cm-variable-2,
|
|
437
|
-
.cm-s-inner .cm-attribute, .cm-s-inner .cm-property,
|
|
438
|
-
.cm-s-inner .cm-header {
|
|
439
|
-
color: #60a5fa;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
.cm-s-inner .cm-header {
|
|
443
|
-
font-weight: 700;
|
|
444
|
-
}
|
|
445
|
-
body.theme-custom .token.url, .cm-s-inner .cm-link {
|
|
446
|
-
color: #60a5fa;
|
|
447
|
-
text-decoration: underline;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/* 运算�?*/
|
|
451
|
-
body.theme-custom .token.operator, .cm-s-inner .cm-operator {
|
|
452
|
-
color: #94a3b8;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
/* 正则 / 代码文本�?*/
|
|
456
|
-
body.theme-custom .token.regex { color: #fb923c; }
|
|
457
|
-
.cm-s-inner .cm-variable { color: #e4e7ed; }
|
|
458
|
-
|
|
459
|
-
/* ── 11. 表格 ── */
|
|
460
|
-
table, body.theme-custom table {
|
|
461
|
-
width: 100%;
|
|
462
|
-
border-collapse: collapse;
|
|
463
|
-
margin: 1.8em 0;
|
|
464
|
-
font-size: 0.93em;
|
|
465
|
-
border-radius: 10px;
|
|
466
|
-
overflow: hidden;
|
|
467
|
-
box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
468
|
-
border: 2px solid #c7d2fe;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
table th, body.theme-custom table th {
|
|
472
|
-
background: linear-gradient(180deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
|
|
473
|
-
font-weight: 700;
|
|
474
|
-
color: #ffffff;
|
|
475
|
-
padding: 14px 20px;
|
|
476
|
-
border-right: 1px solid rgba(255, 255, 255, 0.15);
|
|
477
|
-
border-bottom: 3px solid #3730a3;
|
|
478
|
-
text-align: left;
|
|
479
|
-
font-size: 0.95em;
|
|
480
|
-
letter-spacing: 0.02em;
|
|
481
|
-
text-transform: uppercase;
|
|
482
|
-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
483
|
-
position: relative;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
table th:last-child,
|
|
487
|
-
body.theme-custom table th:last-child {
|
|
488
|
-
border-right: none;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
table th::before,
|
|
492
|
-
body.theme-custom table th::before {
|
|
493
|
-
content: '';
|
|
494
|
-
position: absolute;
|
|
495
|
-
left: 0;
|
|
496
|
-
top: 0;
|
|
497
|
-
bottom: 0;
|
|
498
|
-
width: 3px;
|
|
499
|
-
background: linear-gradient(180deg, #fbbf24, #f59e0b);
|
|
500
|
-
opacity: 0.9;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
table td, body.theme-custom table td {
|
|
504
|
-
padding: 13px 20px;
|
|
505
|
-
border-right: 1px solid #e5e7eb;
|
|
506
|
-
border-bottom: 1px solid #e5e7eb;
|
|
507
|
-
transition: all 0.25s ease;
|
|
508
|
-
color: #374151;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
table td:last-child,
|
|
512
|
-
body.theme-custom table td:last-child {
|
|
513
|
-
border-right: none;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
table tr:last-child td,
|
|
517
|
-
body.theme-custom table tr:last-child td {
|
|
518
|
-
border-bottom: none;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
/* 斑马纹效果 */
|
|
522
|
-
table tbody tr:nth-child(even) td,
|
|
523
|
-
body.theme-custom table tbody tr:nth-child(even) td {
|
|
524
|
-
background-color: rgba(99, 102, 241, 0.03);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
table tbody tr:nth-child(odd) td,
|
|
528
|
-
body.theme-custom table tbody tr:nth-child(odd) td {
|
|
529
|
-
background-color: #ffffff;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
/* 悬停效果 */
|
|
533
|
-
table tbody tr:hover td,
|
|
534
|
-
body.theme-custom table tbody tr:hover td {
|
|
535
|
-
background: linear-gradient(90deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.04));
|
|
536
|
-
color: #1e1b4b;
|
|
537
|
-
transform: scale(1.005);
|
|
538
|
-
box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
/* ── 12. 图片 ── */
|
|
542
|
-
img, body.theme-custom img {
|
|
543
|
-
max-width: 100%;
|
|
544
|
-
border-radius: 10px;
|
|
545
|
-
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
img:hover, body.theme-custom img:hover {
|
|
549
|
-
transform: scale(1.01);
|
|
550
|
-
box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
p > img:only-child, body.theme-custom p > img:only-child {
|
|
554
|
-
display: block;
|
|
555
|
-
margin: 2em auto;
|
|
556
|
-
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
body.theme-custom figure {
|
|
560
|
-
margin: 2em 0;
|
|
561
|
-
text-align: center;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
body.theme-custom figcaption {
|
|
565
|
-
font-size: 0.89em;
|
|
566
|
-
color: var(--text-muted);
|
|
567
|
-
margin-top: 0.8em;
|
|
568
|
-
font-style: italic;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/* ── 13. 数学公式 ── */
|
|
572
|
-
|
|
573
|
-
/* ColaMD */
|
|
574
|
-
body.theme-custom .math-block {
|
|
575
|
-
background: linear-gradient(135deg, #f8f9ff 0%, #fef4ff 100%);
|
|
576
|
-
padding: 20px 0;
|
|
577
|
-
margin: 1.8em 0;
|
|
578
|
-
border-radius: 10px;
|
|
579
|
-
border: 1px solid rgba(99, 102, 241, 0.1);
|
|
580
|
-
text-align: center;
|
|
581
|
-
overflow-x: auto;
|
|
582
|
-
box-shadow: 0 2px 12px rgba(99, 102, 241, 0.05);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
body.theme-custom .math-block .katex,
|
|
586
|
-
body.theme-custom .math-block .katex-display,
|
|
587
|
-
body.theme-custom .math-block .MathJax,
|
|
588
|
-
body.theme-custom .math-block .katex *,
|
|
589
|
-
body.theme-custom .math-block .MathJax *,
|
|
590
|
-
body.theme-custom .math-block .katex .mord,
|
|
591
|
-
body.theme-custom .math-block .katex .mbin,
|
|
592
|
-
body.theme-custom .math-block .katex .mrel,
|
|
593
|
-
body.theme-custom .math-block .katex .mopen,
|
|
594
|
-
body.theme-custom .math-block .katex .mclose,
|
|
595
|
-
body.theme-custom .math-block .katex .mpunct,
|
|
596
|
-
body.theme-custom .math-block .katex .minner {
|
|
597
|
-
color: #2d3436 !important;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/* Typora */
|
|
601
|
-
.md-math-block, .MathJax_Display {
|
|
602
|
-
margin: 1.8em 0 !important;
|
|
603
|
-
text-align: center;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
.md-inline-math, .md-inline-math script, .md-math-inline, .MathJax {
|
|
607
|
-
color: #2d3436;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
.MathJax svg, .MathJax_Display svg {
|
|
611
|
-
fill: currentColor;
|
|
612
|
-
stroke: currentColor;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
/* ── 14. Mermaid ── */
|
|
616
|
-
|
|
617
|
-
/* 容器 */
|
|
618
|
-
.md-diagram-panel { margin: 1.8em 0; }
|
|
619
|
-
|
|
620
|
-
.md-diagram-panel.md-mermaid,
|
|
621
|
-
body.theme-custom .mermaid-block {
|
|
622
|
-
background: linear-gradient(135deg, #f8f9fb 0%, #eef2ff 30%, #fdf4ff 60%, #fce7f3 100%);
|
|
623
|
-
border: none;
|
|
624
|
-
border-radius: 16px;
|
|
625
|
-
padding: 28px;
|
|
626
|
-
margin: 1.8em 0;
|
|
627
|
-
box-shadow:
|
|
628
|
-
0 8px 32px rgba(99, 102, 241, 0.12),
|
|
629
|
-
0 2px 8px rgba(139, 92, 246, 0.08),
|
|
630
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
body.theme-custom .mermaid-preview {
|
|
634
|
-
background: transparent;
|
|
635
|
-
border: none;
|
|
636
|
-
padding: 0;
|
|
637
|
-
margin: 0;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.md-diagram-panel.md-mermaid svg,
|
|
641
|
-
body.theme-custom .mermaid-preview svg {
|
|
642
|
-
max-width: 100%;
|
|
643
|
-
height: auto;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/* 全局字体 */
|
|
647
|
-
.md-diagram-panel.md-mermaid svg text,
|
|
648
|
-
body.theme-custom .mermaid-preview svg text {
|
|
649
|
-
fill: #1e1b4b;
|
|
650
|
-
font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
body.theme-custom .mermaid-preview svg .nodeLabel span,
|
|
654
|
-
body.theme-custom .mermaid-preview svg .edgeLabel span {
|
|
655
|
-
font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
body.theme-custom .mermaid-preview svg foreignObject span {
|
|
659
|
-
color: #1e1b4b !important;
|
|
660
|
-
font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif !important;
|
|
661
|
-
font-size: 14px !important;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
.md-diagram-panel.md-mermaid .node .label {
|
|
665
|
-
color: #1e1b4b !important;
|
|
666
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/* 通用节点 & 连线 (ColaMD) */
|
|
670
|
-
body.theme-custom .mermaid-preview svg .node rect,
|
|
671
|
-
body.theme-custom .mermaid-preview svg .node circle,
|
|
672
|
-
body.theme-custom .mermaid-preview svg .node ellipse,
|
|
673
|
-
body.theme-custom .mermaid-preview svg .node polygon,
|
|
674
|
-
body.theme-custom .mermaid-preview svg .node path {
|
|
675
|
-
stroke: #4f46e5;
|
|
676
|
-
stroke-width: 2px;
|
|
677
|
-
fill: url(#nodeGradient) !important;
|
|
678
|
-
filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.25));
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
body.theme-custom .mermaid-preview svg defs {
|
|
682
|
-
display: block;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
body.theme-custom .mermaid-preview svg defs::after {
|
|
686
|
-
content: '';
|
|
687
|
-
display: none;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
body.theme-custom .mermaid-preview svg .edgePath .path {
|
|
691
|
-
stroke: url(#lineGradient);
|
|
692
|
-
stroke-width: 2.5px;
|
|
693
|
-
fill: none;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
body.theme-custom .mermaid-preview svg .cluster rect,
|
|
697
|
-
body.theme-custom .mermaid-preview svg .cluster path {
|
|
698
|
-
stroke: #8b5cf6;
|
|
699
|
-
stroke-width: 2px;
|
|
700
|
-
fill: rgba(139, 92, 246, 0.06);
|
|
701
|
-
stroke-dasharray: 8, 4;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
body.theme-custom .mermaid-preview svg defs marker path {
|
|
705
|
-
fill: #6366f1;
|
|
706
|
-
stroke: #6366f1;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
/* 通用节点 & 连线 (Typora) */
|
|
710
|
-
.md-diagram-panel.md-mermaid .node rect,
|
|
711
|
-
.md-diagram-panel.md-mermaid .node circle,
|
|
712
|
-
.md-diagram-panel.md-mermaid .node ellipse,
|
|
713
|
-
.md-diagram-panel.md-mermaid .node polygon {
|
|
714
|
-
fill: #818cf8 !important;
|
|
715
|
-
stroke: #4f46e5 !important;
|
|
716
|
-
stroke-width: 2px !important;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
.md-diagram-panel.md-mermaid .edgePath .path {
|
|
720
|
-
stroke: #6366f1 !important;
|
|
721
|
-
stroke-width: 2.5px !important;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
.md-diagram-panel.md-mermaid .edgeLabel {
|
|
725
|
-
background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%) !important;
|
|
726
|
-
color: #4c1d95 !important;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
.md-diagram-panel.md-mermaid .cluster rect {
|
|
730
|
-
fill: rgba(139, 92, 246, 0.1) !important;
|
|
731
|
-
stroke: #8b5cf6 !important;
|
|
732
|
-
stroke-width: 2px !important;
|
|
733
|
-
stroke-dasharray: 8, 4;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
/* 硬编码色值覆�?*/
|
|
737
|
-
body.theme-custom .mermaid-preview svg rect[stroke="#444444"],
|
|
738
|
-
body.theme-custom .mermaid-preview svg path[stroke="#444444"],
|
|
739
|
-
body.theme-custom .mermaid-preview svg line[stroke="#444444"],
|
|
740
|
-
body.theme-custom .mermaid-preview svg rect[stroke="#000000"],
|
|
741
|
-
body.theme-custom .mermaid-preview svg path[stroke="#000000"],
|
|
742
|
-
body.theme-custom .mermaid-preview svg line[stroke="#000000"] {
|
|
743
|
-
stroke: #4f46e5 !important;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
/* 标签 & 文本 (ColaMD) */
|
|
747
|
-
body.theme-custom .mermaid-preview svg .label text,
|
|
748
|
-
body.theme-custom .mermaid-preview svg .nodeLabel text {
|
|
749
|
-
fill: #1e1b4b !important;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
body.theme-custom .mermaid-preview svg .nodeLabel span {
|
|
753
|
-
color: #1e1b4b !important;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
body.theme-custom .mermaid-preview svg .edgeLabel text {
|
|
757
|
-
fill: #4c1d95 !important;
|
|
758
|
-
font-weight: 600;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
body.theme-custom .mermaid-preview svg .edgeLabel rect {
|
|
762
|
-
fill: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%) !important;
|
|
763
|
-
stroke: #f59e0b !important;
|
|
764
|
-
stroke-width: 1.5px;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
body.theme-custom .mermaid-preview svg .edgeLabel span {
|
|
768
|
-
color: #4c1d95 !important;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
/* 文本偏移 */
|
|
772
|
-
body.theme-custom .mermaid-preview svg .label text,
|
|
773
|
-
body.theme-custom .mermaid-preview svg .nodeLabel text {
|
|
774
|
-
transform: translateY(-3px) !important;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
body.theme-custom .mermaid-preview svg .titleText {
|
|
778
|
-
transform: translateY(-1px) !important;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
body.theme-custom .mermaid-preview svg .xychart .axis text {
|
|
782
|
-
transform: translateY(0) !important;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
body.theme-custom .mermaid-preview svg .nodeLabel,
|
|
786
|
-
body.theme-custom .mermaid-preview svg .edgeLabel {
|
|
787
|
-
display: inline-block !important;
|
|
788
|
-
position: relative !important;
|
|
789
|
-
top: -3px !important;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
/* 状态图 */
|
|
793
|
-
body.theme-custom .mermaid-preview svg .statediagram-state rect,
|
|
794
|
-
body.theme-custom .mermaid-preview svg .statediagram-state circle {
|
|
795
|
-
stroke: #ec4899;
|
|
796
|
-
stroke-width: 2.5px;
|
|
797
|
-
fill: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
|
|
798
|
-
filter: drop-shadow(0 3px 6px rgba(236, 72, 153, 0.3));
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
body.theme-custom .mermaid-preview svg .statediagram-state .nodeLabel text,
|
|
802
|
-
body.theme-custom .mermaid-preview svg .statediagram-state .nodeLabel span,
|
|
803
|
-
body.theme-custom .mermaid-preview svg .statediagram-cluster .outer-title text,
|
|
804
|
-
body.theme-custom .mermaid-preview svg .edgeLabel .label text {
|
|
805
|
-
fill: #ffffff !important;
|
|
806
|
-
color: #ffffff !important;
|
|
807
|
-
font-weight: 600;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
body.theme-custom .mermaid-preview svg .statediagram-cluster rect {
|
|
811
|
-
stroke: #6366f1;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
body.theme-custom .mermaid-preview svg .transition {
|
|
815
|
-
stroke: #c7d2fe;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
/* 饼图 */
|
|
819
|
-
body.theme-custom .mermaid-preview svg .pieCircle,
|
|
820
|
-
body.theme-custom .mermaid-preview svg .slice {
|
|
821
|
-
stroke: #ffffff;
|
|
822
|
-
stroke-width: 2px;
|
|
823
|
-
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
body.theme-custom .mermaid-preview svg .pieTitleText,
|
|
827
|
-
body.theme-custom .mermaid-preview svg .legend text {
|
|
828
|
-
fill: #1e1b4b !important;
|
|
829
|
-
font-weight: 600;
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/* 四象限图 */
|
|
833
|
-
body.theme-custom .mermaid-preview svg .quadrant rect {
|
|
834
|
-
stroke: #6366f1;
|
|
835
|
-
stroke-width: 2px;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
body.theme-custom .mermaid-preview svg .quadrant text,
|
|
839
|
-
body.theme-custom .mermaid-preview svg .quadrant .titleText {
|
|
840
|
-
fill: #1e1b4b !important;
|
|
841
|
-
font-weight: 700;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
body.theme-custom .mermaid-preview svg .quadrant .axis text {
|
|
845
|
-
fill: #374151 !important;
|
|
846
|
-
font-weight: 500;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
body.theme-custom .mermaid-preview svg .quadrant .axis line,
|
|
850
|
-
body.theme-custom .mermaid-preview svg .quadrant .axis path {
|
|
851
|
-
stroke: #8b5cf6;
|
|
852
|
-
stroke-width: 2px;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
body.theme-custom .mermaid-preview svg .quadrant .point {
|
|
856
|
-
fill: #ec4899;
|
|
857
|
-
stroke: #ffffff;
|
|
858
|
-
stroke-width: 2px;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
/* XY Chart */
|
|
862
|
-
body.theme-custom .mermaid-preview svg .xychart .axis text {
|
|
863
|
-
fill: #4b5563 !important;
|
|
864
|
-
font-weight: 500;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
body.theme-custom .mermaid-preview svg .xychart .axis line,
|
|
868
|
-
body.theme-custom .mermaid-preview svg .xychart .axis path {
|
|
869
|
-
stroke: #8b5cf6;
|
|
870
|
-
stroke-width: 2px;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
body.theme-custom .mermaid-preview svg .xychart .plot rect {
|
|
874
|
-
stroke: #4f46e5;
|
|
875
|
-
stroke-width: 2px;
|
|
876
|
-
fill: linear-gradient(180deg, #818cf8 0%, #6366f1 50%, #4f46e5 100%) !important;
|
|
877
|
-
filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.25));
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
body.theme-custom .mermaid-preview svg .xychart .plot line {
|
|
881
|
-
stroke: #a78bfa;
|
|
882
|
-
stroke-width: 2.5px;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
body.theme-custom .mermaid-preview svg .xychart .titleText {
|
|
886
|
-
fill: #1e1b4b !important;
|
|
887
|
-
font-weight: 700;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
/* Sankey */
|
|
891
|
-
body.theme-custom .mermaid-preview svg .sankey .link {
|
|
892
|
-
stroke: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
|
|
893
|
-
stroke-opacity: 0.5;
|
|
894
|
-
fill: none;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
body.theme-custom .mermaid-preview svg .sankey text {
|
|
898
|
-
fill: #1e1b4b !important;
|
|
899
|
-
font-weight: 600;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
/* 时序图 (ColaMD) */
|
|
903
|
-
body.theme-custom .mermaid-preview svg .actor rect,
|
|
904
|
-
body.theme-custom .mermaid-preview svg .actor path {
|
|
905
|
-
stroke: #06b6d4;
|
|
906
|
-
stroke-width: 2.5px;
|
|
907
|
-
fill: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%) !important;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
body.theme-custom .mermaid-preview svg text.actor {
|
|
911
|
-
fill: #ffffff !important;
|
|
912
|
-
font-weight: 700;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
body.theme-custom .mermaid-preview svg .messageLine0,
|
|
916
|
-
body.theme-custom .mermaid-preview svg .messageLine1 {
|
|
917
|
-
stroke: #8b5cf6 !important;
|
|
918
|
-
stroke-width: 2.5px;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
body.theme-custom .mermaid-preview svg .messageText,
|
|
922
|
-
body.theme-custom .mermaid-preview svg .labelText,
|
|
923
|
-
body.theme-custom .mermaid-preview svg .loopText tspan,
|
|
924
|
-
body.theme-custom .mermaid-preview svg .altText tspan,
|
|
925
|
-
body.theme-custom .mermaid-preview svg .optText tspan {
|
|
926
|
-
fill: #1e1b4b !important;
|
|
927
|
-
font-weight: 600;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
body.theme-custom .mermaid-preview svg .loopText,
|
|
931
|
-
body.theme-custom .mermaid-preview svg .altText,
|
|
932
|
-
body.theme-custom .mermaid-preview svg .optText {
|
|
933
|
-
fill: #9ca3af !important;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
body.theme-custom .mermaid-preview svg .loopLine,
|
|
937
|
-
body.theme-custom .mermaid-preview svg .altLine,
|
|
938
|
-
body.theme-custom .mermaid-preview svg .optLine {
|
|
939
|
-
stroke: #6366f1 !important;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
body.theme-custom .mermaid-preview svg .labelBox {
|
|
943
|
-
stroke: #f59e0b;
|
|
944
|
-
stroke-width: 2px;
|
|
945
|
-
fill: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
/* 时序图 (Typora) */
|
|
949
|
-
.md-diagram-panel.md-mermaid .actor {
|
|
950
|
-
fill: #22d3ee !important;
|
|
951
|
-
stroke: #06b6d4 !important;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
.md-diagram-panel.md-mermaid text.actor {
|
|
955
|
-
fill: #ffffff !important;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
.md-diagram-panel.md-mermaid .messageLine0,
|
|
959
|
-
.md-diagram-panel.md-mermaid .messageLine1 {
|
|
960
|
-
stroke: #6366f1 !important;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
.md-diagram-panel.md-mermaid .messageText {
|
|
964
|
-
fill: #6b7280 !important;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/* 类图 */
|
|
968
|
-
body.theme-custom .mermaid-preview svg .classBox rect,
|
|
969
|
-
body.theme-custom .mermaid-preview svg .classBox path {
|
|
970
|
-
stroke: #8b5cf6;
|
|
971
|
-
stroke-width: 2px;
|
|
972
|
-
fill: linear-gradient(180deg, #ddd6fe 0%, #c4b5fd 100%) !important;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
body.theme-custom .mermaid-preview svg .classTitle text,
|
|
976
|
-
body.theme-custom .mermaid-preview svg .classTitle span {
|
|
977
|
-
fill: #4c1d95 !important;
|
|
978
|
-
color: #4c1d95 !important;
|
|
979
|
-
font-weight: 700;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
body.theme-custom .mermaid-preview svg .classText text,
|
|
983
|
-
body.theme-custom .mermaid-preview svg .classText span {
|
|
984
|
-
fill: #5b21b6 !important;
|
|
985
|
-
color: #5b21b6 !important;
|
|
986
|
-
font-weight: 500;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
body.theme-custom .mermaid-preview svg .divider {
|
|
990
|
-
stroke: #e5e7eb;
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
body.theme-custom .mermaid-preview svg .relation {
|
|
994
|
-
stroke: #6366f1;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
/* 甘特图 (ColaMD) */
|
|
998
|
-
body.theme-custom .mermaid-preview svg .task {
|
|
999
|
-
stroke: #10b981;
|
|
1000
|
-
stroke-width: 2px;
|
|
1001
|
-
fill: linear-gradient(90deg, #34d399 0%, #10b981 100%) !important;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
body.theme-custom .mermaid-preview svg .taskText,
|
|
1005
|
-
body.theme-custom .mermaid-preview svg .taskTextOutsideRight,
|
|
1006
|
-
body.theme-custom .mermaid-preview svg .taskTextOutsideLeft,
|
|
1007
|
-
body.theme-custom .mermaid-preview svg .sectionText,
|
|
1008
|
-
body.theme-custom .mermaid-preview svg .sectionTitle {
|
|
1009
|
-
fill: #ffffff !important;
|
|
1010
|
-
font-weight: 700;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
body.theme-custom .mermaid-preview svg .section rect {
|
|
1014
|
-
stroke: #f59e0b;
|
|
1015
|
-
stroke-width: 2px;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
body.theme-custom .mermaid-preview svg .today {
|
|
1019
|
-
stroke: #6366f1 !important;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
body.theme-custom .mermaid-preview svg .grid .tick line {
|
|
1023
|
-
stroke: #e5e7eb;
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
body.theme-custom .mermaid-preview svg .grid .domain {
|
|
1027
|
-
stroke: #6366f1;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
body.theme-custom .mermaid-preview svg .tick text {
|
|
1031
|
-
fill: #9ca3af;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/* 甘特图 (Typora) */
|
|
1035
|
-
.md-diagram-panel.md-mermaid .section0,
|
|
1036
|
-
.md-diagram-panel.md-mermaid .section1,
|
|
1037
|
-
.md-diagram-panel.md-mermaid .section2,
|
|
1038
|
-
.md-diagram-panel.md-mermaid .section3 {
|
|
1039
|
-
fill: linear-gradient(90deg, #818cf8 0%, #6366f1 50%, #a78bfa 100%) !important;
|
|
1040
|
-
stroke: #4f46e5 !important;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.md-diagram-panel.md-mermaid .grid .tick line {
|
|
1044
|
-
stroke: #e5e7eb !important;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
.md-diagram-panel.md-mermaid .grid .domain {
|
|
1048
|
-
stroke: #6366f1 !important;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
.md-diagram-panel.md-mermaid .tick text {
|
|
1052
|
-
fill: #9ca3af !important;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
/* 流程�?/ ER �?*/
|
|
1056
|
-
.md-diagram-panel.md-mermaid .nodeDefault,
|
|
1057
|
-
.md-diagram-panel.md-mermaid .node clicked,
|
|
1058
|
-
.md-diagram-panel.md-mermaid .relation {
|
|
1059
|
-
fill: linear-gradient(135deg, #c084fc 0%, #a855f7 100%) !important;
|
|
1060
|
-
stroke: #9333ea !important;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
.md-diagram-panel.md-mermaid .edgeLabel {
|
|
1064
|
-
background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%) !important;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
/* ── 15. 滚动条样�?── */
|
|
1068
|
-
::-webkit-scrollbar {
|
|
1069
|
-
width: 7px;
|
|
1070
|
-
height: 7px;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
::-webkit-scrollbar-track {
|
|
1074
|
-
background: transparent;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
::-webkit-scrollbar-thumb {
|
|
1078
|
-
background: linear-gradient(180deg, #c7d2fe, #ddd6fe);
|
|
1079
|
-
border-radius: 10px;
|
|
1080
|
-
transition: background 0.3s ease;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
::-webkit-scrollbar-thumb:hover {
|
|
1084
|
-
background: linear-gradient(180deg, #a5b4fc, #c4b5fd);
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
/* ── 16. 选择文本样式 ── */
|
|
1088
|
-
::selection,
|
|
1089
|
-
body.theme-custom ::selection {
|
|
1090
|
-
background: rgba(99, 102, 241, 0.18);
|
|
1091
|
-
color: #1a1d26;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
::-moz-selection,
|
|
1095
|
-
body.theme-custom ::-moz-selection {
|
|
1096
|
-
background: rgba(99, 102, 241, 0.18);
|
|
1097
|
-
color: #1a1d26;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
/* ── 17. 特殊效果 ── */
|
|
1101
|
-
|
|
1102
|
-
/* 图片容器增强 */
|
|
1103
|
-
body.theme-custom figure img {
|
|
1104
|
-
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
/* 列表样式优化 */
|
|
1108
|
-
body.theme-custom li::marker {
|
|
1109
|
-
color: #a5b4fc;
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
ol li::marker {
|
|
1113
|
-
color: #6366f1;
|
|
1114
|
-
font-weight: 600;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
/* 段落首字下沉效果(可选) */
|
|
1118
|
-
body.theme-custom #write > p:first-of-type::first-letter {
|
|
1119
|
-
/* font-size: 1.3em;
|
|
1120
|
-
font-weight: 700;
|
|
1121
|
-
float: left;
|
|
1122
|
-
margin-right: 6px;
|
|
1123
|
-
color: #6366f1; */
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
/* 脚注样式 */
|
|
1127
|
-
body.theme-custom sup {
|
|
1128
|
-
color: #6366f1;
|
|
1129
|
-
font-size: 0.82em;
|
|
1130
|
-
cursor: pointer;
|
|
1131
|
-
vertical-align: super;
|
|
1132
|
-
margin: 0 2px;
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
/* TOC 目录样式 */
|
|
1136
|
-
body.theme-custom .md-toc-content {
|
|
1137
|
-
background: linear-gradient(135deg, #f8f9ff 0%, #fdf4ff 100%);
|
|
1138
|
-
border: 1px solid rgba(99, 102, 241, 0.1);
|
|
1139
|
-
border-radius: 10px;
|
|
1140
|
-
padding: 20px 24px;
|
|
1141
|
-
margin: 2em 0;
|
|
1142
|
-
box-shadow: 0 2px 12px rgba(99, 102, 241, 0.05);
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
body.theme-custom .md-toc-content .md-toc-title {
|
|
1146
|
-
font-weight: 700;
|
|
1147
|
-
color: #1a1d26;
|
|
1148
|
-
font-size: 1.1em;
|
|
1149
|
-
margin-bottom: 12px;
|
|
1150
|
-
padding-bottom: 10px;
|
|
1151
|
-
border-bottom: 2px solid #e5e7eb;
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
body.theme-custom .md-toc-content a {
|
|
1155
|
-
color: #4b5563;
|
|
1156
|
-
border-bottom: none;
|
|
1157
|
-
transition: all 0.2s ease;
|
|
1158
|
-
display: inline-block;
|
|
1159
|
-
padding: 2px 0;
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
body.theme-custom .md-toc-content a:hover {
|
|
1163
|
-
color: #6366f1;
|
|
1164
|
-
transform: translateX(4px);
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
/* 任务列表样式 */
|
|
1168
|
-
body.theme-custom input[type="checkbox"] {
|
|
1169
|
-
accent-color: #6366f1;
|
|
1170
|
-
width: 16px;
|
|
1171
|
-
height: 16px;
|
|
1172
|
-
cursor: pointer;
|
|
1173
|
-
margin-right: 6px;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
/* ── 15. YAML 元数�?── */
|
|
1177
|
-
pre.md-meta-block,
|
|
1178
|
-
body.theme-custom .frontmatter,
|
|
1179
|
-
body.theme-custom .yaml-front-matter {
|
|
1180
|
-
font-family: "JetBrains Mono", "Fira Code", monospace;
|
|
1181
|
-
font-size: 0.85em;
|
|
1182
|
-
background: linear-gradient(135deg, #f8f9ff 0%, #fdf4ff 100%);
|
|
1183
|
-
border: 1px solid rgba(99, 102, 241, 0.12);
|
|
1184
|
-
border-radius: 8px;
|
|
1185
|
-
padding: 16px 20px;
|
|
1186
|
-
margin-bottom: 2em;
|
|
1187
|
-
color: #4b5563;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
/* ── 16. 脚注 ── */
|
|
1191
|
-
.md-footnote { font-size: 0.85em; color: #6366f1; }
|
|
1192
|
-
sup.md-footnote {
|
|
1193
|
-
background: transparent;
|
|
1194
|
-
cursor: pointer;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
/* ── 17. TOC 目录(完善) */
|
|
1198
|
-
.md-toc { font-size: 0.9em; }
|
|
1199
|
-
.md-toc-item { color: #2d3436; transition: all 0.2s ease; }
|
|
1200
|
-
.md-toc-item:hover { color: #6366f1; transform: translateX(3px); }
|
|
1201
|
-
.md-toc-h1 .md-toc-inner { font-weight: 700; color: #1a1d26; }
|
|
1202
|
-
.md-toc-h2 .md-toc-inner { font-weight: 600; color: #283149; }
|
|
1203
|
-
.md-toc-h3 .md-toc-inner { font-weight: 500; color: #374151; }
|
|
1204
|
-
|
|
1205
|
-
/* ── 18. 侧边�?── */
|
|
1206
|
-
.sidebar-content { font-family: inherit; }
|
|
1207
|
-
.file-node-content { line-height: 1.65; transition: background 0.2s ease; }
|
|
1208
|
-
.file-node-content:hover { background: rgba(99, 102, 241, 0.05); border-radius: 5px; }
|
|
1209
|
-
.file-node-title { font-size: 1em; color: #2d3436; }
|
|
1210
|
-
.file-node-title:hover { color: #6366f1; }
|
|
1211
|
-
|
|
1212
|
-
/* ── 19. 聚焦模式 ── */
|
|
1213
|
-
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * {
|
|
1214
|
-
color: rgba(107, 114, 128, 0.35) !important;
|
|
1215
|
-
}
|
|
1216
|
-
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) img {
|
|
1217
|
-
opacity: 0.35;
|
|
1218
|
-
}
|
|
1219
|
-
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) a,
|
|
1220
|
-
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) strong {
|
|
1221
|
-
color: rgba(99, 102, 241, 0.25) !important;
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
/* ── 20. 搜索 & 选择 ── */
|
|
1225
|
-
#write .md-search-hit {
|
|
1226
|
-
background: rgba(99, 102, 241, 0.18);
|
|
1227
|
-
border-radius: 3px;
|
|
1228
|
-
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
/* ── 22. Megamenu ── */
|
|
1232
|
-
.megamenu-content { font-family: inherit; }
|
|
1233
|
-
#megamenu-back-btn { color: #2d3436; transition: color 0.2s ease; }
|
|
1234
|
-
#megamenu-back-btn:hover { color: #6366f1; }
|
|
1235
|
-
|
|
1236
|
-
/* 打印样式优化 */
|
|
1237
|
-
@media print {
|
|
1238
|
-
body.theme-custom {
|
|
1239
|
-
background: #f8f9fb !important;
|
|
1240
|
-
color: black !important;
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
body.theme-custom h1,
|
|
1244
|
-
body.theme-custom h2 {
|
|
1245
|
-
-webkit-text-fill-color: initial !important;
|
|
1246
|
-
background: none !important;
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
body.theme-custom h2::after {
|
|
1250
|
-
background: #333 !important;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
body.theme-custom blockquote {
|
|
1254
|
-
background: #f5f5f5 !important;
|
|
1255
|
-
border-left: 4px solid #333 !important;
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
body.theme-custom blockquote::before {
|
|
1259
|
-
display: none !important;
|
|
1260
|
-
}
|
|
1261
|
-
}
|