not-pure-poole 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +10 -0
- data/README.md +198 -0
- data/_includes/content.html +17 -0
- data/_includes/custom-head.html +6 -0
- data/_includes/disqus.html +17 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +12 -0
- data/_includes/home-header.html +13 -0
- data/_includes/scroll.html +40 -0
- data/_includes/sidebar-left.html +42 -0
- data/_includes/sidebar-right.html +8 -0
- data/_includes/toc.html +170 -0
- data/_layouts/archive-dates.html +46 -0
- data/_layouts/archive-taxonomies.html +85 -0
- data/_layouts/default.html +41 -0
- data/_layouts/home.html +45 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +49 -0
- data/_sass/_archive.scss +48 -0
- data/_sass/_base.scss +70 -0
- data/_sass/_code.scss +58 -0
- data/_sass/_home-header.scss +29 -0
- data/_sass/_layout.scss +77 -0
- data/_sass/_message.scss +12 -0
- data/_sass/_pagination.scss +52 -0
- data/_sass/_posts.scss +87 -0
- data/_sass/_sidebar.scss +90 -0
- data/_sass/_syntax.scss +65 -0
- data/_sass/_toc.scss +63 -0
- data/_sass/_type.scss +115 -0
- data/_sass/_variables.scss +73 -0
- data/assets/styles.scss +49 -0
- metadata +203 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
// Home Header
|
2
|
+
//
|
3
|
+
// Styles for the home header.
|
4
|
+
|
5
|
+
.home-header-bar {
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
|
9
|
+
-webkit-box-shadow: 0 1em 1em -.9em var(--border-color);
|
10
|
+
-moz-box-shadow: 0 1em 1em -.9em var(--border-color);
|
11
|
+
box-shadow: 0 1em 1em -.9em var(--border-color);
|
12
|
+
}
|
13
|
+
|
14
|
+
.home-header-menu {
|
15
|
+
a {
|
16
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0);
|
17
|
+
|
18
|
+
&:hover,
|
19
|
+
&:focus {
|
20
|
+
color: inherit;
|
21
|
+
background-color: inherit;
|
22
|
+
border-bottom-color: var(--link-color);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.current-item {
|
27
|
+
border-bottom-color: var(--link-color);
|
28
|
+
}
|
29
|
+
}
|
data/_sass/_layout.scss
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
// Layout
|
2
|
+
//
|
3
|
+
// Styles for managing the structural hierarchy of the site.
|
4
|
+
|
5
|
+
.container {
|
6
|
+
padding: 0;
|
7
|
+
margin: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
.home-header {
|
11
|
+
margin-top: -1em;
|
12
|
+
margin-bottom: var(--spacer-3);
|
13
|
+
}
|
14
|
+
|
15
|
+
.content {
|
16
|
+
padding-top: var(--spacer-2);
|
17
|
+
padding-left: var(--spacer-2);
|
18
|
+
padding-right: var(--spacer-2);
|
19
|
+
margin-left: auto;
|
20
|
+
margin-right: auto;
|
21
|
+
min-height: 100vh;
|
22
|
+
}
|
23
|
+
|
24
|
+
.sidebar-left {
|
25
|
+
display: flex;
|
26
|
+
padding: var(--spacer);
|
27
|
+
background: center / cover;
|
28
|
+
height: 100vh;
|
29
|
+
}
|
30
|
+
|
31
|
+
footer {
|
32
|
+
margin-top: var(--spacer-3);
|
33
|
+
margin-bottom: var(--spacer-3);
|
34
|
+
}
|
35
|
+
|
36
|
+
@media (min-width: $md-width) {
|
37
|
+
.content {
|
38
|
+
padding-top: var(--spacer-3);
|
39
|
+
padding-left: var(--spacer-3);
|
40
|
+
padding-right: var(--spacer-3);
|
41
|
+
margin-left: 25%;
|
42
|
+
}
|
43
|
+
|
44
|
+
.sidebar-left {
|
45
|
+
position: fixed;
|
46
|
+
top: 0;
|
47
|
+
bottom: 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
.home-header {
|
51
|
+
margin-top: -2em;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
@media (min-width: $lg-width) {
|
56
|
+
.sidebar-right {
|
57
|
+
display: block;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
@media (max-width: $lg-width) {
|
62
|
+
.sidebar-right {
|
63
|
+
display: none;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
@media (max-width: $md-width) {
|
68
|
+
.content {
|
69
|
+
width: 100%;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
@media (min-width: $md-width) and (max-width: $lg-width) {
|
74
|
+
.content {
|
75
|
+
width: 75%;
|
76
|
+
}
|
77
|
+
}
|
data/_sass/_message.scss
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
// Messages
|
2
|
+
//
|
3
|
+
// Show alert messages to users. You may add it to single elements like a `<p>`,
|
4
|
+
// or to a parent if there are multiple elements to show.
|
5
|
+
|
6
|
+
.message {
|
7
|
+
padding: var(--spacer);
|
8
|
+
margin-bottom: var(--spacer);
|
9
|
+
color: var(--gray-900);
|
10
|
+
background-color: var(--yellow-100);
|
11
|
+
border-radius: var(--border-radius);
|
12
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// Pagination
|
2
|
+
//
|
3
|
+
// Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
|
4
|
+
// there are no more previous or next posts to show.
|
5
|
+
|
6
|
+
.pagination {
|
7
|
+
margin: 0 -1.5rem;
|
8
|
+
color: var(--gray-500);
|
9
|
+
text-align: center;
|
10
|
+
}
|
11
|
+
|
12
|
+
// Pagination items can be `span`s or `a`s
|
13
|
+
.pagination-item {
|
14
|
+
display: block;
|
15
|
+
padding: var(--spacer);
|
16
|
+
text-decoration: none;
|
17
|
+
border: solid var(--border-color);
|
18
|
+
border-width: 1px 0;
|
19
|
+
|
20
|
+
&:first-child {
|
21
|
+
margin-bottom: -1px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
// Only provide a hover state for linked pagination items
|
26
|
+
a.pagination-item:hover {
|
27
|
+
background-color: var(--border-color);
|
28
|
+
}
|
29
|
+
|
30
|
+
@media (min-width: $sm-width) {
|
31
|
+
.pagination {
|
32
|
+
margin: var(--spacer-3) 0;
|
33
|
+
height: calc(var(--body-font-size) * var(--body-line-height) + var(--spacer) * 2);
|
34
|
+
}
|
35
|
+
|
36
|
+
.pagination-item {
|
37
|
+
float: left;
|
38
|
+
width: 50%;
|
39
|
+
border-width: 1px;
|
40
|
+
|
41
|
+
&:first-child {
|
42
|
+
margin-bottom: 0;
|
43
|
+
border-top-left-radius: var(--border-radius);
|
44
|
+
border-bottom-left-radius: var(--border-radius);
|
45
|
+
}
|
46
|
+
&:last-child {
|
47
|
+
margin-left: -1px;
|
48
|
+
border-top-right-radius: var(--border-radius);
|
49
|
+
border-bottom-right-radius: var(--border-radius);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
data/_sass/_posts.scss
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
// Posts and pages
|
2
|
+
//
|
3
|
+
// Each post is wrapped in `.post` and is used on default and post layouts. Each
|
4
|
+
// page is wrapped in `.page` and is only used on the page layout.
|
5
|
+
|
6
|
+
.post-entry {
|
7
|
+
border-bottom: 1px solid var(--border-color);
|
8
|
+
margin-bottom: var(--spacer-3);
|
9
|
+
}
|
10
|
+
|
11
|
+
.page,
|
12
|
+
.post {
|
13
|
+
font-family: var(--text-font);
|
14
|
+
margin-bottom: 4em;
|
15
|
+
|
16
|
+
h1, h2, h3, h4, h5, h6, .post-meta {
|
17
|
+
font-family: var(--body-font);
|
18
|
+
}
|
19
|
+
|
20
|
+
li + li {
|
21
|
+
margin-top: .25rem;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
// Blog post or page title
|
26
|
+
.page-title,
|
27
|
+
.post-title {
|
28
|
+
color: var(--heading-color);
|
29
|
+
}
|
30
|
+
.page-title,
|
31
|
+
.post-title {
|
32
|
+
margin-top: 0;
|
33
|
+
}
|
34
|
+
.post-title a {
|
35
|
+
color: inherit;
|
36
|
+
text-decoration: none;
|
37
|
+
|
38
|
+
&:hover,
|
39
|
+
&:focus {
|
40
|
+
text-decoration: underline;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
// Meta data line below post title
|
45
|
+
.post-meta {
|
46
|
+
display: block;
|
47
|
+
margin-top: -.5rem;
|
48
|
+
margin-bottom: var(--spacer);
|
49
|
+
color: var(--gray-600);
|
50
|
+
}
|
51
|
+
|
52
|
+
.comment-count {
|
53
|
+
color: inherit;
|
54
|
+
text-decoration: none;
|
55
|
+
|
56
|
+
&:hover,
|
57
|
+
&:focus {
|
58
|
+
color: inherit;
|
59
|
+
text-decoration: underline;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
// Related posts
|
64
|
+
.related {
|
65
|
+
padding-top: var(--spacer-2);
|
66
|
+
padding-bottom: var(--spacer-2);
|
67
|
+
margin-bottom: var(--spacer-2);
|
68
|
+
border-top: 1px solid var(--border-color);
|
69
|
+
border-bottom: 1px solid var(--border-color);
|
70
|
+
}
|
71
|
+
|
72
|
+
.related-posts {
|
73
|
+
padding-left: 0;
|
74
|
+
list-style: none;
|
75
|
+
|
76
|
+
h3 {
|
77
|
+
margin-top: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
a {
|
81
|
+
text-decoration: none;
|
82
|
+
|
83
|
+
small {
|
84
|
+
color: var(--gray-600);
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
data/_sass/_sidebar.scss
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
// Sidebar
|
2
|
+
//
|
3
|
+
// Styles for the sidebar.
|
4
|
+
|
5
|
+
.masthead {
|
6
|
+
text-align: center;
|
7
|
+
margin: auto;
|
8
|
+
width: 100%;
|
9
|
+
|
10
|
+
a {
|
11
|
+
color: inherit;
|
12
|
+
text-decoration: none;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
.avatar-image {
|
17
|
+
width: 30%;
|
18
|
+
height: auto;
|
19
|
+
border-radius: 50%;
|
20
|
+
display: block;
|
21
|
+
margin-right: auto;
|
22
|
+
margin-left: auto;
|
23
|
+
}
|
24
|
+
|
25
|
+
.masthead-title {
|
26
|
+
padding: 0;
|
27
|
+
margin: 0;
|
28
|
+
font-size: 2rem;
|
29
|
+
font-weight: 900;
|
30
|
+
|
31
|
+
a:hover,
|
32
|
+
a:focus {
|
33
|
+
color: var(--link-hover-color);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.masthead-tagline {
|
38
|
+
padding: 0;
|
39
|
+
margin: 0;
|
40
|
+
font-size: 1.25rem;
|
41
|
+
font-weight: 400;
|
42
|
+
opacity: .7;
|
43
|
+
}
|
44
|
+
|
45
|
+
.navigation-list {
|
46
|
+
margin-top: var(--spacer-2);
|
47
|
+
padding: 0;
|
48
|
+
list-style: none;
|
49
|
+
}
|
50
|
+
|
51
|
+
.navigation-item {
|
52
|
+
display: block;
|
53
|
+
margin-bottom: var(--spacer);
|
54
|
+
}
|
55
|
+
|
56
|
+
.navigation-item a {
|
57
|
+
background: transparent;
|
58
|
+
color: inherit;
|
59
|
+
letter-spacing: 0.05em;
|
60
|
+
font-size: 90%;
|
61
|
+
border-bottom: 2px solid;
|
62
|
+
border-color: inherit;
|
63
|
+
|
64
|
+
&:hover,
|
65
|
+
&:focus {
|
66
|
+
color: var(--link-hover-color);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.social {
|
71
|
+
margin-top: var(--spacer-2);
|
72
|
+
font-size: 150%;
|
73
|
+
white-space: normal;
|
74
|
+
line-height: .5;
|
75
|
+
}
|
76
|
+
|
77
|
+
.social-icon {
|
78
|
+
padding: var(--spacer);
|
79
|
+
&:hover,
|
80
|
+
&:focus {
|
81
|
+
color: var(--link-hover-color);
|
82
|
+
background-color: transparent;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
@media (max-width: $md-width) {
|
87
|
+
.avatar-image {
|
88
|
+
width: 15%;
|
89
|
+
}
|
90
|
+
}
|
data/_sass/_syntax.scss
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
.highlight .hll { background-color: #ffc; }
|
2
|
+
.highlight .c { color: #999; } /* Comment */
|
3
|
+
.highlight .err { color: #a00; background-color: #faa } /* Error */
|
4
|
+
.highlight .k { color: #069; } /* Keyword */
|
5
|
+
.highlight .o { color: #555 } /* Operator */
|
6
|
+
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #099 } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999; } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999; } /* Comment.Special */
|
10
|
+
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
|
11
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
12
|
+
.highlight .gr { color: #f00 } /* Generic.Error */
|
13
|
+
.highlight .gh { color: #030; } /* Generic.Heading */
|
14
|
+
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
|
15
|
+
.highlight .go { color: #aaa } /* Generic.Output */
|
16
|
+
.highlight .gp { color: #009; } /* Generic.Prompt */
|
17
|
+
.highlight .gs { } /* Generic.Strong */
|
18
|
+
.highlight .gu { color: #030; } /* Generic.Subheading */
|
19
|
+
.highlight .gt { color: #9c6 } /* Generic.Traceback */
|
20
|
+
.highlight .kc { color: #069; } /* Keyword.Constant */
|
21
|
+
.highlight .kd { color: #069; } /* Keyword.Declaration */
|
22
|
+
.highlight .kn { color: #069; } /* Keyword.Namespace */
|
23
|
+
.highlight .kp { color: #069 } /* Keyword.Pseudo */
|
24
|
+
.highlight .kr { color: #069; } /* Keyword.Reserved */
|
25
|
+
.highlight .kt { color: #078; } /* Keyword.Type */
|
26
|
+
.highlight .m { color: #f60 } /* Literal.Number */
|
27
|
+
.highlight .s { color: #d44950 } /* Literal.String */
|
28
|
+
.highlight .na { color: #4f9fcf } /* Name.Attribute */
|
29
|
+
.highlight .nb { color: #366 } /* Name.Builtin */
|
30
|
+
.highlight .nc { color: #0a8; } /* Name.Class */
|
31
|
+
.highlight .no { color: #360 } /* Name.Constant */
|
32
|
+
.highlight .nd { color: #99f } /* Name.Decorator */
|
33
|
+
.highlight .ni { color: #999; } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #c00; } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #c0f } /* Name.Function */
|
36
|
+
.highlight .nl { color: #99f } /* Name.Label */
|
37
|
+
.highlight .nn { color: #0cf; } /* Name.Namespace */
|
38
|
+
.highlight .nt { color: #2f6f9f; } /* Name.Tag */
|
39
|
+
.highlight .nv { color: #033 } /* Name.Variable */
|
40
|
+
.highlight .ow { color: #000; } /* Operator.Word */
|
41
|
+
.highlight .w { color: #bbb } /* Text.Whitespace */
|
42
|
+
.highlight .mf { color: #f60 } /* Literal.Number.Float */
|
43
|
+
.highlight .mh { color: #f60 } /* Literal.Number.Hex */
|
44
|
+
.highlight .mi { color: #f60 } /* Literal.Number.Integer */
|
45
|
+
.highlight .mo { color: #f60 } /* Literal.Number.Oct */
|
46
|
+
.highlight .sb { color: #c30 } /* Literal.String.Backtick */
|
47
|
+
.highlight .sc { color: #c30 } /* Literal.String.Char */
|
48
|
+
.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
|
49
|
+
.highlight .s2 { color: #c30 } /* Literal.String.Double */
|
50
|
+
.highlight .se { color: #c30; } /* Literal.String.Escape */
|
51
|
+
.highlight .sh { color: #c30 } /* Literal.String.Heredoc */
|
52
|
+
.highlight .si { color: #a00 } /* Literal.String.Interpol */
|
53
|
+
.highlight .sx { color: #c30 } /* Literal.String.Other */
|
54
|
+
.highlight .sr { color: #3aa } /* Literal.String.Regex */
|
55
|
+
.highlight .s1 { color: #c30 } /* Literal.String.Single */
|
56
|
+
.highlight .ss { color: #fc3 } /* Literal.String.Symbol */
|
57
|
+
.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
|
58
|
+
.highlight .vc { color: #033 } /* Name.Variable.Class */
|
59
|
+
.highlight .vg { color: #033 } /* Name.Variable.Global */
|
60
|
+
.highlight .vi { color: #033 } /* Name.Variable.Instance */
|
61
|
+
.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
|
62
|
+
|
63
|
+
.css .o,
|
64
|
+
.css .o + .nt,
|
65
|
+
.css .nt + .nt { color: #999; }
|
data/_sass/_toc.scss
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
// Table of Contents
|
2
|
+
|
3
|
+
.toc-wrapper {
|
4
|
+
display: inline-block;
|
5
|
+
position: sticky;
|
6
|
+
top: calc(var(--spacer-3) * 2.5);
|
7
|
+
width: auto;
|
8
|
+
}
|
9
|
+
|
10
|
+
.toc-title {
|
11
|
+
text-align: center;
|
12
|
+
font-weight: bold;
|
13
|
+
border: 1px solid;
|
14
|
+
border-radius: 0.3em 0.3em 0 0;
|
15
|
+
padding: 0.5rem;
|
16
|
+
margin: 0;
|
17
|
+
color: var(--body-bg);
|
18
|
+
background-color: var(--body-color);
|
19
|
+
border-color: var(--border-color);
|
20
|
+
}
|
21
|
+
|
22
|
+
.toc-nav {
|
23
|
+
max-height: 60vh;
|
24
|
+
overflow-y: scroll;
|
25
|
+
border: 1px solid;
|
26
|
+
border-top: 0px;
|
27
|
+
border-radius: 0 0 0.3em 0.3em;
|
28
|
+
border-color: var(--border-color);
|
29
|
+
|
30
|
+
-webkit-hyphens: auto;
|
31
|
+
-ms-hyphens: auto;
|
32
|
+
hyphens: auto;
|
33
|
+
|
34
|
+
ul {
|
35
|
+
margin: 0;
|
36
|
+
padding: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
a {
|
40
|
+
padding: 0;
|
41
|
+
margin: 0;
|
42
|
+
display: block;
|
43
|
+
text-decoration: none;
|
44
|
+
}
|
45
|
+
|
46
|
+
ul {
|
47
|
+
list-style: none;
|
48
|
+
|
49
|
+
li {
|
50
|
+
font-weight: bold;
|
51
|
+
padding: 0.5rem;
|
52
|
+
|
53
|
+
a {
|
54
|
+
border-bottom: 1px solid var(--border-color);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
li ul li a {
|
60
|
+
font-weight: normal;
|
61
|
+
padding-left: 1.25rem;
|
62
|
+
}
|
63
|
+
}
|