Update editor, workspace, Git services, appearance, and project guides
This commit is contained in:
+28
-18
@@ -17,9 +17,12 @@ body {
|
||||
color: var(--rs-text-strong);
|
||||
font-family: var(--rs-font-ui);
|
||||
font-size: 13px;
|
||||
font-weight: var(--rs-font-weight);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { font-family: var(--rs-font-heading); }
|
||||
|
||||
button,
|
||||
input,
|
||||
textarea,
|
||||
@@ -96,25 +99,28 @@ button:disabled {
|
||||
min-width: 0;
|
||||
margin: 0 auto;
|
||||
color: var(--rs-text);
|
||||
font: var(--rs-prose-size)/1.75 var(--rs-font-prose);
|
||||
font: var(--rs-font-weight) var(--rs-prose-size)/var(--rs-prose-line) var(--rs-font-prose);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.reading h1, .reading h2, .reading h3,
|
||||
.reading h4, .reading h5, .reading h6 {
|
||||
.reading h4, .reading h5, .reading h6, .live-writer .writer-heading {
|
||||
color: var(--rs-text-strong);
|
||||
font-weight: 650;
|
||||
line-height: 1.3;
|
||||
font-family: var(--rs-font-heading);
|
||||
font-weight: var(--rs-heading-weight);
|
||||
line-height: 1.4;
|
||||
letter-spacing: -0.02em;
|
||||
margin: 1.8em 0 0.65em;
|
||||
margin: .9em 0 .4em;
|
||||
scroll-margin-top: 24px;
|
||||
}
|
||||
.reading h1 { font-size: 2.1em; margin-top: 0; margin-bottom: 0.8em; }
|
||||
.reading h2 { font-size: 1.5em; padding-bottom: 0.4em; border-bottom: 1px solid var(--rs-border); }
|
||||
.reading h3 { font-size: 1.2em; }
|
||||
.reading h4 { font-size: 1.05em; }
|
||||
.reading h5, .reading h6 { font-size: 1em; color: var(--rs-text-dim); }
|
||||
.document-title, .reading .document-title { margin: 0 0 .85em; color: var(--rs-text-strong); font: 650 2em/1.3 var(--rs-font-prose); overflow-wrap: anywhere; }
|
||||
.reading h1, .live-writer .writer-h1 { font-size: 1.6em; }
|
||||
.reading h2, .live-writer .writer-h2 { font-size: 1.35em; }
|
||||
.reading h1:not(.document-title), .reading h2, .live-writer .writer-h1, .live-writer .writer-h2 { padding-bottom: .25em; border-bottom: 1px solid var(--rs-border); }
|
||||
.reading h3, .live-writer .writer-h3 { font-size: 1.15em; }
|
||||
.reading h4, .live-writer .writer-h4 { font-size: 1.05em; }
|
||||
.reading h5, .reading h6, .live-writer .writer-h5, .live-writer .writer-h6 { font-size: 1em; color: var(--rs-text-dim); }
|
||||
.live-writer .writer-heading { margin: 0; padding-top: .3em; }
|
||||
.document-title, .reading .document-title { margin: 0 0 .85em; color: var(--rs-text-strong); font: var(--rs-heading-weight) 1.8em/1.3 var(--rs-font-heading); overflow-wrap: anywhere; }
|
||||
.note-title-button { position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; overflow-wrap: anywhere; cursor: text; }
|
||||
.note-title-button .action-icon { opacity: .45; }
|
||||
.note-title-button:hover .action-icon, .note-title-button:focus-visible .action-icon { opacity: 1; color: var(--rs-accent); }
|
||||
@@ -126,14 +132,14 @@ button:disabled {
|
||||
.note-title-error { margin: -.8em 0 1em; color: var(--rs-danger, #e57878); font: 13px/1.5 var(--rs-font-ui); }
|
||||
.note-title-button[hidden], .note-title-input[hidden], .note-title-error[hidden] { display: none; }
|
||||
.reading > :first-child { margin-top: 0; }
|
||||
.reading p { margin: 0 0 1.1em; }
|
||||
.reading strong { font-weight: 650; color: var(--rs-text-strong); }
|
||||
.reading p { margin: 0 0 .75em; white-space: pre-line; }
|
||||
.reading strong { font-weight: 600; color: var(--rs-text-strong); }
|
||||
.reading a { color: var(--rs-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
|
||||
.reading a:hover { color: var(--rs-accent-2); }
|
||||
.reading hr { border: 0; border-top: 1px solid var(--rs-border); margin: 2em 0; }
|
||||
|
||||
.reading ul, .reading ol { padding-left: 1.6em; margin: 0 0 1.2em; }
|
||||
.reading li { padding-left: 0.25em; margin: 0.35em 0; }
|
||||
.reading ul, .reading ol { padding-left: 1.6em; margin: 0 0 .75em; }
|
||||
.reading li { padding-left: 0.25em; margin: .1em 0; }
|
||||
.reading li::marker { color: var(--rs-text-dim); }
|
||||
.reading li > p { margin-bottom: 0.6em; }
|
||||
.reading li > ul, .reading li > ol { margin: 0.35em 0 0.5em; }
|
||||
@@ -224,7 +230,7 @@ button:disabled {
|
||||
.rs-fence-copy:hover { color: var(--rs-text-strong); background: var(--rs-bg-active); }
|
||||
.rs-fence-copy[data-copied] { color: var(--rs-ok); }
|
||||
|
||||
.reading .md-table-scroll { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--rs-border); border-radius: 0; }
|
||||
.reading .md-table-scroll { width: fit-content; max-width: 100%; overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--rs-border); border-radius: 0; }
|
||||
.md-table-formula { color: var(--rs-accent); font-variant-numeric: tabular-nums; }
|
||||
.md-table-formula.is-error { color: var(--rs-danger, #ed8796); text-decoration: underline dotted; }
|
||||
.table-footer { display: grid; gap: 8px; margin: 0 26px 1.4em; min-width: 0; font: 12px/1.5 var(--rs-font-ui); color: var(--rs-text-dim); white-space: normal; overflow-wrap: anywhere; }
|
||||
@@ -243,10 +249,11 @@ button:disabled {
|
||||
.table-formula-hint { padding: 8px 10px; border-left: 2px solid var(--rs-accent); background: var(--rs-bg-elevated); color: var(--rs-text); }
|
||||
.table-formula-hint[hidden] { display: none; }
|
||||
.table-edit-help { font: inherit; color: var(--rs-text-dim); }
|
||||
.reading table { border-collapse: collapse; width: 100%; font-size: 0.9em; overflow-wrap: normal; word-break: normal; }
|
||||
.reading th, .reading td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rs-border); min-width: 8rem; max-width: 26rem; white-space: normal; overflow-wrap: break-word; }
|
||||
.reading table { border-collapse: collapse; width: auto; max-width: 100%; font-size: 0.95em; line-height: var(--rs-table-line-height); overflow-wrap: normal; word-break: normal; }
|
||||
.reading th, .reading td { padding: var(--rs-table-cell-padding); text-align: left; vertical-align: top; border-bottom: 1px solid var(--rs-border); min-width: 3rem; max-width: 26rem; white-space: normal; overflow-wrap: break-word; }
|
||||
.reading :is(th, td):empty::before,
|
||||
.reading :is(th, td) > p:empty::before { content: "\200b"; }
|
||||
.reading :is(th, td) > p { margin: 0; }
|
||||
.reading th { background: var(--rs-bg-active); font-weight: 600; color: var(--rs-text-strong); }
|
||||
.reading tbody tr:nth-child(even) { background: var(--rs-line-highlight); }
|
||||
.reading tbody tr:last-child td { border-bottom: 0; }
|
||||
@@ -388,3 +395,6 @@ button:disabled {
|
||||
.reading .md-inline-math { font-family: var(--rs-font-mono); font-style: italic; }
|
||||
.reading .md-inline-comment { display: none; }
|
||||
.writer-table .md-inline-comment { display: inline; color: var(--rs-text-dim); background: var(--rs-bg-active); }
|
||||
|
||||
.reading:not(.cm-content) :is(p, h1, h2, h3, h4, h5, h6):not(td *, th *) { position: relative; }
|
||||
.reading:not(.cm-content) :is(p, h1, h2, h3, h4, h5, h6):not(td *, th *):hover::before { content: ""; position: absolute; left: -14px; top: 2px; bottom: 2px; width: 3px; border-radius: var(--rs-control-radius); background: var(--rs-text-dim); opacity: .5; pointer-events: none; }
|
||||
|
||||
Reference in New Issue
Block a user