-
Notifications
You must be signed in to change notification settings - Fork 0
/
railscasts-syntaxhighlighter-plus.css
177 lines (147 loc) · 3 KB
/
railscasts-syntaxhighlighter-plus.css
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/**
* SynaxHighlighter Plus Wordpress Plugin Theme
* by Adam Fortuna
* More information at http://github.com/adamfortuna/railscasts_wordpress
*/
/************************************
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #232323 !important;
margin:2em 0 !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #B9BDB6 !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 3px solid #8e8e8e !important;
color: #B9BDB6 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1 .content
{
background-color: #232323 !important;
}
/* Second line */
.syntaxhighlighter .line.alt2 .content
{
background-color: #232323 !important;
}
.syntaxhighlighter .line .content .block
{
background: url(wrapping.png) 0 1.1em no-repeat !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
background-color: #435A5F !important;
color: #fff !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1 .content,
.syntaxhighlighter .line.highlighted.alt2 .content
{
background-color: #435A5F !important;
}
.syntaxhighlighter .ruler
{
color: silver !important;
background-color: #1B2426 !important;
border-left: 3px solid #435A5F !important;
}
.syntaxhighlighter.nogutter .ruler
{
border: 0 !important;
}
.syntaxhighlighter .toolbar
{
background-color: #1B2426 !important;
}
.syntaxhighlighter .toolbar a
{
color: #646763 !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: #E0E8FF !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #ffc66d !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #bc9457 !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: #a5c261 !important;
}
.syntaxhighlighter .keyword
{
color: #cc7833 !important;
}
.syntaxhighlighter .preprocessor
{
color: #435A5F !important;
}
.syntaxhighlighter .variable
{
color: #d0d0ff !important;
}
.syntaxhighlighter .value
{
color: #090 !important;
}
.syntaxhighlighter .functions
{
color: #FFAA3E !important;
}
.syntaxhighlighter .constants
{
color: #cc4939 !important;
}
.syntaxhighlighter .script
{
background-color: #435A5F !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #E0E8FF !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #FFFFFF !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: #FFAA3E !important;
}
.syntaxhighlighter, .syntaxhighlighter div,
.syntaxhighlighter code, .syntaxhighlighter span {
font-size:12px !important;
}
.syntaxhighlighter .line .number {
padding:2px 0.3em 2px 0 !important;
}
.syntaxhighlighter .line .content {
padding:2px 0 2px 0.5em !important;
}