CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/assets/rainbow/salvus.css
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
/**
7
* GitHub theme
8
*
9
* @author Craig Campbell
10
* @version 1.0.4
11
*/
12
/*pre {
13
border: 1px solid #ccc;
14
word-wrap: break-word;
15
padding: 6px 10px;
16
line-height: 19px;
17
margin-bottom: 20px;
18
}
19
*/
20
21
code {
22
border: 1px solid #eaeaea;
23
margin: 0px 2px;
24
padding: 0px 5px;
25
font-size: 12px;
26
}
27
28
pre code {
29
border: 0px;
30
padding: 0px;
31
margin: 0px;
32
-moz-border-radius: 0px;
33
-webkit-border-radius: 0px;
34
border-radius: 0px;
35
}
36
37
pre, code {
38
font-family: Consolas, 'Liberation Mono', Courier, monospace;
39
color: #333;
40
background: #fff;
41
-moz-border-radius: 3px;
42
-webkit-border-radius: 3px;
43
border-radius: 3px;
44
}
45
46
pre, pre code {
47
font-size: 13px;
48
}
49
50
pre .comment {
51
color: #8B0000;
52
}
53
54
pre .support {
55
color: #0086B3;
56
}
57
58
pre .tag, pre .tag-name {
59
color: navy;
60
}
61
62
pre .keyword, pre .css-property, pre .vendor-prefix, pre .sass, pre .class, pre .id, pre .css-value, pre .entity.function, pre .storage.function {
63
font-weight: bold;
64
color:#00008b;
65
}
66
67
pre .css-property, pre .css-value, pre .vendor-prefix, pre .support.namespace {
68
color: #333;
69
}
70
71
pre .constant.numeric, pre .keyword.unit, pre .hex-color {
72
font-weight: normal;
73
color: #099;
74
}
75
76
pre .entity.class {
77
color: #458;
78
}
79
80
pre .entity.id, pre .entity.function {
81
color: #900;
82
}
83
84
pre .attribute, pre .variable {
85
color: teal;
86
}
87
88
pre .string, pre .support.value {
89
font-weight: normal;
90
color: #d14;
91
}
92
93
pre .regexp {
94
color: #009926;
95
}
96
97