minimal-mistakes-jekyll 4.8.1 → 4.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -2
  3. data/LICENSE.txt +1 -1
  4. data/README.md +5 -13
  5. data/_data/ui-text.yml +2 -0
  6. data/_includes/archive-single.html +2 -2
  7. data/_includes/author-profile-custom-links.html +1 -1
  8. data/_includes/author-profile.html +27 -27
  9. data/_includes/category-list.html +1 -1
  10. data/_includes/comments-providers/staticman.html +1 -1
  11. data/_includes/comments-providers/staticman_v2.html +1 -1
  12. data/_includes/comments.html +2 -2
  13. data/_includes/footer.html +6 -6
  14. data/_includes/page__hero.html +2 -2
  15. data/_includes/scripts.html +12 -3
  16. data/_includes/social-share.html +4 -4
  17. data/_includes/tag-list.html +1 -1
  18. data/_includes/toc +1 -1
  19. data/_layouts/default.html +2 -2
  20. data/_layouts/single.html +4 -4
  21. data/_sass/minimal-mistakes.scss +2 -3
  22. data/_sass/minimal-mistakes/_base.scss +0 -2
  23. data/_sass/minimal-mistakes/_footer.scss +7 -5
  24. data/_sass/minimal-mistakes/_sidebar.scss +14 -8
  25. data/_sass/minimal-mistakes/_syntax.scss +275 -245
  26. data/_sass/minimal-mistakes/_utilities.scss +15 -11
  27. data/_sass/minimal-mistakes/_variables.scss +108 -92
  28. data/_sass/minimal-mistakes/skins/_air.scss +2 -2
  29. data/_sass/minimal-mistakes/skins/_contrast.scss +20 -3
  30. data/_sass/minimal-mistakes/skins/_dark.scss +20 -3
  31. data/_sass/minimal-mistakes/skins/_dirt.scss +19 -1
  32. data/_sass/minimal-mistakes/skins/_mint.scss +2 -2
  33. data/_sass/minimal-mistakes/skins/_neon.scss +19 -1
  34. data/_sass/minimal-mistakes/skins/_plum.scss +19 -1
  35. data/_sass/minimal-mistakes/skins/_sunrise.scss +20 -2
  36. data/assets/js/_main.js +21 -0
  37. data/assets/js/{lunr-en.js → lunr/lunr-en.js} +15 -44
  38. data/assets/js/lunr/lunr-gr.js +528 -0
  39. data/assets/js/lunr/lunr-store.js +36 -0
  40. data/assets/js/{lunr.min.js → lunr/lunr.min.js} +0 -0
  41. data/assets/js/main.min.js +6 -6
  42. metadata +6 -24
  43. data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +0 -34
  44. data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +0 -25
  45. data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +0 -12
  46. data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +0 -6
  47. data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +0 -18
  48. data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +0 -789
  49. data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +0 -13
  50. data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +0 -19
  51. data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +0 -60
  52. data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +0 -15
  53. data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +0 -20
  54. data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +0 -5
  55. data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +0 -20
  56. data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +0 -800
  57. data/assets/fonts/FontAwesome.otf +0 -0
  58. data/assets/fonts/fontawesome-webfont.eot +0 -0
  59. data/assets/fonts/fontawesome-webfont.svg +0 -2671
  60. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  61. data/assets/fonts/fontawesome-webfont.woff +0 -0
  62. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
@@ -42,11 +42,11 @@
42
42
  {{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
43
43
  {% endif %}
44
44
  </h1>
45
- {% if page.excerpt %}
45
+ {% if page.header.show_overlay_excerpt != false and page.excerpt %}
46
46
  <p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
47
47
  {% endif %}
48
48
  {% if site.read_time and page.read_time %}
49
- <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
49
+ <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
50
50
  {% endif %}
51
51
  {% if page.header.cta_url %}
52
52
  <p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
@@ -9,11 +9,20 @@
9
9
  {% endfor %}
10
10
  {% else %}
11
11
  <script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
12
+ <script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
12
13
  {% endif %}
13
14
 
14
- {% if site.search == true or page.layout == 'search' %}
15
- <script src="{{ '/assets/js/lunr.min.js' | absolute_url }}"></script>
16
- <script src="{{ '/assets/js/lunr-en.js' | absolute_url }}"></script>
15
+ {% if site.search == true or page.layout == "search" %}
16
+ {% assign lang = site.locale | slice: 0,2 | default: "en" %}
17
+ {% case lang %}
18
+ {% when "gr" %}
19
+ {% assign lang = "gr" %}
20
+ {% else %}
21
+ {% assign lang = "en" %}
22
+ {% endcase %}
23
+ <script defer src="{{ '/assets/js/lunr/lunr.min.js' | absolute_url }}"></script>
24
+ <script defer src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
25
+ <script defer src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
17
26
  {% endif %}
18
27
 
19
28
  {% include analytics.html %}
@@ -3,11 +3,11 @@
3
3
  <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
4
4
  {% endif %}
5
5
 
6
- <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
6
+ <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
7
7
 
8
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
8
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
9
9
 
10
- <a href="https://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
10
+ <a href="https://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
11
11
 
12
- <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
12
+ <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
13
13
  </section>
@@ -14,7 +14,7 @@
14
14
  {% assign tag_hashes = page_tags | split: ',' | sort %}
15
15
 
16
16
  <p class="page__taxonomy">
17
- <strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
17
+ <strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
18
18
  <span itemprop="keywords">
19
19
  {% for hash in tag_hashes %}
20
20
  {% assign keyValue = hash | split: '#' %}
@@ -1,6 +1,6 @@
1
1
  <aside class="sidebar__right">
2
2
  <nav class="toc" markdown="1">
3
- <header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
3
+ <header><h4 class="nav__title"><i class="fas fa-{{ include.icon | default: 'file-alt' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
4
4
  * Auto generated table of contents
5
5
  {:toc .toc__menu}
6
6
  </nav>
@@ -3,8 +3,8 @@
3
3
 
4
4
  <!doctype html>
5
5
  <!--
6
- Minimal Mistakes Jekyll Theme 4.8.1 by Michael Rose
7
- Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
6
+ Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
7
+ Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
8
8
  Free for personal and commercial use under the MIT license
9
9
  https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
10
10
  -->
@@ -28,7 +28,7 @@ layout: default
28
28
  <header>
29
29
  {% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
30
30
  {% if page.read_time %}
31
- <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
31
+ <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
32
32
  {% endif %}
33
33
  </header>
34
34
  {% endunless %}
@@ -37,7 +37,7 @@ layout: default
37
37
  {% if page.toc %}
38
38
  <aside class="sidebar__right">
39
39
  <nav class="toc">
40
- <header><h4 class="nav__title"><i class="fa fa-{{ page.toc_icon | default: 'file-text' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
40
+ <header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
41
41
  {% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
42
42
  </nav>
43
43
  </aside>
@@ -52,9 +52,9 @@ layout: default
52
52
  {% endif %}
53
53
  {% include page__taxonomy.html %}
54
54
  {% if page.last_modified_at %}
55
- <p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
55
+ <p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
56
56
  {% elsif page.date %}
57
- <p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
57
+ <p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
58
58
  {% endif %}
59
59
  </footer>
60
60
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.8.1 by Michael Rose
3
- * Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
2
+ * Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
3
+ * Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
5
5
  */
6
6
 
@@ -10,7 +10,6 @@
10
10
  /* Mixins and functions */
11
11
  @import "minimal-mistakes/vendor/breakpoint/breakpoint";
12
12
  @include breakpoint-set("to ems", true);
13
- @import "minimal-mistakes/vendor/font-awesome/font-awesome";
14
13
  @import "minimal-mistakes/vendor/magnific-popup/magnific-popup"; // Magnific Popup
15
14
  @import "minimal-mistakes/vendor/susy/susy";
16
15
  @import "minimal-mistakes/mixins";
@@ -170,9 +170,7 @@ td > code {
170
170
  padding-bottom: 0.1rem;
171
171
  font-size: $type-size-6;
172
172
  background: $code-background-color;
173
- border: 1px solid $border-color;
174
173
  border-radius: $border-radius;
175
- box-shadow: $box-shadow;
176
174
 
177
175
  &:before,
178
176
  &:after {
@@ -17,9 +17,9 @@
17
17
  margin-top: 3em;
18
18
  color: $muted-text-color;
19
19
  -webkit-animation: $intro-transition;
20
- animation: $intro-transition;
20
+ animation: $intro-transition;
21
21
  -webkit-animation-delay: 0.45s;
22
- animation-delay: 0.45s;
22
+ animation-delay: 0.45s;
23
23
  background-color: $footer-background-color;
24
24
 
25
25
  footer {
@@ -44,7 +44,10 @@
44
44
  }
45
45
  }
46
46
 
47
- .fa {
47
+ .fas,
48
+ .fab,
49
+ .far,
50
+ .fal {
48
51
  color: $muted-text-color;
49
52
  }
50
53
  }
@@ -55,7 +58,6 @@
55
58
  }
56
59
 
57
60
  .page__footer-follow {
58
-
59
61
  ul {
60
62
  margin: 0;
61
63
  padding: 0;
@@ -80,4 +82,4 @@
80
82
  padding-right: 10px;
81
83
  font-weight: bold;
82
84
  }
83
- }
85
+ }
@@ -9,13 +9,13 @@
9
9
  .sidebar {
10
10
  @include clearfix();
11
11
  margin-bottom: 1em;
12
- -webkit-transform: translate3d(0, 0 , 0);
13
- transform: translate3d(0, 0 , 0);
14
12
 
15
13
  @include breakpoint(max-width $large) {
16
14
  /* fix z-index order of follow links */
17
15
  position: relative;
18
16
  z-index: 10;
17
+ -webkit-transform: translate3d(0, 0, 0);
18
+ transform: translate3d(0, 0, 0);
19
19
  }
20
20
 
21
21
  @include breakpoint($large) {
@@ -23,7 +23,7 @@
23
23
  width: calc(#{$right-sidebar-width-narrow} - 1em);
24
24
  opacity: 0.75;
25
25
  -webkit-transition: opacity 0.2s ease-in-out;
26
- transition: opacity 0.2s ease-in-out;
26
+ transition: opacity 0.2s ease-in-out;
27
27
 
28
28
  &:hover {
29
29
  opacity: 1;
@@ -32,7 +32,9 @@
32
32
  &.sticky {
33
33
  overflow-y: auto;
34
34
  /* calculate height of nav list */
35
- height: calc(100vh - 90px - 2em); // viewport height - approx. masthead height - main content top margin
35
+ height: calc(
36
+ 100vh - 90px - 2em
37
+ ); // viewport height - approx. masthead height - main content top margin
36
38
  }
37
39
  }
38
40
 
@@ -40,12 +42,17 @@
40
42
  width: calc(#{$right-sidebar-width} - 1em);
41
43
  }
42
44
 
43
- h2, h3, h4, h5, h6 {
45
+ h2,
46
+ h3,
47
+ h4,
48
+ h5,
49
+ h6 {
44
50
  margin-bottom: 0;
45
51
  font-family: $sans-serif-narrow;
46
52
  }
47
53
 
48
- p, li {
54
+ p,
55
+ li {
49
56
  font-family: $sans-serif;
50
57
  font-size: $type-size-6;
51
58
  line-height: 1.5;
@@ -76,7 +83,6 @@
76
83
  }
77
84
 
78
85
  .splash .sidebar__right {
79
-
80
86
  @include breakpoint($large) {
81
87
  position: relative;
82
88
  float: right;
@@ -265,4 +271,4 @@
265
271
  text-decoration: underline;
266
272
  }
267
273
  }
268
- }
274
+ }
@@ -6,50 +6,42 @@ div.highlighter-rouge,
6
6
  figure.highlight {
7
7
  position: relative;
8
8
  margin-bottom: 1em;
9
+ background: $base00;
10
+ color: $base05;
9
11
  font-family: $monospace;
10
12
  font-size: $type-size-6;
11
13
  line-height: 1.8;
12
- border: 1px solid $border-color;
13
14
  border-radius: $border-radius;
14
- background-color: $code-background-color;
15
- box-shadow: $box-shadow;
16
-
17
- &:before {
18
- position: absolute;
19
- top: 0;
20
- right: 0;
21
- padding: 0.5em;
22
- background-color: $border-color;
23
- content: "\f121";
24
- font-family: "fontawesome" !important;
25
- line-height: 1;
26
- text-transform: none;
27
- speak: none;
28
- }
29
15
 
16
+ > pre,
30
17
  pre.highlight {
31
18
  margin: 0;
32
19
  padding: 1em;
33
20
  }
34
21
  }
35
22
 
36
- figure.highlight {
37
- padding-left: 1em;
38
- padding-right: 1em;
39
- }
40
-
41
23
  .highlight table {
24
+ margin-bottom: 0;
42
25
  font-size: 1em;
43
26
  border: 0;
44
27
 
45
28
  td {
46
- padding: 5px;
29
+ padding: 0;
30
+ width: calc(100% - 1em);
47
31
  border: 0;
48
32
 
49
33
  /* line numbers*/
50
34
  &.gutter {
51
35
  padding-right: 1em;
52
- color: rgba($muted-text-color, 0.5);
36
+ width: 1em;
37
+ color: $base04;
38
+ border-right: 1px solid $base04;
39
+ text-align: right;
40
+ }
41
+
42
+ /* code */
43
+ &.code {
44
+ padding-left: 1em;
53
45
  }
54
46
  }
55
47
 
@@ -62,225 +54,263 @@ figure.highlight {
62
54
  width: 100%;
63
55
  }
64
56
 
65
- /*
66
- Solarized Light
67
- http://ethanschoonover.com/solarized
68
-
69
- SOLARIZED HEX ROLE
70
- --------- -------- ------------------------------------------
71
- base01 #586e75 body text / default code / primary content
72
- base1 #93a1a1 comments / secondary content
73
- base3 #fdf6e3 background
74
- orange #cb4b16 constants
75
- red #dc322f regex, special keywords
76
- blue #22b3eb reserved keywords
77
- cyan #2aa198 strings, numbers
78
- green #859900 operators, other keywords
79
- ========================================================================== */
80
-
81
- .highlight .c {
82
- color: #93a1a1;
83
- } /* Comment */
84
- .highlight .err {
85
- color: #586e75;
86
- } /* Error */
87
- .highlight .g {
88
- color: #586e75;
89
- } /* Generic */
90
- .highlight .k {
91
- color: #859900;
92
- } /* Keyword */
93
- .highlight .l {
94
- color: #586e75;
95
- } /* Literal */
96
- .highlight .n {
97
- color: #586e75;
98
- } /* Name */
99
- .highlight .o {
100
- color: #859900;
101
- } /* Operator */
102
- .highlight .x {
103
- color: #cb4b16;
104
- } /* Other */
105
- .highlight .p {
106
- color: #586e75;
107
- } /* Punctuation */
108
- .highlight .cm {
109
- color: #93a1a1;
110
- } /* Comment.Multiline */
111
- .highlight .cp {
112
- color: #859900;
113
- } /* Comment.Preproc */
114
- .highlight .c1 {
115
- color: #93a1a1;
116
- } /* Comment.Single */
117
- .highlight .cs {
118
- color: #859900;
119
- } /* Comment.Special */
120
- .highlight .gd {
121
- color: #2aa198;
122
- } /* Generic.Deleted */
123
- .highlight .ge {
124
- color: #586e75;
125
- font-style: italic;
126
- } /* Generic.Emph */
127
- .highlight .gr {
128
- color: #dc322f;
129
- } /* Generic.Error */
130
- .highlight .gh {
131
- color: #cb4b16;
132
- } /* Generic.Heading */
133
- .highlight .gi {
134
- color: #859900;
135
- } /* Generic.Inserted */
136
- .highlight .go {
137
- color: #586e75;
138
- } /* Generic.Output */
139
- .highlight .gp {
140
- color: #586e75;
141
- } /* Generic.Prompt */
142
- .highlight .gs {
143
- color: #586e75;
144
- font-weight: bold;
145
- } /* Generic.Strong */
146
- .highlight .gu {
147
- color: #cb4b16;
148
- } /* Generic.Subheading */
149
- .highlight .gt {
150
- color: #586e75;
151
- } /* Generic.Traceback */
152
- .highlight .kc {
153
- color: #cb4b16;
154
- } /* Keyword.Constant */
155
- .highlight .kd {
156
- color: #22b3eb;
157
- } /* Keyword.Declaration */
158
- .highlight .kn {
159
- color: #859900;
160
- } /* Keyword.Namespace */
161
- .highlight .kp {
162
- color: #859900;
163
- } /* Keyword.Pseudo */
164
- .highlight .kr {
165
- color: #22b3eb;
166
- } /* Keyword.Reserved */
167
- .highlight .kt {
168
- color: #dc322f;
169
- } /* Keyword.Type */
170
- .highlight .ld {
171
- color: #586e75;
172
- } /* Literal.Date */
173
- .highlight .m {
174
- color: #2aa198;
175
- } /* Literal.Number */
176
- .highlight .s {
177
- color: #2aa198;
178
- } /* Literal.String */
179
- .highlight .na {
180
- color: #586e75;
181
- } /* Name.Attribute */
182
- .highlight .nb {
183
- color: #b58900;
184
- } /* Name.Builtin */
185
- .highlight .nc {
186
- color: #22b3eb;
187
- } /* Name.Class */
188
- .highlight .no {
189
- color: #cb4b16;
190
- } /* Name.Constant */
191
- .highlight .nd {
192
- color: #22b3eb;
193
- } /* Name.Decorator */
194
- .highlight .ni {
195
- color: #cb4b16;
196
- } /* Name.Entity */
197
- .highlight .ne {
198
- color: #cb4b16;
199
- } /* Name.Exception */
200
- .highlight .nf {
201
- color: #22b3eb;
202
- } /* Name.Function */
203
- .highlight .nl {
204
- color: #586e75;
205
- } /* Name.Label */
206
- .highlight .nn {
207
- color: #586e75;
208
- } /* Name.Namespace */
209
- .highlight .nx {
210
- color: #586e75;
211
- } /* Name.Other */
212
- .highlight .py {
213
- color: #586e75;
214
- } /* Name.Property */
215
- .highlight .nt {
216
- color: #22b3eb;
217
- } /* Name.Tag */
218
- .highlight .nv {
219
- color: #22b3eb;
220
- } /* Name.Variable */
221
- .highlight .ow {
222
- color: #859900;
223
- } /* Operator.Word */
224
- .highlight .w {
225
- color: #586e75;
226
- } /* Text.Whitespace */
227
- .highlight .mf {
228
- color: #2aa198;
229
- } /* Literal.Number.Float */
230
- .highlight .mh {
231
- color: #2aa198;
232
- } /* Literal.Number.Hex */
233
- .highlight .mi {
234
- color: #2aa198;
235
- } /* Literal.Number.Integer */
236
- .highlight .mo {
237
- color: #2aa198;
238
- } /* Literal.Number.Oct */
239
- .highlight .sb {
240
- color: #93a1a1;
241
- } /* Literal.String.Backtick */
242
- .highlight .sc {
243
- color: #2aa198;
244
- } /* Literal.String.Char */
245
- .highlight .sd {
246
- color: #586e75;
247
- } /* Literal.String.Doc */
248
- .highlight .s2 {
249
- color: #2aa198;
250
- } /* Literal.String.Double */
251
- .highlight .se {
252
- color: #cb4b16;
253
- } /* Literal.String.Escape */
254
- .highlight .sh {
255
- color: #586e75;
256
- } /* Literal.String.Heredoc */
257
- .highlight .si {
258
- color: #2aa198;
259
- } /* Literal.String.Interpol */
260
- .highlight .sx {
261
- color: #2aa198;
262
- } /* Literal.String.Other */
263
- .highlight .sr {
264
- color: #dc322f;
265
- } /* Literal.String.Regex */
266
- .highlight .s1 {
267
- color: #2aa198;
268
- } /* Literal.String.Single */
269
- .highlight .ss {
270
- color: #2aa198;
271
- } /* Literal.String.Symbol */
272
- .highlight .bp {
273
- color: #22b3eb;
274
- } /* Name.Builtin.Pseudo */
275
- .highlight .vc {
276
- color: #22b3eb;
277
- } /* Name.Variable.Class */
278
- .highlight .vg {
279
- color: #22b3eb;
280
- } /* Name.Variable.Global */
281
- .highlight .vi {
282
- color: #22b3eb;
283
- } /* Name.Variable.Instance */
284
- .highlight .il {
285
- color: #2aa198;
286
- } /* Literal.Number.Integer.Long */
57
+ .highlight .hll {
58
+ background-color: $base06;
59
+ }
60
+ .highlight {
61
+ .c {
62
+ /* Comment */
63
+ color: $base04;
64
+ }
65
+ .err {
66
+ /* Error */
67
+ color: $base08;
68
+ }
69
+ .k {
70
+ /* Keyword */
71
+ color: $base0e;
72
+ }
73
+ .l {
74
+ /* Literal */
75
+ color: $base09;
76
+ }
77
+ .n {
78
+ /* Name */
79
+ color: $base05;
80
+ }
81
+ .o {
82
+ /* Operator */
83
+ color: $base0c;
84
+ }
85
+ .p {
86
+ /* Punctuation */
87
+ color: $base05;
88
+ }
89
+ .cm {
90
+ /* Comment.Multiline */
91
+ color: $base04;
92
+ }
93
+ .cp {
94
+ /* Comment.Preproc */
95
+ color: $base04;
96
+ }
97
+ .c1 {
98
+ /* Comment.Single */
99
+ color: $base04;
100
+ }
101
+ .cs {
102
+ /* Comment.Special */
103
+ color: $base04;
104
+ }
105
+ .gd {
106
+ /* Generic.Deleted */
107
+ color: $base08;
108
+ }
109
+ .ge {
110
+ /* Generic.Emph */
111
+ font-style: italic;
112
+ }
113
+ .gh {
114
+ /* Generic.Heading */
115
+ color: $base05;
116
+ font-weight: bold;
117
+ }
118
+ .gi {
119
+ /* Generic.Inserted */
120
+ color: $base0b;
121
+ }
122
+ .gp {
123
+ /* Generic.Prompt */
124
+ color: $base04;
125
+ font-weight: bold;
126
+ }
127
+ .gs {
128
+ /* Generic.Strong */
129
+ font-weight: bold;
130
+ }
131
+ .gu {
132
+ /* Generic.Subheading */
133
+ color: $base0c;
134
+ font-weight: bold;
135
+ }
136
+ .kc {
137
+ /* Keyword.Constant */
138
+ color: $base0e;
139
+ }
140
+ .kd {
141
+ /* Keyword.Declaration */
142
+ color: $base0e;
143
+ }
144
+ .kn {
145
+ /* Keyword.Namespace */
146
+ color: $base0c;
147
+ }
148
+ .kp {
149
+ /* Keyword.Pseudo */
150
+ color: $base0e;
151
+ }
152
+ .kr {
153
+ /* Keyword.Reserved */
154
+ color: $base0e;
155
+ }
156
+ .kt {
157
+ /* Keyword.Type */
158
+ color: $base0a;
159
+ }
160
+ .ld {
161
+ /* Literal.Date */
162
+ color: $base0b;
163
+ }
164
+ .m {
165
+ /* Literal.Number */
166
+ color: $base09;
167
+ }
168
+ .s {
169
+ /* Literal.String */
170
+ color: $base0b;
171
+ }
172
+ .na {
173
+ /* Name.Attribute */
174
+ color: $base0d;
175
+ }
176
+ .nb {
177
+ /* Name.Builtin */
178
+ color: $base05;
179
+ }
180
+ .nc {
181
+ /* Name.Class */
182
+ color: $base0a;
183
+ }
184
+ .no {
185
+ /* Name.Constant */
186
+ color: $base08;
187
+ }
188
+ .nd {
189
+ /* Name.Decorator */
190
+ color: $base0c;
191
+ }
192
+ .ni {
193
+ /* Name.Entity */
194
+ color: $base05;
195
+ }
196
+ .ne {
197
+ /* Name.Exception */
198
+ color: $base08;
199
+ }
200
+ .nf {
201
+ /* Name.Function */
202
+ color: $base0d;
203
+ }
204
+ .nl {
205
+ /* Name.Label */
206
+ color: $base05;
207
+ }
208
+ .nn {
209
+ /* Name.Namespace */
210
+ color: $base0a;
211
+ }
212
+ .nx {
213
+ /* Name.Other */
214
+ color: $base0d;
215
+ }
216
+ .py {
217
+ /* Name.Property */
218
+ color: $base05;
219
+ }
220
+ .nt {
221
+ /* Name.Tag */
222
+ color: $base0c;
223
+ }
224
+ .nv {
225
+ /* Name.Variable */
226
+ color: $base08;
227
+ }
228
+ .ow {
229
+ /* Operator.Word */
230
+ color: $base0c;
231
+ }
232
+ .w {
233
+ /* Text.Whitespace */
234
+ color: $base05;
235
+ }
236
+ .mf {
237
+ /* Literal.Number.Float */
238
+ color: $base09;
239
+ }
240
+ .mh {
241
+ /* Literal.Number.Hex */
242
+ color: $base09;
243
+ }
244
+ .mi {
245
+ /* Literal.Number.Integer */
246
+ color: $base09;
247
+ }
248
+ .mo {
249
+ /* Literal.Number.Oct */
250
+ color: $base09;
251
+ }
252
+ .sb {
253
+ /* Literal.String.Backtick */
254
+ color: $base0b;
255
+ }
256
+ .sc {
257
+ /* Literal.String.Char */
258
+ color: $base05;
259
+ }
260
+ .sd {
261
+ /* Literal.String.Doc */
262
+ color: $base04;
263
+ }
264
+ .s2 {
265
+ /* Literal.String.Double */
266
+ color: $base0b;
267
+ }
268
+ .se {
269
+ /* Literal.String.Escape */
270
+ color: $base09;
271
+ }
272
+ .sh {
273
+ /* Literal.String.Heredoc */
274
+ color: $base0b;
275
+ }
276
+ .si {
277
+ /* Literal.String.Interpol */
278
+ color: $base09;
279
+ }
280
+ .sx {
281
+ /* Literal.String.Other */
282
+ color: $base0b;
283
+ }
284
+ .sr {
285
+ /* Literal.String.Regex */
286
+ color: $base0b;
287
+ }
288
+ .s1 {
289
+ /* Literal.String.Single */
290
+ color: $base0b;
291
+ }
292
+ .ss {
293
+ /* Literal.String.Symbol */
294
+ color: $base0b;
295
+ }
296
+ .bp {
297
+ /* Name.Builtin.Pseudo */
298
+ color: $base05;
299
+ }
300
+ .vc {
301
+ /* Name.Variable.Class */
302
+ color: $base08;
303
+ }
304
+ .vg {
305
+ /* Name.Variable.Global */
306
+ color: $base08;
307
+ }
308
+ .vi {
309
+ /* Name.Variable.Instance */
310
+ color: $base08;
311
+ }
312
+ .il {
313
+ /* Literal.Number.Integer.Long */
314
+ color: $base09;
315
+ }
316
+ }