wip
This commit is contained in:
parent
f939933a7c
commit
be6f7cfcbb
35 changed files with 1897 additions and 733 deletions
55
app/static/css/custom.css
Normal file
55
app/static/css/custom.css
Normal file
|
@ -0,0 +1,55 @@
|
|||
/* 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;
|
||||
}
|
195
app/static/css/markdown.css
Normal file
195
app/static/css/markdown.css
Normal file
|
@ -0,0 +1,195 @@
|
|||
/* Enhanced Markdown Styling */
|
||||
.markdown-content {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
word-wrap: break-word;
|
||||
color: #24292e;
|
||||
}
|
||||
|
||||
.markdown-content h1,
|
||||
.markdown-content h2,
|
||||
.markdown-content h3,
|
||||
.markdown-content h4,
|
||||
.markdown-content h5,
|
||||
.markdown-content h6 {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.markdown-content h1 {
|
||||
font-size: 2em;
|
||||
border-bottom: 1px solid #eaecef;
|
||||
padding-bottom: .3em;
|
||||
}
|
||||
|
||||
.markdown-content h2 {
|
||||
font-size: 1.5em;
|
||||
border-bottom: 1px solid #eaecef;
|
||||
padding-bottom: .3em;
|
||||
}
|
||||
|
||||
.markdown-content h3 {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
.markdown-content h4 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.markdown-content p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.markdown-content blockquote {
|
||||
padding: 0 1em;
|
||||
color: #6a737d;
|
||||
border-left: 0.25em solid #dfe2e5;
|
||||
margin: 0 0 16px 0;
|
||||
}
|
||||
|
||||
.markdown-content pre {
|
||||
padding: 16px;
|
||||
overflow: auto;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: #f6f8fa;
|
||||
border-radius: 3px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.markdown-content code {
|
||||
padding: 0.2em 0.4em;
|
||||
margin: 0;
|
||||
font-size: 85%;
|
||||
background-color: rgba(27, 31, 35, 0.05);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.markdown-content pre code {
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.markdown-content table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 16px;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.markdown-content table th,
|
||||
.markdown-content table td {
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #dfe2e5;
|
||||
}
|
||||
|
||||
.markdown-content table tr {
|
||||
background-color: #fff;
|
||||
border-top: 1px solid #c6cbd1;
|
||||
}
|
||||
|
||||
.markdown-content table tr:nth-child(2n) {
|
||||
background-color: #f6f8fa;
|
||||
}
|
||||
|
||||
/* GitHub-style alerts */
|
||||
.markdown-alert {
|
||||
padding: 0.5rem 1rem;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.markdown-alert p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.markdown-alert p:first-of-type {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.markdown-alert-title {
|
||||
font-weight: bold;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.markdown-alert-note {
|
||||
background-color: #f1f8ff;
|
||||
border-left: 4px solid #58a6ff;
|
||||
}
|
||||
|
||||
.markdown-alert-tip {
|
||||
background-color: #dafbe1;
|
||||
border-left: 4px solid #2da44e;
|
||||
}
|
||||
|
||||
.markdown-alert-important {
|
||||
background-color: #fff8c5;
|
||||
border-left: 4px solid #bf8700;
|
||||
}
|
||||
|
||||
.markdown-alert-warning {
|
||||
background-color: #fff8c5;
|
||||
border-left: 4px solid #bf8700;
|
||||
}
|
||||
|
||||
.markdown-alert-caution {
|
||||
background-color: #ffebe9;
|
||||
border-left: 4px solid #cf222e;
|
||||
}
|
||||
|
||||
/* Add this to ensure consistent display of markdown content */
|
||||
.markdown-body {
|
||||
color: inherit;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.markdown-content {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #24292e;
|
||||
overflow-wrap: break-word;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.markdown-content h1:first-child,
|
||||
.markdown-content h2:first-child,
|
||||
.markdown-content h3:first-child,
|
||||
.markdown-content h4:first-child,
|
||||
.markdown-content h5:first-child,
|
||||
.markdown-content h6:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Additional styling for consistency in all views */
|
||||
.markdown-content pre,
|
||||
.markdown-body pre {
|
||||
background-color: #f6f8fa;
|
||||
border-radius: 3px;
|
||||
padding: 16px;
|
||||
overflow: auto;
|
||||
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.markdown-content code,
|
||||
.markdown-body code {
|
||||
background-color: rgba(27, 31, 35, 0.05);
|
||||
border-radius: 3px;
|
||||
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
padding: 0.2em 0.4em;
|
||||
}
|
||||
|
||||
/* Make sure all GitHub-style alert boxes look the same */
|
||||
.markdown-alert {
|
||||
padding: 8px 16px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 6px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue