jekyll-theme-potato-hacker 1.0.2 → 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 +4 -4
- data/README.md +54 -2
- data/_includes/footer.html +1 -25
- data/_includes/head.html +2 -2
- data/_includes/header.html +32 -14
- data/_includes/links.html +25 -0
- data/_layouts/blog-index.html +1 -1
- data/_layouts/default.html +33 -19
- data/_layouts/post.html +1 -0
- data/_sass/_base.scss +7 -5
- data/_sass/_variables-dark.scss +1 -1
- data/assets/css/{syntax.css → highlight/base16.css} +1 -2
- data/assets/css/highlight/colorful.css +170 -0
- data/assets/css/highlight/github.css +209 -0
- data/assets/css/highlight/gruvbox.css +84 -0
- data/assets/css/highlight/molokai.css +208 -0
- data/assets/css/highlight/monokai.css +210 -0
- data/assets/css/highlight/pastie.css +146 -0
- data/assets/css/highlight/thankful_eyes.css +173 -0
- data/assets/css/highlight/tulip.css +164 -0
- metadata +25 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83ea7ce51c0a8007da8621efbeeb99e20e541175207758bd15cb9db0787a165f
|
4
|
+
data.tar.gz: 6500faa974142aaa19982b284cfd9b602608b70391821fc3f6c6f63fd010132a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4716b05ad2af65df27cb8c9d933e96cedc33fc5d1c7c54640f549f0c5deb4b5ce3979a93ac7ce05f0116dbd35b19790f1c02d00bbf50fd7c30b4970bfefa77b4
|
7
|
+
data.tar.gz: d91504fd8cde4619fb9ab366015ef7157e8e0ae6720c58d377b43a9cad7f276cea7c5658c8399c98bbb6eb37f9c6a6d9bfec9710e28c435390c526e5b41c567a
|
data/README.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
# jekyll-theme-potato-hacker
|
2
|
+
[](https://badge.fury.io/rb/jekyll-theme-potato-hacker)
|
3
|
+
[](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
|
-

|
8
|
+

|
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,19 @@ 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
|
-
|
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
|
47
60
|
---
|
48
61
|
```
|
49
62
|
|
63
|
+
### Blog
|
50
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:
|
51
65
|
```yaml
|
52
66
|
---
|
@@ -56,6 +70,44 @@ description: Test page
|
|
56
70
|
---
|
57
71
|
```
|
58
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
|
+
|
59
111
|
## Contributing
|
60
112
|
|
61
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.
|
data/_includes/footer.html
CHANGED
@@ -11,31 +11,7 @@
|
|
11
11
|
{% endif %}
|
12
12
|
<div class="row">
|
13
13
|
<div class="col-sm-8 col-sm-offset-2">
|
14
|
-
{%
|
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.linkedin_id != null %}
|
35
|
-
<a href="https://www.linkedin.com/in/{{site.linkedin_id}}" target="_blank">
|
36
|
-
<i class="fa fa-linkedin fa-3x"></i>
|
37
|
-
</a>
|
38
|
-
{% endif %}
|
14
|
+
{% include links.html %}
|
39
15
|
</div>
|
40
16
|
</div>
|
41
17
|
{% if site.email != null and site.author != null %}
|
data/_includes/head.html
CHANGED
@@ -37,11 +37,11 @@
|
|
37
37
|
<link rel="shortcut icon" href="{{'/assets/img/icons/favicon.ico' | prepend: site.baseurl }}" type="image/x-icon" />
|
38
38
|
|
39
39
|
<!-- Android Lolipop Theme Color -->
|
40
|
-
<meta name="theme-color" content="
|
40
|
+
<meta name="theme-color" content="#2a4d14">
|
41
41
|
|
42
42
|
<!-- Styles -->
|
43
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/
|
44
|
+
<link rel="stylesheet" href="{{ '/assets/css/highlight/' | append: site.highlighter_theme | append: '.css' | prepend: site.baseurl }}">
|
45
45
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
46
46
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
47
47
|
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
|
data/_includes/header.html
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
{% if site.blog == true %}
|
20
20
|
<li><a href="{{ '/blog' | prepend: site.baseurl }}">Blog</a></li>
|
21
21
|
{% endif %}
|
22
|
+
|
22
23
|
{% for page in site.dropdown %}
|
23
24
|
<li class="dropdown dropdown-{{ page.dropdown }}">
|
24
25
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
|
@@ -26,28 +27,45 @@
|
|
26
27
|
<span class="caret"></span>
|
27
28
|
</a>
|
28
29
|
<ul class="dropdown-menu dropdown-menu-{{ page.title }}">
|
29
|
-
<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>
|
30
31
|
</ul>
|
31
32
|
</li>
|
32
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
|
+
|
33
38
|
<script>
|
34
39
|
// clean repeated dropdowns and add <li> to their positions
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
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;
|
43
63
|
}
|
44
|
-
|
45
|
-
}
|
64
|
+
return true;
|
65
|
+
})
|
46
66
|
});
|
67
|
+
$(".nav").append(elements)
|
47
68
|
</script>
|
48
|
-
{% for page in site.items %}
|
49
|
-
<li><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.title }}</a></li>
|
50
|
-
{% endfor %}
|
51
69
|
</ul>
|
52
70
|
</div>
|
53
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 %}
|
data/_layouts/blog-index.html
CHANGED
@@ -4,7 +4,7 @@ layout: page
|
|
4
4
|
{% for post in site.posts %}
|
5
5
|
<a href="{{ post.url | prepend: site.baseurl }}">
|
6
6
|
<h1 class="post-title"> {{ post.title }}</h1>
|
7
|
-
<
|
7
|
+
<h5 class="post-title"> {{ post.date }} </h5>
|
8
8
|
</a>
|
9
9
|
{{post.excerpt}}
|
10
10
|
{% if post.content contains site.excerpt_separator %}
|
data/_layouts/default.html
CHANGED
@@ -30,35 +30,49 @@
|
|
30
30
|
<div class="left-pane">
|
31
31
|
</div>
|
32
32
|
</div> -->
|
33
|
-
<div class="col-
|
34
|
-
<div class="page-separator hidden-
|
35
|
-
|
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-
|
40
|
-
<div class="pane-separator hidden-
|
41
|
-
<div class="pane-separator visible-
|
42
|
-
<div class="right-pane"
|
43
|
-
{% if
|
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
|
-
|
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
|
-
<
|
56
|
+
<div class="right-links">
|
57
|
+
{% include links.html %}
|
58
|
+
</div>
|
49
59
|
</center>
|
60
|
+
</div>
|
50
61
|
{% endif %}
|
51
|
-
{% if
|
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
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<
|
59
|
-
|
60
|
-
|
61
|
-
|
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
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
|
+
}
|
data/_sass/_variables-dark.scss
CHANGED
@@ -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
|
+
}
|