<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <link rel="stylesheet" href="/assets/css/just-the-docs-default.css"> <link rel="stylesheet" href="/assets/css/just-the-docs-head-nav.css" id="jtd-head-nav-stylesheet"> <style id="jtd-nav-activation"> .site-nav ul li a { background-image: none; } </style> <script src="/assets/js/vendor/lunr.min.js"></script> <script src="/assets/js/just-the-docs.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Begin Jekyll SEO tag v2.9.1 --> <title>Cell-Based Flow</title> <meta name="generator" content="Jekyll v4.4.1" /> <meta property="og:title" content="Cell-Based Flow" /> <meta property="og:locale" content="en_US" /> <link rel="canonical" href="/assets/css/just-the-docs-head-nav.css" /> <meta property="og:url" content="/assets/css/just-the-docs-head-nav.css" /> <meta property="og:site_name" content="Cell-Based Flow" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="Cell-Based Flow" /> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"WebPage","headline":"Cell-Based Flow","url":"/assets/css/just-the-docs-head-nav.css"}</script> <!-- End Jekyll SEO tag --> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet"> <meta name="googlebot" content="noindex, nofollow, noarchive, nosnippet"> <meta name="google-site-verification" content="BzNtIrZyzbj_55XTXyIxtSgu5hE98bCoLuat1NSKAYI" /> <style> /* 1. 右側閱讀區：調深為有明顯溫潤感的「暖燕麥紙色（#f2ece1）」，徹底告別死白 */ html, body, .main-content-wrap, .main, .main-content { background-color: #f2ece1 !important; color: #2c2a29 !important; } /* 頂部搜尋列與輸入框內層：統一壓成暖沙色（#e8e0d2），消除左上角那塊純白方塊 */ .main-header, .search, .search-input-wrap, .search-input { background-color: #e8e0d2 !important; color: #2c2a29 !important; } .main-header { border-bottom: 1px solid #d8cfc0 !important; } /* 2. 左側導覽列：沉穩內斂的「深普魯士藍」＋ 暖棕分隔線 */ .side-bar { background-color: #162436 !important; border-right: 3px solid #a1623b !important; } /* 3. 左上角網站標題：強制單行完全展開不折行 */ .site-title { color: #faf8f5 !important; font-weight: 700 !important; font-size: 1.35rem !important; white-space: nowrap !important; letter-spacing: 0.4px; border-bottom: 1px solid rgba(194, 133, 94, 0.35); padding-left: 12px !important; padding-right: 12px !important; } /* 4. 左側選單文字：調整字級與單行展開，確保較長章節（如 01 章）也不折行 */ .nav-list .nav-list-item .nav-list-link { background-image: none !important; background-color: transparent !important; color: #cbd5e1 !important; font-weight: 500 !important; font-size: 0.92rem !important; white-space: nowrap !important; border-radius: 6px; margin: 4px 6px; padding-left: 10px !important; padding-right: 10px !important; } /* 5. 右側大標題與次標題：深普魯士藍主字體 ＋ 暖琥珀棕底線 */ h1 { color: #162436 !important; font-weight: 700 !important; border-bottom: 2px solid #a1623b !important; padding-bottom: 8px; } h2 { color: #1e3552 !important; font-weight: 600 !important; border-bottom: 1px solid #e2dad0 !important; padding-bottom: 4px; } h3, h4 { color: #8c4f2b !important; } /* 6. 超連結與行內程式碼標籤：搭配暖紙張底色的深沙棕標籤 */ a { color: #9a5b36 !important; } code { background-color: #f0e8df !important; color: #8c4f2b !important; border: 1px solid #dfd3c5 !important; border-radius: 4px; padding: 2px 6px; } /* 7. 程式碼區塊（Tcl / Bash 腳本）：深海藍黑底 ＋ 左側暖銅棕邊條 */ pre.highlight, div.highlighter-rouge { background-color: #131d2b !important; color: #f8fafc !important; border-radius: 8px !important; border-left: 4px solid #b87348 !important; } pre.highlight code { background-color: transparent !important; color: #e2e8f0 !important; border: none !important; } /* 8. 徹底消除外層白框，讓深藍程式碼卡片獨立呈現，並將所有語法元素調為高對比亮色 */ div[class*="language-"], div.highlighter-rouge, figure.highlight, .highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 18px 0 26px 0 !important; } pre.highlight, pre { background-color: #162436 !important; color: #f8fafc !important; border-left: 4px solid #a1623b !important; border-radius: 8px !important; padding: 18px 22px !important; font-size: 0.95rem !important; line-height: 1.7 !important; overflow-x: auto !important; box-shadow: 0 3px 10px rgba(22, 36, 54, 0.12) !important; } pre code { background-color: transparent !important; color: #f8fafc !important; border: none !important; padding: 0 !important; } /* 強制將原本暗紫色的變數與函式名稱（.n, .nv, .nf 等）全部調亮為清晰亮白與天藍 */ .highlight .n, .highlight .nv, .highlight .nb, .highlight .bp { color: #f8fafc !important; } /* 變數名稱改為純白，不再暗紫糊在一起 */ .highlight .nf, .highlight .nc, .highlight .nn { color: #7dd3fc !important; font-weight: 600 !important; } /* 模組與函式名稱改為亮天藍 */ .highlight .c, .highlight .c1, .highlight .cm { color: #94a3b8 !important; font-style: italic !important; } /* 註解改為清晰銀灰 */ .highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt { color: #fbbf24 !important; font-weight: 600 !important; } /* 關鍵字改為明亮琥珀黃 */ .highlight .m, .highlight .mi, .highlight .mh, .highlight .mb { color: #4ade80 !important; } /* 數字改為亮翠綠 */ .highlight .s, .highlight .s1, .highlight .s2 { color: #fde68a !important; } /* 字串改為柔亮黃 */ .highlight .o, .highlight .p { color: #cbd5e1 !important; } /* 符號與分號改為亮銀白 */ /* 9. 正文容器置中對齊並適度加寬（1040px），解決右半邊空蕩問題 */ .main-content-wrap { max-width: 1040px !important; margin: 0 auto !important; padding: 36px 48px !important; } .main-content { max-width: 100% !important; padding: 0 !important; line-height: 1.8 !important; } /* 10. 粗體字改為「赤陶紅棕（#9a5b36）」，在暖紙張底色上突顯重點層次 */ strong, b { color: #9a5b36 !important; font-weight: 700 !important; } /* 11. 卡片化引用區塊（作者資訊卡 ＆ 提醒框） */ blockquote { background-color: #e9e1d3 !important; border-left: 4px solid #a1623b !important; border-radius: 0 8px 8px 0 !important; padding: 14px 20px !important; margin: 18px 0 26px 0 !important; color: #2c2a29 !important; box-shadow: 0 2px 5px rgba(22, 36, 54, 0.05) !important; } blockquote p { margin: 4px 0 !important; } /* 12. 柔和同色系書頁表格：消除純白條紋突兀感，與暖燕麥紙底色（#f2ece1）自然融合 */ .table-wrapper { background-color: transparent !important; box-shadow: none !important; border: none !important; margin: 20px 0 28px 0 !important; } table { width: 100% !important; border-collapse: collapse !important; border-radius: 8px !important; overflow: hidden !important; border: 1px solid #d5cab8 !important; box-shadow: 0 2px 6px rgba(22, 36, 54, 0.05) !important; } th { background-color: #162436 !important; color: #faf8f5 !important; font-weight: 600 !important; padding: 12px 16px !important; text-align: left !important; border-bottom: 2px solid #a1623b !important; } td { background-color: #f7f3eb !important; /* 改用柔和象牙紙白，消除純白跳色感 */ border-bottom: 1px solid #dcd2c2 !important; padding: 12px 16px !important; color: #2c2a29 !important; } tr:nth-child(even) td { background-color: #ebe3d5 !important; /* 偶數列維持同色調暖沙色，形成低調層次 */ } /* 13. 表格前三欄維持單行不折行，並收斂短欄位寬度避免左半邊空蕩 */ th:nth-child(1), td:nth-child(1), th:nth-child(2), td:nth-child(2), th:nth-child(3), td:nth-child(3) { white-space: nowrap !important; width: 1% !important; /* 讓前幾欄依內容寬度緊湊貼合，把剩餘空間全留給最後一欄說明 */ } th:nth-child(4), td:nth-child(4) { width: auto !important; } /* 修正側邊欄跑掉：強制最外層容器佔滿 100% 螢幕寬度，讓深藍色側邊欄緊貼螢幕最左緣 */ .page-wrap, .main { max-width: 100% !important; margin-left: 0 !important; } .side-bar { left: 0 !important; width: 300px !important; } @media (min-width: 66.5rem) { .main { margin-left: 300px !important; } } /* 14. 工作站檔案路徑專屬提示框（石板青配色，與一般提示卡明確區隔） */ .ws-path { background-color: #eef4f7 !important; border-left: 4px solid #2b6cb0 !important; border-radius: 6px !important; padding: 12px 18px !important; margin: 16px 0 22px 0 !important; color: #1e293b !important; font-size: 0.94rem !important; line-height: 1.65 !important; } .ws-path strong { color: #1e40af !important; } .ws-path code { background-color: #dce8f2 !important; color: #0f172a !important; border: 1px solid #bfdbfe !important; font-weight: 600 !important; padding: 2px 6px !important; } /* 15. 章節頁尾到底提示與下一章切換按鈕（採用全站深海軍藍與暖大地棕主色） */ .page-end-nav { margin-top: 48px !important; padding-top: 24px !important; border-top: 1px dashed #d6cbbd !important; display: flex !important; justify-content: space-between !important; align-items: center !important; flex-wrap: wrap !important; gap: 16px !important; } .page-end-text { color: #6e5d4f !important; font-size: 0.92rem !important; font-weight: 500 !important; } .next-chapter-btn { display: inline-flex !important; align-items: center !important; background-color: #142334 !important; color: #f4efe6 !important; border: 1px solid #8b5a2b !important; text-decoration: none !important; padding: 10px 22px !important; border-radius: 6px !important; font-weight: 600 !important; font-size: 0.95rem !important; box-shadow: 0 2px 6px rgba(20, 35, 52, 0.12) !important; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease !important; } .next-chapter-btn:hover { background-color: #8b5a2b !important; border-color: #8b5a2b !important; color: #ffffff !important; transform: translateY(-1px) !important; } /* 16. 側邊欄當前所在章節（Active）實心暖琥珀棕底配白字 */ .side-bar .nav-list .nav-list-item > .nav-list-link.active { background-color: #a1623b !important; color: #ffffff !important; font-weight: 700 !important; border-left: none !important; border-radius: 6px !important; padding-left: 16px !important; } /* Mermaid 圖表融入暖米色主題 */ pre:has(> code.language-mermaid), div.mermaid { background-color: #f7f2e9 !important; border: 1px dashed #cbbba0 !important; border-left: 1px dashed #cbbba0 !important; border-radius: 8px; padding: 1.25rem; text-align: center; box-shadow: none !important; } .mermaid svg foreignObject div, .mermaid svg foreignObject span, .mermaid svg text { color: #2c2520 !important; fill: #2c2520 !important; } /* 智慧財產權與保密聲明：保留完整三點文字，以漸層融入底色消除切割感 */ .ip-notice-footer { position: fixed; bottom: 0; left: 336px; right: 0; z-index: 90; /* 使用漸層背景：上方透明漸變至下方不透明燕麥紙色，視覺上不再被硬切一刀 */ background: linear-gradient( to bottom, rgba(242, 236, 225, 0) 0%, rgba(242, 236, 225, 0.94) 18%, #f2ece1 35% ); border-top: none; /* 移除生硬的橫線 */ padding: 1.15rem 160px 0.55rem 2.25rem; /* 上方預留漸層緩衝，右側避開吉祥物 */ color: #5c564f; /* 柔和的深暖灰文字，不搶內文風采 */ font-size: 0.74rem; line-height: 1.4; } .ip-notice-footer .ip-notice-title { font-weight: 700; color: #8c4a27; margin-bottom: 0.15rem; font-size: 0.78rem; display: inline-block; border-bottom: 1px solid #d8cfc0; /* 僅在標題下方加一條極細底線作區隔 */ padding-bottom: 0.1rem; } .ip-notice-footer ul { margin: 0.15rem 0 0 0; padding-left: 1.1rem; } .ip-notice-footer li { margin-bottom: 0.1rem; } .ip-notice-footer li:last-child { margin-bottom: 0; } .ip-notice-footer strong { color: #3d3935; } .ip-notice-footer code { background-color: #e6dec8 !important; color: #8c4a27 !important; border: none; padding: 0.05em 0.35em; border-radius: 3px; font-weight: 600; font-size: 0.72rem; } /* 預留網頁最底部空白，確保滑到最底時「前往下一章」按鈕完整露出 */ .main-content { padding-bottom: 6.5rem !important; } @media (max-width: 49.99rem) { .ip-notice-footer { left: 0; padding: 1rem 1rem 0.5rem 1rem; font-size: 0.7rem; } .main-content { padding-bottom: 8.5rem !important; } } </style> </head> <body> <a class="skip-to-main" href="#main-content">Skip to main content</a> <svg xmlns="http://www.w3.org/2000/svg" class="d-none"> <symbol id="svg-link" viewBox="0 0 24 24"> <title>Link</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"> <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> </symbol> <symbol id="svg-menu" viewBox="0 0 24 24"> <title>Menu</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"> <line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line> </svg> </symbol> <symbol id="svg-arrow-right" viewBox="0 0 24 24"> <title>Expand</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"> <polyline points="9 18 15 12 9 6"></polyline> </svg> </symbol> <!-- Feather. MIT License: https://github.com/feathericons/feather/blob/master/LICENSE --> <symbol id="svg-external-link" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"> <title id="svg-external-link-title">(external link)</title> <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line> </symbol> <symbol id="svg-doc" viewBox="0 0 24 24"> <title>Document</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"> <path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline> </svg> </symbol> <symbol id="svg-search" viewBox="0 0 24 24"> <title>Search</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"> <circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line> </svg> </symbol> <!-- Bootstrap Icons. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md --> <symbol id="svg-copy" viewBox="0 0 16 16"> <title>Copy</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/> </svg> </symbol> <symbol id="svg-copied" viewBox="0 0 16 16"> <title>Copied</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard-check-fill" viewBox="0 0 16 16"> <path d="M6.5 0A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3Zm3 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3Z"/> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1A2.5 2.5 0 0 1 9.5 5h-3A2.5 2.5 0 0 1 4 2.5v-1Zm6.854 7.354-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708.708Z"/> </svg> </symbol> </svg> <header class="side-bar"> <div class="site-header"> <a href="/" class="site-title lh-tight"> Cell-Based Flow </a> <button id="menu-button" class="site-button btn-reset" aria-label="Menu" aria-expanded="false"> <svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg> </button> </div> <nav aria-label="Main" id="site-nav" class="site-nav"> <ul class="nav-list"><li class="nav-list-item"><a href="/" class="nav-list-link">Cell-Based Design Flow</a></li><li class="nav-list-item"><a href="/01_RTL.html" class="nav-list-link">01. Circuit Design & Verification</a></li><li class="nav-list-item"><a href="/02_Lint.html" class="nav-list-link">02. Lint</a></li><li class="nav-list-item"><a href="/03_Synthesis.html" class="nav-list-link">03. Synthesis</a></li><li class="nav-list-item"><a href="/04_DFT.html" class="nav-list-link">04. DFT</a></li><li class="nav-list-item"><a href="/05_Layout.html" class="nav-list-link">05. Layout</a></li><li class="nav-list-item"><a href="/06_Physical_Verification.html" class="nav-list-link">06. Physical Verification</a></li></ul> </nav> <div class="d-md-block d-none site-footer"> This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </div> </header> <div class="main" id="top"> <div id="main-header" class="main-header"> <div class="search" role="search"> <div class="search-input-wrap"> <input type="text" id="search-input" class="search-input" tabindex="0" placeholder="Search Cell-Based Flow" autocomplete="off"> <label for="search-input" class="search-label"> <span class="sr-only">Search Cell-Based Flow</span> <svg viewBox="0 0 24 24" class="search-icon" aria-hidden="true"><use xlink:href="#svg-search"></use></svg> </label> </div> <div id="search-results" class="search-results"></div> </div> </div> <div class="main-content-wrap"> <div id="main-content" class="main-content"> <main> <h.site-nav ul li a { background-image: linear-gradient(-90deg, rgb(92.0784313725%, 92.8705882353%, 96.0392156863%) 0%, rgba(92.0784313725%, 92.8705882353%, 96.0392156863%, 0.8) 80%, rgba(92.0784313725%, 92.8705882353%, 96.0392156863%, 0) 100%); } </main> <hr> <footer> <div class="ip-notice-footer"> <div class="ip-notice-title">【智慧財產權與保密聲明】</div> <ul> <li><strong>本網頁內容：</strong>受智慧財產權保護，僅授權予本課程教學使用，嚴禁任意轉載、重製或散布連結予非修課人員。</li> <li><strong>工作站資料：</strong>工作站內 <code>202612VLSI</code> 資料夾之所有檔案僅供修課授權範圍內使用，請同學切勿轉傳他人、販售，或上傳至任何公開網站（如 GitHub、個人雲端或公開筆記平台等）。</li> <li>違者將構成侵害智慧財產權及違反相關保密協議，並須負相關法律責任，請同學務必遵守。</li> </ul> </div> <div style="display:none;" aria-hidden="true"> <img src="/fight.gif" alt="" /> <img src="/bonk.gif" alt="" /> <img src="/pet.gif" alt="" /> <img src="/sleep.gif" alt="" /> </div> <div id="luoluo-mascot-widget" class="mascot-container is-right is-bottom" data-state="intro1" data-min="0"> <div id="mascot-speech-bubble" class="mascot-bubble">哈囉！我是蘿蘿~ </div> <div class="mascot-card" id="mascot-drag-card"> <button type="button" id="mascot-min-btn" class="mascot-toggle-btn" title="縮小／展開" onclick="window.mascotMin()">-</button> <div class="mascot-click-area"> <img id="mascot-gif" src="/intro.gif" data-base="/" alt="蘿蘿與大狗狗互動小劇場" draggable="false" /> </div> <div class="mascot-actions" id="mascot-actions"> <button type="button" class="mascot-action-btn" onclick="window.mascotGo('next')">認識大狗狗 🐾</button> </div> <div id="mascot-resize-handle" class="mascot-resize-handle" title="按住拖曳自由放大或縮小"></div> </div> </div> <style> .mascot-container { position: fixed; right: 22px; bottom: 22px; z-index: 99999; display: flex; flex-direction: column; align-items: flex-end; user-select: none; -webkit-user-select: none; pointer-events: auto; font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif; } .mascot-container.is-left { align-items: flex-start; } .mascot-container.is-top .mascot-card { order: 1; } .mascot-container.is-top .mascot-bubble { order: 2; margin-top: 8px; margin-bottom: 0; } .mascot-container.is-top .mascot-bubble::after { top: -6px; bottom: auto; border-left: 1.5px solid #d4b89c; border-top: 1.5px solid #d4b89c; border-right: none; border-bottom: none; } .mascot-container.is-bottom .mascot-bubble { order: 1; margin-bottom: 8px; margin-top: 0; } .mascot-container.is-bottom .mascot-card { order: 2; } .mascot-container.is-bottom .mascot-bubble::after { bottom: -6px; top: auto; border-right: 1.5px solid #d4b89c; border-bottom: 1.5px solid #d4b89c; border-left: none; border-top: none; } .mascot-container.is-right .mascot-bubble::after { right: 32px; left: auto; } .mascot-container.is-left .mascot-bubble::after { left: 32px; right: auto; } .mascot-card { position: relative; background: #ffffff; border: 2px solid #d4b89c; border-radius: 20px; padding: 8px 10px 8px; box-shadow: 0 8px 20px rgba(60, 42, 28, 0.16); display: flex; flex-direction: column; align-items: center; cursor: grab; } .mascot-card:active { cursor: grabbing; } .mascot-card:hover { border-color: #9e5a2b; } .mascot-card img { width: 155px; height: auto; display: block; border-radius: 14px; pointer-events: none; } .mascot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 6px; width: 100%; } .mascot-action-btn { background: rgba(158, 90, 43, 0.94); color: #ffffff; border: none; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 99px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); cursor: pointer; line-height: 1.3; } .mascot-action-btn:hover { background: #7c431c; } .mascot-action-btn.is-danger { background: #d9534f; } .mascot-action-btn.is-danger:hover { background: #b93c38; } .mascot-action-btn.is-soft { background: #e89b5a; } .mascot-action-btn.is-soft:hover { background: #d18240; } .mascot-bubble { background: #fdfbf7; color: #5c3d28; border: 1.5px solid #d4b89c; border-radius: 15px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; line-height: 1.4; max-width: 210px; text-align: center; box-shadow: 0 4px 12px rgba(74, 53, 37, 0.14); position: relative; } .mascot-bubble::after { content: ""; position: absolute; width: 10px; height: 10px; background: #fdfbf7; transform: rotate(45deg); } .mascot-container[data-state="fight"] .mascot-bubble { background: #fff5f5; border-color: #d96b6b; color: #b83b3b; } .mascot-container[data-state="fight"] .mascot-bubble::after { background: #fff5f5; border-color: #d96b6b; } .mascot-toggle-btn { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d4b89c; background: #fdfbf7; color: #5c3d28; font-size: 14px; font-weight: bold; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.16); z-index: 10; padding: 0; } .mascot-toggle-btn:hover { background: #9e5a2b; color: #fff; } .mascot-resize-handle { position: absolute; bottom: 2px; right: 2px; width: 18px; height: 18px; cursor: nwse-resize; z-index: 12; border-bottom-right-radius: 16px; opacity: 0.55; background: linear-gradient(135deg, transparent 45%, #9e5a2b 45%, #9e5a2b 58%, transparent 58%, transparent 72%, #9e5a2b 72%, #9e5a2b 85%, transparent 85%); } .mascot-card:hover .mascot-resize-handle { opacity: 1; } .mascot-container.is-minimized .mascot-bubble, .mascot-container.is-minimized .mascot-click-area, .mascot-container.is-minimized .mascot-resize-handle { display: none; } .mascot-container.is-minimized .mascot-card { padding: 6px 12px; border-radius: 99px; } .mascot-container.is-minimized .mascot-actions { margin-top: 0; } </style> <script src="/mascot.js?v="></script> <div class="d-md-none mt-4 fs-2"> This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </div> </footer> </div> </div> <div class="search-overlay"></div> </div> <script type="module"> import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10.6.0/dist/mermaid.esm.min.mjs'; var config = {} ; mermaid.initialize(config); mermaid.run({ querySelector: '.language-mermaid', }); </script> </body> </html>
