jekyll-theme-horizon-flow 1.0.2 → 1.1.0

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.
data/_layouts/post.html CHANGED
@@ -4,6 +4,7 @@ layout: default
4
4
 
5
5
  <main id="post">
6
6
  <article>
7
+
7
8
  {% if page.display_toc %}
8
9
  <div class="toc">
9
10
  <input type="checkbox" id="tocMenuButton">
@@ -16,58 +17,72 @@ layout: default
16
17
  </div>
17
18
  </div>
18
19
  {% endif %}
19
- {% if page.no_header != true %}
20
- <div class="post_header">
21
- <h1>{{page.title}}</h1>
22
- <h3>{{page.subtitle}}</h3>
23
-
20
+
21
+ <div class="grid">
24
22
 
25
- {% if page.show_supplements != false %}
26
- <p class="supplements">
27
- <span>
28
- <i class="fa fa-calendar"></i> {{ page.date | date: "%B %d, %Y" }}
29
- </span>
30
- <span class="supplements-sep"></span>
31
- <span class="reading-time" title="Estimated read time">
32
- {% include read_time.html %}
33
- </span>
34
- {% if page.categories != nil and page.categories.size > 0 %}
35
- <span class="supplements-sep"></span>
36
- <span class="supplements-category">
37
- <i class="fa fa-bars"></i>
38
- {% for category in page.categories %}
39
- <a href="{{ site.baseurl }}/categories#{{ category | slugify }}">{{ category }}</a>{% if forloop.last == false %},{% endif %}
40
- {% endfor %}
41
- </span>
42
- {% endif %}
43
- {% if page.tags != nil and page.tags.size > 0 %}
44
- <span class="supplements-sep"></span>
45
- <span>
46
- <i class="fa fa-tags"></i>
47
- {% for tag in page.tags %}
48
- <a href="{{ site.baseurl }}/tags#{{ tag | slugify }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
49
- {% endfor %}
50
- </span>
51
- {% endif %}
52
- {%- if page.last_modified_at -%}
53
- <br /> <br />
54
- <span class="last_modified_at">{% if site.data.configurable_lables.last_modified_at %}{{site.data.configurable_lables.last_modified_at}}{% else %}Last Modified at:{% endif %} {{ page.last_modified_at }}</span>
55
- {% endif %}
56
- </p>
23
+
24
+ {% if page.no_header != true %}
25
+ <div class="post_header">
26
+ <h1>{{page.title}}</h1>
27
+ <h3>{{page.subtitle}}</h3>
28
+
29
+
30
+ {% if page.show_supplements != false %}
31
+ <p class="supplements">
32
+ <span>
33
+ <i class="fa fa-calendar"></i> {{ page.date | date: "%B %d, %Y" }}
34
+ </span>
35
+ <span class="supplements-sep"></span>
36
+ <span class="reading-time" title="Estimated read time">
37
+ {% include read_time.html %}
38
+ </span>
39
+ {% if page.categories != nil and page.categories.size > 0 %}
40
+ <span class="supplements-sep"></span>
41
+ <span class="supplements-category">
42
+ <i class="fa fa-bars"></i>
43
+ {% for category in page.categories %}
44
+ <a href="{{ site.baseurl }}/categories#{{ category | slugify }}">{{ category }}</a>{% if forloop.last == false %},{% endif %}
45
+ {% endfor %}
46
+ </span>
47
+ {% endif %}
48
+ {% if page.tags != nil and page.tags.size > 0 %}
49
+ <span class="supplements-sep"></span>
50
+ <span>
51
+ <i class="fa fa-tags"></i>
52
+ {% for tag in page.tags %}
53
+ <a href="{{ site.baseurl }}/tags#{{ tag | slugify }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
54
+ {% endfor %}
55
+ </span>
56
+ {% endif %}
57
+ {%- if page.last_modified_at -%}
58
+ <br /> <br />
59
+ <span class="last_modified_at">{% if site.data.configurable_lables.last_modified_at %}{{site.data.configurable_lables.last_modified_at}}{% else %}Last Modified at:{% endif %} {{ page.last_modified_at }}</span>
60
+ {% endif %}
61
+ </p>
62
+ {% endif %}
63
+ </div>
57
64
  {% endif %}
58
65
 
66
+ <div class ="post_content">
67
+ {{content}}
68
+ {% if page.toTop != false %}
69
+ <a href="#" id="toTopButton">
70
+ <i class="fa fa-arrow-circle-o-up"></i>
71
+ </a>
72
+ {% endif %}
73
+ </div>
59
74
 
60
- </div>
61
- {% endif %}
62
- <div class ="post_content">
63
- {{content}}
64
- {% if page.toTop != false %}
65
- <a href="#" id="toTopButton">
66
- <i class="fa fa-arrow-circle-o-up"></i>
67
- </a>
75
+ {% if page.display_toc2 %}
76
+ <div id="toc2">
77
+ {% include toc.html html=content %}
78
+ </div>
68
79
  {% endif %}
80
+
81
+
69
82
  </div>
70
-
71
83
 
72
84
  </article>
85
+ {% if page.comments_id %}
86
+ {% include comments.html issue_id=page.comments_id %}
87
+ {% endif %}
73
88
  </main>
data/_layouts/search.html CHANGED
@@ -9,7 +9,7 @@ layout: default
9
9
  * Copyright 2015-2020, Christian Fei
10
10
  * Licensed under the MIT License.
11
11
  */
12
- !function(){"use strict";var f={compile:function(r){return i.template.replace(i.pattern,function(t,e){var n=i.middleware(e,r[e],i.template);return void 0!==n?n:r[e]||t})},setOptions:function(t){i.pattern=t.pattern||i.pattern,i.template=t.template||i.template,"function"==typeof t.middleware&&(i.middleware=t.middleware)}};const i={pattern:/\{(.*?)\}/g,template:"",middleware:function(){}};var n=function(t,e){var n=e.length,r=t.length;if(n<r)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i<r;i++){for(var u=t.charCodeAt(i);o<n;)if(e.charCodeAt(o++)===u)continue t;return!1}return!0},e=new function(){this.matches=function(t,e){return n(e.toLowerCase(),t.toLowerCase())}},r=new function(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}},d={put:function(t){if(l(t))return a(t);if(function(t){return Boolean(t)&&"[object Array]"===Object.prototype.toString.call(t)}(t))return function(n){const r=[];s();for(let t=0,e=n.length;t<e;t++)l(n[t])&&r.push(a(n[t]));return r}(t);return undefined},clear:s,search:function(t){return t?function(e,n,r,i){const o=[];for(let t=0;t<e.length&&o.length<i.limit;t++){var u=function(t,e,n,r){for(const i in t)if(!function(n,r){for(let t=0,e=r.length;t<e;t++){var i=r[t];if(new RegExp(i).test(n))return!0}return!1}(t[i],r.exclude)&&n.matches(t[i],e))return t}(e[t],n,r,i);u&&o.push(u)}return o}(u,t,c.searchStrategy,c).sort(c.sort):[]},setOptions:function(t){c=t||{},c.fuzzy=t.fuzzy||!1,c.limit=t.limit||10,c.searchStrategy=t.fuzzy?e:r,c.sort=t.sort||o,c.exclude=t.exclude||[]}};function o(){return 0}const u=[];let c={};function s(){return u.length=0,u}function l(t){return Boolean(t)&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return u.push(t),u}c.fuzzy=!1,c.limit=10,c.searchStrategy=c.fuzzy?e:r,c.sort=o,c.exclude=[];var p={load:function(t,e){const n=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");n.open("GET",t,!0),n.onreadystatechange=h(n,e),n.send()}};function h(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}var m=function y(t){if(!(e=t)||!("undefined"!=typeof e.required&&e.required instanceof Array))throw new Error("-- OptionsValidator: required options missing");var e;if(!(this instanceof y))return new y(t);const r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){const n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}},w={merge:function(t,e){const n={};for(const r in t)n[r]=t[r],"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},isJSON:function(t){try{return t instanceof Object&&JSON.parse(JSON.stringify(t))?!0:!1}catch(e){return!1}}};!function(t){let i={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<div class="single_result"><div class="search_findresults"><span class="search_date"><a href="{url}"><i class="search_day">{date_day}</i></a><a href="{url}">{date_my}</a></span><span class="search_summary"><h3><a href="{url}">{title}</a></h3>{summary}</span></div></div>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,debounceTime:null,exclude:[]},n;const e=function(t,e){e?(clearTimeout(n),n=setTimeout(t,e)):t.call()};var r=["searchInput","resultsContainer","json"];const o=m({required:r});function u(t){d.put(t),i.searchInput.addEventListener("input",function(t){-1===[13,16,20,37,38,39,40,91].indexOf(t.which)&&(c(),e(function(){l(t.target.value)},i.debounceTime))})}function c(){i.resultsContainer.innerHTML=""}function s(t){i.resultsContainer.innerHTML+=t}function l(t){var e;(e=t)&&0<e.length&&(c(),function(e,n){var r=e.length;if(0===r)return s(i.noResultsText);for(let t=0;t<r;t++)e[t].query=n,s(f.compile(e[t]))}(d.search(t),t))}function a(t){throw new Error("SimpleJekyllSearch --- "+t)}t.SimpleJekyllSearch=function(t){var n;0<o.validate(t).length&&a("You must specify the following required options: "+r),i=w.merge(i,t),f.setOptions({template:i.searchResultTemplate,middleware:i.templateMiddleware}),d.setOptions({fuzzy:i.fuzzy,limit:i.limit,sort:i.sortMiddleware,exclude:i.exclude}),w.isJSON(i.json)?u(i.json):(n=i.json,p.load(n,function(t,e){t&&a("failed to get JSON ("+n+")"),u(e)}));t={search:l};return"function"==typeof i.success&&i.success.call(t),t}}(window)}();
12
+ !function(){"use strict";var f={compile:function(r){return i.template.replace(i.pattern,function(t,e){var n=i.middleware(e,r[e],i.template);return void 0!==n?n:r[e]||t})},setOptions:function(t){i.pattern=t.pattern||i.pattern,i.template=t.template||i.template,"function"==typeof t.middleware&&(i.middleware=t.middleware)}};const i={pattern:/\{(.*?)\}/g,template:"",middleware:function(){}};var n=function(t,e){var n=e.length,r=t.length;if(n<r)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i<r;i++){for(var u=t.charCodeAt(i);o<n;)if(e.charCodeAt(o++)===u)continue t;return!1}return!0},e=new function(){this.matches=function(t,e){return n(e.toLowerCase(),t.toLowerCase())}},r=new function(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}},d={put:function(t){if(l(t))return a(t);if(function(t){return Boolean(t)&&"[object Array]"===Object.prototype.toString.call(t)}(t))return function(n){const r=[];s();for(let t=0,e=n.length;t<e;t++)l(n[t])&&r.push(a(n[t]));return r}(t);return undefined},clear:s,search:function(t){return t?function(e,n,r,i){const o=[];for(let t=0;t<e.length&&o.length<i.limit;t++){var u=function(t,e,n,r){for(const i in t)if(!function(n,r){for(let t=0,e=r.length;t<e;t++){var i=r[t];if(new RegExp(i).test(n))return!0}return!1}(t[i],r.exclude)&&n.matches(t[i],e))return t}(e[t],n,r,i);u&&o.push(u)}return o}(u,t,c.searchStrategy,c).sort(c.sort):[]},setOptions:function(t){c=t||{},c.fuzzy=t.fuzzy||!1,c.limit=t.limit||10,c.searchStrategy=t.fuzzy?e:r,c.sort=t.sort||o,c.exclude=t.exclude||[]}};function o(){return 0}const u=[];let c={};function s(){return u.length=0,u}function l(t){return Boolean(t)&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return u.push(t),u}c.fuzzy=!1,c.limit=10,c.searchStrategy=c.fuzzy?e:r,c.sort=o,c.exclude=[];var p={load:function(t,e){const n=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");n.open("GET",t,!0),n.onreadystatechange=h(n,e),n.send()}};function h(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}var m=function y(t){if(!(e=t)||!("undefined"!=typeof e.required&&e.required instanceof Array))throw new Error("-- OptionsValidator: required options missing");var e;if(!(this instanceof y))return new y(t);const r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){const n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}},w={merge:function(t,e){const n={};for(const r in t)n[r]=t[r],"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},isJSON:function(t){try{return t instanceof Object&&JSON.parse(JSON.stringify(t))?!0:!1}catch(e){return!1}}};!function(t){let i={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<div class="single_result"><div class="search_findresults"><a href="{url}" class="search_date"><i class="search_day">{date_day}</i>{date_my}</a><span class="search_summary"><h3><a href="{url}">{title}</a></h3>{summary}</span></div></div>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,debounceTime:null,exclude:[]},n;const e=function(t,e){e?(clearTimeout(n),n=setTimeout(t,e)):t.call()};var r=["searchInput","resultsContainer","json"];const o=m({required:r});function u(t){d.put(t),i.searchInput.addEventListener("input",function(t){-1===[13,16,20,37,38,39,40,91].indexOf(t.which)&&(c(),e(function(){l(t.target.value)},i.debounceTime))})}function c(){i.resultsContainer.innerHTML=""}function s(t){i.resultsContainer.innerHTML+=t}function l(t){var e;(e=t)&&0<e.length&&(c(),function(e,n){var r=e.length;if(0===r)return s(i.noResultsText);for(let t=0;t<r;t++)e[t].query=n,s(f.compile(e[t]))}(d.search(t),t))}function a(t){throw new Error("SimpleJekyllSearch --- "+t)}t.SimpleJekyllSearch=function(t){var n;0<o.validate(t).length&&a("You must specify the following required options: "+r),i=w.merge(i,t),f.setOptions({template:i.searchResultTemplate,middleware:i.templateMiddleware}),d.setOptions({fuzzy:i.fuzzy,limit:i.limit,sort:i.sortMiddleware,exclude:i.exclude}),w.isJSON(i.json)?u(i.json):(n=i.json,p.load(n,function(t,e){t&&a("failed to get JSON ("+n+")"),u(e)}));t={search:l};return"function"==typeof i.success&&i.success.call(t),t}}(window)}();
13
13
  </script>
14
14
 
15
15
 
data/_layouts/tags.html CHANGED
@@ -17,7 +17,7 @@ layout: default
17
17
 
18
18
  {% if sortedTags.size > 0 %}
19
19
  <!-- Show all tags sorted by count -->
20
- <div class="tags_all{% if site.layouts.tags.columns and site.layouts.tags.columns >= 1 and site.layouts.tags.columns <= 5 %}{{site.layouts.tags.columns}}{% else %}4{% endif %}">
20
+ <div class="tags_all tags_all{% if site.layouts.tags.columns and site.layouts.tags.columns >= 1 and site.layouts.tags.columns <= 5 %}{{site.layouts.tags.columns}}{% else %}4{% endif %}">
21
21
  <ul>
22
22
  {% for tag in sortedTags %}
23
23
  {% assign tagParts = tag | split: '&#x1F;' %}
@@ -53,14 +53,11 @@ layout: default
53
53
 
54
54
  {% for post in tag[1] %}
55
55
  <div class="tags_findresult">
56
- <span class="tags_date">
57
- <a href="{{ site.baseurl }}{{ post.url }}">
58
- <i class="tags_day">{{ post.date | date: "%d" }}</i>
59
- </a>
60
- <a href="{{ site.baseurl }}{{ post.url }}">
61
- <span>{{ post.date | date: "%b/%Y" }}</span>
62
- </a>
63
- </span>
56
+
57
+ <a href="{{ site.baseurl }}{{ post.url }}" class="tags_date">
58
+ <i class="tags_day">{{ post.date | date: "%d" }}</i>
59
+ <span>{{ post.date | date: "%b/%Y" }}</span>
60
+ </a>
64
61
 
65
62
  <span class="tags_summary">
66
63
  <h3>
@@ -4,6 +4,7 @@ title: "Markdown Test Page"
4
4
  date: 2021-01-01
5
5
  tags: markdown test
6
6
  subtitle: "copied from https://github.com/fullpipe/markdown-test-page/tree/master"
7
+ comments_id: 1
7
8
  ---
8
9
  # **bold title**
9
10
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  layout: post
3
- title: "Chatgpt Testpost all markdown elements"
3
+ title: "Supercalifragilisticexpialidocious: A Comprehensive Guide to the Longest Word in the English Language"
4
4
  date: 2022-12-12
5
5
  tags: champion test
6
6
  subtitle: "testing can be fun"
@@ -6,6 +6,9 @@ tags: champion test
6
6
  subtitle: "You're going to love this."
7
7
  categories: rest
8
8
  last_modified_at: 10.09.202
9
+ display_toc2: true
10
+ display_toc: false
11
+ toTop: false
9
12
  ---
10
13
  # Code Block tests
11
14
 
@@ -6,7 +6,6 @@
6
6
 
7
7
  html {
8
8
  height: 100%;
9
- //overflow-x: hidden;
10
9
  }
11
10
 
12
11
  body {
@@ -14,18 +13,47 @@ body {
14
13
  width: 100%;
15
14
  position: relative;
16
15
  margin: 0;
17
- display: flex;
18
- flex-direction: column;
19
16
  background-color: $background-color;
20
17
  overflow-x: hidden;
18
+ display: flex;
19
+ flex-direction: column;
20
+ word-break: break-word;
21
+ color: $primary-color;
21
22
  }
22
23
 
23
- img {
24
- max-width: 100%;
25
- height: auto;
24
+ header {
25
+ position: fixed;
26
+ margin: auto;
27
+ top: 0;
28
+ left: 0;
29
+ right: 0;
30
+ width: 100%;
31
+ font-size: 1.1em;
32
+ z-index: 100;
26
33
  }
27
34
 
28
35
  main {
29
36
  max-width: 70%;
30
37
  margin: 5rem auto;
38
+ flex: 1;
39
+ }
40
+
41
+
42
+ footer {
43
+ width: 100%;
44
+ color: $background-color;
45
+ margin-top: 4em;
46
+ flex-shrink: 0;
47
+ }
48
+
49
+
50
+ // @media (width >= $small) and (max-width: $large)
51
+ @media screen and (max-width: $large) {
52
+ body {
53
+ font-size: 2.5em;
54
+ }
55
+
56
+ main {
57
+ margin-top: 8rem;
58
+ }
31
59
  }
@@ -1,20 +1,9 @@
1
- footer {
2
- width: 100%;
3
- color: $background-color;
4
- font-size: 0.8em;
5
- margin-top: auto;
6
- }
7
-
8
1
  footer ul {
9
2
  list-style-type: none;
10
3
  margin: 0;
11
4
  padding: 0;
12
5
  }
13
6
 
14
- footer ul li {
15
- padding-bottom: 0.2em;
16
- }
17
-
18
7
  footer a {
19
8
  @include links($background-color);
20
9
  padding: 0;
@@ -53,6 +42,7 @@ footer .social-icons .divider::before {
53
42
  font-size: 0.8em;
54
43
  }
55
44
 
45
+
56
46
  /* ---------------------------------------------------- */
57
47
  /* ---------------------------------------------------- */
58
48
  /* footer sidebar */
@@ -67,96 +57,180 @@ footer aside {
67
57
  max-height: max-content;
68
58
  }
69
59
 
60
+ footer .footer_aside_auto section {
61
+ padding: 0 0 0 1em;
62
+ flex-grow: 1;
63
+ max-width: fit-content;
64
+ }
70
65
 
71
66
  /* one item */
72
- footer aside section:first-child:nth-last-child(1) {
67
+ footer .footer_aside section:first-child:nth-last-child(1) {
73
68
  padding: 0 0 0 1em;
74
69
  flex-grow: 1;
75
70
  max-width: 100%;
76
71
  }
77
72
 
78
73
  /* two items */
79
- footer aside section:first-child:nth-last-child(2),
80
- footer aside section:first-child:nth-last-child(2) ~ section {
74
+ footer .footer_aside section:first-child:nth-last-child(2),
75
+ footer .footer_aside section:first-child:nth-last-child(2) ~ section {
81
76
  padding: 0 0 0 1em;
82
77
  flex-grow: 1;
83
78
  max-width: 50%;
84
79
  }
85
80
 
86
81
  /* three items */
87
- footer aside section:first-child:nth-last-child(3),
88
- footer aside section:first-child:nth-last-child(3) ~ section {
82
+ footer .footer_aside section:first-child:nth-last-child(3),
83
+ footer .footer_aside section:first-child:nth-last-child(3) ~ section {
89
84
  padding: 0 0 0 1em;
90
85
  flex-grow: 1;
91
86
  max-width: 33%;
92
87
  }
93
88
 
94
89
  /* four items */
95
- footer aside section:first-child:nth-last-child(4),
96
- footer aside section:first-child:nth-last-child(4) ~ section {
90
+ footer .footer_aside section:first-child:nth-last-child(4),
91
+ footer .footer_aside section:first-child:nth-last-child(4) ~ section {
97
92
  padding: 0 0 0 1em;
98
93
  flex-grow: 1;
99
94
  max-width: 25%;
100
95
  }
101
96
 
102
97
  /* five items */
103
- footer aside section:first-child:nth-last-child(5),
104
- footer aside section:first-child:nth-last-child(5) ~ section {
98
+ footer .footer_aside section:first-child:nth-last-child(5),
99
+ footer .footer_aside section:first-child:nth-last-child(5) ~ section {
105
100
  padding: 0 0 0 1em;
106
101
  flex-grow: 1;
107
102
  max-width: 20%;
108
103
  }
109
104
 
110
- footer aside section:first-child {
111
- padding: 0;
105
+ /* six items */
106
+ footer .footer_aside section:first-child:nth-last-child(6),
107
+ footer .footer_aside section:first-child:nth-last-child(6) ~ section {
108
+ padding: 0 0 0 1em;
109
+ flex-grow: 1;
110
+ max-width: 16%;
112
111
  }
113
112
 
113
+ footer .footer_aside section:first-child {
114
+ padding: 0;
115
+ }
114
116
 
115
-
116
- .footer_categories, .footer_tags {
117
- ul {
118
- list-style: none;
119
- padding: 0;
120
- margin: 0;
121
- columns: 5;
117
+ .footer_sitedescription0,
118
+ .footer_customcontent0,
119
+ .footer_customcontent20,
120
+ .footer_recentposts0,
121
+ .footer_categories0,
122
+ .footer_tags0 {
123
+ @include footer_elements_auto();
124
+ }
125
+
126
+ .footer_sitedescription1,
127
+ .footer_customcontent1,
128
+ .footer_customcontent21,
129
+ .footer_recentposts1,
130
+ .footer_categories1,
131
+ .footer_tags1 {
132
+ @include footer_elements(1);
133
+ }
134
+
135
+ .footer_sitedescription2,
136
+ .footer_customcontent2,
137
+ .footer_customcontent22,
138
+ .footer_recentposts2,
139
+ .footer_categories2,
140
+ .footer_tags2 {
141
+ @include footer_elements(2);
142
+ }
143
+
144
+ .footer_sitedescription3,
145
+ .footer_customcontent3,
146
+ .footer_customcontent23,
147
+ .footer_recentposts3,
148
+ .footer_categories3,
149
+ .footer_tags3 {
150
+ @include footer_elements(3);
151
+ }
152
+
153
+ .footer_sitedescription4,
154
+ .footer_customcontent4,
155
+ .footer_customcontent24,
156
+ .footer_recentposts4,
157
+ .footer_categories4,
158
+ .footer_tags4 {
159
+ @include footer_elements(4);
160
+ }
161
+
162
+ .footer_sitedescription5,
163
+ .footer_customcontent5,
164
+ .footer_customcontent25,
165
+ .footer_recentposts5,
166
+ .footer_categories5,
167
+ .footer_tags5 {
168
+ @include footer_elements(5);
169
+ }
170
+
171
+ .footer_recentposts,
172
+ .footer_recentposts0,
173
+ .footer_recentposts1,
174
+ .footer_recentposts2,
175
+ .footer_recentposts3,
176
+ .footer_recentposts4,
177
+ .footer_recentposts5 {
178
+ ul li a {
179
+ text-transform: none;
180
+ border: none;
181
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
122
182
  }
183
+ }
123
184
 
124
- a {
125
- text-decoration: none;
126
- color: $background-color;
127
- letter-spacing: -1px;
128
- width: 100%;
129
- cursor: pointer;
185
+ .footer_recentposts0, .footer_recentposts1 {
186
+ ul li {
187
+ flex-basis: 100%;
188
+ }
189
+ ul li a {
190
+ border: none;
191
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
130
192
  }
131
193
  }
132
194
 
133
- .footer_categories1, .footer_tags1, .footer_tags, .footer_recentposts1 {
195
+ @media (width >= $small) and (max-width: $large) {
196
+ footer {
197
+ font-size: 1.5em;
198
+ }
199
+
200
+ footer .social-icons {
201
+ flex-wrap: wrap; /* Allow the icons to wrap to the next line */
202
+ }
134
203
 
135
- }
204
+ footer .social-icons > * {
205
+ margin: 0.5em 0.5em; /* Adjust the margin as needed */
206
+ }
136
207
 
137
- .footer_recentposts {
138
- ul {
139
- list-style: none;
140
- padding: 0;
141
- margin: 0;
142
- columns: 2;
208
+ footer aside {
209
+ flex-direction: column;
143
210
  }
144
211
 
145
- a {
146
- text-decoration: none;
147
- color: $background-color;
148
- letter-spacing: -1px;
149
- width: 100%;
150
- cursor: pointer;
212
+ footer li {
213
+ width: 100%;
214
+ }
215
+
216
+ .footer_sitedescription, .footer_customcontent, .footer_customcontent2, .footer_recentposts, .footer_categories, .footer_tags {
217
+ ul li {
218
+ width: 100%;
219
+ }
151
220
  }
152
- }
153
221
 
154
- .footer_sitedescription, .footer_extracontent {
155
- a {
156
- text-decoration: none;
157
- color: $background-color;
158
- letter-spacing: -1px;
159
- width: 100%;
160
- cursor: pointer;
222
+ footer aside section:first-child:nth-last-child(1),
223
+ footer aside section:first-child:nth-last-child(2),
224
+ footer aside section:first-child:nth-last-child(2) ~ section,
225
+ footer aside section:first-child:nth-last-child(3),
226
+ footer aside section:first-child:nth-last-child(3) ~ section,
227
+ footer aside section:first-child:nth-last-child(4),
228
+ footer aside section:first-child:nth-last-child(4) ~ section,
229
+ footer aside section:first-child:nth-last-child(5),
230
+ footer aside section:first-child:nth-last-child(5) ~ section,
231
+ footer aside section:first-child {
232
+ padding: 0 0 0 1em;
233
+ flex-grow: 1;
234
+ max-width: 100%;
161
235
  }
162
236
  }
@@ -1,15 +1,3 @@
1
- header {
2
- position: fixed;
3
- margin: auto;
4
- top: 0;
5
- left: 0;
6
- right: 0;
7
- width: 100%;
8
- font-size: 1.1em;
9
- z-index: 100;
10
- }
11
-
12
-
13
1
  header nav {
14
2
  background-color: $primary-color;
15
3
  width: fit-content;
@@ -60,3 +48,9 @@ nav li a {
60
48
  margin: 0;
61
49
  padding: 0;
62
50
  }
51
+
52
+ @media (width >= $small) and (max-width: $large) {
53
+ header {
54
+ font-size: 1em;
55
+ }
56
+ }
@@ -0,0 +1,106 @@
1
+ /*
2
+ <main id="post">
3
+ <section id="comments">
4
+ <div class="comment-actions">
5
+ <h2>
6
+ <a>
7
+ <i>
8
+ </div>
9
+ <div id="comments-wrapper">
10
+ <ol>
11
+ <li class="comment">
12
+ <div class="commenter">
13
+ <img>
14
+ <a>
15
+ <div class="date-posted">
16
+ <span class="author-badge">
17
+ <div class="comment-body">
18
+ <p>
19
+ <li class="comment">
20
+ </div>
21
+ </section>
22
+ </main>
23
+
24
+ $primary-color:#032539;
25
+ $secondary-color: #1c768f;
26
+ $background-color: #fbf3f2;
27
+ $accent-color: #fa991c;
28
+ */
29
+
30
+
31
+ #comments {
32
+ word-break: keep-all;
33
+ }
34
+
35
+ .comment-actions {
36
+ display: flex;
37
+ align-items: center;
38
+
39
+
40
+ a {
41
+ background-color: $primary-color;
42
+ color: $background-color;
43
+ padding: 12px;
44
+ margin-left: auto;
45
+ border-radius: 4px;
46
+ text-decoration: none;
47
+ }
48
+ }
49
+
50
+ #comments-wrapper {
51
+
52
+ ol {
53
+ list-style-type: none;
54
+ padding: 0;
55
+ }
56
+
57
+ .commenter {
58
+
59
+ display: flex;
60
+ align-items: center;
61
+
62
+ img {
63
+ border-radius: 50%;
64
+ width: 50px;
65
+ margin-right: 10px;
66
+ vertical-align: middle;
67
+ }
68
+
69
+ a {
70
+ font-weight: bold;
71
+ color: $primary-color;
72
+ margin-right: 10px;
73
+ }
74
+
75
+ .date-posted {
76
+ font-style: italic;
77
+ }
78
+
79
+ .author-badge {
80
+ margin-left: auto;
81
+ padding: 8px;
82
+ background-color: $secondary-color;
83
+ border-radius: 24px;
84
+ font-weight: bold;
85
+ }
86
+ }
87
+
88
+ .comment-body {
89
+ margin-left: 70px; //50px width of image + 10px margin +10px???
90
+ }
91
+
92
+ }
93
+
94
+
95
+ @media screen and (max-width: $large) {
96
+ .comment-actions, #comments-wrapper .commenter, #comments-wrapper .commenter .date-posted {
97
+ display: block;
98
+ font-size: 0.9em;
99
+ }
100
+
101
+ #comments-wrapper .commenter .date-posted {
102
+ margin-bottom: 16px;
103
+ margin-top: 8px;
104
+ }
105
+
106
+ }
@@ -145,7 +145,10 @@ sup {
145
145
  * Remove the border on images inside links in IE 10.
146
146
  */
147
147
 
148
+
148
149
  img {
150
+ max-width: 100%;
151
+ height: auto;
149
152
  border-style: none;
150
153
  }
151
154