monophase 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.txt +21 -0
- data/README.md +194 -0
- data/_includes/archive-by-tagories.html +71 -0
- data/_includes/archive-by-years.html +32 -0
- data/_includes/back-to-top.html +6 -0
- data/_includes/custom-head.html +6 -0
- data/_includes/disqus.html +17 -0
- data/_includes/footer.html +39 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +20 -0
- data/_includes/mathjax.html +2 -0
- data/_layouts/archive.html +15 -0
- data/_layouts/default.html +23 -0
- data/_layouts/home.html +44 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +86 -0
- data/_sass/monophase/_base.scss +123 -0
- data/_sass/monophase/_highlight-dark.scss +91 -0
- data/_sass/monophase/_highlight-light.scss +217 -0
- data/_sass/monophase/_layout.scss +381 -0
- data/_sass/monophase/_variables.scss +54 -0
- data/_sass/monophase/main.scss +8 -0
- data/assets/monophase/styles.scss +3 -0
- data/assets/normalize.css +349 -0
- data/assets/open-color.css +343 -0
- metadata +139 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<div class="container">
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<main>
|
9
|
+
{{ content }}
|
10
|
+
</main>
|
11
|
+
|
12
|
+
{% include footer.html %}
|
13
|
+
</div>
|
14
|
+
|
15
|
+
{% if page.math %}
|
16
|
+
{% include mathjax.html %}
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if jekyll.environment == 'production' and site.google_analytics %}
|
20
|
+
{% include google-analytics.html %}
|
21
|
+
{% endif %}
|
22
|
+
</body>
|
23
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="posts">
|
6
|
+
{% assign posts = site.posts %}
|
7
|
+
{% if paginator %}
|
8
|
+
{% assign posts = paginator.posts %}
|
9
|
+
{% endif %}
|
10
|
+
{% for post in posts %}
|
11
|
+
<div class="post">
|
12
|
+
<h2 class="post-title">
|
13
|
+
<a href="{{ post.url | relative_url }}">
|
14
|
+
{{ post.title }}
|
15
|
+
</a>
|
16
|
+
</h2>
|
17
|
+
|
18
|
+
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-meta">{{ post.date | date_to_string }}</time>
|
19
|
+
|
20
|
+
<p class="post-excerpt">
|
21
|
+
{% if post.description %}
|
22
|
+
{{ post.description | strip_html }}
|
23
|
+
{% else %}
|
24
|
+
{{ post.excerpt | strip_html }}
|
25
|
+
{% endif %}
|
26
|
+
</p>
|
27
|
+
</div>
|
28
|
+
{% endfor %}
|
29
|
+
</div>
|
30
|
+
|
31
|
+
{% if paginator %}
|
32
|
+
<div class="pagination">
|
33
|
+
{% if paginator.next_page %}
|
34
|
+
<a class="pagination-item older" href="{{ paginator.next_page_path | relative_url }}">Older</a>
|
35
|
+
{% else %}
|
36
|
+
<span class="pagination-item older">Older</span>
|
37
|
+
{% endif %}
|
38
|
+
{% if paginator.previous_page %}
|
39
|
+
<a class="pagination-item newer" href="{{ paginator.previous_page_path | relative_url }}">Newer</a>
|
40
|
+
{% else %}
|
41
|
+
<span class="pagination-item newer">Newer</span>
|
42
|
+
{% endif %}
|
43
|
+
</div>
|
44
|
+
{% endif %}
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="post">
|
6
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
7
|
+
<div class="post-meta">
|
8
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
9
|
+
{{ page.date | date_to_string }}
|
10
|
+
</time>
|
11
|
+
{%- if page.last_modified_at -%}
|
12
|
+
<span> ~ </span>
|
13
|
+
{%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
|
14
|
+
<time datetime="{{ mdate }}" itemprop="dateModified">
|
15
|
+
{{ mdate | date_to_string }}
|
16
|
+
</time>
|
17
|
+
{%- endif -%}
|
18
|
+
{%- if page.author -%}
|
19
|
+
<span> • </span>
|
20
|
+
{% for author in page.author %}
|
21
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
22
|
+
{{ author }}
|
23
|
+
</span>
|
24
|
+
{%- if forloop.last == false %}, {% endif -%}
|
25
|
+
{% endfor %}
|
26
|
+
{%- endif -%}
|
27
|
+
{% if page.categories.size > 0 %}
|
28
|
+
<span> • </span>
|
29
|
+
<span class="post-categories-section">
|
30
|
+
<i class="post-categories-icon fas fa-folder"></i>
|
31
|
+
<ul class="post-categories">
|
32
|
+
{%- for category in page.categories -%}
|
33
|
+
<li>
|
34
|
+
{% assign slugified_category = category | slugify %}
|
35
|
+
{%- if site.categories_path -%}
|
36
|
+
<a class="post-category" href="{{ site.categories_path | relative_url }}#{{ slugified_category }}">{{ category }}</a>
|
37
|
+
{%- else -%}
|
38
|
+
<span class="post-category">{{ category }}</span>
|
39
|
+
{%- endif -%}
|
40
|
+
</li>
|
41
|
+
{%- endfor -%}
|
42
|
+
</ul>
|
43
|
+
</span>
|
44
|
+
{% endif %}
|
45
|
+
{% if page.tags.size > 0 %}
|
46
|
+
<span> • </span>
|
47
|
+
<span class="post-tags-section">
|
48
|
+
<i class="post-tags-icon fas fa-tag"></i>
|
49
|
+
<ul class="post-tags">
|
50
|
+
{%- for tag in page.tags -%}
|
51
|
+
<li>
|
52
|
+
{% assign slugified_tag = tag | slugify %}
|
53
|
+
{%- if site.tags_path -%}
|
54
|
+
<a class="post-tag" href="{{ site.tags_path | relative_url }}#{{ slugified_tag }}">{{ slugified_tag }}</a>
|
55
|
+
{%- else -%}
|
56
|
+
<span class="post-tag">{{ slugified_tag }}</span>
|
57
|
+
{%- endif -%}
|
58
|
+
</li>
|
59
|
+
{%- endfor -%}
|
60
|
+
</ul>
|
61
|
+
</span>
|
62
|
+
{% endif %}
|
63
|
+
</div>
|
64
|
+
|
65
|
+
{{ content }}
|
66
|
+
|
67
|
+
{% if jekyll.environment == "production" and site.disqus and page.comments != false %}
|
68
|
+
{% include disqus.html %}
|
69
|
+
{% endif %}
|
70
|
+
</article>
|
71
|
+
|
72
|
+
{% if site.related_posts != empty %}
|
73
|
+
<aside class="related">
|
74
|
+
<h2 class="related-title">Related posts</h2>
|
75
|
+
<ul class="related-posts">
|
76
|
+
{% for post in site.related_posts limit:3 %}
|
77
|
+
<li>
|
78
|
+
<a href="{{ post.url | relative_url }}">
|
79
|
+
{{ post.title }}
|
80
|
+
</a>
|
81
|
+
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
|
82
|
+
</li>
|
83
|
+
{% endfor %}
|
84
|
+
</ul>
|
85
|
+
</aside>
|
86
|
+
{% endif %}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
* {
|
2
|
+
box-sizing: border-box;
|
3
|
+
}
|
4
|
+
|
5
|
+
body {
|
6
|
+
color: var(--body-color);
|
7
|
+
background-color: var(--body-bg-color);
|
8
|
+
font-family: var(--body-font-family);
|
9
|
+
font-size: var(--body-font-size);
|
10
|
+
line-height: var(--body-line-height);
|
11
|
+
}
|
12
|
+
|
13
|
+
a {
|
14
|
+
color: var(--link-color);
|
15
|
+
text-decoration: none;
|
16
|
+
|
17
|
+
&:hover,
|
18
|
+
&:focus {
|
19
|
+
color: var(--link-hover-color);
|
20
|
+
text-decoration: underline;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
p {
|
25
|
+
margin-top: 0;
|
26
|
+
margin-bottom: var(--spacer);
|
27
|
+
}
|
28
|
+
|
29
|
+
ul, ol, dl {
|
30
|
+
margin-top: 0;
|
31
|
+
margin-bottom: var(--spacer);
|
32
|
+
}
|
33
|
+
|
34
|
+
blockquote {
|
35
|
+
padding: 0 var(--spacer);
|
36
|
+
margin: 0 0 var(--spacer) 0;
|
37
|
+
border-left: .25em solid var(--border-color);
|
38
|
+
opacity: .5;
|
39
|
+
}
|
40
|
+
|
41
|
+
figure {
|
42
|
+
margin: 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
img {
|
46
|
+
display: block;
|
47
|
+
max-width: 100%;
|
48
|
+
margin-top: 0;
|
49
|
+
margin-bottom: var(--spacer);
|
50
|
+
border-radius: var(--border-radius);
|
51
|
+
}
|
52
|
+
|
53
|
+
code,
|
54
|
+
pre {
|
55
|
+
font-family: var(--code-font-family);
|
56
|
+
}
|
57
|
+
|
58
|
+
code {
|
59
|
+
padding: .1em .25em;
|
60
|
+
background-color: var(--code-bg-color);
|
61
|
+
border-radius: var(--border-radius);
|
62
|
+
}
|
63
|
+
|
64
|
+
pre {
|
65
|
+
display: block;
|
66
|
+
overflow: auto;
|
67
|
+
padding: var(--spacer);
|
68
|
+
margin: var(--spacer) 0;
|
69
|
+
|
70
|
+
code {
|
71
|
+
padding: 0;
|
72
|
+
background-color: inherit;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
table {
|
77
|
+
margin-top: 0;
|
78
|
+
margin-bottom: var(--spacer);
|
79
|
+
width: 100%;
|
80
|
+
border: 0 solid var(--border-color);
|
81
|
+
border-collapse: collapse;
|
82
|
+
}
|
83
|
+
|
84
|
+
td,
|
85
|
+
th {
|
86
|
+
padding: .25em .5em;
|
87
|
+
border-color: inherit;
|
88
|
+
border-style: solid;
|
89
|
+
border-width: 0;
|
90
|
+
border-bottom-width: 1px;
|
91
|
+
}
|
92
|
+
|
93
|
+
th {
|
94
|
+
text-align: left;
|
95
|
+
}
|
96
|
+
|
97
|
+
thead th {
|
98
|
+
border-bottom-color: currentColor;
|
99
|
+
}
|
100
|
+
|
101
|
+
mark {
|
102
|
+
padding: .15em;
|
103
|
+
border-radius: var(--border-radius);
|
104
|
+
color: var(--body-bg-color);
|
105
|
+
background-color: var(--info-color);
|
106
|
+
}
|
107
|
+
|
108
|
+
hr {
|
109
|
+
position: relative;
|
110
|
+
margin: var(--spacer-2) 0;
|
111
|
+
border: 0;
|
112
|
+
border-top: 1px solid var(--border-color);
|
113
|
+
}
|
114
|
+
|
115
|
+
abbr {
|
116
|
+
font-weight: bold;
|
117
|
+
text-transform: uppercase;
|
118
|
+
|
119
|
+
&[title] {
|
120
|
+
cursor: help;
|
121
|
+
border-bottom: 1px dotted var(--border-color);
|
122
|
+
}
|
123
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
/**
|
2
|
+
* rougify style gruvbox
|
3
|
+
*/
|
4
|
+
|
5
|
+
.highlight table td { padding: 5px; }
|
6
|
+
.highlight table pre { margin: 0; }
|
7
|
+
.highlight, .highlight .w {
|
8
|
+
color: #fbf1c7;
|
9
|
+
background-color: #282828;
|
10
|
+
}
|
11
|
+
.highlight .err {
|
12
|
+
color: #fb4934;
|
13
|
+
background-color: #282828;
|
14
|
+
font-weight: bold;
|
15
|
+
}
|
16
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
|
17
|
+
color: #928374;
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
.highlight .cp {
|
21
|
+
color: #8ec07c;
|
22
|
+
}
|
23
|
+
.highlight .nt {
|
24
|
+
color: #fb4934;
|
25
|
+
}
|
26
|
+
.highlight .o, .highlight .ow {
|
27
|
+
color: #fbf1c7;
|
28
|
+
}
|
29
|
+
.highlight .p, .highlight .pi {
|
30
|
+
color: #fbf1c7;
|
31
|
+
}
|
32
|
+
.highlight .gi {
|
33
|
+
color: #b8bb26;
|
34
|
+
background-color: #282828;
|
35
|
+
}
|
36
|
+
.highlight .gd {
|
37
|
+
color: #fb4934;
|
38
|
+
background-color: #282828;
|
39
|
+
}
|
40
|
+
.highlight .gh {
|
41
|
+
color: #b8bb26;
|
42
|
+
font-weight: bold;
|
43
|
+
}
|
44
|
+
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
45
|
+
color: #fb4934;
|
46
|
+
}
|
47
|
+
.highlight .kc {
|
48
|
+
color: #d3869b;
|
49
|
+
}
|
50
|
+
.highlight .kt {
|
51
|
+
color: #fabd2f;
|
52
|
+
}
|
53
|
+
.highlight .kd {
|
54
|
+
color: #fe8019;
|
55
|
+
}
|
56
|
+
.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
57
|
+
color: #b8bb26;
|
58
|
+
font-style: italic;
|
59
|
+
}
|
60
|
+
.highlight .si {
|
61
|
+
color: #b8bb26;
|
62
|
+
font-style: italic;
|
63
|
+
}
|
64
|
+
.highlight .sr {
|
65
|
+
color: #b8bb26;
|
66
|
+
font-style: italic;
|
67
|
+
}
|
68
|
+
.highlight .sa {
|
69
|
+
color: #fb4934;
|
70
|
+
}
|
71
|
+
.highlight .se {
|
72
|
+
color: #fe8019;
|
73
|
+
}
|
74
|
+
.highlight .nn {
|
75
|
+
color: #8ec07c;
|
76
|
+
}
|
77
|
+
.highlight .nc {
|
78
|
+
color: #8ec07c;
|
79
|
+
}
|
80
|
+
.highlight .no {
|
81
|
+
color: #d3869b;
|
82
|
+
}
|
83
|
+
.highlight .na {
|
84
|
+
color: #b8bb26;
|
85
|
+
}
|
86
|
+
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
87
|
+
color: #d3869b;
|
88
|
+
}
|
89
|
+
.highlight .ss {
|
90
|
+
color: #83a598;
|
91
|
+
}
|
@@ -0,0 +1,217 @@
|
|
1
|
+
/**
|
2
|
+
* rougify style github
|
3
|
+
*/
|
4
|
+
|
5
|
+
.highlight table td { padding: 5px; }
|
6
|
+
.highlight table pre { margin: 0; }
|
7
|
+
.highlight .cm {
|
8
|
+
color: #999988;
|
9
|
+
font-style: italic;
|
10
|
+
}
|
11
|
+
.highlight .cp {
|
12
|
+
color: #999999;
|
13
|
+
font-weight: bold;
|
14
|
+
}
|
15
|
+
.highlight .c1 {
|
16
|
+
color: #999988;
|
17
|
+
font-style: italic;
|
18
|
+
}
|
19
|
+
.highlight .cs {
|
20
|
+
color: #999999;
|
21
|
+
font-weight: bold;
|
22
|
+
font-style: italic;
|
23
|
+
}
|
24
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
|
25
|
+
color: #999988;
|
26
|
+
font-style: italic;
|
27
|
+
}
|
28
|
+
.highlight .err {
|
29
|
+
color: #a61717;
|
30
|
+
background-color: #e3d2d2;
|
31
|
+
}
|
32
|
+
.highlight .gd {
|
33
|
+
color: #000000;
|
34
|
+
background-color: #ffdddd;
|
35
|
+
}
|
36
|
+
.highlight .ge {
|
37
|
+
color: #000000;
|
38
|
+
font-style: italic;
|
39
|
+
}
|
40
|
+
.highlight .gr {
|
41
|
+
color: #aa0000;
|
42
|
+
}
|
43
|
+
.highlight .gh {
|
44
|
+
color: #999999;
|
45
|
+
}
|
46
|
+
.highlight .gi {
|
47
|
+
color: #000000;
|
48
|
+
background-color: #ddffdd;
|
49
|
+
}
|
50
|
+
.highlight .go {
|
51
|
+
color: #888888;
|
52
|
+
}
|
53
|
+
.highlight .gp {
|
54
|
+
color: #555555;
|
55
|
+
}
|
56
|
+
.highlight .gs {
|
57
|
+
font-weight: bold;
|
58
|
+
}
|
59
|
+
.highlight .gu {
|
60
|
+
color: #aaaaaa;
|
61
|
+
}
|
62
|
+
.highlight .gt {
|
63
|
+
color: #aa0000;
|
64
|
+
}
|
65
|
+
.highlight .kc {
|
66
|
+
color: #000000;
|
67
|
+
font-weight: bold;
|
68
|
+
}
|
69
|
+
.highlight .kd {
|
70
|
+
color: #000000;
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
73
|
+
.highlight .kn {
|
74
|
+
color: #000000;
|
75
|
+
font-weight: bold;
|
76
|
+
}
|
77
|
+
.highlight .kp {
|
78
|
+
color: #000000;
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
81
|
+
.highlight .kr {
|
82
|
+
color: #000000;
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
85
|
+
.highlight .kt {
|
86
|
+
color: #445588;
|
87
|
+
font-weight: bold;
|
88
|
+
}
|
89
|
+
.highlight .k, .highlight .kv {
|
90
|
+
color: #000000;
|
91
|
+
font-weight: bold;
|
92
|
+
}
|
93
|
+
.highlight .mf {
|
94
|
+
color: #009999;
|
95
|
+
}
|
96
|
+
.highlight .mh {
|
97
|
+
color: #009999;
|
98
|
+
}
|
99
|
+
.highlight .il {
|
100
|
+
color: #009999;
|
101
|
+
}
|
102
|
+
.highlight .mi {
|
103
|
+
color: #009999;
|
104
|
+
}
|
105
|
+
.highlight .mo {
|
106
|
+
color: #009999;
|
107
|
+
}
|
108
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
109
|
+
color: #009999;
|
110
|
+
}
|
111
|
+
.highlight .sa {
|
112
|
+
color: #000000;
|
113
|
+
font-weight: bold;
|
114
|
+
}
|
115
|
+
.highlight .sb {
|
116
|
+
color: #d14;
|
117
|
+
}
|
118
|
+
.highlight .sc {
|
119
|
+
color: #d14;
|
120
|
+
}
|
121
|
+
.highlight .sd {
|
122
|
+
color: #d14;
|
123
|
+
}
|
124
|
+
.highlight .s2 {
|
125
|
+
color: #d14;
|
126
|
+
}
|
127
|
+
.highlight .se {
|
128
|
+
color: #d14;
|
129
|
+
}
|
130
|
+
.highlight .sh {
|
131
|
+
color: #d14;
|
132
|
+
}
|
133
|
+
.highlight .si {
|
134
|
+
color: #d14;
|
135
|
+
}
|
136
|
+
.highlight .sx {
|
137
|
+
color: #d14;
|
138
|
+
}
|
139
|
+
.highlight .sr {
|
140
|
+
color: #009926;
|
141
|
+
}
|
142
|
+
.highlight .s1 {
|
143
|
+
color: #d14;
|
144
|
+
}
|
145
|
+
.highlight .ss {
|
146
|
+
color: #990073;
|
147
|
+
}
|
148
|
+
.highlight .s, .highlight .dl {
|
149
|
+
color: #d14;
|
150
|
+
}
|
151
|
+
.highlight .na {
|
152
|
+
color: #008080;
|
153
|
+
}
|
154
|
+
.highlight .bp {
|
155
|
+
color: #999999;
|
156
|
+
}
|
157
|
+
.highlight .nb {
|
158
|
+
color: #0086B3;
|
159
|
+
}
|
160
|
+
.highlight .nc {
|
161
|
+
color: #445588;
|
162
|
+
font-weight: bold;
|
163
|
+
}
|
164
|
+
.highlight .no {
|
165
|
+
color: #008080;
|
166
|
+
}
|
167
|
+
.highlight .nd {
|
168
|
+
color: #3c5d5d;
|
169
|
+
font-weight: bold;
|
170
|
+
}
|
171
|
+
.highlight .ni {
|
172
|
+
color: #800080;
|
173
|
+
}
|
174
|
+
.highlight .ne {
|
175
|
+
color: #990000;
|
176
|
+
font-weight: bold;
|
177
|
+
}
|
178
|
+
.highlight .nf, .highlight .fm {
|
179
|
+
color: #990000;
|
180
|
+
font-weight: bold;
|
181
|
+
}
|
182
|
+
.highlight .nl {
|
183
|
+
color: #990000;
|
184
|
+
font-weight: bold;
|
185
|
+
}
|
186
|
+
.highlight .nn {
|
187
|
+
color: #555555;
|
188
|
+
}
|
189
|
+
.highlight .nt {
|
190
|
+
color: #000080;
|
191
|
+
}
|
192
|
+
.highlight .vc {
|
193
|
+
color: #008080;
|
194
|
+
}
|
195
|
+
.highlight .vg {
|
196
|
+
color: #008080;
|
197
|
+
}
|
198
|
+
.highlight .vi {
|
199
|
+
color: #008080;
|
200
|
+
}
|
201
|
+
.highlight .nv, .highlight .vm {
|
202
|
+
color: #008080;
|
203
|
+
}
|
204
|
+
.highlight .ow {
|
205
|
+
color: #000000;
|
206
|
+
font-weight: bold;
|
207
|
+
}
|
208
|
+
.highlight .o {
|
209
|
+
color: #000000;
|
210
|
+
font-weight: bold;
|
211
|
+
}
|
212
|
+
.highlight .w {
|
213
|
+
color: #bbbbbb;
|
214
|
+
}
|
215
|
+
.highlight {
|
216
|
+
background-color: #f8f8f8;
|
217
|
+
}
|