instructional-blog 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/about.html +4 -0
- data/_layouts/default.html +3 -1
- data/_layouts/footer.html +17 -0
- data/_layouts/header_and_footer.html +33 -0
- data/_layouts/home.html +4 -2
- data/_layouts/post.html +6 -2
- data/_layouts/series.html +9 -2
- data/_layouts/toc.html +10 -9
- data/_sass/color_palette.scss +71 -1
- data/_sass/default.scss +23 -0
- data/_sass/header_and_footer.scss +166 -0
- data/_sass/home.scss +7 -0
- data/_sass/post.scss +33 -0
- data/_sass/return_to_top.scss +17 -0
- data/_sass/series.scss +44 -0
- data/_sass/site_wide_defaults.scss +29 -0
- data/_sass/toc.scss +70 -12
- data/assets/css/styles.scss +9 -0
- data/assets/images/Hamburger_icon.svg +3 -0
- data/assets/js/return_to_top.js +13 -0
- metadata +13 -5
- data/_sass/.color_palette.scss.swp +0 -0
- data/_sass/.toc.scss.swp +0 -0
- data/_sass/footer.scss +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c2f5a578f1dcf72417712b207d9f5671c4b94a41d412df9728499b5dd2dd28f
|
4
|
+
data.tar.gz: 8d89bc360cd8dbeda59dd0ca52b24d66750e360477fa618240badeb43aa1a76c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd4a07af2272144dafd7aca50a3c6c5f1be08a776a3ac72c98dcb2928efbda97610697fca6d74ef76aef616463da996c016355cac00b96b6bf43a813eff61973
|
7
|
+
data.tar.gz: fa902ca1b82467022fb9ae070e88cfa618f3c50e65b386d5f6cc03b5a624958449fe5faeec70a06016da6c6cda2a7ef37eadb0100de09b2ff76570a811453bb5
|
data/_layouts/about.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: toc
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="just-series-and-post">
|
6
|
+
{{ content }}
|
7
|
+
</div>
|
8
|
+
<footer class="site-footer">
|
9
|
+
<div class="footer-inner">
|
10
|
+
<button onclick="topFunction()" class="site-button" id="myBtn" title="Go to top">
|
11
|
+
Return to Top
|
12
|
+
</button>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
</footer>
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<link rel="stylesheet" href="/assets/css/styles.css">
|
5
|
+
<header class="site-header">
|
6
|
+
<div class="header-buttons">
|
7
|
+
<div class="home-button-div">
|
8
|
+
<a id="home-button" class="home-link header-button" href="{{ site.url }}">
|
9
|
+
<input type="button" value="home" />
|
10
|
+
</a>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="dropdown header-button">
|
14
|
+
<button class="dropdown-button header-button">
|
15
|
+
<img src="/assets/images/Hamburger_icon.svg" />
|
16
|
+
</button>
|
17
|
+
<div class="dropdown-content">
|
18
|
+
<a href="{{ site.baseurl }}/about">About</a>
|
19
|
+
<a href="{{ site.url }}">Home</a>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<!-- <a class="about-link header-button" href="{{ site.baseurl }}/about">
|
23
|
+
<input type="button" value="about" />
|
24
|
+
</a>
|
25
|
+
-->
|
26
|
+
|
27
|
+
</div>
|
28
|
+
</header>
|
29
|
+
<div class="body-content">
|
30
|
+
{{ content }}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
|
data/_layouts/home.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: header_and_footer
|
3
3
|
---
|
4
4
|
|
5
5
|
<div class="home">
|
@@ -15,12 +15,14 @@ layout: default
|
|
15
15
|
{%- for post in site.posts -%}
|
16
16
|
<li>
|
17
17
|
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
18
|
-
|
18
|
+
|
19
19
|
<h3>
|
20
20
|
<a class="post-link" href="{{ post.url | relative_url }}">
|
21
21
|
{{ post.title | escape }}
|
22
22
|
</a>
|
23
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
23
24
|
</h3>
|
25
|
+
|
24
26
|
{%- if site.show_excerpts -%}
|
25
27
|
{{ post.excerpt }}
|
26
28
|
{%- endif -%}
|
data/_layouts/post.html
CHANGED
data/_layouts/series.html
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: footer
|
3
3
|
---
|
4
|
+
|
5
|
+
<div class="non-series-container">
|
4
6
|
{{ content }}
|
7
|
+
</div>
|
8
|
+
|
9
|
+
|
5
10
|
|
6
11
|
<!-- Series section goes at the end of the post -->
|
7
|
-
<div class="series
|
12
|
+
<div class="series no_toc_section">
|
13
|
+
<div class="series-inner">
|
8
14
|
<!-- Series links -->
|
9
15
|
{% if page.is_series == true %}
|
10
16
|
<div class="row spacer-y">
|
@@ -29,4 +35,5 @@ layout: default
|
|
29
35
|
</div>
|
30
36
|
{% endif %}
|
31
37
|
</div>
|
38
|
+
</div>
|
32
39
|
|
data/_layouts/toc.html
CHANGED
@@ -1,26 +1,27 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: header_and_footer
|
3
3
|
---
|
4
4
|
<head>
|
5
5
|
<link rel="stylesheet" href="/assets/css/styles.css">
|
6
6
|
</head>
|
7
7
|
{% assign post_cat = site.collection_cats | where:"title", page.Category | first %}
|
8
|
-
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
9
8
|
|
10
9
|
|
11
10
|
|
12
|
-
|
13
|
-
|
11
|
+
|
12
|
+
<div class="table-of-contents">
|
13
|
+
<div class="table-of-contents-header">
|
14
14
|
Table of Contents:
|
15
15
|
</div>
|
16
|
-
|
17
|
-
|
18
|
-
{{ content | toc}}
|
16
|
+
<div class="toc">
|
17
|
+
{% toc %}
|
19
18
|
</div>
|
20
19
|
|
20
|
+
</div>
|
21
21
|
|
22
|
+
<div class="post-and-series-and-footer">
|
23
|
+
{{ content }}
|
24
|
+
</div>
|
22
25
|
|
23
26
|
|
24
27
|
|
25
|
-
</article>
|
26
|
-
|
data/_sass/color_palette.scss
CHANGED
@@ -1,5 +1,75 @@
|
|
1
|
+
@use 'sass:math';
|
1
2
|
|
3
|
+
// for main colors of body
|
4
|
+
$color: black;
|
5
|
+
$background-color: lightgrey;
|
6
|
+
$background-color-2: #B8C2CC;
|
2
7
|
|
8
|
+
// for buttons and other specific items
|
9
|
+
$color-1: darkblue;
|
10
|
+
$color-trim-1: #66ff66;
|
11
|
+
$color-border-1: blue;
|
12
|
+
$color-off-1: #00b300; // a lighter green
|
3
13
|
|
4
|
-
|
14
|
+
// for accents of toc, header, footer
|
15
|
+
$color-2: darkgreen;
|
16
|
+
//$color-background-2:
|
17
|
+
$color-trim-2: lightgreen;
|
5
18
|
$border-color: #A9B1B2;
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
// ------ COLORS ------
|
25
|
+
|
26
|
+
// site:
|
27
|
+
$site-background: $background-color; // has little effect
|
28
|
+
$site-background-sides: lightpink;
|
29
|
+
|
30
|
+
|
31
|
+
$site-button-color: $color-1;
|
32
|
+
$site-button-background: green;
|
33
|
+
$site-button-background-hover: $color-off-1;
|
34
|
+
$site-button-border: $color-border-1;
|
35
|
+
|
36
|
+
$site-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
37
|
+
|
38
|
+
// header
|
39
|
+
$header-background-extended: lightblue;
|
40
|
+
$header-background: lightgreen;
|
41
|
+
|
42
|
+
|
43
|
+
// toc
|
44
|
+
$toc-background: mintcream;
|
45
|
+
// article
|
46
|
+
$article-background: $background-color;
|
47
|
+
$article-quote-background: mintcream;
|
48
|
+
// series
|
49
|
+
$series-background: $background-color-2;
|
50
|
+
// footer
|
51
|
+
$footer-background: $color-trim-2;
|
52
|
+
|
53
|
+
|
54
|
+
// ------ SIZES ------
|
55
|
+
|
56
|
+
// site
|
57
|
+
$site-max-width: 1200px;
|
58
|
+
|
59
|
+
// toc
|
60
|
+
$toc-width: 200px;
|
61
|
+
|
62
|
+
// header
|
63
|
+
$header-height: 32px;
|
64
|
+
$header-button-height: 20px;
|
65
|
+
$header-menu-width: 150px;
|
66
|
+
$home-button-width: 100px;
|
67
|
+
$home-button-margin: math.div($toc-width - $home-button-width, 2);
|
68
|
+
|
69
|
+
|
70
|
+
// article
|
71
|
+
|
72
|
+
// series
|
73
|
+
|
74
|
+
// footer
|
75
|
+
$footer-height: 150px;
|
data/_sass/default.scss
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
@import "color_palette";
|
2
|
+
|
3
|
+
|
4
|
+
.default {
|
5
|
+
display: grid;
|
6
|
+
grid-template-rows: $header-height auto $footer-height;
|
7
|
+
top: 0;
|
8
|
+
bottom: 0;
|
9
|
+
left: 0;
|
10
|
+
right: 0;
|
11
|
+
height: stretch;
|
12
|
+
position: fixed;
|
13
|
+
z-index: 10;
|
14
|
+
};
|
15
|
+
|
16
|
+
body {
|
17
|
+
height: 100%;
|
18
|
+
background: $background-color;
|
19
|
+
margin: 0;
|
20
|
+
};
|
21
|
+
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,166 @@
|
|
1
|
+
@import "color_palette";
|
2
|
+
|
3
|
+
.site-header {
|
4
|
+
height: $header-height;
|
5
|
+
background: $header-background-extended;
|
6
|
+
display: block;
|
7
|
+
position: fixed;
|
8
|
+
top: 0;
|
9
|
+
width: 100%;
|
10
|
+
z-index: 100;
|
11
|
+
|
12
|
+
.home-button-div {
|
13
|
+
display: grid;
|
14
|
+
width: $toc-width;
|
15
|
+
|
16
|
+
#home-button {
|
17
|
+
padding: 0;
|
18
|
+
border: 0;
|
19
|
+
};
|
20
|
+
|
21
|
+
.home-link {
|
22
|
+
display: inline-block;
|
23
|
+
align: center;
|
24
|
+
text-align: center;
|
25
|
+
margin: 0;
|
26
|
+
width: $toc-width;
|
27
|
+
height: $header-height;
|
28
|
+
};
|
29
|
+
};
|
30
|
+
|
31
|
+
.header-buttons {
|
32
|
+
display: flex;
|
33
|
+
justify-content: space-between;
|
34
|
+
margin: 0;
|
35
|
+
//max-width: $site-max-width;
|
36
|
+
background: $header-background;
|
37
|
+
height: $header-height;
|
38
|
+
color: $site-button-color;
|
39
|
+
|
40
|
+
a {
|
41
|
+
text-decoration: none;
|
42
|
+
};
|
43
|
+
|
44
|
+
.header-button {
|
45
|
+
//border: 2px solid $site-button-border;
|
46
|
+
//border-radius: 3px;
|
47
|
+
//margin: 2px;
|
48
|
+
//padding: 2px;
|
49
|
+
background: $site-button-background;
|
50
|
+
|
51
|
+
* {
|
52
|
+
border: 0;
|
53
|
+
background: none;
|
54
|
+
color: $site-button-color;
|
55
|
+
};
|
56
|
+
|
57
|
+
}
|
58
|
+
|
59
|
+
.header-button:hover {
|
60
|
+
background: $site-button-background-hover;
|
61
|
+
};
|
62
|
+
|
63
|
+
|
64
|
+
.dropdown {
|
65
|
+
width: $header-menu-width;
|
66
|
+
margin-left: 80px;
|
67
|
+
padding-left: 0;
|
68
|
+
float: right;
|
69
|
+
overflow: hidden;
|
70
|
+
text-align: center;
|
71
|
+
};
|
72
|
+
|
73
|
+
.dropdown-button {
|
74
|
+
padding: 0;
|
75
|
+
};
|
76
|
+
|
77
|
+
.dropdown .dropbtn {
|
78
|
+
font-size: 16px;
|
79
|
+
border: none;
|
80
|
+
outline: none;
|
81
|
+
padding: 14px 16px;
|
82
|
+
margin: 0; /* Important for vertical align on mobile phones */
|
83
|
+
};
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
/* Dropdown content (hidden by default) */
|
88
|
+
.dropdown-content {
|
89
|
+
display: none;
|
90
|
+
position: absolute;
|
91
|
+
background-color: $site-button-background;
|
92
|
+
box-shadow: $site-box-shadow;
|
93
|
+
width: $header-menu-width;
|
94
|
+
z-index: 1;
|
95
|
+
margin: 0;
|
96
|
+
text-align: center;
|
97
|
+
};
|
98
|
+
|
99
|
+
/* Links inside alt="Menu Options"the dropdown */
|
100
|
+
.dropdown-content a {
|
101
|
+
float: right;
|
102
|
+
color: $site-button-color;
|
103
|
+
text-decoration: none;
|
104
|
+
display: block;
|
105
|
+
text-align: center;
|
106
|
+
};
|
107
|
+
|
108
|
+
/* Add a grey background color to dropdown links on hover */
|
109
|
+
.dropdown-content a:hover {
|
110
|
+
background-color: $site-button-background-hover;
|
111
|
+
};
|
112
|
+
|
113
|
+
/* Show the dropdown menu on hover */
|
114
|
+
.dropdown:hover .dropdown-content {
|
115
|
+
display: grid;
|
116
|
+
};
|
117
|
+
};
|
118
|
+
};
|
119
|
+
|
120
|
+
|
121
|
+
.body-content {
|
122
|
+
display: flex;
|
123
|
+
//margin: $header-height 0;
|
124
|
+
top: $header-height;
|
125
|
+
bottom: $footer-height;
|
126
|
+
position: absolute;
|
127
|
+
width: 100%;
|
128
|
+
height: 100%;
|
129
|
+
background: $site-background;
|
130
|
+
// margin: 0 0 0 $toc-width;
|
131
|
+
|
132
|
+
};
|
133
|
+
|
134
|
+
|
135
|
+
.just-series-and-post {
|
136
|
+
display: grid;
|
137
|
+
|
138
|
+
};
|
139
|
+
|
140
|
+
|
141
|
+
.site-footer {
|
142
|
+
height: $footer-height;
|
143
|
+
position: relative;
|
144
|
+
bottom: 0;
|
145
|
+
width: 100%;
|
146
|
+
background: $footer-background;
|
147
|
+
margin-left: 0px;
|
148
|
+
margin-right: 0;
|
149
|
+
margin-bottom: 0;
|
150
|
+
padding: 0;
|
151
|
+
display: flex;
|
152
|
+
align-items: center;
|
153
|
+
|
154
|
+
.footer-inner {
|
155
|
+
//max-width: $site-max-width;
|
156
|
+
margin: 40px auto;
|
157
|
+
height: 75%;
|
158
|
+
width: 75%;
|
159
|
+
};
|
160
|
+
|
161
|
+
|
162
|
+
};
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
data/_sass/home.scss
ADDED
data/_sass/post.scss
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
.article-post-container {
|
2
|
+
display: flex;
|
3
|
+
width: 100%;
|
4
|
+
float: right;
|
5
|
+
};
|
6
|
+
|
7
|
+
.article-post {
|
8
|
+
background: $article-background;
|
9
|
+
|
10
|
+
blockquote {
|
11
|
+
border: 1px solid;
|
12
|
+
border-radius: 4px;
|
13
|
+
padding: 3px 10px;
|
14
|
+
margin: 12px 3px;
|
15
|
+
background-color: $article-quote-background;
|
16
|
+
p {
|
17
|
+
background: $article-quote-background;
|
18
|
+
};
|
19
|
+
|
20
|
+
};
|
21
|
+
};
|
22
|
+
|
23
|
+
.post-and-series-and-footer {
|
24
|
+
display: grid;
|
25
|
+
grid-template-rows: auto $footer-height;
|
26
|
+
align-content: space-between;
|
27
|
+
align-items: start;
|
28
|
+
margin: 0 0 $footer-height $toc-width;
|
29
|
+
height: 100%;
|
30
|
+
width: 100%;
|
31
|
+
overflow: scroll;
|
32
|
+
position: relative;
|
33
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#myBtn {
|
2
|
+
outline: none; /* Remove outline */
|
3
|
+
|
4
|
+
padding: 15px; /* Some padding */
|
5
|
+
border-radius: 10px; /* Rounded corners */
|
6
|
+
font-size: 18px; /* Increase font size */
|
7
|
+
}
|
8
|
+
|
9
|
+
#myBtn:hover {
|
10
|
+
background-color: #555; /* Add a dark-grey background on hover */
|
11
|
+
}
|
12
|
+
|
13
|
+
.footer {
|
14
|
+
height: 100px;
|
15
|
+
background: green;
|
16
|
+
margin: 2em;
|
17
|
+
};
|
data/_sass/series.scss
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
.non-series-container {
|
3
|
+
//align-self: stretch;
|
4
|
+
display: flex;
|
5
|
+
height: 100%;
|
6
|
+
margin-left: 20px;
|
7
|
+
};
|
8
|
+
|
9
|
+
|
10
|
+
.series {
|
11
|
+
display: inline-block;
|
12
|
+
//width: 100%
|
13
|
+
width: 80%;
|
14
|
+
margin: 20px;
|
15
|
+
// padding: 20px;
|
16
|
+
};
|
17
|
+
|
18
|
+
.series-inner {
|
19
|
+
display: block;
|
20
|
+
margin: auto;
|
21
|
+
max-width: $site-max-width;
|
22
|
+
background-color: $series-background;
|
23
|
+
border-color: $border-color;
|
24
|
+
border-width: 3px 4px 6px 4px;
|
25
|
+
border-style: solid;
|
26
|
+
|
27
|
+
};
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
.series-post-section {
|
32
|
+
display: block;
|
33
|
+
width: 100%;
|
34
|
+
align: center;
|
35
|
+
};
|
36
|
+
|
37
|
+
.series-post-bullet {
|
38
|
+
font: bold;
|
39
|
+
};
|
40
|
+
|
41
|
+
.series-header {
|
42
|
+
color: #3D3E3D;
|
43
|
+
|
44
|
+
};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
@import "color_palette";
|
2
|
+
|
3
|
+
html {
|
4
|
+
height: 100%;
|
5
|
+
font-family: sans-serif;
|
6
|
+
|
7
|
+
};
|
8
|
+
|
9
|
+
|
10
|
+
//a {
|
11
|
+
// height: 100%;
|
12
|
+
// width: 100%;
|
13
|
+
// background: yellow;
|
14
|
+
//}
|
15
|
+
|
16
|
+
|
17
|
+
//body {
|
18
|
+
// height: 100%;
|
19
|
+
// margin: 0;
|
20
|
+
// padding: 0;
|
21
|
+
//};
|
22
|
+
|
23
|
+
|
24
|
+
.site-button {
|
25
|
+
color: $site-button-color;
|
26
|
+
background: $site-button-background;
|
27
|
+
//border: 1px solid $site-button-border;
|
28
|
+
cursor: pointer; /* Add a mouse pointer on hover */
|
29
|
+
};
|
data/_sass/toc.scss
CHANGED
@@ -1,19 +1,77 @@
|
|
1
1
|
@import 'color_palette';
|
2
2
|
|
3
|
-
.series-post-section {
|
4
|
-
background-color: $background-color-2;
|
5
|
-
border-color: $border-color;
|
6
|
-
border-width: 1px 2px 4px 2px;
|
7
|
-
border-style: solid;
|
8
|
-
}
|
9
3
|
|
4
|
+
.table-of-contents {
|
5
|
+
display: inline-block;
|
6
|
+
margin: auto;
|
7
|
+
//padding: 10px;
|
8
|
+
height: 100vh;
|
9
|
+
min-height: 100%;
|
10
|
+
max-width: $toc-width;
|
11
|
+
width: stretch;
|
12
|
+
border-right: solid 1px;
|
13
|
+
height: 100%;
|
14
|
+
margin: 0 $footer-height 0 0;
|
15
|
+
background: $toc-background;
|
16
|
+
//border-radius: 5px;
|
17
|
+
overflow: scroll;
|
18
|
+
position: fixed;
|
19
|
+
top: $header-height;
|
20
|
+
scrollbar-width: none;
|
21
|
+
};
|
10
22
|
|
11
|
-
.
|
12
|
-
|
13
|
-
|
23
|
+
.table-of-contents-header {
|
24
|
+
text-align: center;
|
25
|
+
margin: 6%;
|
26
|
+
font-weight: 500;
|
27
|
+
font-size: large;
|
28
|
+
|
29
|
+
};
|
14
30
|
|
15
|
-
|
16
|
-
|
31
|
+
|
32
|
+
.article-body {
|
33
|
+
display: block;
|
34
|
+
max-width: $site-max-width;
|
35
|
+
height: 100%;
|
36
|
+
};
|
37
|
+
|
38
|
+
|
39
|
+
#toc {
|
40
|
+
display: inline-block;
|
41
|
+
width: $toc-width;
|
42
|
+
padding: 0;
|
43
|
+
float: left;
|
44
|
+
min-height: 100%;
|
45
|
+
text-decoration: none;
|
46
|
+
margin: 5%;
|
17
47
|
|
18
|
-
|
48
|
+
li {
|
49
|
+
margin: 10px 0;
|
50
|
+
list-style-type: none;
|
51
|
+
|
52
|
+
a {
|
53
|
+
text-decoration: none;
|
54
|
+
};
|
55
|
+
};
|
56
|
+
};
|
57
|
+
|
58
|
+
|
59
|
+
// These only work for webkit and blink based browsers (i.e. safari and chrome)
|
60
|
+
//::-webkit-scrollbar {
|
61
|
+
// width: 30px;
|
62
|
+
// //display: none;
|
63
|
+
//};
|
64
|
+
//
|
65
|
+
//::-webkit-scrollbar-track {
|
66
|
+
// -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
67
|
+
// border-radius: 10px;
|
68
|
+
//}
|
69
|
+
//
|
70
|
+
//::-webkit-scrollbar-thumb {
|
71
|
+
// border-radius: 10px;
|
72
|
+
// -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
|
73
|
+
//}
|
19
74
|
|
75
|
+
.post-and-series {
|
76
|
+
display: grid;
|
77
|
+
};
|
data/assets/css/styles.scss
CHANGED
@@ -0,0 +1,3 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3
|
+
<svg height="32px" id="Layer_1" style="enable-background:new 0 0 32 32;" version="1.1" viewBox="0 0 32 32" width="32px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2 s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2 S29.104,22,28,22z"/></svg>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// Get the button:
|
2
|
+
document.addEventListener('DOMContentLoaded', function() {
|
3
|
+
let mybutton = document.getElementById("myBtn");
|
4
|
+
//});
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
// When the user clicks on the button, scroll to the top of the document
|
9
|
+
});
|
10
|
+
function topFunction() {
|
11
|
+
document.body.scrollTop = 0; // For Safari
|
12
|
+
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
13
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instructional-blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- scshafe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -36,17 +36,25 @@ files:
|
|
36
36
|
- _config.yml
|
37
37
|
- _layouts/about.html
|
38
38
|
- _layouts/default.html
|
39
|
+
- _layouts/footer.html
|
40
|
+
- _layouts/header_and_footer.html
|
39
41
|
- _layouts/hidden.html
|
40
42
|
- _layouts/home.html
|
41
43
|
- _layouts/post.html
|
42
44
|
- _layouts/series.html
|
43
45
|
- _layouts/toc.html
|
44
|
-
- _sass/.color_palette.scss.swp
|
45
|
-
- _sass/.toc.scss.swp
|
46
46
|
- _sass/color_palette.scss
|
47
|
-
- _sass/
|
47
|
+
- _sass/default.scss
|
48
|
+
- _sass/header_and_footer.scss
|
49
|
+
- _sass/home.scss
|
50
|
+
- _sass/post.scss
|
51
|
+
- _sass/return_to_top.scss
|
52
|
+
- _sass/series.scss
|
53
|
+
- _sass/site_wide_defaults.scss
|
48
54
|
- _sass/toc.scss
|
49
55
|
- assets/css/styles.scss
|
56
|
+
- assets/images/Hamburger_icon.svg
|
57
|
+
- assets/js/return_to_top.js
|
50
58
|
homepage: https://github.com/scshafe/instructional-blog
|
51
59
|
licenses:
|
52
60
|
- MIT
|
Binary file
|
data/_sass/.toc.scss.swp
DELETED
Binary file
|
data/_sass/footer.scss
DELETED
File without changes
|