zenn-cli-wysiwyg 0.0.1

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 ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+ Copyright © 2020-Present zenn.dev
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # zenn-cli-wysiwyg
2
+
3
+ ローカルで Zenn の投稿コンテンツを管理/プレビューするための CLI です。
4
+
5
+ ## ユーザー向けドキュメント
6
+
7
+ - [CLI のインストール](https://zenn.dev/zenn/articles/install-zenn-cli)
8
+ - [CLI の使い方](https://zenn.dev/zenn/articles/zenn-cli-guide)
9
+
10
+ ## 開発者向けドキュメント
11
+
12
+ https://zenn-dev.github.io/zenn-docs-for-developers/guides/zenn-editor/zenn-cli
@@ -0,0 +1 @@
1
+ const c={};function a({src:s,id:t}){return new Promise((n,i)=>{if(document.getElementById(t)){const e=setInterval(()=>{c[t]&&(clearInterval(e),n())},100)}else{const e=document.createElement("script");e.setAttribute("src",s),e.setAttribute("id",t),document.head.appendChild(e),e.onload=()=>{c[t]=!0,n()},e.onerror=o=>i(o)}})}function d({href:s,id:t}){return new Promise((n,i)=>{if(document.getElementById(t))return n();const r=document.createElement("link");r.setAttribute("href",s),r.setAttribute("rel","stylesheet"),r.setAttribute("id",t),document.head.appendChild(r),r.onload=()=>{n()},r.onerror=e=>i(e)})}const l="katex-container";class m extends HTMLElement{constructor(){super();const t=document.createElement("div");t.setAttribute("id",l),this._container=t}async connectedCallback(){this.render()}async render(){typeof katex>"u"&&await a({src:"https://cdn.jsdelivr.net/npm/katex/dist/katex.min.js",id:"katex-js"}),d({href:"https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css",id:"katex-css"});const t=!!this.getAttribute("display-mode"),n=this.textContent||this.innerText;katex==null||katex.render(n,this._container,{macros:{"\\RR":"\\mathbb{R}"},throwOnError:!1,displayMode:t}),this.innerHTML=this._container.innerHTML}}customElements.define("embed-katex",m);
@@ -0,0 +1 @@
1
+ .tiptap{outline:none;min-height:600px;img.ProseMirror-separator {display: inline !important; border: none !important; margin: 0 !important;} h1,h2,h3,h4 {font-weight: 700;} .md-img ~ em {display: block; margin: -1rem auto 0; line-height: 1.3; text-align: center; color: var(--c-text-subtle); font-size: .92em;} .figure-error-msg {text-align: center; padding: 2rem 0; color: #dc2626; border-radius: .375rem;} div.code-block-filename-container {span {min-width: 85px;} .code-block-filename {display: inline-block;}} .code-block-wrapper-for-langname {position: relative; &:after {position: absolute; top: 0; right: 0; content: attr(data-language); display: block; font-size: .7rem; padding: .1rem .3rem; background-color: oklch(96.7% .003 264.542);}} code.diff-highlight {& > span {display: block;}} .details {font-size: .95em; margin: 1rem 0; line-height: 1.7; summary {cursor: default; display: flex; align-items: center; button {width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; transform: rotate(90deg); &:hover {background: oklch(96.7% .003 264.542);} .triangle {background: black; height: calc(tan(60deg)*10px/2); width: 10px; clip-path: polygon(50% 0,100% 100%,0 100%);}} div {margin-left: .5rem; flex: 1;}} &[data-open] {& > summary {border-radius: 14px 14px 0 0; box-shadow: none; background: #edf2f7; border-bottom: none; button {transform: rotate(180deg); &:hover {background: oklch(92.8% .006 264.531);}}}} .details-content {padding: .5em .9em; border: 1px solid #d6e3ed; border-radius: 0 0 14px 14px; background: #fff;} &:not([data-open]) > .details-content {display: none;}} sup.footnote-ref {cursor: pointer;} table {th,td {min-width: 80px;}}}.tiptap{.ProseMirror-selectednode {position: relative; &::selection {background-color: transparent !important;} ::selection {background-color: transparent !important;} &::after {position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(35,131,226,.3); border-radius: 4px; pointer-events: none;}} hr {&.ProseMirror-selectednode {outline: 2px solid #9333ea; outline-offset: 2px;}}}.tiptap{p.is-editor-empty:first-child::before {color: #adb5bd; content: attr(data-placeholder); float: left; height: 0; pointer-events: none;} p.is-empty::before {color: #adb5bd; content: attr(data-placeholder); float: left; height: 0; pointer-events: none;} h1.is-empty::before,h2.is-empty::before,h3.is-empty::before {color: #6b7280; content: attr(data-placeholder); float: left; height: 0; pointer-events: none;} p > .md-img + em.is-empty::before {color: #adb5bd; content: attr(data-placeholder);} div.code-block-filename-container.is-empty {.code-block-filename::before {color: #adb5bd; content: "\30d5\30a1\30a4\30eb\540d"; float: left; height: 0; pointer-events: none;}}}.dragHandle{position:absolute;cursor:grab;width:1.5rem;height:1.5rem;color:oklch(70.7% .022 261.325);transition:0s}.dragHandle:hover{background-color:oklch(96.8% .007 247.896)}.bubbleMenu{display:flex;background-color:#fff;border:1px solid #e5e7eb;border-radius:.25rem;padding:.25rem;gap:.25rem;box-shadow:0 1px 2px #0000000d}.bubbleMenu button{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background-color:#fff;cursor:pointer}.bubbleMenu button:hover{background-color:#f3f4f6}.bubbleMenu .isActive{background-color:#e5e7eb}.popOver{background-color:#fff;color:#000;z-index:50;width:18rem;border-radius:.375rem;border:1px solid;padding:1rem;box-shadow:0 4px 6px #0000001a,0 1px 3px #0000000f;outline:none;transform-origin:var(--radix-popover-content-transform-origin)}.altPopoverTrigger{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background-color:#fff;cursor:pointer;&:hover{background-color:#e5e7eb}}.altPopoverTriger:hover{background-color:#f3f4f6}.altPopoverContent{width:20rem;display:flex;align-items:center;gap:.5rem;border:none;input {flex: 1; padding: .5rem; border: 1px solid #d1d5db; border-radius: .25rem;} button {padding: .5rem 1.5rem; background-color: #0f93ff; color: white; border-radius: .25rem; font-size: .8rem; font-weight: bold; cursor: pointer;}}.imageBubbleMenuContainer{display:flex;background-color:#fff;border:1px solid #e5e7eb;border-radius:.25rem;padding:.25rem;column-gap:.25rem;box-shadow:0 1px 2px #0000000d}.linkEditPopoverContent{background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;box-shadow:0 10px 15px #0000001a,0 4px 6px #0000000d;label {display: block; font-size: .875rem; color: #6b7280; margin-bottom: .25rem;} input {width: 300px; font-size: .75rem; padding: .5rem;} .linkEditPopoverContent_buttons {display: flex; justify-content: space-between; margin-top: 1rem; .linkEditPopoverContent_buttons_delete {background: none; border: none; cursor: pointer; color: #ef4444; font-size: 1.25rem;} .linkEditPopoverContent_buttons_save {background-color: #0f93ff; color: white; border: none; padding: .5rem 1rem; border-radius: .25rem; cursor: pointer; font-size: .875rem;}}}.tiptap{.loadingCard {display: flex; justify-content: center; height: 10rem; align-items: center; border: 2px solid oklch(92.9% .013 255.508); border-radius: .25rem; margin: 1.5rem 0; .point {animation: ping 1s infinite; height: .5rem; width: .5rem; background-color: #2563eb; border-radius: 9999px;} .point:nth-child(2) {margin-left: 1rem; margin-right: 1rem;}}}@keyframes ping{0%{transform:scale(1);opacity:1}75%,to{transform:scale(2);opacity:0}}:root{--c-base: #fff;--c-primary: #0f93ff;--c-primary-darker: #0087f5;--c-primary-bg: #e3f2ff;--c-primary-bg-lightest: #eff6fb99;--c-body: rgba(0, 0, 0, .82);--c-gray: #606971;--c-gray-border: #cfdce6;--c-gray-bg: #edf2f7;--c-error: #fa5d5d;--c-error-bg: #fff0f0;&[data-theme^=dark]{--c-base: #0d223a;--c-body: #ecf5ff}--font-base: -apple-system, "BlinkMacSystemFont", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif, "Segoe UI Emoji";--font-code: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace, "Segoe UI Emoji"}html{box-sizing:border-box;font-size:16px;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.5}*,*:before,*:after{box-sizing:inherit}body{margin:0;background:var(--c-base);color:var(--c-body);word-break:break-word;word-wrap:break-word;font-family:var(--font-base)}img{max-width:100%}p,blockquote,dl,dd,dt,section{margin:0}a{text-decoration:none;color:inherit}h1,h2,h3,h4,h5,h6{margin:0;font-weight:700;line-height:1.4;outline:0}ul,ol{margin:0;padding:0;list-style:none}li{margin:0;padding:0}hr{border:none}button{border:none;cursor:pointer;appearance:none;background:transparent;font-size:inherit;font-weight:inherit;font-family:inherit;transition:.25s;padding:0;margin:0;line-height:1.3;color:var(--c-body)}code{font-family:var(--font-code)}[aria-label][role~=tooltip]{position:relative}[aria-label][role~=tooltip]:before,[aria-label][role~=tooltip]:after{position:absolute;box-sizing:border-box;line-height:1.4;pointer-events:none;opacity:0;transition:opacity .1s ease-in-out .3s;backface-visibility:hidden}[aria-label][role~=tooltip]:before{content:""}[aria-label][role~=tooltip]:after{box-sizing:content-box;padding:.4em .7em;font-size:11px;font-weight:400;color:#fff;white-space:nowrap;content:attr(aria-label);background:#1b1b1d;border-radius:var(--rounded-sm)}[aria-label][role~=tooltip]:hover:before,[aria-label][role~=tooltip]:hover:after,[aria-label][role~=tooltip]:focus-visible:before,[aria-label][role~=tooltip]:focus-visible:after{pointer-events:auto;opacity:1}[role~=tooltip][data-tooltip-position|=top]:before{bottom:auto;bottom:100%;left:50%;border:6px solid transparent;border-top:7px solid #1b1b1d;transform:translate(-50%)}[role~=tooltip][data-tooltip-position|=top]:after{bottom:auto;bottom:100%;left:50%;margin-bottom:12px;transform:translate(-50%)}[role~=tooltip][data-tooltip-position=top-left]:after{transform:translate(calc(-100% + 20px))}[role~=tooltip][data-tooltip-position=top-right]:after{transform:translate(-20px)}[role~=tooltip][data-tooltip-position|=bottom]:before{top:100%;bottom:auto;left:50%;border:6px solid transparent;border-bottom:7px solid #1b1b1d;transform:translate(-50%)}[role~=tooltip][data-tooltip-position|=bottom]:after{top:100%;bottom:auto;left:50%;margin-top:12px;transform:translate(-50%)}[role~=tooltip][data-tooltip-position=bottom-left]:after{transform:translate(calc(-100% + 20px))}[role~=tooltip][data-tooltip-position=bottom-right]:after{transform:translate(-20px)}[role~=tooltip][data-tooltip-size=small]:after{width:80px;white-space:initial}[role~=tooltip][data-tooltip-size=medium]:after{width:140px;white-space:initial}[role~=tooltip][data-tooltip-size=large]:after{width:200px;white-space:initial}.znc{line-height:1.9;--c-blue-100: #f0f7ff;--c-blue-200: #ecf5ff;--c-blue-300: #e0efff;--c-blue-400: #bfdcff;--c-blue-500: #3ea8ff;--c-blue-600: #0f83fd;--c-blue-700: #0868ce;--c-blue-800: #0656ac;--c-blue-900: #05458a;--c-blue-1000: #043467;--c-gray-100: #f5f9fc;--c-gray-200: #f1f5f9;--c-gray-300: #edf2f7;--c-gray-400: #e4edf4;--c-gray-500: #d6e3ed;--c-gray-600: #acbcc7;--c-gray-700: #8f9faa;--c-gray-800: #65717b;--c-dark-blue-800: #09376d;--c-dark-blue-900: #0b2c53;--c-dark-blue-1000: #162c49;--c-dark-blue-1100: #0d223a;--c-dark-blue-1200: #081d35;--c-dark-gray-900: #344c69;--c-dark-gray-1000: #2e445c;--c-dark-gray-1100: #1b324a;--c-bg-base: #fff;--c-bg-dim: var(--c-gray-300);--c-bg-warning: #fff6e4;--c-bg-warning-icon: #ffa909;--c-bg-alert: #fff0f0;--c-bg-alert-icon: #ff6868;--c-bg-code: var(--c-gray-300);--c-bg-code-block: #1a2638;--c-bg-image: transparent;--c-border: var(--c-gray-500);--c-border-emphasis: var(--c-gray-800);--c-text-subtle: var(--c-gray-800);--c-text-link: var(--c-blue-600)}.znc>*:first-child{margin-top:0}.znc i,.znc cite,.znc em{font-style:italic}.znc strong{font-weight:700}.znc a{color:var(--c-text-link)}.znc a:hover{text-decoration:underline}.znc p+p{margin-top:1.5em}.znc ul,.znc ol{margin:1.4rem 0;line-height:1.7}.znc ul>li,.znc ol>li{margin:.4rem 0}.znc ul ul,.znc ul ol,.znc ol ul,.znc ol ol{margin:.2em 0}.znc ul p,.znc ol p{margin:0}.znc ul{padding-left:1.8em}.znc ul>li{list-style:disc}.znc ul>li::marker{font-size:1.1em;color:var(--c-gray-800)}.znc ol{padding-left:1.7em}.znc ol>li{list-style:decimal;padding-left:.2em}.znc ol>li::marker{color:var(--c-gray-800);font-weight:600;letter-spacing:-.05em}.znc .contains-task-list .task-list-item{list-style:none}.znc .task-list-item-checkbox{margin-left:-1.5em;font-size:1em;pointer-events:none}.znc h1+p,.znc h2+p,.znc h3+p,.znc h4+p,.znc h5+p,.znc h6+p{margin-top:.3em}.znc h1,.znc h2{margin-top:2.3em;margin-bottom:.5em}.znc h3,.znc h4,.znc h5,.znc h6{margin-top:2.25em;margin-bottom:.5em}.znc h1{padding-bottom:.2em;margin-bottom:1.1rem;font-size:1.7em;border-bottom:solid 1px var(--c-border)}.znc h2{padding-bottom:.3em;margin-bottom:1.1rem;font-size:1.5em;border-bottom:solid 1px var(--c-border)}.znc h3{font-size:1.3em}.znc h4{font-size:1.1em}.znc h5{font-size:1em}.znc h6{font-size:.9em}@media screen and (max-width: 576px){.znc h1{font-size:1.6em}.znc h2{font-size:1.4em}.znc h3{font-size:1.2em}.znc h4{font-size:1.1em}.znc h5{font-size:1em}.znc h6{font-size:.85em}}.znc hr{border:1px solid var(--c-border);margin:2.5rem 0}.znc blockquote{font-size:.97em;margin:1.4rem 0;border-left:solid 3px var(--c-gray-700);padding:2px 0 2px .7em;color:var(--c-text-subtle)}.znc blockquote p{margin:1rem 0}.znc blockquote>:first-child{margin-top:0}.znc blockquote>:last-child{margin-bottom:0}.znc blockquote.twitter-tweet{display:none}.znc table{margin:1.2rem auto;width:auto;border-collapse:collapse;font-size:.95em;line-height:1.5;word-break:normal;display:block;overflow:auto;-webkit-overflow-scrolling:touch}.znc th,.znc td{padding:.5rem;border:solid 1px var(--c-border);background:var(--c-bg-base)}.znc th{font-weight:700;background:var(--c-bg-dim)}.znc code{padding:.2em .4em;margin:0 .2em;background:var(--c-bg-code);font-size:.85em;border-radius:4px;vertical-align:.08em}.znc code,.znc .code-block-filename{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-smoothing:antialiased}.znc pre{margin:1.3rem 0;background:var(--c-bg-code-block);overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:4px;word-break:normal;word-wrap:normal;display:flex}.znc pre:after{content:"";width:8px;flex-shrink:0}.znc pre code{margin:0;padding:0;background:rgba(0,0,0,0);font-size:.9em;color:#fff}.znc pre>code{display:block;padding:1.1rem}@media screen and (max-width: 576px){.znc pre>code{padding:1rem .8rem;font-size:.85em}}.znc .code-block-container{position:relative;margin:1.3rem 0}.znc .code-block-container pre{margin:0}.znc .code-block-filename{display:table;max-width:100%;background:#323e52;color:#ffffffe6;font-size:12px;line-height:1.3;border-radius:4px 4px 0 0;padding:6px 12px 20px;margin-bottom:-16px}.znc .code-block-filename-container+pre{border-top-left-radius:0}.znc img.md-img{margin:1.5rem auto;display:table;max-width:100%;height:auto;background:var(--c-bg-image)}.znc img.md-img+br{display:none}.znc img.md-img~em{display:block;margin:-1rem auto 0;line-height:1.3;text-align:center;color:var(--c-text-subtle);font-size:.92em}.znc a:has(img.md-img){display:table;margin:0 auto}.znc details{font-size:.95em;margin:1rem 0;line-height:1.7}.znc summary{cursor:pointer;outline:0;padding:.7em .7em .7em .9em;border:solid 1px var(--c-border);font-size:.9em;border-radius:14px;background:var(--c-bg-base)}.znc summary::-webkit-details-marker{color:var(--c-text-subtle)}.znc details[open]>summary{border-radius:14px 14px 0 0;box-shadow:none;background:var(--c-bg-dim);border-bottom:none}.znc .details-content{padding:.5em .9em;border:solid 1px var(--c-border);border-radius:0 0 14px 14px;background:var(--c-bg-base)}.znc .details-content>*{margin:.5em 0}.znc span.embed-block{display:block;width:100%;margin:1.5rem 0}.znc .embed-slideshare,.znc .embed-speakerdeck,.znc .embed-docswell,.znc .embed-codepen,.znc .embed-jsfiddle,.znc .embed-youtube,.znc .embed-stackblitz{padding-bottom:calc(56.25% + 38px);position:relative;width:100%;height:0}.znc .embed-slideshare iframe,.znc .embed-speakerdeck iframe,.znc .embed-docswell iframe,.znc .embed-codepen iframe,.znc .embed-jsfiddle iframe,.znc .embed-youtube iframe,.znc .embed-stackblitz iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.znc .embed-slideshare iframe,.znc .embed-jsfiddle iframe,.znc .embed-figma{border:1px solid var(--c-border)}.znc .zenn-embedded iframe{width:100%;display:block;color-scheme:light}[data-theme^=dark] .znc .zenn-embedded iframe{color-scheme:dark}.znc .zenn-embedded-link-card{margin:1rem auto}.znc .zenn-embedded-link-card iframe{height:125px}.znc .zenn-embedded-tweet,.znc .zenn-embedded-mermaid,.znc .zenn-embedded-github,.znc .zenn-embedded-gist{margin:1.5rem auto}.znc embed-katex{overflow-x:auto;padding-right:2px}.znc embed-katex:not([display-mode="1"]){display:inline-flex;max-width:100%;-ms-overflow-style:none;scrollbar-width:none}.znc embed-katex:not([display-mode="1"])::-webkit-scrollbar{display:none}.znc embed-katex[display-mode="1"]{display:block;width:100%}.znc pre[class*=language-]{position:relative}.znc .token.namespace{opacity:.7}.znc .token.comment,.znc .token.prolog,.znc .token.doctype,.znc .token.cdata{color:#94a1b3}.znc .token.operator,.znc .token.boolean,.znc .token.number,.znc .token.attr-name,.znc .token.string,.znc .token.entity,.znc .token.url,.znc .language-css .token.string,.znc .style .token.string{color:#ffc56d}.znc .token.selector,.znc .token.atrule,.znc .token.attr-value,.znc .token.keyword,.znc .token.important,.znc .token.deleted{color:#ff8fa3}.znc .token.inserted{color:#b4ff9b}.znc .token.deleted:not(.prefix){background:rgba(218,54,50,.2);color:inherit;display:block}.znc .token.prefix{user-select:none}.znc .token.inserted:not(.prefix){background:rgba(0,146,27,.2);color:inherit;display:block}.znc .token.coord{color:#aad4ff}.znc .token.regex,.znc .token.statement{color:#ffc56d}.znc .token.placeholder,.znc .token.variable{color:#fff}.znc .token.important,.znc .token.statement,.znc .token.bold{font-weight:700}.znc .token.punctuation{color:#939bc1}.znc .token.entity{cursor:help}.znc .token.italic{font-style:italic}.znc .token.tag,.znc .token.property,.znc .token.function{color:#38c7ff}.znc .token.attr-name{color:#ff8fa3}.znc .token.attr-value,.znc .token.style,.znc .token.script,.znc .token.script .token.keyword{color:#ffc56d}.znc aside.msg{display:flex;align-items:flex-start;margin:1.5rem 0;padding:1.4em 1em;border-radius:4px;background:var(--c-bg-warning);font-size:.94em;line-height:1.6}.znc aside.msg.alert{background:var(--c-bg-alert)}.znc aside.msg a{color:inherit;text-decoration:underline}.znc .msg-symbol{display:flex;align-items:center;justify-content:center;font-weight:700;width:1.4rem;height:1.4rem;border-radius:99rem;background-color:var(--c-bg-warning-icon);color:#fff}.znc aside.msg.alert .msg-symbol{background-color:var(--c-bg-alert-icon)}.znc .msg-content{flex:1;margin-left:.6em;min-width:0}.znc .msg-content>*{margin:.7rem 0}.znc .msg-content>*:first-child{margin-top:0}.znc .msg-content>*:last-child{margin-bottom:0}.znc .footnotes{margin-top:3rem;color:var(--c-text-subtle);font-size:.9em}.znc .footnotes li::marker{color:var(--c-text-subtle)}.znc .footnotes-title{padding-bottom:3px;border-bottom:solid 1px var(--c-border-emphasis);font-weight:700;font-size:15px}.znc .footnotes-list{margin:13px 0 0}.znc .footnote-item:target{background:var(--c-bg-dim)}[data-theme^=dark] .znc{--c-bg-base: var(--c-dark-blue-1100);--c-bg-dim: var(--c-dark-blue-900);--c-bg-warning: #39352c;--c-bg-warning-icon: #e5a21a;--c-bg-alert: #311818;--c-bg-alert-icon: #c63939;--c-bg-code: var(--c-dark-gray-1000);--c-bg-code-block: #1a2638;--c-bg-image: #fff;--c-border: var(--c-dark-gray-1000);--c-border-emphasis: var(--c-dark-gray-900);--c-text-subtle: var(--c-gray-600);--c-text-link: var(--c-blue-500)}