/* Collapsible cards customization */ .accordion-button:not(.collapsed) { background-color: rgba(32, 107, 196, 0.06); color: #206bc4; } .accordion-button:focus { box-shadow: none; } .markdown-content { overflow-wrap: break-word; } /* Adjust spacing in application cards */ .accordion-button .badge { font-size: 0.7rem; padding: 0.25em 0.5em; } /* Ensure icons are vertically centered */ .accordion-button .ti { vertical-align: middle; } /* Make sure markdown content has proper spacing */ .markdown-content>*:first-child { margin-top: 0; } .markdown-content>*:last-child { margin-bottom: 0; } /* Custom styling for port badges in accordion headers */ .accordion-button .badge { background-color: #206bc4; color: white; } /* Add a bit of hover effect to the accordion items */ .accordion-item:hover { background-color: rgba(32, 107, 196, 0.03); } /* Visual cue for the action buttons */ .accordion-body .btn-outline-primary:hover { background-color: #206bc4; color: white; } .accordion-body .btn-outline-danger:hover { background-color: #d63939; color: white; } /* Markdown content styling */ .markdown-content.theme-styled { color: var(--tblr-body-color); background-color: var(--tblr-card-bg); border-radius: 0.375rem; overflow: hidden; } [data-bs-theme="dark"] .markdown-content.theme-styled { color: #e1e3e6; } .markdown-content.theme-styled h1, .markdown-content.theme-styled h2, .markdown-content.theme-styled h3, .markdown-content.theme-styled h4, .markdown-content.theme-styled h5, .markdown-content.theme-styled h6 { margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--tblr-primary); font-weight: 600; } .markdown-content.theme-styled h1:first-child, .markdown-content.theme-styled h2:first-child, .markdown-content.theme-styled h3:first-child { margin-top: 0; } .markdown-content.theme-styled p { margin-bottom: 1rem; line-height: 1.6; } .markdown-content.theme-styled a { color: var(--tblr-primary); text-decoration: none; border-bottom: 1px dotted var(--tblr-primary); } .markdown-content.theme-styled a:hover { border-bottom: 1px solid var(--tblr-primary); } .markdown-content.theme-styled ul, .markdown-content.theme-styled ol { margin-bottom: 1rem; padding-left: 2rem; } .markdown-content.theme-styled code { padding: 0.2em 0.4em; background-color: rgba(var(--tblr-primary-rgb), 0.08); border-radius: 3px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 0.9em; } .markdown-content.theme-styled pre { margin-bottom: 1rem; padding: 1rem; background-color: var(--tblr-dark); border-radius: 0.375rem; overflow-x: auto; } [data-bs-theme="dark"] .markdown-content.theme-styled pre { background-color: rgba(0, 0, 0, 0.2); } .markdown-content.theme-styled pre code { padding: 0; background-color: transparent; color: #e1e3e6; font-size: 0.85rem; line-height: 1.5; } .markdown-content.theme-styled blockquote { margin-left: 0; padding: 0.5rem 1rem; border-left: 4px solid var(--tblr-primary); background-color: rgba(var(--tblr-primary-rgb), 0.05); color: var(--tblr-secondary); } .markdown-content.theme-styled table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; } .markdown-content.theme-styled table th, .markdown-content.theme-styled table td { padding: 0.5rem; border: 1px solid var(--tblr-border-color); } .markdown-content.theme-styled table th { background-color: rgba(var(--tblr-primary-rgb), 0.1); } .app-link { display: inline-flex; align-items: center; transition: color 0.2s; } .app-link:hover { color: var(--tblr-primary-active) !important; } .documentation-wrapper { border-top: 1px solid rgba(255, 255, 255, 0.1); } [data-bs-theme="light"] .documentation-wrapper { border-top: 1px solid rgba(0, 0, 0, 0.1); } /* Markdown admonition styling */ .markdown-content .admonition { padding: 1rem; margin: 1.5rem 0; border-radius: 0.375rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .markdown-content .admonition-title { font-weight: 600; margin: -1rem -1rem 0.8rem -1rem; padding: 0.5rem 1rem; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; display: flex; align-items: center; } .markdown-content .admonition-title::before { margin-right: 0.5rem; font-family: "tabler-icons"; font-weight: normal; } /* Note styling */ .markdown-content .admonition.note { background-color: rgba(66, 153, 225, 0.1); border-left: 4px solid #4299e1; } .markdown-content .admonition.note .admonition-title { background-color: rgba(66, 153, 225, 0.15); color: #2b6cb0; } .markdown-content .admonition.note .admonition-title::before { content: "\ea67"; /* ti-info-circle */ } /* Tip styling */ .markdown-content .admonition.tip { background-color: rgba(72, 187, 120, 0.1); border-left: 4px solid #48bb78; } .markdown-content .admonition.tip .admonition-title { background-color: rgba(72, 187, 120, 0.15); color: #2f855a; } .markdown-content .admonition.tip .admonition-title::before { content: "\ea4a"; /* ti-bulb */ } /* Important styling */ .markdown-content .admonition.important { background-color: rgba(118, 106, 240, 0.1); border-left: 4px solid #766af0; } .markdown-content .admonition.important .admonition-title { background-color: rgba(118, 106, 240, 0.15); color: #5046e4; } .markdown-content .admonition.important .admonition-title::before { content: "\eaca"; /* ti-star */ } /* Warning styling */ .markdown-content .admonition.warning { background-color: rgba(246, 173, 85, 0.1); border-left: 4px solid #f6ad55; } .markdown-content .admonition.warning .admonition-title { background-color: rgba(246, 173, 85, 0.15); color: #c05621; } .markdown-content .admonition.warning .admonition-title::before { content: "\eb4f"; /* ti-alert-triangle */ } /* Danger/Caution styling */ .markdown-content .admonition.danger { background-color: rgba(245, 101, 101, 0.1); border-left: 4px solid #f56565; } .markdown-content .admonition.danger .admonition-title { background-color: rgba(245, 101, 101, 0.15); color: #c53030; } .markdown-content .admonition.danger .admonition-title::before { content: "\eb50"; /* ti-alert-octagon */ } /* Dark mode adjustments */ [data-bs-theme="dark"] .markdown-content .admonition.note { background-color: rgba(56, 127, 187, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.tip { background-color: rgba(56, 161, 105, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.important { background-color: rgba(102, 92, 209, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.warning { background-color: rgba(221, 155, 76, 0.15); } [data-bs-theme="dark"] .markdown-content .admonition.danger { background-color: rgba(224, 92, 92, 0.15); } /* Make sure the markdown content text color is visible */ .markdown-content { color: var(--tblr-body-color); } [data-bs-theme="dark"] .markdown-content { color: #e1e3e6; } /* Fix the app name in the expanded accordion */ .app-card-header .app-link { font-weight: 600; text-decoration: none; } /* GitHub-style markdown alerts */ .markdown-alert { padding: 0.85rem 1rem; margin: 1rem 0; border-radius: 0.375rem; border-left-width: 4px; border-left-style: solid; color: inherit; } .markdown-alert-title { font-weight: 600; margin-top: 0; margin-bottom: 0.5rem; font-size: 1rem; display: flex; align-items: center; } .markdown-alert-title::before { margin-right: 0.5rem; font-family: "tabler-icons"; font-weight: normal; } /* Individual alert types */ /* Note styling */ .markdown-alert-note { background-color: rgba(66, 153, 225, 0.1); border-left-color: #4299e1; } .markdown-alert-note .markdown-alert-title { color: #2b6cb0; } .markdown-alert-note .markdown-alert-title::before { content: "\ea67"; /* ti-info-circle */ } /* Tip styling */ .markdown-alert-tip { background-color: rgba(72, 187, 120, 0.1); border-left-color: #48bb78; } .markdown-alert-tip .markdown-alert-title { color: #2f855a; } .markdown-alert-tip .markdown-alert-title::before { content: "\ea4a"; /* ti-bulb */ } /* Important styling */ .markdown-alert-important { background-color: rgba(118, 106, 240, 0.1); border-left-color: #766af0; } .markdown-alert-important .markdown-alert-title { color: #5046e4; } .markdown-alert-important .markdown-alert-title::before { content: "\eaca"; /* ti-star */ } /* Warning styling */ .markdown-alert-warning { background-color: rgba(246, 173, 85, 0.1); border-left-color: #f6ad55; } .markdown-alert-warning .markdown-alert-title { color: #c05621; } .markdown-alert-warning .markdown-alert-title::before { content: "\eb4f"; /* ti-alert-triangle */ } /* Caution styling */ .markdown-alert-caution { background-color: rgba(245, 101, 101, 0.1); border-left-color: #f56565; } .markdown-alert-caution .markdown-alert-title { color: #c53030; } .markdown-alert-caution .markdown-alert-title::before { content: "\eb50"; /* ti-alert-octagon */ } /* Dark mode adjustments */ [data-bs-theme="dark"] .markdown-alert-note { background-color: rgba(56, 127, 187, 0.15); } [data-bs-theme="dark"] .markdown-alert-tip { background-color: rgba(56, 161, 105, 0.15); } [data-bs-theme="dark"] .markdown-alert-important { background-color: rgba(102, 92, 209, 0.15); } [data-bs-theme="dark"] .markdown-alert-warning { background-color: rgba(221, 155, 76, 0.15); } [data-bs-theme="dark"] .markdown-alert-caution { background-color: rgba(224, 92, 92, 0.15); } /* Fix content inside alerts */ .markdown-alert p { margin-bottom: 0.5rem; } .markdown-alert p:last-child { margin-bottom: 0; } /* Ensure proper spacing for code in alerts */ .markdown-alert code { background-color: rgba(0, 0, 0, 0.07); border-radius: 3px; padding: 0.2em 0.4em; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; } [data-bs-theme="dark"] .markdown-alert code { background-color: rgba(255, 255, 255, 0.1); } /* Fix port display in accordion headers */ .accordion-button .badge { font-size: 0.7rem; padding: 0.25em 0.5em; margin-right: 0.25rem; } /* Add compatibility classes for GitHub markdown */ .markdown-content .markdown-reading-view { width: 100%; }