the-plain 3.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 +21 -0
- data/README.md +37 -0
- data/_includes/footer.html +4 -0
- data/_includes/head.html +46 -0
- data/_includes/header.html +18 -0
- data/_includes/image.html +5 -0
- data/_layouts/default.html +20 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +28 -0
- data/_sass/main.scss +367 -0
- data/_sass/syntax.scss +254 -0
- data/assets/core.scss +6 -0
- data/assets/favicon.png +0 -0
- data/assets/gravatar_wrapper.png +0 -0
- data/assets/touch-icon.png +0 -0
- metadata +102 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dedbba71108b995a8ae4283bf1ec99d23c2cfabaec3ee7919bd159fb74ec6caf
|
4
|
+
data.tar.gz: 1eab8740e16601d1d3c1849998f820a3b1f9bd2ed07f852df22c92656174ff09
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1ab869b65162f99b680cf643ab428391e30530257a5d2a20176a307bfbf927e3faa66b5b9f528b044ff61ed937125f487b2382ebe627ced220123e3af5110d09
|
7
|
+
data.tar.gz: e615e86946c5e7b2426d7508e7d76431afcac8533a7ac0b0602ef0091111c2c1dc2b9b6803ef540fc42e6174f2dfefb597111b55df03c42991e515bcde39e411
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Heiswayi Nrird
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# The Plain
|
2
|
+
|
3
|
+
_The Plain_ is a minimalist Jekyll theme, designed to focus on writing that really matters to you and your audience.
|
4
|
+
Everything else is just a distraction.
|
5
|
+
Nothing more other than useful and understandable information sharing.
|
6
|
+
This theme is best suited for a personal blog type, but not limited to that.
|
7
|
+
|
8
|
+
P/S: This theme is originally inspired by [Leonard Lamprecht's _leo_ theme](https://github.com/leo/leo.github.io), thanks!
|
9
|
+
|
10
|
+
[**Live Demo**](http://heiswayi.github.io/the-plain/)
|
11
|
+
|
12
|
+
### Screenshot
|
13
|
+
|
14
|
+
![The Plain Screenshot](http://i.imgur.com/8ZXhjfV.png)
|
15
|
+
|
16
|
+
### Philosophy
|
17
|
+
|
18
|
+
> Minimalism is a masterpiece of tranquility. -- Heiswayi Nrird
|
19
|
+
|
20
|
+
### How to use
|
21
|
+
|
22
|
+
Add this to your sites *_config.yml* file:
|
23
|
+
|
24
|
+
theme: the-plain
|
25
|
+
|
26
|
+
Then copy some of the settings from this repos *_config.yml* file to your own,
|
27
|
+
and adjust them.
|
28
|
+
|
29
|
+
### License
|
30
|
+
|
31
|
+
[MIT](LICENSE.md)
|
32
|
+
|
33
|
+
### Credits
|
34
|
+
|
35
|
+
Many thanks to this themes [contributors](https://github.com/heiswayi/the-plain/graphs/contributors)
|
36
|
+
that help fixing bugs or enhance source code.
|
37
|
+
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<div class="footer">
|
2
|
+
<span class="block">© {{ site.time | date: '%Y' }} {{ site.author_name }}</span>
|
3
|
+
<span class="block"><small></> This site uses <a href="http://github.com/heiswayi/the-plain" title="a minimalist Jekyll theme for a personal blog">The Plain theme</a> by <a href="http://heiswayi.github.io">Heiswayi Nrird</a>.</small></span>
|
4
|
+
</div>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
4
|
+
|
5
|
+
{% if page.title %}
|
6
|
+
<title>{{ page.title }} · {{ site.title }}</title>
|
7
|
+
{% else %}
|
8
|
+
<title>{{ site.title }}</title>
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if site.twitter_username %}
|
12
|
+
<meta name="twitter:card" content="summary" />
|
13
|
+
<meta name="twitter:site" content="@{{ site.twitter_username }}" />
|
14
|
+
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
|
15
|
+
<meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 200 }}{% else %}{{ site.description }}{% endif %}">
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
19
|
+
|
20
|
+
{% if site.google_verify %}
|
21
|
+
<meta name="google-site-verification" content="{{ site.google_verify }}">
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
<link rel="icon" href="{{ "/assets/favicon.png" | prepend: site.baseurl | prepend: site.url }}">
|
25
|
+
<link rel="apple-touch-icon" href="{{ "/assets/touch-icon.png" | prepend: site.baseurl | prepend: site.url }}">
|
26
|
+
<link rel="stylesheet" href="{{ "/assets/core.css" | prepend: site.baseurl | prepend: site.url }}">
|
27
|
+
<link rel="canonical" href="{{ page.url | prepend: site.baseurl | prepend: site.url }}">
|
28
|
+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
|
29
|
+
|
30
|
+
{% if jekyll.environment == 'production' and site.google_analytics %}
|
31
|
+
|
32
|
+
<script>
|
33
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
34
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
35
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
36
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
37
|
+
|
38
|
+
ga( 'create', '{{ site.google_analytics }}', 'auto' );
|
39
|
+
ga( 'send', 'pageview' );
|
40
|
+
</script>
|
41
|
+
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
{% if site.mathjax %}
|
45
|
+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
46
|
+
{% endif %}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<aside class="logo">
|
2
|
+
|
3
|
+
{% if page.url == '/index.html' or page.url == '/' %}
|
4
|
+
{% assign link = '/about' %}
|
5
|
+
{% assign prompt = 'About the Author' %}
|
6
|
+
{% else %}
|
7
|
+
{% assign link = '/' %}
|
8
|
+
{% assign prompt = 'Back to Home' %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if site.author_gravatar %}
|
12
|
+
<a href="{{ link | prepend: site.baseurl }}">
|
13
|
+
<img src="http://www.gravatar.com/avatar/{{ site.author_gravatar }}.png?s=80" class="gravatar">
|
14
|
+
</a>
|
15
|
+
<span class="logo-prompt">{{ prompt }}</span>
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
</aside>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
{% assign url = '/assets/static/' | append: include.file %}
|
2
|
+
|
3
|
+
<a href="{{ url | prepend: site.baseurl | prepend: site.url }}" target="_blank" class="image">
|
4
|
+
<img src="{{ url | prepend: site.baseurl | prepend: site.url }}" alt="{% if include.alt %}{{ include.alt }}{% else %}Image{% endif %}">
|
5
|
+
</a>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
{% include head.html %}
|
6
|
+
</head>
|
7
|
+
|
8
|
+
<body>
|
9
|
+
|
10
|
+
{% include header.html %}
|
11
|
+
|
12
|
+
<main>
|
13
|
+
{{ content | replace: '↩', '↩︎' }}
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{% include footer.html %}
|
17
|
+
|
18
|
+
</body>
|
19
|
+
|
20
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article>
|
6
|
+
|
7
|
+
<h1 class="title">{{ page.title }}</h1>
|
8
|
+
|
9
|
+
<div class="divider"></div>
|
10
|
+
|
11
|
+
{{ content }}
|
12
|
+
|
13
|
+
</article>
|
14
|
+
|
15
|
+
<div class="page-navigation">
|
16
|
+
<a class="home" href="{{ site.baseurl | prepend: site.url }}" title="Back to Homepage">Home</a>
|
17
|
+
</div>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article>
|
6
|
+
|
7
|
+
<div class="center">
|
8
|
+
<h1>{{ page.title }}</h1>
|
9
|
+
<time>{{ page.date | date: '%B %-d, %Y' }}</time>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="divider"></div>
|
13
|
+
|
14
|
+
{{ content }}
|
15
|
+
|
16
|
+
</article>
|
17
|
+
|
18
|
+
<div class="page-navigation">
|
19
|
+
{% if page.next.url %}
|
20
|
+
<a class="next" href="{{ page.next.url | prepend: site.baseurl | prepend: site.url }}" title="NEXT: {{page.next.title}}"><<</a>
|
21
|
+
<span> · </span>
|
22
|
+
{% endif %}
|
23
|
+
<a class="home" href="{{ site.baseurl | prepend: site.url }}" title="Back to Homepage">Home</a>
|
24
|
+
{% if page.previous.url %}
|
25
|
+
<span> · </span>
|
26
|
+
<a class="prev" href="{{ page.previous.url | prepend: site.baseurl | prepend: site.url }}" title="PREV: {{page.previous.title}}">>></a>
|
27
|
+
{% endif %}
|
28
|
+
</div>
|
data/_sass/main.scss
ADDED
@@ -0,0 +1,367 @@
|
|
1
|
+
body {
|
2
|
+
font-size: 14px;
|
3
|
+
line-height: 20px;
|
4
|
+
font-weight: normal;
|
5
|
+
font-style: normal;
|
6
|
+
font-family: consolas, monaco, courier, "courier new", fixed-width;
|
7
|
+
color: #333333;
|
8
|
+
padding: 20px;
|
9
|
+
margin: 0;
|
10
|
+
-webkit-font-smoothing: antialiased;
|
11
|
+
-webkit-text-size-adjust: 100%;
|
12
|
+
@media (min-width: 992px) {
|
13
|
+
padding: 35px 50px;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
h2,
|
17
|
+
h3,
|
18
|
+
h4,
|
19
|
+
h5 {
|
20
|
+
margin: 45px 0 25px;
|
21
|
+
}
|
22
|
+
img {
|
23
|
+
max-width: 100%;
|
24
|
+
}
|
25
|
+
a {
|
26
|
+
color: inherit;
|
27
|
+
text-decoration: none;
|
28
|
+
border-bottom: 1px solid #555;
|
29
|
+
&.image {
|
30
|
+
display: block;
|
31
|
+
text-align: center;
|
32
|
+
border: 0;
|
33
|
+
border-radius: 5px;
|
34
|
+
margin: 30px 0;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
mark {
|
38
|
+
background: #fffc76;
|
39
|
+
padding: 0 5px;
|
40
|
+
}
|
41
|
+
blockquote {
|
42
|
+
border-left: 5px solid #ccc;
|
43
|
+
margin: 40px 0;
|
44
|
+
padding: 5px 30px;
|
45
|
+
background: #eee;
|
46
|
+
}
|
47
|
+
.logo {
|
48
|
+
position: relative;
|
49
|
+
margin: 0 auto 35px;
|
50
|
+
text-align: center;
|
51
|
+
animation-duration: 0.7s;
|
52
|
+
animation-fill-mode: both;
|
53
|
+
animation-name: bounce;
|
54
|
+
-webkit-animation-duration: 0.7s;
|
55
|
+
-webkit-animation-fill-mode: both;
|
56
|
+
-webkit-animation-name: bounce;
|
57
|
+
a {
|
58
|
+
background: #ddd url("gravatar_wrapper.png");
|
59
|
+
color: #000;
|
60
|
+
text-decoration: none;
|
61
|
+
font-weight: 700;
|
62
|
+
height: 100px;
|
63
|
+
width: 100px;
|
64
|
+
font-size: 1.5em;
|
65
|
+
border-radius: 100%;
|
66
|
+
display: inline-block;
|
67
|
+
text-align: center;
|
68
|
+
line-height: 100px;
|
69
|
+
border: 5px solid #fff;
|
70
|
+
box-sizing: border-box;
|
71
|
+
&:hover,
|
72
|
+
&:focus {
|
73
|
+
background: #f14e32;
|
74
|
+
}
|
75
|
+
&:hover + .logo-prompt,
|
76
|
+
&:focus + .logo-prompt {
|
77
|
+
display: inline-block !important;
|
78
|
+
}
|
79
|
+
.gravatar {
|
80
|
+
margin-top: 5px;
|
81
|
+
-webkit-border-radius: 50%;
|
82
|
+
-moz-border-radius: 50%;
|
83
|
+
border-radius: 50%;
|
84
|
+
}
|
85
|
+
@media (max-width : 480px) {&:hover + .logo-prompt,
|
86
|
+
&:focus + .logo-prompt {
|
87
|
+
display: none !important;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
.logo-prompt {
|
92
|
+
position: absolute;
|
93
|
+
display: none;
|
94
|
+
vertical-align: middle;
|
95
|
+
padding: 5px;
|
96
|
+
border-radius: 3px;
|
97
|
+
background: #666;
|
98
|
+
background: rgba(0,0,0,.5);
|
99
|
+
margin-left: 15px;
|
100
|
+
color: #fff;
|
101
|
+
font-size: 0.8235em;
|
102
|
+
text-align: center;
|
103
|
+
line-height: 1.2;
|
104
|
+
top: 50%;
|
105
|
+
margin-top: -10px;
|
106
|
+
&:before {
|
107
|
+
content: "";
|
108
|
+
border-width: 5px 5px 5px 0;
|
109
|
+
border-style: solid;
|
110
|
+
border-color: transparent #666;
|
111
|
+
border-color: transparent rgba(0,0,0,.5);
|
112
|
+
position: absolute;
|
113
|
+
top: 50%;
|
114
|
+
left: -5px;
|
115
|
+
margin-top: -5px;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
iframe {
|
120
|
+
margin: 45px 0 !important;
|
121
|
+
}
|
122
|
+
ul,
|
123
|
+
ol {
|
124
|
+
margin: 40px 0;
|
125
|
+
padding-left: 50px;
|
126
|
+
li {
|
127
|
+
word-wrap: break-word;
|
128
|
+
}
|
129
|
+
img {
|
130
|
+
margin: 40px 0;
|
131
|
+
border-radius: 5px;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
sup {
|
135
|
+
vertical-align: top;
|
136
|
+
position: relative;
|
137
|
+
top: -0.5em;
|
138
|
+
margin-left: 1px;
|
139
|
+
}
|
140
|
+
time {
|
141
|
+
color: #555;
|
142
|
+
}
|
143
|
+
code,
|
144
|
+
pre {
|
145
|
+
font-family: Consolas, Courier, monospace;
|
146
|
+
}
|
147
|
+
code {
|
148
|
+
color: #f14e32;
|
149
|
+
background: #eee;
|
150
|
+
padding: 2px 6px;
|
151
|
+
font-size: 13px;
|
152
|
+
}
|
153
|
+
pre {
|
154
|
+
display: block;
|
155
|
+
margin-top: 0;
|
156
|
+
margin-bottom: 1rem;
|
157
|
+
font-size: 0.8rem;
|
158
|
+
line-height: 1.4;
|
159
|
+
white-space: pre;
|
160
|
+
overflow-x: auto;
|
161
|
+
background-color: #f9f9f9;
|
162
|
+
border: 1px solid #ddd;
|
163
|
+
padding: 1rem;
|
164
|
+
code {
|
165
|
+
font-size: 100%;
|
166
|
+
color: inherit;
|
167
|
+
background-color: transparent;
|
168
|
+
padding: 0;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
table {
|
172
|
+
width: 100%;
|
173
|
+
table-layout: fixed;
|
174
|
+
margin: 45px 0;
|
175
|
+
thead {
|
176
|
+
background: #f2f2f2;
|
177
|
+
}
|
178
|
+
th {
|
179
|
+
text-align: left;
|
180
|
+
padding: 8px 10px;
|
181
|
+
border-bottom: 15px solid #fff;
|
182
|
+
}
|
183
|
+
td {
|
184
|
+
padding: 4px 0;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
iframe {
|
188
|
+
width: 100%;
|
189
|
+
}
|
190
|
+
article {
|
191
|
+
max-width: 500px;
|
192
|
+
margin: 0 auto;
|
193
|
+
.title {
|
194
|
+
line-height: 1.4em;
|
195
|
+
text-align: center;
|
196
|
+
}
|
197
|
+
.divider {
|
198
|
+
background: #ddd;
|
199
|
+
background: -webkit-gradient(linear,left top,right top,from(rgba(255,255,255,0)),color-stop(#ccc),to(rgba(255,255,255,0)));
|
200
|
+
background: -webkit-linear-gradient(left,rgba(255,255,255,0),#ccc,rgba(255,255,255,0));
|
201
|
+
background: linear-gradient(to right,rgba(255,255,255,0),#ccc,rgba(255,255,255,0));
|
202
|
+
height: 1px;
|
203
|
+
margin: 2em 0;
|
204
|
+
}
|
205
|
+
.center {
|
206
|
+
text-align: center;
|
207
|
+
margin: 0 auto;
|
208
|
+
}
|
209
|
+
hr {
|
210
|
+
border: 0;
|
211
|
+
border-bottom: 1px solid #000;
|
212
|
+
margin: 30px 0;
|
213
|
+
}
|
214
|
+
p {
|
215
|
+
font-size: 15px;
|
216
|
+
line-height: 1.9em;
|
217
|
+
word-wrap: break-word;
|
218
|
+
}
|
219
|
+
.footnote {
|
220
|
+
border: 0;
|
221
|
+
background-color: #0087BE;
|
222
|
+
color: #fff;
|
223
|
+
padding-left: 2px;
|
224
|
+
padding-right: 2px;
|
225
|
+
}
|
226
|
+
.footnotes {
|
227
|
+
margin: 50px auto;
|
228
|
+
display: block;
|
229
|
+
p {
|
230
|
+
line-height: 1rem;
|
231
|
+
font-weight: normal;
|
232
|
+
}
|
233
|
+
ol {
|
234
|
+
margin: 0;
|
235
|
+
padding-left: 15px;
|
236
|
+
li {
|
237
|
+
font-weight: bold;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
.reversefootnote {
|
241
|
+
border: 0;
|
242
|
+
color: #0087BE;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
a:hover {
|
246
|
+
color: #369;
|
247
|
+
border-color: #369;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
.back {
|
251
|
+
text-align: center;
|
252
|
+
a {
|
253
|
+
text-decoration: none;
|
254
|
+
margin: 40px auto 0;
|
255
|
+
display: inline-block;
|
256
|
+
padding: 10px;
|
257
|
+
border: 0;
|
258
|
+
&:before {
|
259
|
+
content: "<<";
|
260
|
+
margin-right: 5px;
|
261
|
+
color: #000;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
.block {
|
266
|
+
display: block;
|
267
|
+
}
|
268
|
+
.page-navigation,
|
269
|
+
.footer {
|
270
|
+
text-align: center;
|
271
|
+
max-width: 500px;
|
272
|
+
margin: 0 auto;
|
273
|
+
font-size: 0.8rem;
|
274
|
+
}
|
275
|
+
.page-navigation {
|
276
|
+
margin: 50px auto 0 auto;
|
277
|
+
a {
|
278
|
+
display: inline-block;
|
279
|
+
text-decoration: none;
|
280
|
+
border-bottom: none;
|
281
|
+
}
|
282
|
+
span {
|
283
|
+
display: inline-block;
|
284
|
+
}
|
285
|
+
}
|
286
|
+
.footer {
|
287
|
+
margin-top: 50px;
|
288
|
+
color: #777;
|
289
|
+
a {
|
290
|
+
border: none;
|
291
|
+
font-weight: bold;
|
292
|
+
}
|
293
|
+
}
|
294
|
+
section {
|
295
|
+
max-width: 500px;
|
296
|
+
margin: 0 auto 50px auto;
|
297
|
+
ul {
|
298
|
+
list-style: none;
|
299
|
+
margin: 0;
|
300
|
+
padding: 0;
|
301
|
+
li {
|
302
|
+
margin: 25px 0;
|
303
|
+
.title {
|
304
|
+
max-width: 100%;
|
305
|
+
//overflow: hidden !important;
|
306
|
+
//text-overflow: ellipsis !important;
|
307
|
+
//white-space: nowrap !important;
|
308
|
+
word-wrap: normal !important;
|
309
|
+
}
|
310
|
+
a {
|
311
|
+
text-decoration: none;
|
312
|
+
border: 0;
|
313
|
+
color: #000;
|
314
|
+
box-sizing: border-box;
|
315
|
+
}
|
316
|
+
.post-date {
|
317
|
+
float: right;
|
318
|
+
margin: 0 0 0 20px;
|
319
|
+
}
|
320
|
+
span {
|
321
|
+
display: inline-block;
|
322
|
+
color: #757575;
|
323
|
+
letter-spacing: 1px;
|
324
|
+
text-transform: uppercase;
|
325
|
+
}
|
326
|
+
@media (min-width: 992px) {a {
|
327
|
+
border-bottom: 2px solid transparent;
|
328
|
+
&:hover {
|
329
|
+
border-color: #000;
|
330
|
+
}
|
331
|
+
}
|
332
|
+
}
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
@keyframes bounce {0% {
|
337
|
+
transform: translate3d( 0, -1000px, 0 );
|
338
|
+
}
|
339
|
+
60% {
|
340
|
+
transform: translate3d( 0, 25px, 0 );
|
341
|
+
}
|
342
|
+
75% {
|
343
|
+
transform: translate3d( 0, -10px, 0 );
|
344
|
+
}
|
345
|
+
90% {
|
346
|
+
transform: translate3d( 0, 5px, 0 );
|
347
|
+
}
|
348
|
+
100% {
|
349
|
+
transform: none;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
@-webkit-keyframes bounce {0% {
|
353
|
+
-webkit-transform: translate3d( 0, -1000px, 0 );
|
354
|
+
}
|
355
|
+
60% {
|
356
|
+
-webkit-transform: translate3d( 0, 25px, 0 );
|
357
|
+
}
|
358
|
+
75% {
|
359
|
+
-webkit-transform: translate3d( 0, -10px, 0 );
|
360
|
+
}
|
361
|
+
90% {
|
362
|
+
-webkit-transform: translate3d( 0, 5px, 0 );
|
363
|
+
}
|
364
|
+
100% {
|
365
|
+
-webkit-transform: none;
|
366
|
+
}
|
367
|
+
}
|
data/_sass/syntax.scss
ADDED
@@ -0,0 +1,254 @@
|
|
1
|
+
.highlight {
|
2
|
+
margin: 40px 0;
|
3
|
+
.c {
|
4
|
+
color: #998;
|
5
|
+
font-style: italic;
|
6
|
+
}
|
7
|
+
// Comment
|
8
|
+
.err {
|
9
|
+
color: #a61717;
|
10
|
+
background-color: #e3d2d2;
|
11
|
+
}
|
12
|
+
// Error
|
13
|
+
.k {
|
14
|
+
font-weight: bold;
|
15
|
+
}
|
16
|
+
// Keyword
|
17
|
+
.o {
|
18
|
+
font-weight: bold;
|
19
|
+
}
|
20
|
+
// Operator
|
21
|
+
.cm {
|
22
|
+
color: #998;
|
23
|
+
font-style: italic;
|
24
|
+
}
|
25
|
+
// Comment.Multiline
|
26
|
+
.cp {
|
27
|
+
color: #999;
|
28
|
+
font-weight: bold;
|
29
|
+
}
|
30
|
+
// Comment.Preproc
|
31
|
+
.c1 {
|
32
|
+
color: #998;
|
33
|
+
font-style: italic;
|
34
|
+
}
|
35
|
+
// Comment.Single
|
36
|
+
.cs {
|
37
|
+
color: #999;
|
38
|
+
font-weight: bold;
|
39
|
+
font-style: italic;
|
40
|
+
}
|
41
|
+
// Comment.Special
|
42
|
+
.gd {
|
43
|
+
color: #000;
|
44
|
+
background-color: #fdd;
|
45
|
+
}
|
46
|
+
// Generic.Deleted
|
47
|
+
.gd .x {
|
48
|
+
color: #000;
|
49
|
+
background-color: #faa;
|
50
|
+
}
|
51
|
+
// Generic.Deleted.Specific
|
52
|
+
.ge {
|
53
|
+
font-style: italic;
|
54
|
+
}
|
55
|
+
// Generic.Emph
|
56
|
+
.gr {
|
57
|
+
color: #a00;
|
58
|
+
}
|
59
|
+
// Generic.Error
|
60
|
+
.gh {
|
61
|
+
color: #999;
|
62
|
+
}
|
63
|
+
// Generic.Heading
|
64
|
+
.gi {
|
65
|
+
color: #000;
|
66
|
+
background-color: #dfd;
|
67
|
+
}
|
68
|
+
// Generic.Inserted
|
69
|
+
.gi .x {
|
70
|
+
color: #000;
|
71
|
+
background-color: #afa;
|
72
|
+
}
|
73
|
+
// Generic.Inserted.Specific
|
74
|
+
.go {
|
75
|
+
color: #888;
|
76
|
+
}
|
77
|
+
// Generic.Output
|
78
|
+
.gp {
|
79
|
+
color: #555;
|
80
|
+
}
|
81
|
+
// Generic.Prompt
|
82
|
+
.gs {
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
85
|
+
// Generic.Strong
|
86
|
+
.gu {
|
87
|
+
color: #aaa;
|
88
|
+
}
|
89
|
+
// Generic.Subheading
|
90
|
+
.gt {
|
91
|
+
color: #a00;
|
92
|
+
}
|
93
|
+
// Generic.Traceback
|
94
|
+
.kc {
|
95
|
+
font-weight: bold;
|
96
|
+
}
|
97
|
+
// Keyword.Constant
|
98
|
+
.kd {
|
99
|
+
font-weight: bold;
|
100
|
+
}
|
101
|
+
// Keyword.Declaration
|
102
|
+
.kp {
|
103
|
+
font-weight: bold;
|
104
|
+
}
|
105
|
+
// Keyword.Pseudo
|
106
|
+
.kr {
|
107
|
+
font-weight: bold;
|
108
|
+
}
|
109
|
+
// Keyword.Reserved
|
110
|
+
.kt {
|
111
|
+
color: #458;
|
112
|
+
font-weight: bold;
|
113
|
+
}
|
114
|
+
// Keyword.Type
|
115
|
+
.m {
|
116
|
+
color: #099;
|
117
|
+
}
|
118
|
+
// Literal.Number
|
119
|
+
.s {
|
120
|
+
color: #d14;
|
121
|
+
}
|
122
|
+
// Literal.String
|
123
|
+
.na {
|
124
|
+
color: #008080;
|
125
|
+
}
|
126
|
+
// Name.Attribute
|
127
|
+
.nb {
|
128
|
+
color: #0086b3;
|
129
|
+
}
|
130
|
+
// Name.Builtin
|
131
|
+
.nc {
|
132
|
+
color: #458;
|
133
|
+
font-weight: bold;
|
134
|
+
}
|
135
|
+
// Name.Class
|
136
|
+
.no {
|
137
|
+
color: #008080;
|
138
|
+
}
|
139
|
+
// Name.Constant
|
140
|
+
.ni {
|
141
|
+
color: #800080;
|
142
|
+
}
|
143
|
+
// Name.Entity
|
144
|
+
.ne {
|
145
|
+
color: #900;
|
146
|
+
font-weight: bold;
|
147
|
+
}
|
148
|
+
// Name.Exception
|
149
|
+
.nf {
|
150
|
+
color: #900;
|
151
|
+
font-weight: bold;
|
152
|
+
}
|
153
|
+
// Name.Function
|
154
|
+
.nn {
|
155
|
+
color: #555;
|
156
|
+
}
|
157
|
+
// Name.Namespace
|
158
|
+
.nt {
|
159
|
+
color: #000080;
|
160
|
+
}
|
161
|
+
// Name.Tag
|
162
|
+
.nv {
|
163
|
+
color: #008080;
|
164
|
+
}
|
165
|
+
// Name.Variable
|
166
|
+
.ow {
|
167
|
+
font-weight: bold;
|
168
|
+
}
|
169
|
+
// Operator.Word
|
170
|
+
.w {
|
171
|
+
color: #bbb;
|
172
|
+
}
|
173
|
+
// Text.Whitespace
|
174
|
+
.mf {
|
175
|
+
color: #099;
|
176
|
+
}
|
177
|
+
// Literal.Number.Float
|
178
|
+
.mh {
|
179
|
+
color: #099;
|
180
|
+
}
|
181
|
+
// Literal.Number.Hex
|
182
|
+
.mi {
|
183
|
+
color: #099;
|
184
|
+
}
|
185
|
+
// Literal.Number.Integer
|
186
|
+
.mo {
|
187
|
+
color: #099;
|
188
|
+
}
|
189
|
+
// Literal.Number.Oct
|
190
|
+
.sb {
|
191
|
+
color: #d14;
|
192
|
+
}
|
193
|
+
// Literal.String.Backtick
|
194
|
+
.sc {
|
195
|
+
color: #d14;
|
196
|
+
}
|
197
|
+
// Literal.String.Char
|
198
|
+
.sd {
|
199
|
+
color: #d14;
|
200
|
+
}
|
201
|
+
// Literal.String.Doc
|
202
|
+
.s2 {
|
203
|
+
color: #d14;
|
204
|
+
}
|
205
|
+
// Literal.String.Double
|
206
|
+
.se {
|
207
|
+
color: #d14;
|
208
|
+
}
|
209
|
+
// Literal.String.Escape
|
210
|
+
.sh {
|
211
|
+
color: #d14;
|
212
|
+
}
|
213
|
+
// Literal.String.Heredoc
|
214
|
+
.si {
|
215
|
+
color: #d14;
|
216
|
+
}
|
217
|
+
// Literal.String.Interpol
|
218
|
+
.sx {
|
219
|
+
color: #d14;
|
220
|
+
}
|
221
|
+
// Literal.String.Other
|
222
|
+
.sr {
|
223
|
+
color: #009926;
|
224
|
+
}
|
225
|
+
// Literal.String.Regex
|
226
|
+
.s1 {
|
227
|
+
color: #d14;
|
228
|
+
}
|
229
|
+
// Literal.String.Single
|
230
|
+
.ss {
|
231
|
+
color: #990073;
|
232
|
+
}
|
233
|
+
// Literal.String.Symbol
|
234
|
+
.bp {
|
235
|
+
color: #999;
|
236
|
+
}
|
237
|
+
// Name.Builtin.Pseudo
|
238
|
+
.vc {
|
239
|
+
color: #008080;
|
240
|
+
}
|
241
|
+
// Name.Variable.Class
|
242
|
+
.vg {
|
243
|
+
color: #008080;
|
244
|
+
}
|
245
|
+
// Name.Variable.Global
|
246
|
+
.vi {
|
247
|
+
color: #008080;
|
248
|
+
}
|
249
|
+
// Name.Variable.Instance
|
250
|
+
.il {
|
251
|
+
color: #099;
|
252
|
+
}
|
253
|
+
// Literal.Number.Integer.Long
|
254
|
+
}
|
data/assets/core.scss
ADDED
data/assets/favicon.png
ADDED
Binary file
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: the-plain
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Heiswayi Nrird
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-03-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.5'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.15'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.15'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- hnrird@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.md
|
63
|
+
- README.md
|
64
|
+
- _includes/footer.html
|
65
|
+
- _includes/head.html
|
66
|
+
- _includes/header.html
|
67
|
+
- _includes/image.html
|
68
|
+
- _layouts/default.html
|
69
|
+
- _layouts/page.html
|
70
|
+
- _layouts/post.html
|
71
|
+
- _sass/main.scss
|
72
|
+
- _sass/syntax.scss
|
73
|
+
- assets/core.scss
|
74
|
+
- assets/favicon.png
|
75
|
+
- assets/gravatar_wrapper.png
|
76
|
+
- assets/touch-icon.png
|
77
|
+
homepage: https://github.com/heiswayi/the-plain
|
78
|
+
licenses:
|
79
|
+
- MIT
|
80
|
+
metadata:
|
81
|
+
plugin_type: theme
|
82
|
+
post_install_message:
|
83
|
+
rdoc_options: []
|
84
|
+
require_paths:
|
85
|
+
- lib
|
86
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
requirements: []
|
97
|
+
rubyforge_project:
|
98
|
+
rubygems_version: 2.7.6
|
99
|
+
signing_key:
|
100
|
+
specification_version: 4
|
101
|
+
summary: A minimalist, Courier based Jekyll theme
|
102
|
+
test_files: []
|