jekyll-theme-hydejack 8.0.0 → 8.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -19
  3. data/_includes/body/analytics.html +16 -9
  4. data/_includes/body/comments.html +2 -4
  5. data/_includes/body/footer.html +1 -1
  6. data/_includes/body/menu.html +2 -2
  7. data/_includes/body/scripts.html +11 -3
  8. data/_includes/body/sidebar.html +1 -1
  9. data/_includes/components/hy-img.html +3 -3
  10. data/_includes/head/links.html +11 -9
  11. data/_includes/head/meta.html +1 -1
  12. data/_includes/head/page-style.html +2 -3
  13. data/_includes/head/scripts.html +15 -15
  14. data/_includes/head/styles.html +1 -1
  15. data/_includes/header.txt +1 -1
  16. data/_includes/my-comments.html +24 -0
  17. data/_includes/styles/inline.scss +24 -27
  18. data/_includes/styles/style.scss +27 -30
  19. data/_includes/templates/back.html +1 -1
  20. data/_includes/templates/index.html +2 -2
  21. data/_includes/templates/loading.html +1 -1
  22. data/_includes/templates/{cookies-banner.html → pro/cookies-banner.html} +2 -2
  23. data/_layouts/base.html +4 -4
  24. data/_layouts/compress.html +1 -1
  25. data/_sass/_mixins.scss +23 -12
  26. data/_sass/_syntax.scss +131 -67
  27. data/_sass/_variables.scss +4 -7
  28. data/_sass/hydejack/{__inline → __inline__}/_avatar.scss +1 -1
  29. data/_sass/hydejack/{__inline → __inline__}/_base.scss +2 -2
  30. data/_sass/hydejack/{__inline → __inline__}/_break-layout.scss +1 -1
  31. data/_sass/hydejack/{__inline → __inline__}/_content.scss +2 -2
  32. data/_sass/hydejack/{__inline → __inline__}/_footer.scss +1 -1
  33. data/_sass/hydejack/{__inline → __inline__}/_images.scss +2 -2
  34. data/_sass/hydejack/{__inline → __inline__}/_katex.scss +1 -1
  35. data/_sass/hydejack/{__inline → __inline__}/_links.scss +4 -4
  36. data/_sass/hydejack/{__link → __inline__}/_mark-external.scss +1 -1
  37. data/_sass/hydejack/{__inline → __inline__}/_menu.scss +18 -16
  38. data/_sass/hydejack/{__inline → __inline__}/_sidebar.scss +2 -2
  39. data/_sass/hydejack/{__inline → __inline__}/_social.scss +1 -1
  40. data/_sass/hydejack/{__inline → __inline__}/_utilities.scss +6 -3
  41. data/_sass/hydejack/{__link → __link__}/_avatar.scss +1 -1
  42. data/_sass/hydejack/{__link → __link__}/_base.scss +1 -1
  43. data/_sass/hydejack/{__link → __link__}/_break-layout.scss +1 -1
  44. data/_sass/hydejack/{__link → __link__}/_content.scss +1 -1
  45. data/_sass/hydejack/{__link → __link__}/_footer.scss +2 -2
  46. data/_sass/hydejack/{__link → __link__}/_images.scss +7 -5
  47. data/_sass/hydejack/{__link → __link__}/_katex.scss +6 -11
  48. data/_sass/hydejack/{__link → __link__}/_links.scss +5 -5
  49. data/_sass/hydejack/{__inline → __link__}/_mark-external.scss +1 -1
  50. data/_sass/hydejack/{__link → __link__}/_menu.scss +9 -16
  51. data/_sass/hydejack/{__link → __link__}/_sidebar.scss +1 -2
  52. data/_sass/hydejack/{__link → __link__}/_social.scss +1 -1
  53. data/_sass/hydejack/{__link → __link__}/_utilities.scss +6 -3
  54. data/_sass/hydejack/_base.pre.scss +1 -1
  55. data/_sass/hydejack/_content.pre.scss +1 -1
  56. data/_sass/hydejack/_footer.pre.scss +1 -1
  57. data/_sass/hydejack/_images.pre.scss +6 -4
  58. data/_sass/hydejack/_katex.pre.scss +5 -10
  59. data/_sass/hydejack/_links.pre.scss +4 -4
  60. data/_sass/hydejack/_menu.pre.scss +25 -30
  61. data/_sass/hydejack/_sidebar.pre.scss +1 -2
  62. data/_sass/hydejack/_utilities.pre.scss +5 -2
  63. data/_sass/my-style.scss +9 -0
  64. data/_sass/my-variables.scss +1 -23
  65. data/_sass/pooleparty/{__inline → __inline__}/_base.scss +6 -4
  66. data/_sass/pooleparty/{__inline → __inline__}/_code.scss +1 -1
  67. data/_sass/pooleparty/{__inline → __inline__}/_footer.scss +1 -1
  68. data/_sass/pooleparty/{__inline → __inline__}/_footnotes.scss +1 -1
  69. data/_sass/pooleparty/{__inline → __inline__}/_message.scss +4 -3
  70. data/_sass/pooleparty/{__inline → __inline__}/_pagination.scss +1 -1
  71. data/_sass/pooleparty/{__inline → __inline__}/_posts.scss +2 -2
  72. data/_sass/pooleparty/{__inline → __inline__}/_read-more.scss +1 -1
  73. data/_sass/pooleparty/{__inline → __inline__}/_related.scss +1 -1
  74. data/_sass/pooleparty/{__inline → __inline__}/_table.scss +3 -2
  75. data/_sass/pooleparty/{__inline → __inline__}/_type.scss +10 -6
  76. data/_sass/pooleparty/{__link → __link__}/_base.scss +1 -1
  77. data/_sass/pooleparty/{__link → __link__}/_code.scss +25 -12
  78. data/_sass/pooleparty/{__link → __link__}/_footer.scss +1 -1
  79. data/_sass/pooleparty/{__link → __link__}/_footnotes.scss +7 -6
  80. data/_sass/pooleparty/{__link → __link__}/_message.scss +1 -1
  81. data/_sass/pooleparty/{__link → __link__}/_pagination.scss +9 -6
  82. data/_sass/pooleparty/{__link → __link__}/_posts.scss +2 -2
  83. data/_sass/pooleparty/{__link → __link__}/_read-more.scss +1 -1
  84. data/_sass/pooleparty/{__link → __link__}/_related.scss +1 -1
  85. data/_sass/pooleparty/{__link → __link__}/_table.scss +13 -9
  86. data/_sass/pooleparty/{__link → __link__}/_type.scss +10 -9
  87. data/_sass/pooleparty/_base.pre.scss +5 -3
  88. data/_sass/pooleparty/_code.pre.scss +24 -11
  89. data/_sass/pooleparty/_footnotes.pre.scss +6 -5
  90. data/_sass/pooleparty/_message.pre.scss +3 -2
  91. data/_sass/pooleparty/_pagination.pre.scss +8 -5
  92. data/_sass/pooleparty/_posts.pre.scss +2 -2
  93. data/_sass/pooleparty/_table.pre.scss +14 -9
  94. data/_sass/pooleparty/_type.pre.scss +18 -13
  95. data/assets/css/{hydejack-8.0.0.css → hydejack-8.1.0.css} +0 -0
  96. data/assets/icomoon/fonts/icomoon.eot +0 -0
  97. data/assets/icomoon/fonts/icomoon.svg +3 -0
  98. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  99. data/assets/icomoon/fonts/icomoon.woff +0 -0
  100. data/assets/icomoon/selection.json +91 -10
  101. data/assets/icomoon/style.css +14 -5
  102. data/assets/img/{COLOURlovers.com-Hydejack.png → blog/COLOURlovers.com-Hydejack.png} +0 -0
  103. data/assets/img/blog/blog-layout.jpg +0 -0
  104. data/assets/img/{caleb-george-old.jpg → blog/caleb-george-old.jpg} +0 -0
  105. data/assets/img/{caleb-george.jpg → blog/caleb-george.jpg} +0 -0
  106. data/assets/img/blog/cover-page.jpg +0 -0
  107. data/assets/img/blog/dark-mode.jpg +0 -0
  108. data/assets/img/{example-content-ii.jpg → blog/example-content-ii.jpg} +0 -0
  109. data/assets/img/{example-content-iii.jpg → blog/example-content-iii.jpg} +0 -0
  110. data/assets/img/blog/hydejack-8.png +0 -0
  111. data/assets/img/blog/hydejack-8@0,25x.png +0 -0
  112. data/assets/img/blog/hydejack-8@0,5x.png +0 -0
  113. data/assets/img/blog/lazy-images.jpg +0 -0
  114. data/assets/img/blog/resume.png +0 -0
  115. data/assets/img/blog/w3m.png +0 -0
  116. data/assets/js/hydejack-8.1.0.js +46 -0
  117. data/assets/js/sw.js +3 -3
  118. data/assets/version.json +1 -1
  119. data/assets/video/blog-layout.mp4 +0 -0
  120. data/assets/video/cover-page.mp4 +0 -0
  121. data/assets/video/dark-mode.mp4 +0 -0
  122. data/assets/video/lazy-images.mp4 +0 -0
  123. metadata +72 -76
  124. data/assets/bower_components/fontfaceobserver/test/assets/index.html +0 -8
  125. data/assets/bower_components/fontfaceobserver/test/assets/late.css +0 -1
  126. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
  127. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
  128. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
  129. data/assets/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
  130. data/assets/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
  131. data/assets/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
  132. data/assets/bower_components/fontfaceobserver/test/deps.js +0 -5
  133. data/assets/bower_components/fontfaceobserver/test/index.html +0 -97
  134. data/assets/bower_components/fontfaceobserver/test/observer-test.js +0 -465
  135. data/assets/bower_components/fontfaceobserver/test/ruler-test.js +0 -112
  136. data/assets/img/default-1.jpg +0 -0
  137. data/assets/img/hydejack-8.jpg +0 -0
  138. data/assets/img/hydejack-8@0,25x.jpg +0 -0
  139. data/assets/img/hydejack-8@0,5x.jpg +0 -0
  140. data/assets/img/resume.png +0 -0
  141. data/assets/img/w3m.png +0 -0
  142. data/assets/js/hydejack-8.0.0.js +0 -46
@@ -18,11 +18,8 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  // SOFTWARE.
20
20
 
21
- {% assign font_heading = site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" %}
22
- {% assign font = site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" %}
23
-
24
- $font-family-heading: {{ font_heading }};
25
- $font-family: {{ font }};
21
+ $font-family-heading: {{ site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" }};
22
+ $font-family: {{ site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" }};
26
23
 
27
24
  @import "variables";
28
25
  @import "my-variables";
@@ -31,35 +28,35 @@ $font-family: {{ font }};
31
28
  @import "reboot-mod";
32
29
 
33
30
  {% unless site.hydejack.no_inline_css or jekyll.environment == 'development' %}
34
- @import "pooleparty/__link/base";
35
- @import "pooleparty/__link/type";
36
- @import "pooleparty/__link/table";
37
- @import "pooleparty/__link/footer";
38
- @import "pooleparty/__link/footnotes";
39
- @import "pooleparty/__link/code";
40
- @import "pooleparty/__link/posts";
41
- @import "pooleparty/__link/related";
42
- @import "pooleparty/__link/read-more";
43
- @import "pooleparty/__link/message";
44
- @import "pooleparty/__link/pagination";
45
-
46
- @import "hydejack/__link/base";
47
- @import "hydejack/__link/utilities";
48
- @import "hydejack/__link/links";
49
- @import "hydejack/__link/images";
50
- @import "hydejack/__link/sidebar";
51
- @import "hydejack/__link/social";
52
- @import "hydejack/__link/menu";
53
- @import "hydejack/__link/content";
54
- @import "hydejack/__link/avatar";
55
- @import "hydejack/__link/katex";
56
- @import "hydejack/__link/footer";
31
+ @import "pooleparty/__link__/base";
32
+ @import "pooleparty/__link__/type";
33
+ @import "pooleparty/__link__/table";
34
+ @import "pooleparty/__link__/footer";
35
+ @import "pooleparty/__link__/footnotes";
36
+ @import "pooleparty/__link__/code";
37
+ @import "pooleparty/__link__/posts";
38
+ @import "pooleparty/__link__/related";
39
+ @import "pooleparty/__link__/read-more";
40
+ @import "pooleparty/__link__/message";
41
+ @import "pooleparty/__link__/pagination";
42
+
43
+ @import "hydejack/__link__/base";
44
+ @import "hydejack/__link__/utilities";
45
+ @import "hydejack/__link__/links";
46
+ @import "hydejack/__link__/images";
47
+ @import "hydejack/__link__/sidebar";
48
+ @import "hydejack/__link__/social";
49
+ @import "hydejack/__link__/menu";
50
+ @import "hydejack/__link__/content";
51
+ @import "hydejack/__link__/avatar";
52
+ @import "hydejack/__link__/katex";
53
+ @import "hydejack/__link__/footer";
57
54
 
58
55
  {% unless site.hydejack.no_mark_external or site.no_mark_external %}
59
- @import "hydejack/__link/mark-external";
56
+ @import "hydejack/__link__/mark-external";
60
57
  {% endunless %}
61
58
  {% unless site.hydejack.no_break_layout %}
62
- @import "hydejack/__link/break-layout";
59
+ @import "hydejack/__link__/break-layout";
63
60
  {% endunless %}
64
61
 
65
62
  @import "syntax";
@@ -1,5 +1,5 @@
1
1
  <template id="_back-template" hidden>
2
- <a id="_back" class="back nav-btn no-hover">
2
+ <a id="_back" class="back nav-btn fl no-hover">
3
3
  <span class="sr-only">{{ strings.back | default:"Back" }}</span>
4
4
  <span class="icon-arrow-left2"></span>
5
5
  </a>
@@ -6,6 +6,6 @@
6
6
  {% include templates/error.html %}
7
7
  {% include templates/back.html %}
8
8
  {% include templates/permalink.html %}
9
- {% if site.google_analytics and site.hydejack.cookies_banner %}
10
- {% include templates/cookies-banner.html %}
9
+ {% if site.hydejack.cookies_banner %}
10
+ {% include templates/pro/cookies-banner.html %}
11
11
  {% endif %}
@@ -1,5 +1,5 @@
1
1
  <template id="_loading-template" hidden>
2
- <div class="loading">
2
+ <div class="loading nav-btn fr">
3
3
  <span class="sr-only">{{ strings.loading | default:"Loading…" }}</span>
4
4
  <span class="icon-cog"></span>
5
5
  </div>
@@ -1,8 +1,8 @@
1
1
  <template id="_cookies-banner-template" hidden>
2
- <div id="_cookies-banner" class="navbar fixed-top CookiesOK">
2
+ <div id="_cookies-banner" class="navbar fixed-bottom CookiesOK">
3
3
  <div class="content">
4
4
  <div class="nav-btn-bar">
5
- <small class="nav-btn">
5
+ <small class="nav-btn fl">
6
6
  <span>{{ site.data.strings.cookies_banner.text | default:'This site uses cookies.' | markdownify | replace:'<p>','' | replace:'</p>','' }}</span>
7
7
  <button id="_cookies-ok" class="btn btn-primary btn-sm">{{ site.data.strings.cookies_banner.okay | default:'Okay' }}</button>
8
8
  </small>
@@ -21,13 +21,13 @@ layout: compress
21
21
 
22
22
  {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
23
23
 
24
+ {% assign image = site.accent_image | default:'/assets/img/sidebar-bg.jpg' %}
24
25
  {% assign color = site.accent_color | default:'#4fb1ba' %}
25
26
  {% assign theme_color = site.theme_color | default:'#193747' %}
26
- {% assign image = site.accent_image | default:'/assets/img/sidebar-bg.jpg' %}
27
27
 
28
- {% if page.accent_color %}{% assign color = page.accent_color %}{% endif %}
29
- {% if page.theme_color %}{% assign theme_color = page.theme_color %}{% endif %}
30
- {% if page.accent_image %}{% assign image = page.accent_image %}{% endif %}
28
+ {% if page.accent_image %}{% assign image = page.accent_image %}{% endif %}
29
+ {% if page.accent_color %}{% assign color = page.accent_color %}{% endif %}
30
+ {% if page.theme_color %}{% assign theme_color = page.theme_color %}{% endif %}
31
31
 
32
32
  <head>
33
33
  {% include head/index.html %}
@@ -10,6 +10,6 @@
10
10
  /\___/ \ \____/
11
11
  \/__/ \/___/
12
12
 
13
- Powered by Hydejack v8.0.0 <https://hydejack.com/>
13
+ Powered by Hydejack v8.1.0 <https://hydejack.com/>
14
14
  -->{% capture _LINE_FEED %}
15
15
  {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}</html>
@@ -13,17 +13,20 @@
13
13
  // You should have received a copy of the GNU General Public License
14
14
  // along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
- @mixin pre($padding: 1rem) {
17
- margin-left: -1rem;
18
- margin-right: -1rem;
19
- padding: $padding;
20
- background-color: $code-bg;
21
-
22
- @media print {
23
- width: 100%!important;
24
- page-break-inside: avoid;
25
- break-inside: avoid-page;
26
- }
16
+ body {
17
+ --code-font-family: #{$code-font-family};
18
+
19
+ --font-weight: #{$font-weight};
20
+ --font-weight-bold: #{$font-weight-bold};
21
+ --font-weight-heading: #{$font-weight-heading};
22
+
23
+ --text-muted: #{$gray};
24
+ --gray-bg: #{$gray-bg};
25
+ --gray-text: #{$gray-text};
26
+ --menu-text: #{$menu-text};
27
+ --body-color: #{$body-color};
28
+ --body-bg: #{$body-bg};
29
+ --border-color: #{$border-color};
27
30
  }
28
31
 
29
32
  @mixin aspect-ratio($width, $height) {
@@ -45,8 +48,16 @@
45
48
  }
46
49
  }
47
50
 
48
- @mixin clearfix() {
51
+ .clearfix {
49
52
  content: "";
50
53
  display: table;
51
54
  clear: both;
52
55
  }
56
+
57
+ .color-transition {
58
+ transition: background-color 1s ease, border-color 1s ease;
59
+ }
60
+
61
+ .no-color-transition {
62
+ transition: none!important;
63
+ }
@@ -1,67 +1,131 @@
1
- /*
2
- * GitHub style for Pygments syntax highlighter, for use with Jekyll
3
- * Courtesy of GitHub.com
4
- */
5
-
6
- .highlight .c { color: #999988; font-style: italic; }
7
- // .highlight .err { color: #a61717; background-color: #e3d2d2; }
8
- .highlight .k { font-weight: bold; }
9
- .highlight .o { font-weight: bold; }
10
- .highlight .cm { color: #999988; font-style: italic; }
11
- .highlight .cp { color: #999999; font-weight: bold; }
12
- .highlight .c1 { color: #999988; font-style: italic; }
13
- .highlight .cs { color: #999999; font-weight: bold; font-style: italic; }
14
- .highlight .gd { color: #000000; background-color: #ffdddd; }
15
- .highlight .gd .x { color: #000000; background-color: #ffaaaa; }
16
- .highlight .ge { font-style: italic; }
17
- .highlight .gr { color: #aa0000; }
18
- .highlight .gh { color: #999999; }
19
- .highlight .gi { color: #000000; background-color: #ddffdd; }
20
- .highlight .gi .x { color: #000000; background-color: #aaffaa; }
21
- .highlight .go { color: #888888; }
22
- .highlight .gp { color: #555555; }
23
- .highlight .gs { font-weight: bold; }
24
- .highlight .gu { color: #800080; font-weight: bold; }
25
- .highlight .gt { color: #aa0000; }
26
- .highlight .kc { font-weight: bold; }
27
- .highlight .kd { font-weight: bold; }
28
- .highlight .kn { font-weight: bold; }
29
- .highlight .kp { font-weight: bold; }
30
- .highlight .kr { font-weight: bold; }
31
- .highlight .kt { color: #445588; font-weight: bold; }
32
- .highlight .m { color: #009999; }
33
- .highlight .s { color: #dd1144; }
34
- .highlight .n { color: #333333; }
35
- .highlight .na { color: teal; }
36
- .highlight .nb { color: #0086b3; }
37
- .highlight .nc { color: #445588; font-weight: bold; }
38
- .highlight .no { color: teal; }
39
- .highlight .ni { color: purple; }
40
- .highlight .ne { color: #990000; font-weight: bold; }
41
- .highlight .nf { color: #990000; font-weight: bold; }
42
- .highlight .nn { color: #555555; }
43
- .highlight .nt { color: navy; }
44
- .highlight .nv { color: teal; }
45
- .highlight .ow { font-weight: bold; }
46
- .highlight .w { color: #bbbbbb; }
47
- .highlight .mf { color: #009999; }
48
- .highlight .mh { color: #009999; }
49
- .highlight .mi { color: #009999; }
50
- .highlight .mo { color: #009999; }
51
- .highlight .sb { color: #dd1144; }
52
- .highlight .sc { color: #dd1144; }
53
- .highlight .sd { color: #dd1144; }
54
- .highlight .s2 { color: #dd1144; }
55
- .highlight .se { color: #dd1144; }
56
- .highlight .sh { color: #dd1144; }
57
- .highlight .si { color: #dd1144; }
58
- .highlight .sx { color: #dd1144; }
59
- .highlight .sr { color: #009926; }
60
- .highlight .s1 { color: #dd1144; }
61
- .highlight .ss { color: #990073; }
62
- .highlight .bp { color: #999999; }
63
- .highlight .vc { color: teal; }
64
- .highlight .vg { color: teal; }
65
- .highlight .vi { color: teal; }
66
- .highlight .il { color: #009999; }
67
- .highlight .gc { color: #999; background-color: #EAF2F5; }
1
+ .highlight,
2
+ pre.highlight {
3
+ // background: #fafafa;
4
+ color: #383a42;
5
+ }
6
+ .highlight pre {
7
+ // background: #fafafa;
8
+ }
9
+ .highlight .ge {
10
+ font-style: italic;
11
+ }
12
+ .highlight .gs {
13
+ font-weight: 700;
14
+ }
15
+ .highlight .ow {
16
+ font-weight: 700;
17
+ }
18
+ .highlight .n,
19
+ .highlight .nf,
20
+ .highlight .nn,
21
+ .highlight .o,
22
+ .highlight .p {
23
+ color: #383a42;
24
+ }
25
+ .highlight .c,
26
+ .highlight .c1,
27
+ .highlight .cm,
28
+ .highlight .cp,
29
+ .highlight .cs {
30
+ color: #a0a1a7;
31
+ font-style: italic;
32
+ }
33
+ .highlight .sr,
34
+ .highlight .ss {
35
+ color: #0184bc;
36
+ }
37
+ .highlight .k,
38
+ .highlight .kc,
39
+ .highlight .kd,
40
+ .highlight .kn,
41
+ .highlight .kp,
42
+ .highlight .kr,
43
+ .highlight .kt {
44
+ color: #a626a4;
45
+ }
46
+ .highlight .l,
47
+ .highlight .ld,
48
+ .highlight .s,
49
+ .highlight .s1,
50
+ .highlight .s2,
51
+ .highlight .sb,
52
+ .highlight .sc,
53
+ .highlight .sd,
54
+ .highlight .se,
55
+ .highlight .sh,
56
+ .highlight .si,
57
+ .highlight .sx {
58
+ color: #50a14f;
59
+ }
60
+ .highlight .nt,
61
+ .highlight .nx,
62
+ .highlight .vi {
63
+ color: #e45649;
64
+ }
65
+ .highlight .il,
66
+ .highlight .m,
67
+ .highlight .mf,
68
+ .highlight .mh,
69
+ .highlight .mi,
70
+ .highlight .mo,
71
+ .highlight .na {
72
+ color: #986801;
73
+ }
74
+ .highlight .bp,
75
+ .highlight .nb,
76
+ .highlight .nc,
77
+ .highlight .nd,
78
+ .highlight .ne,
79
+ .highlight .ni,
80
+ .highlight .nl,
81
+ .highlight .no,
82
+ .highlight .nv,
83
+ .highlight .py,
84
+ .highlight .vc,
85
+ .highlight .vg {
86
+ color: #c18401;
87
+ }
88
+ // .highlight .err {
89
+ // color: #fff;
90
+ // background-color: #ff1414;
91
+ // }
92
+ .highlight .gd {
93
+ color: #ff1414;
94
+ }
95
+ .highlight .gi {
96
+ color: #2db448;
97
+ }
98
+ .highlight .w {
99
+ color: #f8f8f2;
100
+ }
101
+ .highlight .cpf {
102
+ color: navy;
103
+ }
104
+ .highlight .gu {
105
+ color: #75715e;
106
+ }
107
+ .highlight .lineno {
108
+ color: #9d9d9f;
109
+ user-select: none;
110
+ }
111
+ .highlight .ln {
112
+ color: #9d9d9f;
113
+ user-select: none;
114
+ }
115
+ .highlight .ln:after {
116
+ content: " ";
117
+ }
118
+ .highlight .hll {
119
+ color: #383a42;
120
+ background-color: #e5e5e6;
121
+ }
122
+ .highlight .hl {
123
+ color: #383a42;
124
+ background-color: #e5e5e6;
125
+ }
126
+ .highlight .language-json .w + .s2 {
127
+ color: #e45649;
128
+ }
129
+ .highlight .language-json .kc {
130
+ color: #0184bc;
131
+ }
@@ -16,6 +16,10 @@
16
16
  $gray: #888;
17
17
  $gray-bg: rgba(0,0,0,.025);
18
18
  $gray-text: #666;
19
+ $menu-text: #bbb;
20
+ $body-color: #333;
21
+ $body-bg: #fff;
22
+ $border-color: #ebebeb;
19
23
 
20
24
  $root-font-size: 16px;
21
25
  $root-font-size-medium: 17px;
@@ -27,14 +31,7 @@ $font-weight: 400;
27
31
  $font-weight-bold: 700;
28
32
  $font-weight-heading: 400;
29
33
 
30
- $body-color: #333;
31
- $body-bg: #fff;
32
-
33
- $border-color: #eee;
34
-
35
34
  $code-font-family: Menlo, Monaco, Consolas, monospace;
36
- $code-color: inherit;
37
- $code-bg: $gray-bg;
38
35
 
39
36
  // Breakpoints and content width. All units must be in rem!
40
37
  // NOTE: Duplicated values from `_js/src/drawer.js`.
@@ -6,7 +6,7 @@
6
6
  //
7
7
  // During development you can run `npm run watch:css`
8
8
  // to continuosly rebuild this file.
9
- //
9
+
10
10
  // Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
11
11
  //
12
12
  // This program is free software: you can redistribute it and/or modify
@@ -6,7 +6,7 @@
6
6
  //
7
7
  // During development you can run `npm run watch:css`
8
8
  // to continuosly rebuild this file.
9
- //
9
+
10
10
  // Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
11
11
  //
12
12
  // This program is free software: you can redistribute it and/or modify
@@ -29,7 +29,7 @@
29
29
  body::before {
30
30
  content: '';
31
31
  width: .5rem;
32
- background: $border-color;
32
+ background: var(--border-color);
33
33
  position: fixed;
34
34
  left: 0;
35
35
  top: 0;
@@ -6,7 +6,7 @@
6
6
  //
7
7
  // During development you can run `npm run watch:css`
8
8
  // to continuosly rebuild this file.
9
- //
9
+
10
10
  // Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
11
11
  //
12
12
  // This program is free software: you can redistribute it and/or modify