Skip to content

Commit cabca31

Browse files
ruffslmlanting
authored andcommitted
Add syntax highlighting (ros2#253)
* Add syntax highlighting Related: chrisbobbe/jekyll-theme-prologue#20 http://richleland.github.io/pygments-css/ github-linguist/linguist#1984 * Add unlicense header for highlight colors
1 parent 6ce3808 commit cabca31

File tree

2 files changed

+102
-4
lines changed

2 files changed

+102
-4
lines changed

css/bootstrap.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
99
*/
1010

11+
@import url(default.css);
12+
1113
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
1214
article,
1315
aside,
@@ -557,10 +559,10 @@ dd {
557559
.dl-horizontal dd:after {
558560
content: " ";
559561
/* 1 */
560-
562+
561563
display: table;
562564
/* 2 */
563-
565+
564566
}
565567
.dl-horizontal dd:after {
566568
clear: both;
@@ -569,10 +571,10 @@ dd {
569571
.dl-horizontal dd:after {
570572
content: " ";
571573
/* 1 */
572-
574+
573575
display: table;
574576
/* 2 */
575-
577+
576578
}
577579
.dl-horizontal dd:after {
578580
clear: both;

css/default.css

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
/*!
2+
* This is free and unencumbered software released into the public domain.
3+
*
4+
* Anyone is free to copy, modify, publish, use, compile, sell, or
5+
* distribute this software, either in source code form or as a compiled
6+
* binary, for any purpose, commercial or non-commercial, and by any
7+
* means.
8+
*
9+
* In jurisdictions that recognize copyright laws, the author or authors
10+
* of this software dedicate any and all copyright interest in the
11+
* software to the public domain. We make this dedication for the benefit
12+
* of the public at large and to the detriment of our heirs and
13+
* successors. We intend this dedication to be an overt act of
14+
* relinquishment in perpetuity of all present and future rights to this
15+
* software under copyright law.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20+
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
21+
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22+
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23+
* OTHER DEALINGS IN THE SOFTWARE.
24+
*
25+
* For more information, please refer to <http://unlicense.org/>
26+
*/
27+
28+
.highlight .hll { background-color: #ffffcc }
29+
.highlight { background: #f8f8f8; }
30+
.highlight .c { color: #408080; font-style: italic } /* Comment */
31+
.highlight .err { border: 1px solid #FF0000 } /* Error */
32+
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
33+
.highlight .o { color: #666666 } /* Operator */
34+
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
35+
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
36+
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
37+
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
38+
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
39+
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
40+
.highlight .gd { color: #A00000 } /* Generic.Deleted */
41+
.highlight .ge { font-style: italic } /* Generic.Emph */
42+
.highlight .gr { color: #FF0000 } /* Generic.Error */
43+
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
44+
.highlight .gi { color: #00A000 } /* Generic.Inserted */
45+
.highlight .go { color: #888888 } /* Generic.Output */
46+
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
47+
.highlight .gs { font-weight: bold } /* Generic.Strong */
48+
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
49+
.highlight .gt { color: #0044DD } /* Generic.Traceback */
50+
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
51+
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
52+
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
53+
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
54+
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
55+
.highlight .kt { color: #B00040 } /* Keyword.Type */
56+
.highlight .m { color: #666666 } /* Literal.Number */
57+
.highlight .s { color: #BA2121 } /* Literal.String */
58+
.highlight .na { color: #7D9029 } /* Name.Attribute */
59+
.highlight .nb { color: #008000 } /* Name.Builtin */
60+
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
61+
.highlight .no { color: #880000 } /* Name.Constant */
62+
.highlight .nd { color: #AA22FF } /* Name.Decorator */
63+
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
64+
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
65+
.highlight .nf { color: #0000FF } /* Name.Function */
66+
.highlight .nl { color: #A0A000 } /* Name.Label */
67+
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
68+
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
69+
.highlight .nv { color: #19177C } /* Name.Variable */
70+
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
71+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
72+
.highlight .mb { color: #666666 } /* Literal.Number.Bin */
73+
.highlight .mf { color: #666666 } /* Literal.Number.Float */
74+
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
75+
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
76+
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
77+
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
78+
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
79+
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
80+
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
81+
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
82+
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
83+
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
84+
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
85+
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
86+
.highlight .sx { color: #008000 } /* Literal.String.Other */
87+
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
88+
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
89+
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
90+
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
91+
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
92+
.highlight .vc { color: #19177C } /* Name.Variable.Class */
93+
.highlight .vg { color: #19177C } /* Name.Variable.Global */
94+
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
95+
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
96+
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */

0 commit comments

Comments
 (0)