:root { --display-signal-info-height: 50px; --signal-default-color: #4CAF50; --main-color: #CB81DA; --main-transplate-color: rgba(203, 129, 208, 0.1); --main-hover-color: rgba(203, 129, 208, 0.5); --shadow-color: rgba(139, 73, 225, 0.99); --main-dark-color: #2D323B; --main-light-color: var(--main-color); --monospace-font: "Cascadia code", monospace; --dark-theme-border: 1px solid rgba(242, 242, 242, 0.3); --light-theme-border: 1px solid rgba(142, 142, 142, 0.3); /* css 动画属性 */ --animation-7s: .7s cubic-bezier(0.23,1,0.32,1); --animation-5s: .5s cubic-bezier(0.23,1,0.32,1); --animation-3s: .35s cubic-bezier(0.23,1,0.32,1); --gray-box-shadow-0: 0 0 8px 3px rgba(182, 181, 182, 0.9); --gray-box-shadow-1: 0 0 5px 1px rgba(16, 16, 16, 0.5); } @font-face { font-family: "Cascadia code"; src: url("./CascadiaCode.woff2"); } html, body { background-color: var(--background); color: var(--foreground); } *::selection { background-color: var(--main-hover-color) !important; } body::-webkit-scrollbar { width: 0; } * hr { border: none; background-color: var(--main-color); height: 1.5px; width: 95%; } /* ::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--sidebar); } ::-webkit-scrollbar-thumb { background: var(--scrollbar-background); border-radius: .3em; } ::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-hover); border-radius: .3em; } ::-webkit-scrollbar-thumb:active { background: var(--scrollbar-active); border-radius: .3em; } ::-webkit-scrollbar-button { height: 0; width: 0; } ::-webkit-scrollbar-corner { background: none; display: none; } */ .el-select__wrapper { min-width: 100px; padding: 13px; color: var(--sidebar-item-text); } .el-select-group__title { color: var(--main-color) !important; } .el-select__placeholder { color: var(--sidebar-item-text) !important; } .el-select-dropdown { background-color: var(--sidebar); border: 1.0px solid var(--main-color); } .el-checkbox-button__inner { font-size: 16px !important; } a { color: var(--main-color); } .digital-ide-icon { background-image: url(./icon.svg); background-size: 100%; height: 50px; width: 50px; } .digital-ide-icon.big { background-image: url(./icon.svg); background-size: 100%; height: 150px; width: 150px; } .el-radio-button__original-radio:disabled:checked+.el-radio-button__inner { opacity: 0.6; } .el-select__wrapper.is-disabled { opacity: 0.6; box-shadow: unset !important; } body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; word-wrap: break-word; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover; -o-background-size: cover; background-position: center 0; } .octicon { display: inline-block; vertical-align: text-top; fill: currentColor; } a { background-color: transparent; -webkit-text-decoration-skip: objects; } #wrapper { justify-content: center; display: flex; } #write { padding: 10px; width: 800px; } .ImgCaption { padding-top: 0; margin-top: 7px; width: fit-content; } .vscode-dark .ImgCaption { /* border-bottom: 2px solid var(--dark-main-color); */ color: white; } .vscode-light .ImgCaption { /* border-bottom: 2px solid var(--light-main-color); */ color: black; } a:active, a:hover { outline-width: 0; } strong { font-weight: inherit; } strong { font-weight: bolder; } h1 { font-size: 2em; margin: 0.67em 0; } .error-out { display: flex; justify-content: center; align-items: center; } .error { color: rgb(227, 60, 60); border-radius: 1em; border: 1.5px solid rgb(227, 60, 60); padding: 10px 20px; } code, kbd, pre { font-family: monospace, monospace; } hr { box-sizing: content-box; height: 0; overflow: visible; } input { font: inherit; margin: 0; } input { overflow: visible; } [type="checkbox"] { box-sizing: border-box; padding: 0; } * { box-sizing: border-box; } input { font-family: inherit; font-size: inherit; line-height: inherit; } a { text-decoration: none; } a:hover, a:active { text-decoration: underline; } strong { font-weight: 600; } hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid; } hr::before { display: table; content: ""; } hr::after { display: table; clear: both; content: ""; } table { border-spacing: 0; border-collapse: collapse; } td, th { padding: 0; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; } h1 { font-size: 32px; font-weight: 600; } h2 { font-size: 24px; font-weight: 600; } h3 { font-size: 20px; font-weight: 600; } h4 { font-size: 16px; font-weight: 600; } h5 { font-size: 14px; font-weight: 600; } h6 { font-size: 12px; font-weight: 600; } p { margin-top: 0; margin-bottom: 10px; } blockquote { margin: 0; } ul, ol { padding-left: 0; margin-top: 0; margin-bottom: 0; } ol ol, ul ol { list-style-type: lower-roman; } ul ul ol, ul ol ol, ol ul ol, ol ol ol { list-style-type: lower-alpha; } dd { margin-left: 0; } code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .octicon { vertical-align: text-bottom; } input { -webkit-font-feature-settings: "liga" 0; font-feature-settings: "liga" 0; } .markdown-body::before { display: table; content: ""; } .markdown-body::after { display: table; clear: both; content: ""; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } a:not([href]) { color: inherit; text-decoration: none; } .anchor { float: left; padding-right: 4px; margin-left: -20px; line-height: 1; } .anchor:focus { outline: none; } p, blockquote, ul, ol, dl, table, pre { margin-top: 0; margin-bottom: 16px; } hr { height: 0.25em; padding: 0; margin: 24px 0; border: 0; } blockquote { padding: 0 1em; } blockquote>:first-child { margin-top: 0; } blockquote>:last-child { margin-bottom: 0; } kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; vertical-align: middle; border-radius: 3px; } #write h1, #write h2, #write h3, #write h4, #write h5, #write h6 { margin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25; } .vscode-dark h1 { color: #eee; /* border-bottom: 3px solid #df733d; */ width: fit-content; margin: 0 0 1.0em 0; line-height: 1.3; } .vscode-dark h2 { color: #eee; } /* .vscode-dark h2::before { content: 'H2'; border-radius: .3em; font-size: .8em; padding: 3px 7px; margin-right: 15px; color: #eee; background-color: #df733d; } */ .vscode-light h1 { color: #000; /* border-bottom: 3px solid #cc6633; */ width: fit-content; margin: 0 0 1.0em 0; line-height: 1.3; } .vscode-light h2 { color: #000; } /* .vscode-light h2::before { content: 'H2'; border-radius: .3em; font-size: .8em; padding: 3px 7px; margin-right: 15px; color: #eee; background-color: #cc6633; } */ h1 { padding-bottom: 0.3em; font-size: 2em; } h2 { padding-bottom: 0.3em; font-size: 1.5em; } h3 { font-size: 1.25em; } h4 { font-size: 1em; } h5 { font-size: 0.875em; } h6 { font-size: 0.85em; } ul, ol { padding-left: 2em; } ul ul, ul ol, ol ol, ol ul { margin-top: 0; margin-bottom: 0; } li>p { margin-top: 16px; } li+li { margin-top: 0.25em; } img { max-width: 100%; box-sizing: content-box; } #write table { width: 95%; border-collapse: collapse; text-align: center; margin: 20px; max-width: 750px; } #write table td, table th { border: 1px solid; padding: 12px 10px; /* border-radius: .5em; */ word-wrap: break-word; } #write table thead th { /* background-color: var(--dark-main-color); */ font-weight: bolder; vertical-align: middle; padding: 10px; } .vscode-dark table { color: var(--vscode-foreground); } .vscode-light table { color: #1F2329; } .vscode-dark #write table thead th { background-color: rgb(76, 55, 114); } .vscode-light #write table thead th { background-color: rgb(236, 226, 254); } .vscode-dark table tr:nth-child(even) { background: #232323; } .vscode-light table tr:nth-child(even) { background: #F6F7F8; } /* TODO: Diagram CSS */ .diagram-container { width: 100%; display: flex; justify-content: center; } .diagram-container .diagram-ports-wrapper { display: flex; } .diagram-container .diagram-params { display: flex; justify-content: space-between; border-radius: 0.7em; padding: 15px; margin: 10px 60px; width: 350px; text-align: right; } .diagram-container .diagram-ports { border-radius: 0.7em; padding: 20px 0px; margin: 10px 0px 10px 0px; width: 350px; } .vscode-dark .diagram-params { background-color: rgba(53,59,140); border: solid 4.5px rgb(83,88,157); } .vscode-light .diagram-params { background-color: rgba(180,185,243); border: solid 4.5px rgb(153,157,207); } .vscode-dark .diagram-ports { background-color: rgba(35,102,93); border: solid 4.5px rgb(68,125,117); } .vscode-light .diagram-ports { background-color: rgb(169,239,230); border: solid 4.5px rgb(144,203,196); } .diagram-container .digrame-port-item { display: flex; justify-content: space-between; height: 40px; } .diagram-container .i-port-name { font-size: 18px; padding: 3px 8px; } .diagram-container .o-port-name { font-size: 18px; padding: 3px 8px; } .diagram-container .io-port-name { font-size: 18px; padding: 3px 8px; } .diagram-container .left-direction { padding-right: 0; padding: 20px 0px; margin: 10px 0 0 10px; width: 105px; } .diagram-container .right-direction { padding-left: 0; padding: 20px 0px; margin: 10px 0 10px 0px; width: 95px; } .diagram-container .arrow-wrapper { height: 40px; } .diagram-container .port-width-left-caption { position: absolute; margin: -5px 10px; font-size: 14px; } .diagram-container .port-width-right-caption { position: absolute; margin: -5px 10px; font-size: 14px; } .vscode-dark .diagram-container { color: white; } .vscode-light .diagram-container { color: black; } #write .title-introduction { margin-left: 10px; font-size: 1.1rem; font-weight: 300; opacity: 0.8; } .icon-port:before { font-weight: 1000; } .icon-parameter:before { font-weight: 1000; } #write .source-lib-tag { font-size: 0.85rem; padding: 3px 4px; border-radius: .5em; background-color: rgb(35,102,93); } #write .source-prj-tag { font-size: 0.85rem; padding: 3px 4px; border-radius: .5em; background-color: rgb(53,59,140); } #write .source-ip-tag { font-size: 0.85rem; padding: 3px 4px; border-radius: .5em; background-color: rgb(24, 91, 149); } #write .source-primitive-tag { font-size: 0.85rem; padding: 3px 4px; border-radius: .5em; background-color: rgb(108, 53, 140); } #write .source-unk-tag { font-size: 0.85rem; padding: 3px 4px; border-radius: .5em; background-color: #a09c9c; } .vscode-dark table, th, td { border: 1px solid rgba(242, 242, 242, 0.1) !important; } .vscode-light table, th, td { border: 1px solid rgba(142, 142, 142, 0.1) !important; } /* #write table, th { border-bottom: 1px solid rgb(76, 55, 114) !important; } */ /* #write table, td { border-bottom: 1px solid rgba(242, 242, 242, 0.3) !important; } */ #write table { border-radius: .3em; } .left-align { text-align: left; } .markdown-ext-block { border-radius: .3em; border: 1px solid var(--main-color); background-color: var(--main-transplate-color); padding: 3px 15px; margin-bottom: 25px; } .markdown-ext-block .iconfont { font-size: 1.2rem; margin-right: .7rem; color: var(--main-color); } .markdown-ext-block .title { color: var(--main-color); font-weight: 700; font-size: 1.3rem; letter-spacing: unset; line-height: unset; } .markdown-ext-block .desc { color: black; font-weight: 700; margin-left: .7rem; } .pre-dot::before { content: ""; display: inline-table; width: 12px; height: 12px; margin-right: 7px; background-color: var(--main-color); border-radius: .5em; } pre { -webkit-overflow-scrolling: touch; font-family: var(--monospace-font), "Courier New", monospace; font-size: 0.9em; margin: 0 0 2em 0; position: relative; } pre > code { display: block; line-height: 1.75; padding: 1em 1.5em; overflow-x: auto; border-top: rgba(230, 235, 237, 0) solid 35px; background-color: var(--vscode-textCodeBlock-background); border-radius: .3em; font-family: var(--monospace-font), "Courier New", monospace; font-size: 15px; margin: 0 0.25em; transition: all 0.3s linear; -moz-transition: all 0.3s linear; -webkit-transition: all 0.3s linear; } pre > code:before { content: ""; background: var(--shadow-color); box-shadow: 23px 0 #b6bdc9, 45px 0 #b6bdc9; border-radius: 50%; margin-top: -36px; margin-left: -6px; position: absolute; height: 13px; width: 13px; } .el-popper { color: white !important; }