mirror of
https://github.com/bfloydd/coalesce.git
synced 2026-07-22 12:50:30 +00:00
50 lines
No EOL
1.2 KiB
CSS
50 lines
No EOL
1.2 KiB
CSS
/* ============================
|
|
Coalesce Backlinks Component Styles
|
|
============================ */
|
|
|
|
/* Backlinks container & placement under Markdown content */
|
|
.coalesce-custom-backlinks-container {
|
|
/* border-top: 1px solid var(--background-modifier-border); */
|
|
margin-top: 20px;
|
|
position: relative;
|
|
z-index: 10;
|
|
background-color: var(--background-primary);
|
|
color: var(--text-normal);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
|
|
|
|
.is-readable-line-width .coalesce-custom-backlinks-container,
|
|
.is-readable-line-width .markdown-content,
|
|
.is-readable-line-width .coalesce-backlinks-header {
|
|
max-width: var(--file-line-width);
|
|
width: 100%;
|
|
}
|
|
|
|
body .workspace-leaf .markdown-content {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
/* No backlinks message styling */
|
|
.coalesce-no-backlinks-message {
|
|
padding: 16px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
border: 1px dashed var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
margin: 8px 0;
|
|
background-color: var(--background-primary);
|
|
}
|
|
|
|
/* Display utilities */
|
|
body .coalesce-custom-backlinks-container .is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
body .coalesce-custom-backlinks-container .is-visible {
|
|
display: block;
|
|
} |