wip
This commit is contained in:
parent
0a99abb52d
commit
7ce4914ea1
5 changed files with 182 additions and 37 deletions
|
@ -52,4 +52,125 @@
|
|||
.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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue