:root {
--markon-primary: #0969da;
--markon-muted: #656d76;
--markon-border: #d1d9e0;
--markon-subtle: #f6f8fa;
--markon-ui-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
--markon-ui-font-size: 0.8125rem;
--markon-panel-opacity: 0.9;
--markon-collapsed-opacity: 0.6;
--markon-primary-hover: color-mix(in srgb, var(--markon-primary) 80%, black);
--markon-muted-hover: color-mix(in srgb, var(--markon-muted) 60%, black);
--markon-primary-bg: color-mix(in srgb, var(--markon-primary) 10%, transparent);
}
@media (prefers-color-scheme: dark) {
:root {
--markon-primary: #58a6ff;
--markon-muted: #8b949e;
--markon-border: #30363d;
--markon-subtle: #161b22;
--markon-primary-hover: color-mix(in srgb, var(--markon-primary) 80%, white);
--markon-muted-hover: color-mix(in srgb, var(--markon-muted) 60%, white);
--markon-primary-bg: color-mix(in srgb, var(--markon-primary) 15%, transparent);
}
}
:root {
--markon-collapsed-opacity-hover: 0.85;
}
.selection-popover {
position: absolute;
background-color: #2c2c2c;
border-radius: 4px;
padding: 3px 6px 3px 10px;
display: none;
z-index: 10001;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
color: white;
cursor: grab;
}
.selection-popover::before {
content: '';
position: absolute;
left: 5px;
top: 50%;
transform: translateY(-50%);
width: 1px;
height: 12px;
background: #666;
border-radius: 0.5px;
pointer-events: none;
box-shadow: 2px 0 0 #666;
}
.selection-popover:active {
cursor: grabbing;
}
.selection-popover button {
background: none;
border: none;
color: white;
padding: 5px 8px;
cursor: pointer;
font-size: 12px;
transition: background-color 0.2s;
}
.selection-popover button:hover {
background-color: #4a4a4a;
border-radius: 3px;
}
.popover-separator {
color: #666;
margin: 0 4px;
font-size: 12px;
user-select: none;
}
.temp-selection-overlay {
position: absolute;
background-color: rgba(100, 150, 255, 0.3);
pointer-events: none;
z-index: 9998;
}
.markdown-body a:link {
color: #0969da !important;
}
.markdown-body a:visited {
color: #0969da !important;
}
.markdown-body a:hover {
color: #0969da !important;
}
.markdown-body a:active {
color: #0969da !important;
}
.markdown-body a:focus {
color: #0969da !important;
}
.highlight-orange {
background-color: rgba(255, 165, 0, 0.5);
}
.highlight-green {
background-color: rgba(144, 238, 144, 0.6);
}
.highlight-yellow {
background-color: rgba(255, 255, 0, 0.5);
}
@media (prefers-color-scheme: dark) {
.highlight-orange {
background-color: rgba(224, 108, 43, 0.35);
}
.highlight-green {
background-color: rgba(46, 160, 67, 0.35);
}
.highlight-yellow {
background-color: rgba(187, 128, 9, 0.35);
}
}
.strikethrough {
text-decoration: line-through;
}
.has-note {
background-color: rgba(255, 99, 71, 0.2);
cursor: pointer;
}
.annotation-focused {
outline: 2px solid #0969da;
outline-offset: 2px;
border-radius: 3px;
}
@media (prefers-color-scheme: dark) {
.annotation-focused {
outline-color: #58a6ff;
}
}
.heading-section {
position: relative;
scroll-margin-top: 40px;
border: 2px solid transparent;
border-radius: 4px;
padding: 4px 8px;
padding-bottom: 5px;
}
.heading-section:has(.heading-focused) {
border-color: rgba(9, 105, 218, 0.3);
}
@media (prefers-color-scheme: dark) {
.heading-section:has(.heading-focused) {
border-color: rgba(88, 166, 255, 0.4);
}
}
[data-theme="dark"] .heading-section:has(.heading-focused) {
border-color: rgba(88, 166, 255, 0.4);
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: -4px;
margin-left: -8px;
margin-right: -8px;
padding: 4px 8px;
}
@media (min-width: 1400px) {
.heading-section { padding: 12px 12px 0 12px; }
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: -14px;
margin-left: -14px;
margin-right: -14px;
padding: 12px;
}
}
.markdown-body h1.heading-focused,
.markdown-body h2.heading-focused,
.markdown-body h3.heading-focused,
.markdown-body h4.heading-focused,
.markdown-body h5.heading-focused,
.markdown-body h6.heading-focused {
background-color: rgba(9, 105, 218, 0.1);
border-bottom: none !important;
border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
.markdown-body h1.heading-focused,
.markdown-body h2.heading-focused,
.markdown-body h3.heading-focused,
.markdown-body h4.heading-focused,
.markdown-body h5.heading-focused,
.markdown-body h6.heading-focused {
background-color: rgba(88, 166, 255, 0.15);
}
}
[data-theme="dark"] .markdown-body h1.heading-focused,
[data-theme="dark"] .markdown-body h2.heading-focused,
[data-theme="dark"] .markdown-body h3.heading-focused,
[data-theme="dark"] .markdown-body h4.heading-focused,
[data-theme="dark"] .markdown-body h5.heading-focused,
[data-theme="dark"] .markdown-body h6.heading-focused {
background-color: rgba(88, 166, 255, 0.15);
}
.note-input-modal {
position: absolute;
z-index: 1001;
background: white;
border: 1px solid #d0d7de;
border-radius: 8px;
padding: 12px;
box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
width: 360px;
}
.note-textarea {
width: 100%;
padding: 8px 12px;
border: 1px solid #d0d7de;
border-radius: 6px;
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
resize: vertical;
min-height: 80px;
margin-bottom: 12px;
box-sizing: border-box;
}
.note-textarea:focus {
outline: none;
border-color: #0969da;
box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}
.note-input-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.note-input-actions button {
padding: 6px 16px;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
border: 1px solid #d0d7de;
background: white;
color: #1f2328;
transition: all 0.1s;
}
.note-input-actions button:hover {
background: #f3f4f6;
}
.note-save {
background: #2da44e !important;
color: white !important;
border-color: #2da44e !important;
}
.note-save:hover {
background: #2c974b !important;
}
.note-card-margin {
position: absolute;
width: 280px;
padding: 12px 16px;
background: #f6f8fa;
border-left: 3px solid #0969da;
border-radius: 6px;
font-size: 13px;
line-height: 1.6;
cursor: pointer;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
z-index: 10;
box-sizing: border-box;
}
.note-card-margin:hover {
background: #e7f5ff;
border-left-color: #0550ae;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.note-card-margin.highlight-active {
border: 2px solid #0969da;
border-left: 3px solid #0969da;
box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.15);
}
.note-actions {
position: absolute;
top: 8px;
right: 8px;
display: flex;
gap: 4px;
}
.note-edit,
.note-delete {
width: 20px;
height: 20px;
border: none;
color: white;
border-radius: 50%;
font-size: 14px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.7;
transition: opacity 0.2s, transform 0.2s;
padding: 0;
}
.note-edit {
background: #0969da;
}
.note-edit:hover {
opacity: 1;
transform: scale(1.1);
}
.note-delete {
background: #dc3545;
}
.note-delete:hover {
opacity: 1;
transform: scale(1.1);
}
.note-content {
color: #1f2328;
white-space: pre-wrap;
word-wrap: break-word;
padding-right: 52px;
}
.confirm-dialog {
position: fixed;
background: white;
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 10px 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 10000;
min-width: 180px;
max-width: 250px;
}
.confirm-message {
margin: 0 0 10px 0;
font-size: 13px;
color: #1f2328;
line-height: 1.4;
}
.confirm-actions {
display: flex;
justify-content: flex-end;
gap: 6px;
}
.confirm-actions button {
padding: 4px 12px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
cursor: pointer;
border: 1px solid #d0d7de;
background: white;
color: #1f2328;
transition: all 0.1s;
}
.confirm-actions button:hover {
background: #f3f4f6;
}
.confirm-ok {
background: #dc3545 !important;
color: white !important;
border-color: #dc3545 !important;
}
.confirm-ok:hover {
background: #c82333 !important;
}
.has-note {
background-color: rgba(255, 99, 71, 0.2);
cursor: pointer;
border-bottom: 2px dotted rgba(255, 99, 71, 0.5);
transition: all 0.2s;
}
.has-note:hover {
background-color: rgba(255, 99, 71, 0.35);
border-bottom-color: rgba(255, 99, 71, 0.8);
}
.has-note.highlight-active {
background-color: rgba(9, 105, 218, 0.2);
border-bottom: 2px solid #0969da;
box-shadow: 0 0 0 2px rgba(9, 105, 218, 0.1);
}
.note-popup {
position: fixed;
max-width: 300px;
background: #f6f8fa;
border: 1px solid #0969da;
border-radius: 6px;
padding: 12px 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 9999;
font-size: 13px;
line-height: 1.6;
cursor: default;
}
#toc-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 10000;
}
@media (max-width: 768px) {
#toc-container {
right: 10px;
}
}
#toc-icon {
width: 40px;
height: 40px;
background-color: #f6f8fa;
border-radius: 50%;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
display: none;
}
#toc-icon span {
display: block;
width: 20px;
height: 2px;
background-color: #1f2328;
margin: 2px 0;
}
@media (max-width: 1400px) {
#toc-icon {
display: flex;
}
.toc {
display: none;
position: absolute !important;
top: 0 !important;
right: 0;
left: auto !important;
width: 280px !important;
max-width: 280px !important;
margin-bottom: 0 !important;
max-height: calc(100vh - 40px);
overflow-y: auto;
background-color: #fff;
border: 1px solid #d0d7de;
border-radius: 6px;
box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
overscroll-behavior: contain;
}
#toc-container.active .toc {
display: block;
}
#toc-container.active #toc-icon {
display: none;
}
}
.viewed-checkbox-label {
margin-left: 0.75rem;
font-size: var(--markon-ui-font-size);
font-family: var(--markon-ui-font);
font-weight: normal;
color: var(--markon-muted);
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
display: inline-flex;
align-items: center;
gap: 0.3rem;
vertical-align: middle;
transition: opacity 0.2s;
pointer-events: auto;
}
.viewed-checkbox-label:hover {
opacity: 0.8;
}
.viewed-checkbox {
cursor: pointer;
width: 15px;
height: 15px;
margin: 0;
vertical-align: middle;
}
.viewed-text {
}
.section-action {
font-size: var(--markon-ui-font-size);
font-family: var(--markon-ui-font);
color: var(--markon-muted);
font-weight: normal;
cursor: pointer;
margin-left: 0.5em;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
vertical-align: middle;
transition: opacity 0.2s;
pointer-events: auto;
}
.section-action:hover {
opacity: 0.7;
text-decoration: underline;
}
.section-action-separator + .section-action {
margin-left: 0;
}
.section-action-separator {
margin: 0 0.25rem;
font-size: var(--markon-ui-font-size);
color: var(--markon-muted);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
vertical-align: middle;
}
.print-section-container {
display: none;
}
.section-collapsed {
cursor: pointer;
opacity: var(--markon-collapsed-opacity);
transition: opacity 0.2s ease;
position: relative;
}
.section-collapsed:hover {
opacity: var(--markon-collapsed-opacity-hover);
}
.section-expand-toggle {
}
.section-collapsed.section-temp-expanded {
opacity: 1;
}
.section-content-hidden {
max-height: 0 !important;
opacity: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
overflow: hidden !important;
transition: opacity 0.2s ease-out, max-height 0.35s ease-out 0.05s, margin 0.35s ease-out 0.05s, padding 0.35s ease-out 0.05s !important;
}
.section-content-temp-visible {
max-height: 10000px !important;
opacity: 1 !important;
transition: max-height 0.35s ease-out, margin 0.35s ease-out, padding 0.35s ease-out, opacity 0.2s ease-out 0.05s !important;
}
.markdown-body > * {
transition: opacity 0.2s ease-out, max-height 0.35s ease-out, margin 0.35s ease-out, padding 0.35s ease-out;
}
[data-theme="dark"] .viewed-checkbox-label {
color: #8b949e;
}
[data-theme="dark"] .section-action {
color: #8b949e;
}
[data-theme="dark"] .section-action-separator {
color: #8b949e;
}
.viewed-toolbar {
margin-left: 0.75rem;
font-size: var(--markon-ui-font-size);
font-family: var(--markon-ui-font);
font-weight: normal;
color: var(--markon-muted);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
display: inline-flex;
align-items: center;
gap: 0.3rem;
vertical-align: middle;
}
.viewed-toolbar a {
color: var(--markon-primary);
text-decoration: none;
cursor: pointer;
padding: 2px 4px;
transition: color 0.2s;
font-size: 0.8125rem;
}
.viewed-toolbar a:hover {
text-decoration: underline;
opacity: 0.8;
}
.viewed-toolbar-separator {
color: #8b949e;
margin: 0 4px;
font-size: var(--markon-ui-font-size);
}
.toc-item.viewed > a {
color: #2da44e !important;
font-weight: 500;
}
.toc-item.viewed > a:hover {
color: #2c974b !important;
}
@media (prefers-color-scheme: dark) {
.toc-item.viewed > a {
color: #3fb950 !important;
}
.toc-item.viewed > a:hover {
color: #56d364 !important;
}
}
[data-theme="dark"] .toc-item.viewed > a {
color: #3fb950 !important;
font-weight: 500;
}
[data-theme="dark"] .toc-item.viewed > a:hover {
color: #56d364 !important;
}
.toc-item a.toc-focused {
outline: 2px solid #0969da;
outline-offset: 2px;
border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
.toc-item a.toc-focused {
outline: 2px solid #58a6ff;
outline-offset: 2px;
}
}
.toc-collapse-indicator {
display: inline-block;
width: 1em;
font-size: 0.75em;
opacity: 0.6;
user-select: none;
}
@media print {
body:has(.print-section-container) > *:not(.print-section-container) {
display: none !important;
}
.print-section-container {
display: block !important;
}
.print-section-container .section-action-separator,
.print-section-container .section-print-btn {
display: none !important;
}
.viewed-checkbox-label {
display: none !important;
}
.section-expand-toggle {
display: none !important;
}
.viewed-toolbar {
display: none !important;
}
.section-collapsed {
opacity: 1 !important;
cursor: default !important;
}
.section-content-hidden {
max-height: none !important;
opacity: 1 !important;
margin: inherit !important;
padding: inherit !important;
}
.heading-section {
padding: 0 !important;
border: none !important;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding: 0 !important;
}
.toc-item.viewed > a {
color: inherit !important;
font-weight: normal !important;
}
}
.shortcuts-help-panel {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10000;
align-items: center;
justify-content: center;
}
.shortcuts-help-panel.visible {
display: flex;
}
.shortcuts-help-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
.shortcuts-help-modal {
position: relative;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
max-width: 750px;
max-height: 85vh;
overflow: hidden;
display: flex;
flex-direction: column;
}
.shortcuts-help-header {
padding: 0px 18px;
border-bottom: 1px solid #d0d7de;
background: #f6f8fa;
}
.shortcuts-help-content {
padding: 14px 18px;
overflow-y: auto;
flex: 1;
}
.shortcuts-category {
margin-bottom: 16px;
}
.shortcuts-category:last-child {
margin-bottom: 0;
}
.shortcuts-category h3 {
margin: 0 0 8px 0;
font-size: 0.75rem;
font-weight: 600;
color: #656d76;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.shortcuts-list {
display: block;
}
.shortcut-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px 0;
gap: 16px;
}
.shortcut-key {
flex-shrink: 0;
min-width: 140px;
white-space: nowrap;
text-align: left;
}
.shortcut-desc {
flex: 1;
color: #24292f;
font-size: 0.8rem;
line-height: 1.4;
text-align: right;
}
.shortcut-key kbd {
display: inline-block;
padding: 2px 6px;
font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
font-size: 0.7rem;
color: #24292f;
background: #f6f8fa;
border: 1px solid #d0d7de;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #d0d7de;
margin-right: 3px;
}
.shortcuts-help-footer {
padding: 10px 18px;
border-top: 1px solid #d0d7de;
background: #f6f8fa;
text-align: center;
font-size: 0.75rem;
color: #656d76;
}
.shortcuts-help-footer kbd {
display: inline-block;
padding: 2px 5px;
font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
font-size: 0.7rem;
color: #24292f;
background: #ffffff;
border: 1px solid #d0d7de;
border-radius: 3px;
margin: 0 2px;
}
@media (max-width: 768px) {
.shortcuts-help-content {
grid-template-columns: 1fr;
}
.shortcuts-help-modal {
max-width: 95%;
}
}
@media (prefers-color-scheme: dark) {
.shortcuts-help-modal {
background: #0d1117;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.shortcuts-help-header,
.shortcuts-help-footer {
background: #161b22;
border-color: #30363d;
}
.shortcuts-help-header h2 {
color: #c9d1d9;
}
.shortcuts-category h3 {
color: #8b949e;
}
.shortcut-key kbd {
color: #c9d1d9;
background: #161b22;
border-color: #30363d;
box-shadow: inset 0 -1px 0 #30363d;
}
.shortcut-desc {
color: #c9d1d9;
}
.shortcuts-help-footer {
color: #8b949e;
}
.shortcuts-help-footer kbd {
color: #c9d1d9;
background: #0d1117;
border-color: #30363d;
}
}
@media print {
.shortcuts-help-panel {
display: none !important;
}
}
@keyframes highlight-flash {
0% {
background-color: transparent;
box-shadow: none;
}
50% {
background-color: rgba(255, 223, 0, 0.3);
box-shadow: 0 0 8px rgba(255, 223, 0, 0.5);
}
100% {
background-color: transparent;
box-shadow: none;
}
}
.highlight-flash {
animation: highlight-flash 1s ease-in-out;
}
.editor-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10000;
background-color: #1e1e1e;
display: flex;
flex-direction: column;
}
.editor-header {
display: flex;
align-items: center;
gap: 16px;
padding: 12px 20px;
background-color: #2d2d2d;
border-bottom: 1px solid #3e3e3e;
}
.editor-close {
background: none;
border: none;
color: #cccccc;
font-size: 18px;
cursor: pointer;
padding: 4px 8px;
line-height: 1;
transition: color 0.2s;
flex-shrink: 0;
}
.editor-close:hover {
color: #ffffff;
}
.editor-file-name {
flex: 1;
font-family: monospace;
color: #ffffff;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.editor-body {
flex: 1;
overflow: hidden;
}
.editor-container {
display: flex;
height: 100%;
overflow: hidden;
}
.editor-line-numbers {
flex-shrink: 0;
width: 50px;
overflow-y: hidden;
overflow-x: hidden;
background-color: #1e1e1e;
border-right: 1px solid #3e3e3e;
padding: 0;
user-select: none;
text-align: right;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 1.6;
color: #858585;
}
.editor-line-number {
padding-right: 12px;
height: 22.4px;
}
.editor-text-container {
flex: 1;
position: relative;
height: 100%;
overflow: hidden;
}
.editor-highlight-layer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0 0 0 12px;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 1.6;
white-space: pre-wrap;
word-wrap: break-word;
overflow-y: auto;
overflow-x: auto;
pointer-events: none;
background-color: #1e1e1e;
color: #d4d4d4;
tab-size: 4;
scrollbar-width: none;
}
.editor-highlight-layer::-webkit-scrollbar {
display: none;
}
.editor-highlight-layer code {
display: block;
font-family: inherit;
font-size: inherit;
line-height: inherit;
white-space: inherit;
word-wrap: inherit;
}
.editor-textarea {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: transparent;
color: transparent;
caret-color: #ffffff;
border: none;
outline: none;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 1.6;
padding: 0 0 0 12px;
resize: none;
tab-size: 4;
overflow-y: auto;
overflow-x: auto;
}
.editor-textarea::selection {
background-color: rgba(38, 79, 120, 0.6);
color: transparent;
}
.md-header {
color: #569cd6;
font-weight: bold;
}
.md-header-text {
color: #4ec9b0;
font-weight: bold;
}
.md-bold {
color: #dcdcaa;
font-weight: bold;
}
.md-italic {
color: #ce9178;
font-style: italic;
}
.md-code {
color: #d16969;
background-color: rgba(255, 255, 255, 0.1);
}
.md-code-fence {
color: #808080;
}
.md-link {
color: #3794ff;
}
.md-image {
color: #c586c0;
}
.md-quote {
color: #6a9955;
}
.md-list {
color: #dcdcaa;
}
.md-hr {
color: #808080;
}
.editor-save-btn {
background-color: #0e639c;
color: #ffffff;
border: none;
padding: 6px 16px;
font-size: 13px;
cursor: pointer;
border-radius: 2px;
transition: background-color 0.2s;
flex-shrink: 0;
}
.editor-save-btn:hover {
background-color: #1177bb;
}
.editor-save-btn:active {
background-color: #0d5a8f;
}
.editor-save-btn:disabled {
background-color: #4d4d4d;
color: #808080;
cursor: not-allowed;
}
.editor-save-btn.has-changes {
background-color: #0e7a0d;
}
.editor-save-btn.has-changes:hover {
background-color: #13a10e;
}
@media (prefers-color-scheme: light) {
.editor-modal {
background-color: #ffffff;
}
.editor-header {
background-color: #f3f3f3;
border-color: #e0e0e0;
}
.editor-close {
color: #333333;
}
.editor-close:hover {
color: #000000;
}
.editor-file-name {
color: #000000;
}
.editor-line-numbers {
background-color: #f6f8fa;
border-right-color: #d0d7de;
color: #656d76;
}
.editor-highlight-layer {
background-color: #ffffff;
color: #1f2328;
}
.editor-textarea {
background-color: transparent;
color: transparent;
caret-color: #1f2328;
}
.md-header {
color: #0550ae;
}
.md-header-text {
color: #0a3069;
}
.md-bold {
color: #8250df;
}
.md-italic {
color: #cf222e;
}
.md-code {
color: #a40e26;
background-color: rgba(175, 184, 193, 0.2);
}
.md-code-fence {
color: #57606a;
}
.md-link {
color: #0969da;
}
.md-image {
color: #8250df;
}
.md-quote {
color: #1a7f37;
}
.md-list {
color: #8250df;
}
.md-hr {
color: #57606a;
}
.editor-textarea::selection {
background-color: #add6ff;
}
.editor-status {
color: #656d76;
}
}