0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-24 21:38:10 +00:00

not really working but it will

This commit is contained in:
Víctor Losada Hernández
2026-03-23 12:13:20 +01:00
parent ec159e4f14
commit 4483537b93
4 changed files with 503 additions and 278 deletions

View File

@@ -10,25 +10,25 @@
.codeEditor {
height : calc(100% - 25px);
.cm-editor { height : 100%; }
.pageLine, .snippetLine {
.cm-pageLine, .cm-snippetLine {
background : #33333328;
border-top : #333399 solid 1px;
}
.editor-page-count {
.cm-editor-page-count {
float : right;
color : grey;
}
.editor-snippet-count {
.cm-editor-snippet-count {
float : right;
color : grey;
}
.columnSplit {
.cm-cm-columnSplit {
font-style : italic;
color : grey;
background-color : fade(#229999, 15%);
border-bottom : #229999 solid 1px;
}
.define {
.cm-define {
&:not(.term):not(.definition) {
font-weight : bold;
color : #949494;
@@ -38,21 +38,21 @@
&.term { color : rgb(96, 117, 143); }
&.definition { color : rgb(97, 57, 178); }
}
.block:not(.cm-comment) {
.cm-block:not(.cm-comment) {
font-weight : bold;
color : purple;
//font-style: italic;
}
.inline-block:not(.cm-comment) {
.cm-inline-block:not(.cm-comment) {
font-weight : bold;
color : red;
//font-style: italic;
}
.injection:not(.cm-comment) {
.cm-injection:not(.cm-comment) {
font-weight : bold;
color : green;
}
.emoji:not(.cm-comment) {
.cm-emoji:not(.cm-comment) {
padding-bottom : 1px;
margin-left : 2px;
font-weight : bold;
@@ -62,19 +62,19 @@
background : #FFC8FF;
border-radius : 6px;
}
.superscript:not(.cm-comment) {
.cm-superscript:not(.cm-comment) {
font-size : 0.9em;
font-weight : bold;
vertical-align : super;
color : goldenrod;
}
.subscript:not(.cm-comment) {
.cm-subscript:not(.cm-comment) {
font-size : 0.9em;
font-weight : bold;
vertical-align : sub;
color : rgb(123, 123, 15);
}
.dl-highlight {
.cm-dl-highlight {
&.dl-colon-highlight {
font-weight : bold;
color : #949494;