jekyll-theme-apollo 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9602e2ca2c4d27ffbdfab4ade73eb3f94bc1f6e2
4
+ data.tar.gz: 15b3b0dc382cd0aac5eb11fe5e83e27059cd6026
5
+ SHA512:
6
+ metadata.gz: b05d0fc39243b0a4584150b85f837e89e7f9aa458b4000cab13def164ce0812d3db95968dd289deba9c6c8394e4c2979dd2891b3d84cd7d080d139c3f8c8ce24
7
+ data.tar.gz: 708d2dbb04081c70845f8bc1ea60af618697c1ab58f0dac425aa5cb4c3cc8b0e2e6007474e116ce6edb4d2c30d16a43d705d2c12131421b5354dda76b25b8dce
data/LICENSE ADDED
@@ -0,0 +1,43 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018-present Zigit Zo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
22
+
23
+ The MIT License (MIT)
24
+
25
+ Copyright (c) 2015-2018 Sean Sun
26
+
27
+ Permission is hereby granted, free of charge, to any person obtaining a copy
28
+ of this software and associated documentation files (the "Software"), to deal
29
+ in the Software without restriction, including without limitation the rights
30
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31
+ copies of the Software, and to permit persons to whom the Software is
32
+ furnished to do so, subject to the following conditions:
33
+
34
+ The above copyright notice and this permission notice shall be included in all
35
+ copies or substantial portions of the Software.
36
+
37
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,92 @@
1
+ jekyll-theme-apollo
2
+ ===================
3
+ Port [hexo-theme-apollo](https://github.com/pinggod/hexo-theme-apollo) to Jekyll.
4
+
5
+ Installation
6
+ ------------
7
+ ~~~ sh
8
+ # Node.js + Pug
9
+ # https://nodejs.org/en/download/
10
+ npm install -g pug
11
+
12
+ # Jekyll
13
+ jekyll new blog && cd blog
14
+ echo gem \"jekyll-theme-apollo\", \"~\> 0.1.0\" >> Gemfile # add theme in `Gemfile`
15
+ sed -i "s/minima/jekyll-theme-apollo/g" _config.yml # chage theme in `_config.yml`
16
+ bundle install # :coffee:
17
+ ~~~
18
+
19
+ Customization
20
+ -------------
21
+ In `_config.yml`:
22
+ ~~~ yml
23
+ ... # default settings generated by jekyll
24
+ # settings listed below are all optional
25
+
26
+ # general settings
27
+ lang: zh-cn # language, [en, zh-cn]
28
+ startyear: "2018" # affect copyright, currently MUST using string
29
+ favicon_url: /assets/favicon.png # favicon, default value is `/favicon.ico`
30
+ logo_url: /assets/favicon.png # logo
31
+
32
+ # navigator
33
+ menu:
34
+ - title: one
35
+ url: /one
36
+ - title: two
37
+ url: http://two
38
+ ...
39
+
40
+ # post settings
41
+ excerpt_separator: <!--more--> # excerpt indicator
42
+
43
+ # valine.js comment
44
+ valine:
45
+ app_id: your-id
46
+ app_key: your-key
47
+
48
+ # google analytics
49
+ google_analytics: ua-xxxxxxx
50
+
51
+ # site feed
52
+ plugins:
53
+ - jekyll-feed
54
+ feed:
55
+ path: atom.xml
56
+
57
+ ... # continue default settings
58
+ ~~~
59
+
60
+ Comments
61
+ --------
62
+ * Comment system is powered by [valine.js](https://valine.js.org)
63
+ * Ensure that you have the right `valine.app_id` and `valine.app_key` set in `_config.yml`
64
+ * Comment is enabled by default, you can add `comment: false` to the front matter to disable it
65
+
66
+ MathJax
67
+ -------
68
+ MathJax is disabled by default, add `mathjax: true` to the front matter if you want to enable it
69
+
70
+ Tip in post
71
+ -----------
72
+ You can use the [block IAL](https://kramdown.gettalong.org/syntax.html#block-ials) to make a tip. Just add `{:.tip}` before/after a paragraph, like:
73
+ ~~~ md
74
+ {:.tip}
75
+ Big Brother is watching you.
76
+
77
+ This is no longer a tip.
78
+ ~~~
79
+
80
+ Archive
81
+ -------
82
+ Create a file such as `archive.md`, in anywhere you like, and make the front matter like:
83
+ ~~~ yml
84
+ ---
85
+ layout: archive
86
+ ---
87
+ ~~~
88
+
89
+ See also
90
+ ========
91
+ 1. [hexo-theme-apollo/doc](https://github.com/pinggod/hexo-theme-apollo/blob/master/doc/)
92
+ 2. [jekyll-theme-apollo/_doc](todo://404)
@@ -0,0 +1,26 @@
1
+ mixin home()
2
+ | {% assign prev = paginator.previous_page_path %}
3
+ | {% assign next = paginator.next_page_path %}
4
+ .paginator
5
+ | {% if paginator.previous_page %}
6
+ a.prev(href="{{ prev | relative_url }}")
7
+ != "{{ site.data.lang[site.lang].prev | default: 'PREV' }}"
8
+ | {% endif %}
9
+ | {% if paginator.next_page %}
10
+ a.next(href="{{ next | relative_url }}")
11
+ != "{{ site.data.lang[site.lang].next | default: 'NEXT' }}"
12
+ | {% endif %}
13
+
14
+ mixin post()
15
+ | {% assign prev = page.previous.url %}
16
+ | {% assign next = page.next.url %}
17
+ .paginator
18
+ //- next/prev adapt for jekyll
19
+ | {% if page.previous %}
20
+ a.next(href="{{ prev | relative_url }}")
21
+ != "{{ site.data.lang[site.lang].next_post | default: 'NEXT' }}"
22
+ | {% endif %}
23
+ | {% if page.next %}
24
+ a.prev(href="{{ next | relative_url }}")
25
+ != "{{ site.data.lang[site.lang].prev_post | default: 'PREV' }}"
26
+ | {% endif %}
@@ -0,0 +1,88 @@
1
+ //- pug/js cannot get on well with liquid/ruby, especially in passing parameters
2
+ mixin postInfo(item)
3
+ .post-info
4
+ != full_date(item.date, 'll')
5
+ if item.from && (is_home() || is_post())
6
+ a.post-from(href=item.from target="_blank" title=item.from)!= __('translated')
7
+ //- todo, currently using copy and paste
8
+
9
+ //- Index Page
10
+ mixin posts()
11
+ | {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
12
+ ul.home.post-list
13
+ | {% for post in site.posts %}
14
+ li.post-list-item
15
+ article.post-block
16
+ h2.post-title
17
+ a.post-title-link(href="{{ post.url | relative_url }}")!= "{{ post.title }}"
18
+ .post-info
19
+ != "{{ post.date | date: date_format }}"
20
+ | {% if post.from %}
21
+ | {% if post.layout == "home" or post.layout == "post" %}
22
+ a.post-from(href="{{ post.from }}" target="_blank" title="{{ post.from }}")
23
+ != "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
24
+ | {% endif %}
25
+ | {% endif %}
26
+ .post-content
27
+ != "{{ post.excerpt }}"
28
+ a.read-more(href="{{ post.url | relative_url }}")
29
+ != "{{ site.data.lang[site.lang].more | default: '...more' }}"
30
+ | {% endfor %}
31
+
32
+ //- Archive Page
33
+ mixin postList()
34
+ | {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
35
+ .archive
36
+ | {% assign prev_year = 0 %}
37
+ | {% for post in site.posts %}
38
+ | {% assign year = post.date | date: "%Y" %}
39
+ | {% if year != prev_year %}
40
+ h2.archive-year!= "{{ year }}"
41
+ | {% assign prev_year = year %}
42
+ | {% endif %}
43
+ .post-item
44
+ .post-info
45
+ != "{{ post.date | date: date_format }}"
46
+ | {% if post.from %}
47
+ | {% if post.layout == "home" or post.layout == "post" %}
48
+ a.post-from(href="{{ post.from }}" target="_blank" title="{{ post.from }}")
49
+ != "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
50
+ | {% endif %}
51
+ | {% endif %}
52
+ a.post-title-link(href="{{ post.url | relative_url }}")!= "{{ post.title }}"
53
+ | {% endfor %}
54
+
55
+ //- Post Page
56
+ mixin post()
57
+ | {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
58
+ .post
59
+ article.post-block
60
+ h1.post-title
61
+ != "{{ page.title }}"
62
+ .post-info
63
+ != "{{ page.date | date: date_format }}"
64
+ | {% if page.from %}
65
+ | {% if page.layout == "home" or page.layout == "post" %}
66
+ a.post-from(href="{{ page.from }}" target="_blank" title="{{ page.from }}")
67
+ != "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
68
+ | {% endif %}
69
+ | {% endif %}
70
+ .post-content
71
+ != "{{ content }}"
72
+
73
+ //- Page Page
74
+ mixin page()
75
+ .post
76
+ article.post-block
77
+ h1.post-title
78
+ != "{{ page.title }}"
79
+ .post-info
80
+ != "󠀠󠀠 "
81
+ | {% if page.from %}
82
+ | {% if page.layout == "home" or page.layout == "post" %}
83
+ a.post-from(href="{{ page.from }}" target="_blank" title="{{ page.from }}")
84
+ != "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
85
+ | {% endif %}
86
+ | {% endif %}
87
+ .post-content
88
+ != "{{ content }}"
@@ -0,0 +1,16 @@
1
+ | {% if site.valine and page.comment != false %}
2
+ #comments
3
+ script(src="//cdn1.lncld.net/static/js/3.0.4/av-min.js")
4
+ script(src="//unpkg.com/valine/dist/Valine.min.js")
5
+ script.
6
+ new Valine({
7
+ el: "#comments",
8
+ notify: false,
9
+ verify: true,
10
+ app_id: "{{ site.valine.app_id }}",
11
+ app_key: "{{ site.valine.app_key }}",
12
+ placeholder: "{{ site.valine.placeholder | default: '¯\\_(ツ)_/¯' }}",
13
+ path: window.location.pathname,
14
+ avatar: "hide"
15
+ });
16
+ | {% endif %}
@@ -0,0 +1,10 @@
1
+ .copyright
2
+ - var jekyllURL = "https://jekyllrb.com/";
3
+ - var apolloURL = "https://github.com/2-70/jekyll-theme-apollo";
4
+ | {% assign currentYear = site.time | date: "%Y" %}
5
+ | {% if site.startyear and site.startyear != currentYear %}
6
+ | {% assign year = site.startyear | append: " - " | append: currentYear %}
7
+ | {% else %}
8
+ | {% assign year = currentYear %}
9
+ | {% endif %}
10
+ p © {{ year }} #[a(href="{{ site.url | relavtive_url }}")!= "{{ site.author | default: site.title }}"], powered by #[a(href=jekyllURL, target="_blank") Jekyll] and #[a(href=apolloURL, target="_blank") jekyll-theme-apollo].
@@ -0,0 +1,14 @@
1
+ meta(charset="utf-8")
2
+ meta(name="X-UA-Compatible", content="IE=edge")
3
+
4
+ title
5
+ block site_title
6
+ = "{{ site.title }}"
7
+ block description
8
+ meta(name="description", content= "{{ site.description | default: 'A Blog Powered by Jekyll' }}")
9
+
10
+ meta(name="viewport", content="width=device-width, initial-scale=1")
11
+ link(rel="icon", href="{{ site.favicon_url | default: '/favicon.ico' }}")
12
+ link(rel="stylesheet", href="{{ '/assets/styles/apollo.css' | relative_url }}")
13
+
14
+ link(rel="search", type="application/opensearchdescription+xml", href="{{ '/atom.xml' | relative_url }}", title="{{ site.title }}")
@@ -0,0 +1,18 @@
1
+ doctype
2
+ html(lang="{{ site.lang | default: en }}")
3
+ head
4
+ include head
5
+ body
6
+ .wrap
7
+ header
8
+ | {% if site.logo_url %}
9
+ a.logo-link(href="{{ site.url | default: '/' }}")
10
+ img(src="{{ site.logo_url }}" alt="logo")
11
+ | {% endif %}
12
+ include nav
13
+ main.container
14
+ block container
15
+ footer
16
+ block pagination
17
+ block copyright
18
+ include scripts
@@ -0,0 +1,16 @@
1
+ ul.nav.nav-list
2
+ | {% for item in site.menu %}
3
+ li.nav-list-item
4
+ | {% if item.url contains "http://" or item.url contains "https://" %}
5
+ | {% assign tar = "_blank" %}
6
+ | {% else %}
7
+ | {% assign tar = "_self" %}
8
+ | {% endif %}
9
+ | {% if page.url == item.url %}
10
+ | {% assign act = "active" %}
11
+ | {% else %}
12
+ | {% assign act = "" %}
13
+ | {% endif %}
14
+ a.nav-list-link(class="{{ act }}" href="{{ item.url }}" target="{{ tar }}")
15
+ != "{{ item.title | upcase }}"
16
+ | {% endfor %}
@@ -0,0 +1,12 @@
1
+ //- LaTex
2
+ | {% if page.mathjax %}
3
+ script(async src="//cdn.bootcss.com/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML" integrity="sha384-crwIf/BuaWM9rM65iM+dWFldgQ1Un8jWZMuh3puxb8TOY9+linwLoI7ZHZT+aekW" crossorigin="anonymous")
4
+ | {% endif %}
5
+
6
+ //- Analytics tracking
7
+ | {% if site.google_analytics %}
8
+ script
9
+ | (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;e=o.createElement(i);r=o.getElementsByTagName(i)[0];e.src='//www.google-analytics.com/analytics.js';r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));ga('create',
10
+ != "{{ site.google_analytics }}"
11
+ | ,'auto');ga('send','pageview');
12
+ | {% endif %}
@@ -0,0 +1,12 @@
1
+ extends partial/layout
2
+
3
+ block container
4
+ include mixins/post
5
+ +postList()
6
+
7
+ block pagination
8
+ include mixins/paginator
9
+ +home()
10
+
11
+ block copyright
12
+ include partial/copyright
data/_layouts/home.pug ADDED
@@ -0,0 +1,12 @@
1
+ extends partial/layout
2
+
3
+ block container
4
+ include mixins/post
5
+ +posts()
6
+
7
+ block pagination
8
+ include mixins/paginator
9
+ +home()
10
+
11
+ block copyright
12
+ include partial/copyright
data/_layouts/page.pug ADDED
@@ -0,0 +1,19 @@
1
+ extends partial/layout
2
+
3
+ block site_title
4
+ != "{{ page.title }} · {{ site.title }}"
5
+
6
+ block description
7
+ meta(name="description", content="{{ page.desc | default: page.title }} - {{ site.author | default: site.title }}")
8
+
9
+ block container
10
+ include mixins/post
11
+ +page()
12
+
13
+ block pagination
14
+ include mixins/paginator
15
+ +post()
16
+ include partial/comment
17
+
18
+ block copyright
19
+ include partial/copyright
data/_layouts/post.pug ADDED
@@ -0,0 +1,19 @@
1
+ extends partial/layout
2
+
3
+ block site_title
4
+ != "{{ page.title }} · {{ site.title }}"
5
+
6
+ block description
7
+ meta(name="description", content="{{ page.desc | default: page.title }} - {{ site.author | default: site.title }}")
8
+
9
+ block container
10
+ include mixins/post
11
+ +post()
12
+
13
+ block pagination
14
+ include mixins/paginator
15
+ +post()
16
+ include partial/comment
17
+
18
+ block copyright
19
+ include partial/copyright
@@ -0,0 +1,26 @@
1
+ .archive {
2
+ max-width: 500px;
3
+ margin: 5em auto;
4
+ .post-item {
5
+ padding: 2px 0 0 50px;
6
+ }
7
+ .post-time,
8
+ .post-title-link {
9
+ font-size: 1rem;
10
+ }
11
+ .post-title-link {
12
+ display: block;
13
+ margin-left: 125px;
14
+ color: #42b983;
15
+ word-break: break-all;
16
+ &:hover {
17
+ border-bottom: 0;
18
+ color: #267B54;
19
+ }
20
+ }
21
+ .post-info {
22
+ float: left;
23
+ width: 125px;
24
+ color: #7f8c8d;
25
+ }
26
+ }
@@ -0,0 +1,79 @@
1
+ ::selection {
2
+ color: #FFFFFF;
3
+ background-color: #42b983;
4
+ }
5
+
6
+ html, body {
7
+ width: 100%;
8
+ height: 100%;
9
+ }
10
+
11
+ body {
12
+ margin: 0;
13
+ color: #34495e;
14
+ font-size: 15px;
15
+ line-height: 1.6;
16
+ background-color: #fff;
17
+ font-family: 'sourcesanspro', 'Helvetica Neue', Arial, sans-serif;
18
+ }
19
+
20
+ ul.nav,
21
+ ul.post-list {
22
+ margin: 0;
23
+ padding: 0;
24
+ list-style-type: none;
25
+ }
26
+
27
+ ul {
28
+ margin: 1rem 0;
29
+ }
30
+
31
+ a, a:active {
32
+ color: #2c3e50;
33
+ text-decoration: none;
34
+ }
35
+
36
+ a.nav-list-link.active,
37
+ a.nav-list-link:hover,
38
+ a.post-title-link:hover {
39
+ border-bottom: 2px solid #42b983;
40
+ }
41
+
42
+ hr {
43
+ border: 0;
44
+ }
45
+
46
+ code {
47
+ margin: 0 2px;
48
+ padding: 3px 5px;
49
+ color: #e96900;
50
+ border-radius: 2px;
51
+ white-space: inherit;
52
+ }
53
+
54
+ iframe, video {
55
+ max-width: 100%;
56
+ margin: 1rem auto;
57
+ display: block;
58
+ }
59
+
60
+ table {
61
+ width: 100%;
62
+ margin: 1em auto;
63
+ thead {
64
+ background-color: #ddd;
65
+ th {
66
+ padding: 5px;
67
+ min-width: 20px;
68
+ }
69
+ }
70
+ tbody {
71
+ tr:nth-child(2n) {
72
+ background-color: #eee;
73
+ }
74
+ td {
75
+ padding: 5px;
76
+ vertical-align: text-top;
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,16 @@
1
+ footer {
2
+ padding-bottom: 1px;
3
+ .copyright {
4
+ margin: 4em 0;
5
+ border-top: 1px solid #ddd;
6
+ text-align: center;
7
+ p, a {
8
+ color: #aaa;
9
+ font-size: 14px;
10
+ font-weight: 100;
11
+ }
12
+ a:hover {
13
+ color: #888;
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,21 @@
1
+ .paginator {
2
+ margin: 4em 0;
3
+ text-align: center;
4
+ .prev, .next {
5
+ display: inline-block;
6
+ margin: 0 4px;
7
+ padding: 4px 12px;
8
+ border-radius: 4px;
9
+ border-bottom: 4px solid #3aa373;
10
+ font-size: 14px;
11
+ color: #fff;
12
+ background-color: #4fc08d;
13
+ &:hover {
14
+ background-color: #22bd77;
15
+ }
16
+ }
17
+ }
18
+
19
+ #comments {
20
+ margin-bottom: 2em;
21
+ }
@@ -0,0 +1,25 @@
1
+ header {
2
+ min-height: 60px;
3
+
4
+ .logo-link {
5
+ float: left;
6
+ }
7
+
8
+ .nav {
9
+ float: right;
10
+ left: 80px;
11
+ }
12
+
13
+ .logo-link img {
14
+ height: 60px;
15
+ }
16
+
17
+ .nav-list-item {
18
+ display: inline-block;
19
+ padding: 19px 10px ;
20
+ a {
21
+ font-size: 16px;
22
+ line-height: 1.4;
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ * jekyll/minima @ e4c9d1ed589e411129d71f4693f24992f2acb63a, MIT License
4
+ */
5
+
6
+ .highlight {
7
+ .c { color: #998; font-style: italic } // Comment
8
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
9
+ .k { font-weight: bold } // Keyword
10
+ .o { font-weight: bold } // Operator
11
+ .cm { color: #998; font-style: italic } // Comment.Multiline
12
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
13
+ .c1 { color: #998; font-style: italic } // Comment.Single
14
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
15
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
16
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
17
+ .ge { font-style: italic } // Generic.Emph
18
+ .gr { color: #a00 } // Generic.Error
19
+ .gh { color: #999 } // Generic.Heading
20
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
21
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
22
+ .go { color: #888 } // Generic.Output
23
+ .gp { color: #555 } // Generic.Prompt
24
+ .gs { font-weight: bold } // Generic.Strong
25
+ .gu { color: #aaa } // Generic.Subheading
26
+ .gt { color: #a00 } // Generic.Traceback
27
+ .kc { font-weight: bold } // Keyword.Constant
28
+ .kd { font-weight: bold } // Keyword.Declaration
29
+ .kp { font-weight: bold } // Keyword.Pseudo
30
+ .kr { font-weight: bold } // Keyword.Reserved
31
+ .kt { color: #458; font-weight: bold } // Keyword.Type
32
+ .m { color: #099 } // Literal.Number
33
+ .s { color: #d14 } // Literal.String
34
+ .na { color: #008080 } // Name.Attribute
35
+ .nb { color: #0086B3 } // Name.Builtin
36
+ .nc { color: #458; font-weight: bold } // Name.Class
37
+ .no { color: #008080 } // Name.Constant
38
+ .ni { color: #800080 } // Name.Entity
39
+ .ne { color: #900; font-weight: bold } // Name.Exception
40
+ .nf { color: #900; font-weight: bold } // Name.Function
41
+ .nn { color: #555 } // Name.Namespace
42
+ .nt { color: #000080 } // Name.Tag
43
+ .nv { color: #008080 } // Name.Variable
44
+ .ow { font-weight: bold } // Operator.Word
45
+ .w { color: #bbb } // Text.Whitespace
46
+ .mf { color: #099 } // Literal.Number.Float
47
+ .mh { color: #099 } // Literal.Number.Hex
48
+ .mi { color: #099 } // Literal.Number.Integer
49
+ .mo { color: #099 } // Literal.Number.Oct
50
+ .sb { color: #d14 } // Literal.String.Backtick
51
+ .sc { color: #d14 } // Literal.String.Char
52
+ .sd { color: #d14 } // Literal.String.Doc
53
+ .s2 { color: #d14 } // Literal.String.Double
54
+ .se { color: #d14 } // Literal.String.Escape
55
+ .sh { color: #d14 } // Literal.String.Heredoc
56
+ .si { color: #d14 } // Literal.String.Interpol
57
+ .sx { color: #d14 } // Literal.String.Other
58
+ .sr { color: #009926 } // Literal.String.Regex
59
+ .s1 { color: #d14 } // Literal.String.Single
60
+ .ss { color: #990073 } // Literal.String.Symbol
61
+ .bp { color: #999 } // Name.Builtin.Pseudo
62
+ .vc { color: #008080 } // Name.Variable.Class
63
+ .vg { color: #008080 } // Name.Variable.Global
64
+ .vi { color: #008080 } // Name.Variable.Instance
65
+ .il { color: #099 } // Literal.Number.Integer.Long
66
+ }