jekyll-theme-potato-hacker 1.0.0 → 1.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e7cdb64ef53737bf607951ce71be28599924e84a8aeba15e433cc939e722c4e
4
- data.tar.gz: b15cea2883d1c814aa33b5816c74b49fd38eb6c523557f762dd27e82248d9097
3
+ metadata.gz: 83ea7ce51c0a8007da8621efbeeb99e20e541175207758bd15cb9db0787a165f
4
+ data.tar.gz: 6500faa974142aaa19982b284cfd9b602608b70391821fc3f6c6f63fd010132a
5
5
  SHA512:
6
- metadata.gz: e01d7c3244910d3fd88c1a8d52de105d117255317b65159231c3f2d2c8cba84f152e8fa9c0efadeeeb2861a90e022ce0f1a4d9e57f54558436638120c1bcb194
7
- data.tar.gz: c906d7d4b48c074e2a4fe378964c44612e5ba3322e3512fe33002df4323bb0305f89e2ee1ca6d205b801a3d9383cd3e6a8371b4e05efd5c37600d982862d3764
6
+ metadata.gz: 4716b05ad2af65df27cb8c9d933e96cedc33fc5d1c7c54640f549f0c5deb4b5ce3979a93ac7ce05f0116dbd35b19790f1c02d00bbf50fd7c30b4970bfefa77b4
7
+ data.tar.gz: d91504fd8cde4619fb9ab366015ef7157e8e0ae6720c58d377b43a9cad7f276cea7c5658c8399c98bbb6eb37f9c6a6d9bfec9710e28c435390c526e5b41c567a
data/README.md CHANGED
@@ -1,10 +1,14 @@
1
1
  # jekyll-theme-potato-hacker
2
+ [![Gem Version](https://badge.fury.io/rb/jekyll-theme-potato-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-potato-hacker)
3
+ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
4
+
2
5
 
3
6
  Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
7
 
5
- ![screenshot](screenshot.png "screenshot")
8
+ ![screenshot](https://raw.githubusercontent.com/luxedo/jekyll-theme-potato-hacker/master/screenshot.png "screenshot")
6
9
 
7
10
  Check out the [demo](https://luxedo.github.io/jekyll-theme-potato-hacker/)
11
+ Check out the [gem](https://rubygems.org/gems/jekyll-theme-potato-hacker)
8
12
 
9
13
  ## Installation
10
14
 
@@ -28,8 +32,15 @@ Or install it yourself as:
28
32
 
29
33
  $ gem install jekyll-theme-potato-hacker
30
34
 
35
+ Or even use the remote theme tag in `_config.yml` if you're using github pages:
36
+ ```yaml
37
+ remote_theme: luxedo/jekyll-theme-potato-hacker
38
+ ```
39
+
31
40
  ## Usage
32
41
 
42
+ ### Pages
43
+
33
44
  This is a simple theme I made to my portfolio/blog https://luxedo.github.io/
34
45
  There are four different categories of pages for this template:
35
46
  * Main page `index.md` in the root.
@@ -37,16 +48,66 @@ There are four different categories of pages for this template:
37
48
  * Blog posts `_posts` folder.
38
49
  * Dropdown pages `_dropdown` folder.
39
50
 
40
- The dropdown menus are generated based on the [front matter](https://jekyllrb.com/docs/front-matter/) data in the files. Use the `dropdown` attribute to chose where the page will be placed.
51
+ ### Dropdown
52
+ The dropdown menus are generated based on the [front matter](https://jekyllrb.com/docs/front-matter/) data in the files. Use the `dropdown` attribute to chose where the page will be placed. The items with the highest `priority` will be placed first.
41
53
  ```yaml
42
54
  ---
43
55
  layout: page
44
56
  title: dropdown1 item1
45
57
  description: Test page
46
58
  dropdown: dropdown1
59
+ priority: 1
60
+ ---
61
+ ```
62
+
63
+ ### Blog
64
+ If you want to use the blog, you need to set `blog: on` inside `_config.yml` and add a `blog.md` file in your root directory:
65
+ ```yaml
66
+ ---
67
+ layout: blog-index
68
+ title: My Blog
69
+ description: Test page
47
70
  ---
48
71
  ```
49
72
 
73
+ ### \_config.yml
74
+ Some settings are defined in `_config.yml`. Download the file in this repo
75
+ for a complete example.
76
+ ```yaml
77
+ # Useful links
78
+ github_username: "<github_username>"
79
+ facebook_username: "<facebook_username>"
80
+ twitter_username: "<twitter_username>"
81
+ linkedin_id: "<linkedin_id>"
82
+
83
+ # Theme
84
+ # theme: jekyll-theme-potato-hacker # Uncomment this
85
+ # remote_theme: luxedo/jekyll-theme-potato-hacker # Or this
86
+ theme_repository: "https://github.com/luxedo/jekyll-theme-potato-hacker"
87
+ theme_base: "dark" # Theme palette (light | dark)
88
+ theme_switch: on # Show color switch (on | off)
89
+
90
+ # Extra settings
91
+ blog: on # Show blog tag and post list (on | off)
92
+ avatar: on # Show avatar (on | off)
93
+ avatar_image: "assets/img/avatar.jpg"
94
+ avatar_description: "My name is Popotato and I'm a HACKER."
95
+ highlighter_theme: monokai # Theme of the syntax_highlighter [base16 |
96
+ # colorful | github | gruvbox | molokai |
97
+ # monokai | pastie | thankful_eyes | tulip ]
98
+ toolbar_priority: # Order of the items in the toolbar (except for blog and home)
99
+ - dropdown2
100
+ - About
101
+ - dropdown1
102
+
103
+ # Collections
104
+ collections:
105
+ dropdown:
106
+ output: true
107
+ items:
108
+ output: true
109
+ ```
110
+
50
111
  ## Contributing
51
112
 
52
113
  Bug reports and pull requests are welcome on GitHub at https://github.com/luxedo/jekyll-theme-potato-hacker/issues. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -11,36 +11,7 @@
11
11
  {% endif %}
12
12
  <div class="row">
13
13
  <div class="col-sm-8 col-sm-offset-2">
14
- {% if site.github_username != null %}
15
- <a href="https://github.com/{{site.github_username}}" target="_blank">
16
- <i class="fa fa-github fa-3x"></i>
17
- </a>
18
- {% endif %}
19
- {% if site.email != null %}
20
- <a href="mailto:{{site.email}}">
21
- <i class="fa fa-envelope fa-3x"></i>
22
- </a>
23
- {% endif %}
24
- {% if site.facebook_username != null %}
25
- <a href="https://www.facebook.com/{{site.facebook_username}}" target="_blank">
26
- <i class="fa fa-facebook fa-3x"></i>
27
- </a>
28
- {% endif %}
29
- {% if site.twitter_username != null %}
30
- <a href="https://twitter.com/{{site.twitter_username}}" target="_blank">
31
- <i class="fa fa-twitter fa-3x"></i>
32
- </a>
33
- {% endif %}
34
- <!-- {% if site.gplus_id != null %}
35
- <a href="https://plus.google.com/{{site.gplus_id}}" target="_blank">
36
- <i class="fa fa-google-plus fa-3x"></i>
37
- </a>
38
- {% endif %} -->
39
- {% if site.linkedin_id != null %}
40
- <a href="https://www.linkedin.com/in/{{site.linkedin_id}}" target="_blank">
41
- <i class="fa fa-linkedin fa-3x"></i>
42
- </a>
43
- {% endif %}
14
+ {% include links.html %}
44
15
  </div>
45
16
  </div>
46
17
  {% if site.email != null and site.author != null %}
data/_includes/head.html CHANGED
@@ -6,9 +6,6 @@
6
6
  <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7
7
  <meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8
8
 
9
- <!-- Google Authorship Markup -->
10
- <link rel="author" href="https://plus.google.com/{{site.gplus_id}}?rel=author">
11
-
12
9
  <!-- Social: Twitter -->
13
10
  <meta name="twitter:card" content="summary_large_image">
14
11
  <meta name="twitter:site" content="@{{site.twitter_username}}">
@@ -31,7 +28,7 @@
31
28
  <meta property="og:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
32
29
  <meta property="og:site_name" content="{{ site.title }}">
33
30
 
34
- <!-- Social: Google+ / Schema.org -->
31
+ <!-- Social: Schema.org -->
35
32
  <meta itemprop="name" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"/>
36
33
  <meta itemprop="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
37
34
  <meta itemprop="image" content="{{ '/assets/img/opengraph.png' | prepend: site.baseurl | prepend: site.url }}"/>
@@ -40,11 +37,11 @@
40
37
  <link rel="shortcut icon" href="{{'/assets/img/icons/favicon.ico' | prepend: site.baseurl }}" type="image/x-icon" />
41
38
 
42
39
  <!-- Android Lolipop Theme Color -->
43
- <meta name="theme-color" content="rgba(42, 77, 20, 1)">
40
+ <meta name="theme-color" content="#2a4d14">
44
41
 
45
42
  <!-- Styles -->
46
- <link rel="stylesheet" id="css-theme" href="{{ '/assets/css/main-' | append: site.theme_base | append: '.css' | prepend: site.baseurl }}" media="none">
47
- <link rel="stylesheet" href="{{ '/assets/css/syntax.css' | prepend: site.baseurl }}">
43
+ <link rel="stylesheet" id="css-theme" href="{{ '/assets/css/main-' | append: site.theme_base | append: '.css' | prepend: site.baseurl }}">
44
+ <link rel="stylesheet" href="{{ '/assets/css/highlight/' | append: site.highlighter_theme | append: '.css' | prepend: site.baseurl }}">
48
45
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
49
46
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
50
47
  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
@@ -16,7 +16,10 @@
16
16
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
17
17
  <ul class="nav navbar-nav navbar-right">
18
18
  <li><a href="{{ site.baseurl | append: '/' }}">Home</a></li>
19
- <li><a href="{{ '/blog' | prepend: site.baseurl }}">Blog</a></li>
19
+ {% if site.blog == true %}
20
+ <li><a href="{{ '/blog' | prepend: site.baseurl }}">Blog</a></li>
21
+ {% endif %}
22
+
20
23
  {% for page in site.dropdown %}
21
24
  <li class="dropdown dropdown-{{ page.dropdown }}">
22
25
  <a href="#" class="dropdown-toggle" data-toggle="dropdown"
@@ -24,28 +27,45 @@
24
27
  <span class="caret"></span>
25
28
  </a>
26
29
  <ul class="dropdown-menu dropdown-menu-{{ page.title }}">
27
- <li><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.title }}</a></li>
30
+ <li priority="{{ page.priority }}"><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.title }}</a></li>
28
31
  </ul>
29
32
  </li>
30
33
  {% endfor %}
34
+ {% for page in site.items %}
35
+ <li class="nav-item"><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.title }}</a></li>
36
+ {% endfor %}
37
+
31
38
  <script>
32
39
  // clean repeated dropdowns and add <li> to their positions
33
- $(".dropdown").each((index0, value0) => {
34
- let dropdownClass = "."+$(value0)[0].classList[1];
35
- let dropdownMain = $(dropdownClass)[0].querySelector("ul");
36
- if ($(dropdownClass).length > 1) {
37
- $(dropdownClass).each((index1, value1) => {
38
- if (index1 != 0) {
39
- dropdownMain.append(value1.querySelector("ul li"))
40
- $(dropdownClass)[1].remove();
40
+ let done = [];
41
+ let elements = [];
42
+ $(".dropdown")
43
+ //
44
+ .each((index0 , value0) => {
45
+ let dropdownClass = "."+$(value0)[0].classList[1];
46
+ if (done.indexOf(dropdownClass) !== -1) return
47
+ done.push(dropdownClass)
48
+ let dropdownMain = $(dropdownClass)[0]
49
+ let itemsList = $(dropdownClass+">ul>li").sort((a, b) => parseInt(b.getAttribute("priority") || -9999999) - parseInt(a.getAttribute("priority") || -9999999))
50
+ $(dropdownClass+">ul>li").remove();
51
+ $(dropdownClass+">ul").append(itemsList)
52
+ $(dropdownClass).remove();
53
+ elements.push(dropdownMain)
54
+ });
55
+ let priority = [{% for item in site.toolbar_priority %} "{{item}}", {% endfor %}];
56
+ elements = elements.concat(...$(".nav-item").remove())
57
+ priority.map(text => {
58
+ elements = elements.filter(node => {
59
+ let nodeText = node.querySelector("a").textContent.trim()
60
+ if (text == nodeText) {
61
+ $(".nav").append(node)
62
+ return false;
41
63
  }
42
- });
43
- }
64
+ return true;
65
+ })
44
66
  });
67
+ $(".nav").append(elements)
45
68
  </script>
46
- {% for page in site.items %}
47
- <li><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.title }}</a></li>
48
- {% endfor %}
49
69
  </ul>
50
70
  </div>
51
71
  </div>
@@ -0,0 +1,25 @@
1
+ {% if site.github_username != null %}
2
+ <a href="https://github.com/{{site.github_username}}" target="_blank">
3
+ <i class="fa fa-github fa-3x"></i>
4
+ </a>
5
+ {% endif %}
6
+ {% if site.email != null %}
7
+ <a href="mailto:{{site.email}}">
8
+ <i class="fa fa-envelope fa-3x"></i>
9
+ </a>
10
+ {% endif %}
11
+ {% if site.facebook_username != null %}
12
+ <a href="https://www.facebook.com/{{site.facebook_username}}" target="_blank">
13
+ <i class="fa fa-facebook fa-3x"></i>
14
+ </a>
15
+ {% endif %}
16
+ {% if site.twitter_username != null %}
17
+ <a href="https://twitter.com/{{site.twitter_username}}" target="_blank">
18
+ <i class="fa fa-twitter fa-3x"></i>
19
+ </a>
20
+ {% endif %}
21
+ {% if site.linkedin_id != null %}
22
+ <a href="https://www.linkedin.com/in/{{site.linkedin_id}}" target="_blank">
23
+ <i class="fa fa-linkedin fa-3x"></i>
24
+ </a>
25
+ {% endif %}
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ {% for post in site.posts %}
5
+ <a href="{{ post.url | prepend: site.baseurl }}">
6
+ <h1 class="post-title"> {{ post.title }}</h1>
7
+ <h5 class="post-title"> {{ post.date }} </h5>
8
+ </a>
9
+ {{post.excerpt}}
10
+ {% if post.content contains site.excerpt_separator %}
11
+ <b><a href="{{ post.url | prepend: site.baseurl }}">continue reading -&gt;</a></b>
12
+ {% endif %}
13
+ <br/>
14
+ <div style="margin-bottom: 5em;"></div>
15
+ {% endfor %}
@@ -30,35 +30,49 @@
30
30
  <div class="left-pane">
31
31
  </div>
32
32
  </div> -->
33
- <div class="col-sm-8 col-sm-offset-2 content-div">
34
- <div class="page-separator hidden-xs"><h1 class="h1-strip" style="padding-bottom:8em; margin-bottom: 0;"></h1></div>
35
- <div class="page-separator visible-xs"><h1 class="h1-strip" style="padding-bottom:2em; margin-bottom: 0;"></h1></div>
33
+ <div class="col-md-8 col-md-offset-1 content-div">
34
+ <div class="page-separator hidden-md">
35
+ <h1 class="h1-strip" style="padding-bottom:8em; margin-bottom: 0;"></h1>
36
+ </div>
37
+ <div class="page-separator visible-md">
38
+ <h1 class="h1-strip" style="padding-bottom:2em; margin-bottom: 0;"></h1>
39
+ </div>
36
40
  <h1 class="post-title page-title" id="title"><a href="#title">{{ page.title }}</a></h1>
37
41
  {{ content }}
38
42
  </div>
39
- <div class="col-sm-2">
40
- <div class="pane-separator hidden-xs" style="margin-bottom:30em;"></div>
41
- <div class="pane-separator visible-xs" style="margin-bottom:5em;"></div>
42
- <div class="right-pane" style="margin-left: 1em;">
43
- {% if page.url contains '/blog/' or page.url == '/' %}
43
+ <div class="col-md-2">
44
+ <div class="pane-separator hidden-md" style="margin-bottom:30em;"></div>
45
+ <div class="pane-separator visible-md" style="margin-bottom:5em;"></div>
46
+ <div class="right-pane">
47
+ {% if site.avatar == true %}
48
+ <div class="avatar">
44
49
  <center>
45
50
  {% if site.avatar_image != null %}
46
- <img src="{{ site.avatar_image | prepend: '/' | prepend: site.baseurl }}" alt="me" class="avatar-image">
51
+ <img src="{{ site.avatar_image | prepend: '/' | prepend: site.baseurl }}" alt="me" class="avatar-image">
52
+ {% endif %}
53
+ {% if site.avatar_description != null %}
54
+ <p style="margin-top: 0.5em;" class="avatar-description">{{site.avatar_description}}</p>
47
55
  {% endif %}
48
- <p class="avatar-description">{{site.avatar_description}}</p>
56
+ <div class="right-links">
57
+ {% include links.html %}
58
+ </div>
49
59
  </center>
60
+ </div>
50
61
  {% endif %}
51
- {% if page.url contains "/blog/" %}
62
+ {% if site.blog == true %}
63
+ <div class="posts-list">
52
64
  <a href="{{ '/blog' | prepend: site.baseurl }}">
53
- <h4>Posts:</h4>
65
+ <h4>Recent Posts:</h4>
54
66
  </a>
55
- <ul>
56
- {% for post in site.posts %}
57
- <li>
58
- <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
59
- </li>
60
- {% endfor %}
61
- </ul>
67
+ <ul>
68
+ {% for i in (1..site.recent_posts) %}
69
+ {% assign post = site.posts[i] %}
70
+ <li>
71
+ <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
72
+ </li>
73
+ {% endfor %}
74
+ </ul>
75
+ </div>
62
76
  {% endif %}
63
77
  </div>
64
78
  </div>
data/_layouts/post.html CHANGED
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  layout: default
3
+ blog: true
3
4
  ---
4
5
  <h4 class="post-title"> {{ page.date }} </h4>
5
6
  <article class="blog-post">
data/_sass/_base.scss CHANGED
@@ -114,12 +114,7 @@ nav:hover {
114
114
  margin-bottom: 5em;
115
115
  }
116
116
 
117
- .highlight,
118
- .highlight .w {
119
- opacity: 0.9;
120
- }
121
117
  $avatar-size: 10em;
122
-
123
118
  .avatar-image {
124
119
  height: auto;
125
120
  width: auto;
@@ -146,3 +141,10 @@ $avatar-size: 10em;
146
141
  z-index: -1;
147
142
  padding: 1em;
148
143
  }
144
+
145
+ .right-links {
146
+ a i {
147
+ font-size: 1.5em;
148
+ color: $gray !important;
149
+ }
150
+ }
@@ -26,7 +26,6 @@ $brand-danger: #7F3F3F;
26
26
  $github-color: #666;
27
27
  $facebook-color: #3b5998;
28
28
  $twitter-color: #326ada;
29
- // $google-plus-color: #d34836;
30
29
  $linkedin-color: #0077b5;
31
30
  $envelope-color: #c71610;
32
31
 
@@ -835,7 +834,7 @@ $close-text-shadow: 0 1px 0 #fff;
835
834
  //##
836
835
 
837
836
  $code-color: lighten($brand-danger, 25%);
838
- $code-bg: rgba($text-color, 0.1);
837
+ $code-bg: rgba($text-color, 0.01);
839
838
 
840
839
  $kbd-color: #fff;
841
840
  $kbd-bg: #333;
@@ -26,7 +26,6 @@ $brand-danger: darken($brand-danger, 5%);
26
26
  $github-color: #666;
27
27
  $facebook-color: #3b5998;
28
28
  $twitter-color: #326ada;
29
- // $google-plus-color: #d34836;
30
29
  $linkedin-color: #0077b5;
31
30
  $envelope-color: #c71610;
32
31
 
@@ -1,8 +1,7 @@
1
1
  .highlight table td { padding: 5px; }
2
2
  .highlight table pre { margin: 0; }
3
3
  .highlight, .highlight .w {
4
- color: #d0d0d0;
5
- background-color: #151515;
4
+ color: #303030;
6
5
  }
7
6
  .highlight .err {
8
7
  color: #151515;
@@ -0,0 +1,170 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight, .highlight .w {
4
+ color: #bbbbbb;
5
+ background-color: #000;
6
+ }
7
+ .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1 {
8
+ color: #888;
9
+ }
10
+ .highlight .cp {
11
+ color: #579;
12
+ }
13
+ .highlight .cs {
14
+ color: #cc0000;
15
+ font-weight: bold;
16
+ }
17
+ .highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kr, .highlight .kv {
18
+ color: #080;
19
+ font-weight: bold;
20
+ }
21
+ .highlight .kp {
22
+ color: #038;
23
+ }
24
+ .highlight .kt {
25
+ color: #339;
26
+ }
27
+ .highlight .o {
28
+ color: #333;
29
+ }
30
+ .highlight .ow {
31
+ color: #000;
32
+ font-weight: bold;
33
+ }
34
+ .highlight .nb, .highlight .bp {
35
+ color: #007020;
36
+ }
37
+ .highlight .nf {
38
+ color: #06B;
39
+ font-weight: bold;
40
+ }
41
+ .highlight .nc {
42
+ color: #B06;
43
+ font-weight: bold;
44
+ }
45
+ .highlight .nn {
46
+ color: #0e84b5;
47
+ font-weight: bold;
48
+ }
49
+ .highlight .ne {
50
+ color: #F00;
51
+ font-weight: bold;
52
+ }
53
+ .highlight .nv {
54
+ color: #963;
55
+ }
56
+ .highlight .vi {
57
+ color: #33B;
58
+ }
59
+ .highlight .vc {
60
+ color: #369;
61
+ }
62
+ .highlight .vg {
63
+ color: #d70;
64
+ font-weight: bold;
65
+ }
66
+ .highlight .no {
67
+ color: #036;
68
+ font-weight: bold;
69
+ }
70
+ .highlight .nl {
71
+ color: #970;
72
+ font-weight: bold;
73
+ }
74
+ .highlight .ni {
75
+ color: #800;
76
+ font-weight: bold;
77
+ }
78
+ .highlight .na {
79
+ color: #00C;
80
+ }
81
+ .highlight .nt {
82
+ color: #070;
83
+ }
84
+ .highlight .nd {
85
+ color: #555;
86
+ font-weight: bold;
87
+ }
88
+ .highlight .s, .highlight .sb, .highlight .s2, .highlight .sh, .highlight .s1 {
89
+ background-color: #fff0f0;
90
+ }
91
+ .highlight .sc {
92
+ color: #04D;
93
+ }
94
+ .highlight .sd {
95
+ color: #D42;
96
+ }
97
+ .highlight .si {
98
+ background-color: #eee;
99
+ }
100
+ .highlight .se {
101
+ color: #666;
102
+ font-weight: bold;
103
+ }
104
+ .highlight .sr {
105
+ color: #000;
106
+ background-color: #fff0ff;
107
+ }
108
+ .highlight .ss {
109
+ color: #A60;
110
+ }
111
+ .highlight .sx {
112
+ color: #D20;
113
+ }
114
+ .highlight .m, .highlight .mb, .highlight .mx {
115
+ color: #60E;
116
+ font-weight: bold;
117
+ }
118
+ .highlight .mi, .highlight .il {
119
+ color: #00D;
120
+ font-weight: bold;
121
+ }
122
+ .highlight .mf {
123
+ color: #60E;
124
+ font-weight: bold;
125
+ }
126
+ .highlight .mh {
127
+ color: #058;
128
+ font-weight: bold;
129
+ }
130
+ .highlight .mo {
131
+ color: #40E;
132
+ font-weight: bold;
133
+ }
134
+ .highlight .gh {
135
+ color: #000080;
136
+ font-weight: bold;
137
+ }
138
+ .highlight .gu {
139
+ color: #800080;
140
+ font-weight: bold;
141
+ }
142
+ .highlight .gd {
143
+ color: #A00000;
144
+ }
145
+ .highlight .gi {
146
+ color: #00A000;
147
+ }
148
+ .highlight .gr {
149
+ color: #FF0000;
150
+ }
151
+ .highlight .ge {
152
+ font-style: italic;
153
+ }
154
+ .highlight .gs {
155
+ font-weight: bold;
156
+ }
157
+ .highlight .gp {
158
+ color: #c65d09;
159
+ font-weight: bold;
160
+ }
161
+ .highlight .go {
162
+ color: #888;
163
+ }
164
+ .highlight .gt {
165
+ color: #04D;
166
+ }
167
+ .highlight .err {
168
+ color: #F00;
169
+ background-color: #FAA;
170
+ }