Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit b06369b

Browse files
committed
Merge pull request #16 from adridu59/pull-5
CSS: tweak highlighting
2 parents 0d3fe07 + a3841a5 commit b06369b

File tree

3 files changed

+59
-70
lines changed

3 files changed

+59
-70
lines changed

css/codemirror.css

Lines changed: 0 additions & 69 deletions
This file was deleted.

css/style.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,63 @@ ul.menu li>ul {
5454
right: 0;
5555
border: 0;
5656
}
57+
}
58+
59+
/* Code highlighting */
60+
.cm-s-default span.cm-keyword {
61+
color: #803C8D;
62+
}
63+
.cm-s-default span.cm-atom {
64+
color: #221199;
65+
}
66+
.cm-s-default span.cm-number {
67+
color: #2AA198;
68+
}
69+
.cm-s-default span.cm-def {
70+
color: #256EB8;
71+
}
72+
.cm-s-default span.cm-variable {
73+
color: black;
74+
}
75+
.cm-s-default span.cm-variable-2 {
76+
color: #817E61;
77+
}
78+
.cm-s-default span.cm-variable-3 {
79+
color: #008855;
80+
}
81+
.cm-s-default span.cm-property {
82+
color: black;
83+
}
84+
.cm-s-default span.cm-operator {
85+
color: black;
86+
}
87+
.cm-s-default span.cm-comment {
88+
color: #A82323;
89+
}
90+
.cm-s-default span.cm-string {
91+
color: #866544;
92+
}
93+
.cm-s-default span.cm-string-2 {
94+
color: #FF5500;
95+
}
96+
.cm-s-default span.cm-meta {
97+
color: #555555;
98+
}
99+
.cm-s-default span.cm-error {
100+
color: #FF0000;
101+
}
102+
.cm-s-default span.cm-qualifier {
103+
color: #555555;
104+
}
105+
.cm-s-default span.cm-builtin {
106+
color: #3300AA;
107+
}
108+
.cm-s-default span.cm-bracket {
109+
color: #999977;
110+
}
111+
.cm-s-default span.cm-tag {
112+
color: #117700;
113+
}
114+
.cm-s-default span.cm-attribute {
115+
color: #0000CC;
57116
}

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta name="keywords" content="Rust, Rust programming language, rustlang, Mozilla Rust">
88
<link rel="stylesheet" href="css/bootstrap.min.css">
9-
<link rel="stylesheet" href="css/codemirror.css">
109
<link rel="stylesheet" href="css/style.css">
1110
</head>
1211

0 commit comments

Comments
 (0)