jekyll-theme-hydejack 6.0.0.pre.alpha → 6.0.0.pre.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/README.md +0 -84
  4. data/_includes/about.html +1 -5
  5. data/_includes/body.html +31 -0
  6. data/_includes/copyright-header +4 -4
  7. data/_includes/footer.html +4 -9
  8. data/_includes/head.html +38 -22
  9. data/_includes/icon-github.html +2 -0
  10. data/_includes/page-style.html +8 -0
  11. data/_includes/related.html +2 -2
  12. data/_includes/scripts.html +7 -2
  13. data/_includes/sidebar.html +1 -1
  14. data/_includes/styles/inline.scss +1 -0
  15. data/_includes/styles/style.scss +2 -1
  16. data/_layouts/about.html +1 -5
  17. data/_layouts/base.html +6 -26
  18. data/_layouts/compress.html +4 -4
  19. data/_layouts/default.html +22 -14
  20. data/_layouts/home.html +3 -0
  21. data/_layouts/list.html +2 -2
  22. data/_layouts/redirect.html +8 -0
  23. data/_sass/_mixins.scss +2 -2
  24. data/_sass/_spinner.scss +1 -1
  25. data/_sass/_variables.scss +15 -31
  26. data/_sass/hydejack/_base-inline.scss +27 -14
  27. data/_sass/hydejack/_base.scss +26 -17
  28. data/_sass/hydejack/_content-inline.scss +7 -3
  29. data/_sass/hydejack/_footer-inline.scss +7 -3
  30. data/_sass/hydejack/_katex.scss +10 -7
  31. data/_sass/hydejack/_me-inline.scss +6 -4
  32. data/_sass/hydejack/_menu-inline.scss +4 -4
  33. data/_sass/hydejack/_menu.scss +4 -4
  34. data/_sass/hydejack/_sidebar-inline.scss +10 -3
  35. data/_sass/hydejack/_sidebar.scss +13 -6
  36. data/_sass/hydejack/_social-inline.scss +29 -20
  37. data/_sass/hydejack/_social.scss +29 -20
  38. data/_sass/hydejack/_toc.scss +0 -4
  39. data/_sass/pooleparty/_base-inline.scss +2 -1
  40. data/_sass/pooleparty/_base.scss +2 -1
  41. data/_sass/pooleparty/_code.scss +6 -10
  42. data/_sass/pooleparty/_footnotes.scss +4 -6
  43. data/_sass/pooleparty/_message-inline.scss +2 -2
  44. data/_sass/pooleparty/_pagination.scss +6 -6
  45. data/_sass/pooleparty/_posts-inline.scss +1 -1
  46. data/_sass/pooleparty/_related-inline.scss +2 -1
  47. data/_sass/pooleparty/_table.scss +13 -9
  48. data/_sass/pooleparty/_type-inline.scss +9 -8
  49. data/_sass/pooleparty/_type.scss +9 -4
  50. data/assets/img/doc.jpg +0 -0
  51. data/assets/img/google-fonts.png +0 -0
  52. data/assets/js/hydejack.js +16 -15
  53. data/assets/version.json +1 -1
  54. metadata +8 -52
  55. data/_includes/menu.html +0 -6
  56. data/_includes/pro/project-card.html +0 -17
  57. data/_includes/pro/styles/projects.scss +0 -4
  58. data/_includes/pro/styles/resume.scss +0 -4
  59. data/assets/img/projects/hyde-v1.png +0 -0
  60. data/assets/img/projects/hyde-v1@0,25x.png +0 -0
  61. data/assets/img/projects/hyde-v1@0,5x.png +0 -0
  62. data/assets/img/projects/hyde-v2.png +0 -0
  63. data/assets/img/projects/hyde-v2@0,25x.png +0 -0
  64. data/assets/img/projects/hyde-v2@0,5x.png +0 -0
  65. data/assets/img/projects/hydejack-v3.jpg +0 -0
  66. data/assets/img/projects/hydejack-v3@0,25x.jpg +0 -0
  67. data/assets/img/projects/hydejack-v3@0,5x.jpg +0 -0
  68. data/assets/img/projects/hydejack-v4.jpg +0 -0
  69. data/assets/img/projects/hydejack-v4@0,25x.jpg +0 -0
  70. data/assets/img/projects/hydejack-v4@0,5x.jpg +0 -0
  71. data/assets/img/projects/hydejack-v5.jpg +0 -0
  72. data/assets/img/projects/hydejack-v5@0,25x.jpg +0 -0
  73. data/assets/img/projects/hydejack-v5@0,5x.jpg +0 -0
  74. data/assets/img/projects/hydejack-v6.jpg +0 -0
  75. data/assets/img/projects/hydejack-v6@0,25x.jpg +0 -0
  76. data/assets/img/projects/hydejack-v6@0,5x.jpg +0 -0
@@ -17,10 +17,10 @@
17
17
  /\___/ \ \____/
18
18
  \/__/ \/___/
19
19
 
20
- Copyright (c) 2017 Florian Klampfer.
21
- Licensed under MIT.
22
- Design: Hydejack by @qwtel. Get it at: https://qwtel.com/hydejack
23
- Version: 6.0.0-alpha
20
+ Copyright (c) 2017 Florian Klampfer
21
+ Licensed under MIT
22
+ Powered by Hydejack (https://qwtel.com/hydejack/)
23
+ Version: 6.0.0-beta2
24
24
  -->{% capture _LINE_FEED %}
25
25
  {% 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 %}
26
26
  </html>
@@ -2,24 +2,32 @@
2
2
  layout: base
3
3
  ---
4
4
 
5
- <article class="page" role="article">
6
- <h1 class="page-title">{{ page.title }}</h1>
7
-
8
- {% capture warning %}
9
- Looks like you are using the `default` layout, which is not recommened.
10
- Use `page` or `post` instead.
11
- See the Hydejack documentation for more information on available layouts.
5
+ <div class="page">
6
+ <h1 class="page-title">{{ page.title | default:"Home"}}</h1>
7
+ {% capture message %}
8
+ Looks like you are using the `{{ page.layout }}` layout. This layout is not supported by Hydejack. Instead use `blog` or `list`. For more information see the [Hydejack Documentation](https://qwtel.com/hydejack/docs/6.0.0-beta2).
12
9
  {% endcapture %}
13
-
14
- {% include message.html text=warning %}
10
+ {% include message.html text=message %}
15
11
 
16
12
  {{ content }}
17
13
 
18
14
  <h2>Posts</h2>
19
- <hr/>
20
15
  <ul class="related-posts">
21
- {% for post in site.posts %}
22
- {% include post-list-item.html post=post format="%m/%d/%y" %}
23
- {% endfor %}
16
+ {% for post in site.posts %}
17
+ {% include post-list-item.html post=post format="%m/%d/%y" %}
18
+ {% endfor %}
19
+ </ul>
20
+
21
+ <h2>Pages</h2>
22
+ <ul class="related-posts">
23
+ {% for page in site.html_pages %}
24
+ {% if page.layout == 'page' %}
25
+ <li class="h4">
26
+ <a href="{{ page.url | relative_url }}" data-flip="title">
27
+ <span>{{ page.title }}</span>
28
+ </a>
29
+ </li>
30
+ {% endif %}
31
+ {% endfor %}
24
32
  </ul>
25
- </article>
33
+ </div>
@@ -0,0 +1,3 @@
1
+ ---
2
+ layout: default
3
+ ---
@@ -14,7 +14,7 @@ layout: base
14
14
  {% endif %}
15
15
  {% endif %}
16
16
 
17
- {% if page.title != null %}
17
+ {% if page.title.size > 0 %}
18
18
  <h1 class="page-title">{{ page.title }}</h1>
19
19
  {% include message.html text=page.description %}
20
20
  {% endif %}
@@ -22,7 +22,7 @@ layout: base
22
22
  {% for post in posts %}
23
23
  {% assign currentdate = post.date | date: "%Y" %}
24
24
  {% if currentdate != date %}
25
- {% unless forloop.first %}</ul><hr/>{% endunless %}
25
+ {% unless forloop.first %}</ul>{% endunless %}
26
26
  <h2 id="y{{post.date | date: "%Y"}}">{{ currentdate }}</h2>
27
27
  <ul class="related-posts">
28
28
  {% assign date = currentdate %}
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ <div class="page">
6
+ <h1 class="page-title">Redirecting...</h1>
7
+ <p class="lead"><a href="{{ page.redirect.to }}">{{ page.redirect.to }}</a></p>
8
+ </div>
@@ -1,8 +1,8 @@
1
- @mixin figure() {
1
+ @mixin pre() {
2
2
  margin-left: -1rem;
3
3
  margin-right: -1rem;
4
4
  padding: 1rem;
5
- background-color: #f9f9f9;
5
+ background-color: $gray-bg;
6
6
  }
7
7
 
8
8
  @mixin aspect-ratio($width, $height) {
@@ -23,7 +23,7 @@
23
23
  left: 0;
24
24
  width: 100%;
25
25
  height: 100%;
26
- background-color: #9a9a9a;
26
+ background-color: $gray;
27
27
  -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
28
28
  animation: sk-foldCubeAngle 2.4s infinite linear both;
29
29
  -webkit-transform-origin: 100% 100%;
@@ -1,43 +1,27 @@
1
- $gray-1: #f9f9f9;
2
- $gray-2: #ccc;
3
- $gray-3: #767676;
4
- $gray-4: #515151;
5
- $gray-5: #313131;
6
-
7
- $red: #ac4142;
8
- $orange: #d28445;
9
- $yellow: #f4bf75;
10
- $green: #90a959;
11
- $cyan: #75b5aa;
12
- $blue: #268bd2;
13
- // $blue: #6a9fb5;
14
- $brown: #8f5536;
1
+ $gray: #9a9a9a;
2
+ $gray-bg: #f9f9f9;
3
+ $gray-text: #787878;
15
4
 
16
5
  $root-font-size: 16px;
6
+ $root-font-size-medium: 17px;
7
+ $root-font-size-large: 18px;
17
8
  $root-line-height: 1.75;
18
9
 
19
- $body-color: #464646;
10
+ $body-color: #333;
20
11
  $body-bg: #fff;
21
- $link-color: $blue;
22
12
 
23
13
  $border-color: #e5e5e5;
14
+ $border-color-light: #eee;
24
15
 
25
- $large-breakpoint: 38em;
26
- $large-font-size: 20px;
27
-
28
- $code-font-family: Menlo, Monaco, "Courier New", monospace;
16
+ $code-font-family: Menlo, Monaco, Consolas, monospace;
29
17
  $code-color: inherit;
30
18
 
31
- $scrollbar-width: 18px;
32
-
33
- $break-point-1: 800px + 1px;
34
- $break-point-2: 1024px + 1px;
35
- $break-point-3: 1440px + 1px;
36
-
37
- $break-point-font-1: 608px;
38
- $break-point-font-2: 1152px;
39
-
40
- $break-point-content-max: 82em; // content max width reached
41
- $break-point-dynamic: 1656px; // left-right margin equal
19
+ $break-point-1: 38em;
20
+ $break-point-2: 50em;
21
+ $break-point-3: 60em;
22
+ $break-point-4: 72em;
23
+ $break-point-5: 92em;
24
+ $break-point-dynamic: 103.5em;
25
+ $break-point-font-large: 125em;
42
26
 
43
27
  $dynamic-width: calc(50% - 28rem);
@@ -40,15 +40,15 @@ body, main {
40
40
  // transform: scale(0.33);
41
41
  }
42
42
 
43
- @media screen and (min-width: $break-point-font-1) {
43
+ @media screen and (min-width: $break-point-1) {
44
44
  html {
45
- font-size: 18px;
45
+ font-size: $root-font-size-medium;
46
46
  }
47
47
  }
48
48
 
49
- @media screen and (min-width: $break-point-1) {
49
+ @media screen and (min-width: $break-point-2) {
50
50
  html {
51
- font-size: 16px;
51
+ font-size: $root-font-size;
52
52
  }
53
53
 
54
54
  main {
@@ -61,20 +61,26 @@ body, main {
61
61
  // }
62
62
  }
63
63
 
64
- @media screen and (min-width: $break-point-font-2) {
64
+ @media screen and (min-width: $break-point-4) {
65
+ html {
66
+ font-size: $root-font-size-medium;
67
+ }
68
+ }
69
+
70
+ @media screen and (min-width: $break-point-font-large) {
65
71
  html {
66
- font-size: 18px;
72
+ font-size: $root-font-size-large;
67
73
  }
68
74
  }
69
75
 
70
76
  // @media print {
71
77
  // html {
72
- // font-size: 16px;
78
+ // font-size: $root-font-size;
73
79
  // }
74
80
  // }
75
81
 
76
82
  .sr-only {
77
- // will be properly styled in the non-essential part
83
+ // will be properly styled in the main css
78
84
  display: none;
79
85
  // display: unset;
80
86
  // position: absolute;
@@ -92,28 +98,35 @@ body, main {
92
98
  }
93
99
 
94
100
  // .faded {
95
- // color: #9a9a9a;
101
+ // color: $gray;
96
102
  // }
97
103
 
98
104
  a, .a {
99
105
  position: relative;
100
106
  padding-bottom: 0.15rem;
101
- border-bottom: 3px solid transparent;
102
-
107
+ border-bottom: 1px solid;
108
+ // transition: color 500ms, border-color 250ms ease;
109
+ //
103
110
  // &:hover, &:focus {
104
111
  // text-decoration: none;
105
- // border-bottom: 3px solid;
112
+ // border-bottom-width: 4px;
113
+ // transition: color 500ms, border-color 50ms ease-out;
106
114
  // }
107
-
115
+ //
108
116
  // &.no-hover {
109
117
  // border-bottom: none;
110
118
  // padding-bottom: none;
119
+ // transition: none;
120
+ //
121
+ // &:hover, &:focus {
122
+ // transition: none;
123
+ // }
111
124
  // }
112
125
  }
113
126
 
114
127
  .img {
115
128
  overflow: hidden;
116
- background-color: #f9f9f9;
129
+ background-color: $gray-bg;
117
130
  // background-position: center;
118
131
  // background-repeat: no-repeat;
119
132
  // background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ibWF0cml4KDAuMDQ4ODI4LCAwLCAwLCAwLjA0Nzk5MSwgNTQuOTk5OTczLCAyMC40MjgxNDgpIj4KICAgIDxwYXRoIGQ9Ik05NTkuODg0IDEyOGMwLjA0MCAwLjAzNCAwLjA4MiAwLjA3NiAwLjExNiAwLjExNnY3NjcuNzdjLTAuMDM0IDAuMDQwLTAuMDc2IDAuMDgyLTAuMTE2IDAuMTE2aC04OTUuNzdjLTAuMDQwLTAuMDM0LTAuMDgyLTAuMDc2LTAuMTE0LTAuMTE2di03NjcuNzcyYzAuMDM0LTAuMDQwIDAuMDc2LTAuMDgyIDAuMTE0LTAuMTE0aDg5NS43N3pNOTYwIDY0aC04OTZjLTM1LjIgMC02NCAyOC44LTY0IDY0djc2OGMwIDM1LjIgMjguOCA2NCA2NCA2NGg4OTZjMzUuMiAwIDY0LTI4LjggNjQtNjR2LTc2OGMwLTM1LjItMjguOC02NC02NC02NHYweiIgc3R5bGU9ImZpbGw6IHJnYigyMjEsIDIyMSwgMjIxKTsiLz4KICAgIDxwYXRoIGQ9Ik04MzIgMjg4YzAgNTMuMDIwLTQyLjk4IDk2LTk2IDk2cy05Ni00Mi45OC05Ni05NiA0Mi45OC05NiA5Ni05NiA5NiA0Mi45OCA5NiA5NnoiIHN0eWxlPSJmaWxsOiByZ2IoMjIxLCAyMjEsIDIyMSk7Ii8+CiAgICA8cGF0aCBkPSJNODk2IDgzMmgtNzY4di0xMjhsMjI0LTM4NCAyNTYgMzIwaDY0bDIyNC0xOTJ6IiBzdHlsZT0iZmlsbDogcmdiKDIyMSwgMjIxLCAyMjEpOyIvPgogIDwvZz4KPC9zdmc+');
@@ -40,41 +40,47 @@ body, main {
40
40
  transform: scale(0.33);
41
41
  }
42
42
 
43
- @media screen and (min-width: $break-point-font-1) {
43
+ @media screen and (min-width: $break-point-1) {
44
44
  // html {
45
- // font-size: 18px;
45
+ // font-size: $root-font-size-large;
46
46
  // }
47
47
  }
48
48
 
49
- @media screen and (min-width: $break-point-1) {
49
+ @media screen and (min-width: $break-point-2) {
50
50
  // html {
51
- // font-size: 16px;
51
+ // font-size: $root-font-size;
52
52
  // }
53
53
  //
54
54
  // main {
55
55
  // border-left: none;
56
56
  // }
57
- //
57
+
58
58
  .shadow-main {
59
59
  left: 0;
60
60
  width: 100%;
61
61
  }
62
62
  }
63
63
 
64
- @media screen and (min-width: $break-point-font-2) {
64
+ @media screen and (min-width: $break-point-4) {
65
65
  // html {
66
- // font-size: 18px;
66
+ // font-size: $root-font-size-medium;
67
+ // }
68
+ }
69
+
70
+ @media screen and (min-width: $break-point-font-large) {
71
+ // html {
72
+ // font-size: $root-font-size-large;
67
73
  // }
68
74
  }
69
75
 
70
76
  @media print {
71
77
  html {
72
- font-size: 16px;
78
+ font-size: $root-font-size;
73
79
  }
74
80
  }
75
81
 
76
82
  .sr-only {
77
- // will be properly styled in the non-essential part
83
+ // will be properly styled in the main css
78
84
  // display: none;
79
85
  display: unset;
80
86
  position: absolute;
@@ -92,32 +98,35 @@ body, main {
92
98
  // }
93
99
 
94
100
  .faded {
95
- color: #9a9a9a;
101
+ color: $gray;
96
102
  }
97
103
 
98
104
  a, .a {
99
105
  // position: relative;
100
106
  // padding-bottom: 0.15rem;
101
- // border-bottom: 3px solid transparent;
107
+ // border-bottom: 1px dotted transparent;
108
+ transition: color 500ms, border-color 250ms;
102
109
 
103
110
  &:hover, &:focus {
104
111
  text-decoration: none;
105
- border-bottom: 3px solid;
112
+ // border-bottom-width: 4px;
113
+ transition: color 500ms, border-color 50ms;
106
114
  }
107
115
 
108
116
  &.no-hover {
109
117
  border-bottom: none;
110
118
  padding-bottom: none;
111
- }
112
- }
119
+ transition: none;
113
120
 
114
- .content a {
115
- transition: color 300ms;
121
+ &:hover, &:focus {
122
+ transition: none;
123
+ }
124
+ }
116
125
  }
117
126
 
118
127
  .img {
119
128
  // overflow: hidden;
120
- // background-color: #f9f9f9;
129
+ // background-color: $gray-bg;
121
130
  background-position: center;
122
131
  background-repeat: no-repeat;
123
132
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ibWF0cml4KDAuMDQ4ODI4LCAwLCAwLCAwLjA0Nzk5MSwgNTQuOTk5OTczLCAyMC40MjgxNDgpIj4KICAgIDxwYXRoIGQ9Ik05NTkuODg0IDEyOGMwLjA0MCAwLjAzNCAwLjA4MiAwLjA3NiAwLjExNiAwLjExNnY3NjcuNzdjLTAuMDM0IDAuMDQwLTAuMDc2IDAuMDgyLTAuMTE2IDAuMTE2aC04OTUuNzdjLTAuMDQwLTAuMDM0LTAuMDgyLTAuMDc2LTAuMTE0LTAuMTE2di03NjcuNzcyYzAuMDM0LTAuMDQwIDAuMDc2LTAuMDgyIDAuMTE0LTAuMTE0aDg5NS43N3pNOTYwIDY0aC04OTZjLTM1LjIgMC02NCAyOC44LTY0IDY0djc2OGMwIDM1LjIgMjguOCA2NCA2NCA2NGg4OTZjMzUuMiAwIDY0LTI4LjggNjQtNjR2LTc2OGMwLTM1LjItMjguOC02NC02NC02NHYweiIgc3R5bGU9ImZpbGw6IHJnYigyMjEsIDIyMSwgMjIxKTsiLz4KICAgIDxwYXRoIGQ9Ik04MzIgMjg4YzAgNTMuMDIwLTQyLjk4IDk2LTk2IDk2cy05Ni00Mi45OC05Ni05NiA0Mi45OC05NiA5Ni05NiA5NiA0Mi45OCA5NiA5NnoiIHN0eWxlPSJmaWxsOiByZ2IoMjIxLCAyMjEsIDIyMSk7Ii8+CiAgICA8cGF0aCBkPSJNODk2IDgzMmgtNzY4di0xMjhsMjI0LTM4NCAyNTYgMzIwaDY0bDIyNC0xOTJ6IiBzdHlsZT0iZmlsbDogcmdiKDIyMSwgMjIxLCAyMjEpOyIvPgogIDwvZz4KPC9zdmc+');
@@ -8,18 +8,22 @@
8
8
  padding-top: 5rem;
9
9
  padding-bottom: 10rem;
10
10
 
11
- @media screen and (min-width: $break-point-1) {
11
+ @media screen and (min-width: $break-point-2) {
12
+ max-width: 42rem;
12
13
  padding-top: 4rem;
13
- max-width: 48rem;
14
14
  margin-left: 20rem;
15
15
  margin-right: 2rem;
16
16
  }
17
17
 
18
- @media screen and (min-width: $break-point-font-2) {
18
+ @media screen and (min-width: $break-point-4) {
19
19
  margin-left: 22rem;
20
20
  margin-right: 4rem;
21
21
  }
22
22
 
23
+ @media screen and (min-width: $break-point-5) {
24
+ max-width: 48rem;
25
+ }
26
+
23
27
  @media screen and (min-width: $break-point-dynamic) {
24
28
  margin: auto;
25
29
  }
@@ -4,11 +4,15 @@ main > footer {
4
4
  left: 0;
5
5
  right: 0;
6
6
  padding: 0 1rem;
7
- color: #9a9a9a;
7
+ color: $gray;
8
8
  font-size: smaller;
9
9
  text-align: center;
10
10
 
11
- a::after {
12
- display: none;
11
+ > p {
12
+ margin-bottom: 0;
13
13
  }
14
+
15
+ // a::after {
16
+ // display: none;
17
+ // }
14
18
  }
@@ -1,28 +1,31 @@
1
1
  article {
2
2
  .katex-display, div.MathJax_Preview {
3
- @include figure();
4
-
5
3
  /* Prevent code linebreaks and allow side-scrolling (much better readability on mobile) */
6
4
  overflow-x: auto;
7
5
  -webkit-overflow-scrolling: touch;
8
6
 
9
- backface-visibility: hidden; // wat?
7
+ @include pre();
8
+
9
+ backface-visibility: hidden;
10
10
  }
11
11
 
12
12
  div.MathJax_Preview {
13
13
  font-family: $code-font-family;
14
- font-size: 0.75rem;
15
- line-height: 1.4;
14
+ font-size: .75em;
15
+ line-height: 1.45;
16
16
  white-space: pre;
17
+ margin-bottom: 1rem;
17
18
  }
18
19
 
19
20
  span.MathJax_Preview {
20
21
  font-family: $code-font-family;
21
- font-size: 0.85rem;
22
+ padding: .25em .5em;
23
+ font-size: .85em;
24
+ background-color: rgba(0, 0, 0, 0.03);
22
25
  }
23
26
  }
24
27
 
25
28
  .MathJax_Preview:empty {
26
- display:none;
29
+ display: none;
27
30
  visibility: hidden;
28
31
  }