From 20d5cfe91aa0273380771261163fa854bf0c4dcd Mon Sep 17 00:00:00 2001 From: AIboy996 <2207854887@qq.com> Date: Thu, 23 May 2024 05:01:23 +0800 Subject: [PATCH] [update] ai-summary.css --- docs/assets/stylesheets/ai-summary.css | 46 ++++++++++++++++++-------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/docs/assets/stylesheets/ai-summary.css b/docs/assets/stylesheets/ai-summary.css index 41641bc0c..2ed944b0f 100644 --- a/docs/assets/stylesheets/ai-summary.css +++ b/docs/assets/stylesheets/ai-summary.css @@ -1,21 +1,41 @@ :root { - --md-admonition-icon--ai-summary: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMTAgMjEwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiM2MTVDRUQiIGQ9Im0yMTIgMTI3LjEtMjQuMi00Mi0yLjktNSAxMi44LTIyLjFjMC40LTAuOCAwLjctMS42IDAuNy0yLjVzLTAuMi0xLjctMC43LTIuNWwtMTQuMy0yNC43Yy0wLjQtMC44LTEuMS0xLjQtMS44LTEuOHMtMS42LTAuNy0yLjUtMC43aC01NC4ybC0xMi44LTIyLjFjLTAuOS0xLjUtMi41LTIuNS00LjMtMi41aC0yOC40Yy0wLjkgMC0xLjcgMC4yLTIuNSAwLjctMC43IDAuNC0xLjQgMS0xLjggMS44bC0yNC4zIDQyLTIuOSA0LjloLTI1LjZjLTAuOSAwLTEuNyAwLjItMi41IDAuNy0wLjcgMC40LTEuNCAxLTEuOCAxLjhsLTE0LjMgMjQuN2MtMC40IDAuOC0wLjcgMS42LTAuNyAyLjVzMC4yIDEuNyAwLjcgMi41bDI3LjEgNDctMTIuOCAyMi4xYy0wLjQgMC44LTAuNyAxLjYtMC43IDIuNXMwLjIgMS43IDAuNyAyLjVsMTQuMyAyNC43YzAuNCAwLjggMS4xIDEuNCAxLjggMS44czEuNiAwLjcgM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wxNy4xNSw4LjM4LDE1LjZhLjE0LjE0LDAsMCwxLS4wNS0uMDhWOC4xYTYsNiwwLDAsMSw5Ljg0LTQuNjFMMTgsMy42LDExLjYxLDcuMjhhMSwxLDAsMCwwLS41My45MVpNMTIuNTQsMTQsMTYsMTJsMy40NywydjRMMTYsMjBsLTMuNDctMloiLz48L3N2Zz4=') } -.md-typeset .admonition.ai-summary, -.md-typeset details.ai-summary { - border-color: rgb(91,97,232); +.md-typeset .admonition.tongyiai-summary, +.md-typeset details.tongyiai-summary { + border-color: rgb(91, 97, 232); } -.md-typeset .ai-summary>.admonition-title, -.md-typeset .ai-summary>summary { - background-color: rgba(91,97,232, 0.1); +.md-typeset .tongyiai-summary>.admonition-title, +.md-typeset .tongyiai-summary>summary { + background-color: rgba(91, 97, 232, 0.1); } -.md-typeset .ai-summary>.admonition-title::before, -.md-typeset .ai-summary>summary::before { - background-color: rgb(91,97,232); - -webkit-mask-image: var(--md-admonition-icon--ai-summary); - mask-image: var(--md-admonition-icon--ai-summary); - background-image: var(--md-admonition-icon--ai-summary); +.md-typeset .tongyiai-summary>.admonition-title::before, +.md-typeset .tongyiai-summary>summary::before { + background-color: rgb(91, 97, 232); + -webkit-mask-image: var(--md-admonition-icon--tongyiai-summary); + mask-image: var(--md-admonition-icon--tongyiai-summary); + background-image: var(--md-admonition-icon--tongyiai-summary); +} + + +.md-typeset .admonition.chatgpt-summary, +.md-typeset details.chatgpt-summary { + border-color: rgb(33, 100, 95); +} + +.md-typeset .chatgpt-summary>.admonition-title, +.md-typeset .chatgpt-summary>summary { + background-color: rgba(33, 100, 95, .1); +} + +.md-typeset .chatgpt-summary>.admonition-title::before, +.md-typeset .chatgpt-summary>summary::before { + background-color: rgb(33, 100, 95); + -webkit-mask-image: var(--md-admonition-icon--chatgpt-summary); + mask-image: var(--md-admonition-icon--chatgpt-summary); + background-image: var(--md-admonition-icon--chatgpt-summary); } \ No newline at end of file