wip
This commit is contained in:
parent
7ce4914ea1
commit
94ededdf69
9 changed files with 2894 additions and 44 deletions
|
@ -173,4 +173,299 @@
|
|||
|
||||
[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%;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue