moving 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 477c810c978ac63b023bb64312a3452083a421a2e4c7c04a88a2a6ae52dc028b
4
+ data.tar.gz: ea0c5534abb890dd5484e56063cb121d3a4f5cef54a04f70e374147a53fd2beb
5
+ SHA512:
6
+ metadata.gz: 13bc2cb423e8c434f31a1a9cd1b5ee80226fbaa5364d508c9842fa79058937f25a853a568e9d8634c500fd431c2cc6235f2281bcf316ba9ce1f3511f071935da
7
+ data.tar.gz: 50913fb78a5edf55131f4a535d39b57772052608419f666ec06a6fea30e49354736962ab38e868584aa78d2dc08a42f6be4cbdf8a5b8966acb3c23e80ce9e07e
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 huangyz0918
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
13
+ all 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
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # moving
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "moving"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: moving
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install moving
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `moving.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,19 @@
1
+ <footer class="site-footer h-card">
2
+ <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
+ <div class="wrapper">
4
+ <div class="footer-col-wrapper">
5
+ <div class="footer-col one-half">
6
+ <ul class="contact-list">
7
+ <li class="p-name">
8
+ {%- if site.author -%}
9
+ {{ site.author | escape }}
10
+ {%- endif -%}
11
+ </li>
12
+ {%- if site.email -%}
13
+ <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
14
+ {%- endif -%}
15
+ </ul>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </footer>
@@ -0,0 +1,7 @@
1
+ <head>
2
+ <meta charset="utf-8" />
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
4
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
5
+ <link rel="stylesheet" href="{{ site.url }}/assets/css/main.css">
6
+ <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
7
+ </head>
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ {%- include head.html -%}
4
+ <body>
5
+ <main class="page-content" aria-label="Content">
6
+ <div class="wrapper">
7
+ {{ content }}
8
+ </div>
9
+ </main>
10
+ {%- include footer.html -%}
11
+ </body>
12
+ </html>
@@ -0,0 +1,44 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+ <div class="home-title">
7
+ <p class="home-heading">{{ site.title }}</p>
8
+ <p class="home-sub-heading">{{- site.description | escape -}}</p>
9
+ </div>
10
+
11
+ {%- if site.posts.size > 0 -%}
12
+ <ul class="post-list">
13
+ {% for post in site.posts %}
14
+ {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
15
+ {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
16
+
17
+ {% if forloop.first %}
18
+ <h2 id="{{ this_year }}-ref" class="post-year">{{this_year}}</h2>
19
+ <ul>
20
+ {% endif %}
21
+
22
+ <li>
23
+ {%- assign date_format = site.moving.date_format | default: "%b %-d, %Y" -%}
24
+ <span class="post-meta">
25
+ {{ post.date | date: date_format }}
26
+ </span>
27
+ <a class="post-link" href="{{ post.url | relative_url }}">
28
+ {{ post.title | escape }}
29
+ </a>
30
+ </li>
31
+
32
+ {% if forloop.last %}
33
+ </ul>
34
+ {% else %}
35
+ {% if this_year != next_year %}
36
+ </ul>
37
+ <h2 id="{{ next_year }}-ref" class="post-year">{{next_year}}</h2>
38
+ <ul>
39
+ {% endif %}
40
+ {% endif %}
41
+ {% endfor %}
42
+ </ul>
43
+ {%- endif -%}
44
+ </div>
@@ -0,0 +1,45 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article
6
+ class="post h-entry"
7
+ itemscope
8
+ itemtype="http://schema.org/BlogPosting"
9
+ >
10
+ <header class="post-header">
11
+ <div class="post-back">
12
+ <a href="{{ site.url | relative_url }}"> ← {{ site.moving.back_to }} </a>
13
+ </div>
14
+
15
+ <h1 class="post-title p-name" itemprop="name headline">
16
+ {{ page.title | escape }}
17
+ </h1>
18
+ <p class="post-meta">
19
+ <time
20
+ class="dt-published"
21
+ datetime="{{ page.date | date_to_xmlschema }}"
22
+ itemprop="datePublished"
23
+ >
24
+ {%- assign date_format = "%b %-d, %Y" -%}
25
+ {{ page.date | date: date_format }}
26
+ </time>
27
+ {%- if page.author -%} •
28
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person"
29
+ ><span class="p-author h-card" itemprop="name">{{
30
+ page.author | escape
31
+ }}</span></span
32
+ >
33
+ {%- endif -%}
34
+ </p>
35
+ </header>
36
+
37
+ <div class="post-content e-content" itemprop="articleBody">
38
+ {{ content }}
39
+ </div>
40
+
41
+ {%- if site.disqus.shortname -%} {%- include disqus_comments.html -%} {%-
42
+ endif -%}
43
+
44
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
45
+ </article>
@@ -0,0 +1,256 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body,
5
+ h1,
6
+ h2,
7
+ h3,
8
+ h4,
9
+ h5,
10
+ h6,
11
+ p,
12
+ blockquote,
13
+ pre,
14
+ hr,
15
+ dl,
16
+ dd,
17
+ ol,
18
+ ul,
19
+ figure {
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+
24
+ /**
25
+ * Basic styling
26
+ */
27
+ body {
28
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height}
29
+ $base-font-family;
30
+ color: $text-color;
31
+ background-color: $background-color;
32
+ -webkit-text-size-adjust: 100%;
33
+ -webkit-font-feature-settings: "kern" 1;
34
+ -moz-font-feature-settings: "kern" 1;
35
+ -o-font-feature-settings: "kern" 1;
36
+ font-feature-settings: "kern" 1;
37
+ font-kerning: normal;
38
+ display: flex;
39
+ min-height: 100vh;
40
+ flex-direction: column;
41
+ }
42
+
43
+ /**
44
+ * Set `margin-bottom` to maintain vertical rhythm
45
+ */
46
+ h1,
47
+ h2,
48
+ h3,
49
+ h4,
50
+ h5,
51
+ h6,
52
+ p,
53
+ blockquote,
54
+ pre,
55
+ ul,
56
+ ol,
57
+ dl,
58
+ figure,
59
+ %vertical-rhythm {
60
+ margin-bottom: $spacing-unit / 2;
61
+ }
62
+
63
+ /**
64
+ * `main` element
65
+ */
66
+ main {
67
+ display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
68
+ }
69
+
70
+ /**
71
+ * Images
72
+ */
73
+ img {
74
+ max-width: 100%;
75
+ vertical-align: middle;
76
+ }
77
+
78
+ /**
79
+ * Figures
80
+ */
81
+ figure > img {
82
+ display: block;
83
+ }
84
+
85
+ figcaption {
86
+ font-size: $small-font-size;
87
+ }
88
+
89
+ /**
90
+ * Lists
91
+ */
92
+ ul,
93
+ ol {
94
+ margin-left: $spacing-unit;
95
+ }
96
+
97
+ li {
98
+ > ul,
99
+ > ol {
100
+ margin-bottom: 0;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Headings
106
+ */
107
+ h1,
108
+ h2,
109
+ h3,
110
+ h4,
111
+ h5,
112
+ h6 {
113
+ font-weight: $base-font-weight;
114
+ }
115
+
116
+ /**
117
+ * Links
118
+ */
119
+ a {
120
+ color: $text-color;
121
+ text-decoration: none;
122
+
123
+ &:hover {
124
+ color: $text-color;
125
+ text-decoration: underline;
126
+ }
127
+
128
+ .social-media-list &:hover {
129
+ text-decoration: none;
130
+
131
+ .username {
132
+ text-decoration: underline;
133
+ }
134
+ }
135
+ }
136
+
137
+ /**
138
+ * Blockquotes
139
+ */
140
+ blockquote {
141
+ color: $grey-color;
142
+ border-left: 4px solid $grey-color-light;
143
+ padding-left: $spacing-unit / 2;
144
+ @include relative-font-size(1.125);
145
+ letter-spacing: -1px;
146
+ font-style: italic;
147
+
148
+ > :last-child {
149
+ margin-bottom: 0;
150
+ }
151
+ }
152
+
153
+ /**
154
+ * Code formatting
155
+ */
156
+ pre,
157
+ code {
158
+ @include relative-font-size(0.9375);
159
+ border: 1px solid $grey-color-light;
160
+ border-radius: 3px;
161
+ background-color: lighten($grey-color-light, 5%);
162
+ }
163
+
164
+ code {
165
+ padding: 1px 5px;
166
+ }
167
+
168
+ pre {
169
+ padding: 8px 12px;
170
+ overflow-x: auto;
171
+
172
+ > code {
173
+ border: 0;
174
+ padding-right: 0;
175
+ padding-left: 0;
176
+ }
177
+ }
178
+
179
+ /**
180
+ * Wrapper
181
+ */
182
+ .wrapper {
183
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
184
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
185
+ margin-right: auto;
186
+ margin-left: auto;
187
+ padding-right: $spacing-unit / 2;
188
+ padding-left: $spacing-unit / 2;
189
+ @extend %clearfix;
190
+
191
+ @media screen and (min-width: $on-large) {
192
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
193
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
194
+ padding-right: $spacing-unit;
195
+ padding-left: $spacing-unit;
196
+ }
197
+ }
198
+
199
+ /**
200
+ * Clearfix
201
+ */
202
+ %clearfix:after {
203
+ content: "";
204
+ display: table;
205
+ clear: both;
206
+ }
207
+
208
+ /**
209
+ * Icons
210
+ */
211
+
212
+ .orange {
213
+ color: $orange-color;
214
+ }
215
+
216
+ .grey {
217
+ color: $grey-color;
218
+ }
219
+
220
+ .svg-icon {
221
+ width: 16px;
222
+ height: 16px;
223
+ display: inline-block;
224
+ fill: currentColor;
225
+ padding: 5px 3px 2px 5px;
226
+ vertical-align: text-bottom;
227
+ }
228
+
229
+ /**
230
+ * Tables
231
+ */
232
+ table {
233
+ margin-bottom: $spacing-unit;
234
+ width: 100%;
235
+ text-align: $table-text-align;
236
+ color: lighten($text-color, 18%);
237
+ border-collapse: collapse;
238
+ border: 1px solid $grey-color-light;
239
+ tr {
240
+ &:nth-child(even) {
241
+ background-color: lighten($grey-color-light, 6%);
242
+ }
243
+ }
244
+ th,
245
+ td {
246
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
247
+ }
248
+ th {
249
+ background-color: lighten($grey-color-light, 3%);
250
+ border: 1px solid darken($grey-color-light, 4%);
251
+ border-bottom-color: darken($grey-color-light, 12%);
252
+ }
253
+ td {
254
+ border: 1px solid $grey-color-light;
255
+ }
256
+ }
@@ -0,0 +1,262 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $grey-color-dark;
6
+ border-bottom: 1px solid $grey-color-light;
7
+ min-height: $spacing-unit * 1.865;
8
+ line-height: $base-line-height * $base-font-size * 2.25;
9
+
10
+ // Positioning context for the mobile navigation icon
11
+ position: relative;
12
+ }
13
+
14
+ .site-nav {
15
+ position: absolute;
16
+ top: 9px;
17
+ right: $spacing-unit / 2;
18
+ background-color: $background-color;
19
+ border: 1px solid $grey-color-light;
20
+ border-radius: 5px;
21
+ text-align: right;
22
+
23
+ .nav-trigger {
24
+ display: none;
25
+ }
26
+
27
+ .menu-icon {
28
+ float: right;
29
+ width: 36px;
30
+ height: 26px;
31
+ line-height: 0;
32
+ padding-top: 10px;
33
+ text-align: center;
34
+
35
+ > svg path {
36
+ fill: $grey-color-dark;
37
+ }
38
+ }
39
+
40
+ label[for="nav-trigger"] {
41
+ display: block;
42
+ float: right;
43
+ width: 36px;
44
+ height: 36px;
45
+ z-index: 2;
46
+ cursor: pointer;
47
+ }
48
+
49
+ input ~ .trigger {
50
+ clear: both;
51
+ display: none;
52
+ }
53
+
54
+ input:checked ~ .trigger {
55
+ display: block;
56
+ padding-bottom: 5px;
57
+ }
58
+
59
+ .page-link {
60
+ color: $text-color;
61
+ line-height: $base-line-height;
62
+ display: block;
63
+ padding: 5px 10px;
64
+
65
+ // Gaps between nav items, but not on the last one
66
+ &:not(:last-child) {
67
+ margin-right: 0;
68
+ }
69
+ margin-left: 20px;
70
+ }
71
+
72
+ @media screen and (min-width: $on-medium) {
73
+ position: static;
74
+ float: right;
75
+ border: none;
76
+ background-color: inherit;
77
+
78
+ label[for="nav-trigger"] {
79
+ display: none;
80
+ }
81
+
82
+ .menu-icon {
83
+ display: none;
84
+ }
85
+
86
+ input ~ .trigger {
87
+ display: block;
88
+ }
89
+
90
+ .page-link {
91
+ display: inline;
92
+ padding: 0;
93
+
94
+ &:not(:last-child) {
95
+ margin-right: 20px;
96
+ }
97
+ margin-left: auto;
98
+ }
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Site footer
104
+ */
105
+ .site-footer {
106
+ padding: $spacing-unit / 2 0;
107
+ }
108
+
109
+ .footer-heading {
110
+ @include relative-font-size(1.125);
111
+ margin-bottom: $spacing-unit / 2;
112
+ }
113
+
114
+ .contact-list,
115
+ .social-media-list {
116
+ list-style: none;
117
+ margin-left: 0;
118
+ }
119
+
120
+ /**
121
+ * Page content
122
+ */
123
+ .page-content {
124
+ padding: $spacing-unit 0;
125
+ flex: 1 0 auto;
126
+ }
127
+
128
+ .page-heading {
129
+ @include relative-font-size(2);
130
+ }
131
+
132
+ .home-title {
133
+ margin-top: -10px;
134
+ }
135
+
136
+ .home-heading {
137
+ font-weight: 1000;
138
+ color: lighten($text-color, 15%);
139
+ @include relative-font-size(2.2);
140
+ }
141
+
142
+ .home-sub-heading {
143
+ margin-top: -0.6rem;
144
+ color: lighten($text-color, 25%);
145
+ @include relative-font-size(1);
146
+ }
147
+
148
+ .post-list {
149
+ margin-top: 2.5rem;
150
+ margin-left: 0;
151
+ list-style: none;
152
+
153
+ > li {
154
+ margin-bottom: $spacing-unit / 3;
155
+ }
156
+ }
157
+
158
+ .post-year {
159
+ margin-top: 1.0rem;
160
+ font-weight: 700;
161
+ color: lighten($text-color, 15%);
162
+ @include relative-font-size(1.5);
163
+ }
164
+
165
+ .post-meta {
166
+ display: inline-block;
167
+ @include relative-font-size(1);
168
+ color: lighten($text-color, 25%);
169
+ }
170
+
171
+ .post-link {
172
+ color: $text-color;
173
+ margin-left: 10%;
174
+ display: inline-block;
175
+ @include relative-font-size(1.2);
176
+ }
177
+
178
+ .post-back {
179
+ margin-bottom: 20px;
180
+ color: lighten($text-color, 25%);
181
+ }
182
+
183
+ /**
184
+ * Posts
185
+ */
186
+ .post-header {
187
+ margin-bottom: $spacing-unit;
188
+ }
189
+
190
+ .post-title,
191
+ .post-content h1 {
192
+ @include relative-font-size(2.2);
193
+ letter-spacing: -1px;
194
+ line-height: 1;
195
+ font-weight: 1000;
196
+
197
+ @media screen and (min-width: $on-large) {
198
+ @include relative-font-size(2.2);
199
+ }
200
+ }
201
+
202
+ .post-content {
203
+ margin-top: 3.2rem;
204
+ margin-bottom: $spacing-unit;
205
+
206
+ h2 {
207
+ @include relative-font-size(1.75);
208
+
209
+ @media screen and (min-width: $on-large) {
210
+ @include relative-font-size(2);
211
+ }
212
+ }
213
+
214
+ h3 {
215
+ @include relative-font-size(1.375);
216
+
217
+ @media screen and (min-width: $on-large) {
218
+ @include relative-font-size(1.625);
219
+ }
220
+ }
221
+
222
+ h4 {
223
+ @include relative-font-size(1.125);
224
+
225
+ @media screen and (min-width: $on-large) {
226
+ @include relative-font-size(1.25);
227
+ }
228
+ }
229
+ }
230
+
231
+ .social-media-list {
232
+ display: table;
233
+ margin: 0 auto;
234
+ li {
235
+ float: left;
236
+ margin: 0 5px;
237
+ &:first-of-type {
238
+ margin-left: 0;
239
+ }
240
+ &:last-of-type {
241
+ margin-right: 0;
242
+ }
243
+ a {
244
+ display: block;
245
+ padding: $spacing-unit / 4;
246
+ border: 1px solid $grey-color-light;
247
+ }
248
+ &:hover .svg-icon {
249
+ fill: currentColor;
250
+ }
251
+ }
252
+ }
253
+
254
+ /**
255
+ * Grid helpers
256
+ */
257
+ @media screen and (min-width: $on-large) {
258
+ .one-half {
259
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
260
+ width: calc(50% - (#{$spacing-unit} / 2));
261
+ }
262
+ }
@@ -0,0 +1,204 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ background: #fff;
6
+ @extend %vertical-rhythm !optional;
7
+
8
+ .highlighter-rouge & {
9
+ background: lighten($grey-color-light, 5%);
10
+ }
11
+
12
+ .c {
13
+ color: #998;
14
+ font-style: italic;
15
+ } // Comment
16
+ .err {
17
+ color: #a61717;
18
+ background-color: #e3d2d2;
19
+ } // Error
20
+ .k {
21
+ font-weight: bold;
22
+ } // Keyword
23
+ .o {
24
+ font-weight: bold;
25
+ } // Operator
26
+ .cm {
27
+ color: #998;
28
+ font-style: italic;
29
+ } // Comment.Multiline
30
+ .cp {
31
+ color: #999;
32
+ font-weight: bold;
33
+ } // Comment.Preproc
34
+ .c1 {
35
+ color: #998;
36
+ font-style: italic;
37
+ } // Comment.Single
38
+ .cs {
39
+ color: #999;
40
+ font-weight: bold;
41
+ font-style: italic;
42
+ } // Comment.Special
43
+ .gd {
44
+ color: #000;
45
+ background-color: #fdd;
46
+ } // Generic.Deleted
47
+ .gd .x {
48
+ color: #000;
49
+ background-color: #faa;
50
+ } // Generic.Deleted.Specific
51
+ .ge {
52
+ font-style: italic;
53
+ } // Generic.Emph
54
+ .gr {
55
+ color: #a00;
56
+ } // Generic.Error
57
+ .gh {
58
+ color: #999;
59
+ } // Generic.Heading
60
+ .gi {
61
+ color: #000;
62
+ background-color: #dfd;
63
+ } // Generic.Inserted
64
+ .gi .x {
65
+ color: #000;
66
+ background-color: #afa;
67
+ } // Generic.Inserted.Specific
68
+ .go {
69
+ color: #888;
70
+ } // Generic.Output
71
+ .gp {
72
+ color: #555;
73
+ } // Generic.Prompt
74
+ .gs {
75
+ font-weight: bold;
76
+ } // Generic.Strong
77
+ .gu {
78
+ color: #aaa;
79
+ } // Generic.Subheading
80
+ .gt {
81
+ color: #a00;
82
+ } // Generic.Traceback
83
+ .kc {
84
+ font-weight: bold;
85
+ } // Keyword.Constant
86
+ .kd {
87
+ font-weight: bold;
88
+ } // Keyword.Declaration
89
+ .kp {
90
+ font-weight: bold;
91
+ } // Keyword.Pseudo
92
+ .kr {
93
+ font-weight: bold;
94
+ } // Keyword.Reserved
95
+ .kt {
96
+ color: #458;
97
+ font-weight: bold;
98
+ } // Keyword.Type
99
+ .m {
100
+ color: #099;
101
+ } // Literal.Number
102
+ .s {
103
+ color: #d14;
104
+ } // Literal.String
105
+ .na {
106
+ color: #008080;
107
+ } // Name.Attribute
108
+ .nb {
109
+ color: #0086b3;
110
+ } // Name.Builtin
111
+ .nc {
112
+ color: #458;
113
+ font-weight: bold;
114
+ } // Name.Class
115
+ .no {
116
+ color: #008080;
117
+ } // Name.Constant
118
+ .ni {
119
+ color: #800080;
120
+ } // Name.Entity
121
+ .ne {
122
+ color: #900;
123
+ font-weight: bold;
124
+ } // Name.Exception
125
+ .nf {
126
+ color: #900;
127
+ font-weight: bold;
128
+ } // Name.Function
129
+ .nn {
130
+ color: #555;
131
+ } // Name.Namespace
132
+ .nt {
133
+ color: #000080;
134
+ } // Name.Tag
135
+ .nv {
136
+ color: #008080;
137
+ } // Name.Variable
138
+ .ow {
139
+ font-weight: bold;
140
+ } // Operator.Word
141
+ .w {
142
+ color: #bbb;
143
+ } // Text.Whitespace
144
+ .mf {
145
+ color: #099;
146
+ } // Literal.Number.Float
147
+ .mh {
148
+ color: #099;
149
+ } // Literal.Number.Hex
150
+ .mi {
151
+ color: #099;
152
+ } // Literal.Number.Integer
153
+ .mo {
154
+ color: #099;
155
+ } // Literal.Number.Oct
156
+ .sb {
157
+ color: #d14;
158
+ } // Literal.String.Backtick
159
+ .sc {
160
+ color: #d14;
161
+ } // Literal.String.Char
162
+ .sd {
163
+ color: #d14;
164
+ } // Literal.String.Doc
165
+ .s2 {
166
+ color: #d14;
167
+ } // Literal.String.Double
168
+ .se {
169
+ color: #d14;
170
+ } // Literal.String.Escape
171
+ .sh {
172
+ color: #d14;
173
+ } // Literal.String.Heredoc
174
+ .si {
175
+ color: #d14;
176
+ } // Literal.String.Interpol
177
+ .sx {
178
+ color: #d14;
179
+ } // Literal.String.Other
180
+ .sr {
181
+ color: #009926;
182
+ } // Literal.String.Regex
183
+ .s1 {
184
+ color: #d14;
185
+ } // Literal.String.Single
186
+ .ss {
187
+ color: #990073;
188
+ } // Literal.String.Symbol
189
+ .bp {
190
+ color: #999;
191
+ } // Name.Builtin.Pseudo
192
+ .vc {
193
+ color: #008080;
194
+ } // Name.Variable.Class
195
+ .vg {
196
+ color: #008080;
197
+ } // Name.Variable.Global
198
+ .vi {
199
+ color: #008080;
200
+ } // Name.Variable.Instance
201
+ .il {
202
+ color: #099;
203
+ } // Literal.Number.Integer.Long
204
+ }
data/_sass/moving.scss ADDED
@@ -0,0 +1,52 @@
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for each variable.
4
+
5
+ $base-font-family: 'Bitter', serif !default;
6
+ $base-font-size: 18px !default;
7
+ $base-font-weight: 400 !default;
8
+ $small-font-size: $base-font-size * 0.9 !default;
9
+ $base-line-height: 1.5 !default;
10
+
11
+ $spacing-unit: 30px !default;
12
+
13
+ $text-color: #111 !default;
14
+ $background-color: #fdfdfd !default;
15
+ $brand-color: #2a7ae2 !default;
16
+
17
+ $grey-color: #828282 !default;
18
+ $grey-color-light: lighten($grey-color, 40%) !default;
19
+ $grey-color-dark: darken($grey-color, 25%) !default;
20
+ $orange-color: #f66a0a !default;
21
+ $table-text-align: left !default;
22
+
23
+ // Width of the content area
24
+ $content-width: 800px !default;
25
+
26
+ $on-palm: 600px !default;
27
+ $on-laptop: 800px !default;
28
+
29
+ $on-medium: $on-palm !default;
30
+ $on-large: $on-laptop !default;
31
+
32
+ // Use media queries like this:
33
+ // @include media-query($on-palm) {
34
+ // .wrapper {
35
+ // padding-right: $spacing-unit / 2;
36
+ // padding-left: $spacing-unit / 2;
37
+ // }
38
+ // }
39
+ // Notice the following mixin uses max-width, in a deprecated, desktop-first
40
+ // approach, whereas media queries used elsewhere now use min-width.
41
+ @mixin media-query($device) {
42
+ @media screen and (max-width: $device) {
43
+ @content;
44
+ }
45
+ }
46
+
47
+ @mixin relative-font-size($ratio) {
48
+ font-size: $base-font-size * $ratio;
49
+ }
50
+
51
+ // Import partials.
52
+ @import "moving/base", "moving/layout", "moving/syntax-highlighting";
metadata ADDED
@@ -0,0 +1,124 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: moving
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - huangyz0918
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-25 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: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-feed
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-seo-tag
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.16'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.16'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '12.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '12.0'
83
+ description:
84
+ email:
85
+ - huangyz0918@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - LICENSE.txt
91
+ - README.md
92
+ - _includes/footer.html
93
+ - _includes/head.html
94
+ - _layouts/default.html
95
+ - _layouts/home.html
96
+ - _layouts/post.html
97
+ - _sass/moving.scss
98
+ - _sass/moving/_base.scss
99
+ - _sass/moving/_layout.scss
100
+ - _sass/moving/_syntax-highlighting.scss
101
+ homepage: https://github.com/huangyz0918/moving
102
+ licenses:
103
+ - MIT
104
+ metadata: {}
105
+ post_install_message:
106
+ rdoc_options: []
107
+ require_paths:
108
+ - lib
109
+ required_ruby_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ requirements: []
120
+ rubygems_version: 3.0.6
121
+ signing_key:
122
+ specification_version: 4
123
+ summary: A clean and minimalist theme for Jekyll
124
+ test_files: []