forked from Gmright3/gmright.app
-
Notifications
You must be signed in to change notification settings - Fork 3
/
C CXCXXCCXZX
85 lines (43 loc) · 1.58 KB
/
C CXCXXCCXZX
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
es (98 sloc) 4.33 KB
/**
* Solarized syntax
* for use with Jekyll and Pygments
* based on Solarized Dark theme for reveal.js by Achim Staebler
* and Solarized colors by Ethan Schoonover
* http://ethanschoonover.com/solarized
* remixed by: Thomas Friese
* http://tasmo.rocks/
**/
@mixin syntax( $sybase03,$sybase02,$sybase01,$sybase00,$sybase0,$sybase1,$sybase2,$sybase3,$syyellow,$syorange,$syred,$symagenta,$syviolet,$syblue,$sycyan,$sygreen )
{
.reveal pre {
background-color: $sybase03; color: $sybase1;
code a {
&:not( .image ), &:active, &:visited {
color: $sybase1;
}
&:hover {
color: lighten( $sybase1, 20% );
}
}
}
.reveal pre code {
.lineno { color: $sybase01 } // Line Numbers
.c { color: $sybase01 } /* Comment */
.err { color: $sybase1 } /* Error */
.g { color: $sybase1 } /* Generic */
.k { color: $sygreen } /* Keyword */
.l { color: $sybase1 } /* Literal */
.n { color: $sybase1 } /* Name */
.o { color: $sygreen } /* Operator */
.x { color: $syorange } /* Other */
.p { color: $sybase1 } /* Punctuation */
.cm { color: $sybase01 } /* Comment.Multiline */
.cp { color: $sygreen } /* Comment.Preproc */
.c1 { color: $sybase01 } /* Comment.Single */
.cs { color: $sygreen } /* Comment.Special */
.gd { color: $sycyan } /* Generic.Deleted */
.ge { color: $sybase1; font-style: italic } /* Generic.Emph */
.gr { color: $syred } /* Generic.Error */
.gh { color: $syorange } /* Generic.Heading */
.gi { color: $sygreen } /* Generic.Inserted */