-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathstyles.css
More file actions
126 lines (104 loc) · 2.03 KB
/
styles.css
File metadata and controls
126 lines (104 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
html,
body {
font-size: 0.9rem;
font-family: consolas, monospace;
margin: 0;
height: 100%;
box-sizing: border-box;
}
body {
padding: 1rem;
}
#html-editor {
box-sizing: border-box;
width: 100%;
height: 100%;
border-radius: 0.5rem;
padding: 1rem;
overflow: auto;
white-space: pre;
tab-size: 2;
caret-color: red;
background: #000;
line-height: 1.6;
color: red;
}
#html-editor::selection {
color: white;
background: red;
}
#html-editor.is-composing {
box-shadow: 0 0 0 0.25rem red;
}
.token-openTagStart,
.token-openTagEnd,
.token-closeTagStart,
.token-closeTagEnd,
.token-selfClose {
background: rgb(7 53 92);
margin: 0 2px;
color: white;
border-radius: 0.25rem;
}
.token-equal {
color: white;
}
.token-tagName {
font-weight: bold;
color: rgb(117, 186, 242);
}
.token-attributeName {
color: rgb(207, 81, 198);
}
.token-attributeValue {
font-style: italic;
color: rgb(127 230 127);
border: 1px dashed #8c8c8c;
border-width: 1px 0 1px 0;
}
.token-quoteStart,
.token-quoteEnd {
font-weight: bold;
color: rgb(127 230 127);
border: 1px solid #8c8c8c;
border-width: 1px 0 1px 1px;
border-radius: 0.25rem 0 0 0.25rem;
}
.token-quoteEnd {
border-width: 1px 1px 1px 0;
border-radius: 0 0.25rem 0.25rem 0;
}
.token-text {
color: #6a6a6a;
padding: 0 0.25rem;
}
::highlight(ime-solid-thin) {
text-decoration: underline 1px;
}
::highlight(ime-solid-thick) {
text-decoration: underline 2px;
}
::highlight(ime-dotted-thin) {
text-decoration: underline dotted 1px;
}
::highlight(ime-dotted-thick) {
text-decoration: underline dotted 2px;
}
::highlight(ime-dashed-thin) {
text-decoration: underline dashed 1px;
}
::highlight(ime-dashed-thick) {
text-decoration: underline dashed 2px;
}
::highlight(ime-wavy-thin) {
text-decoration: underline wavy 1px;
}
::highlight(ime-wavy-thick) {
text-decoration: underline wavy 2px;
}
::highlight(ime-squiggle-thin) {
text-decoration: underline wavy 1px;
}
::highlight(ime-squiggle-thick) {
text-decoration: underline wavy 2px;
}