浏览代码

Adding the hyde theme

spf13 11 年前
当前提交
da66ac1983
共有 12 个文件被更改,包括 789 次插入0 次删除
  1. 9
    0
      LICENSE.md
  2. 100
    0
      README.md
  3. 15
    0
      layouts/_default/list.html
  4. 15
    0
      layouts/_default/single.html
  5. 23
    0
      layouts/chrome/head.html
  6. 19
    0
      layouts/chrome/sidebar.html
  7. 26
    0
      layouts/index.html
  8. 499
    0
      static/css/hyde.css
  9. 66
    0
      static/css/syntax.css
  10. 二进制
      static/favicon.png
  11. 二进制
      static/touch-icon-144-precomposed.png
  12. 17
    0
      theme.toml

+ 9
- 0
LICENSE.md 查看文件

1
+# Released under MIT License
2
+
3
+Copyright (c) 2013 Mark Otto.
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 100
- 0
README.md 查看文件

1
+# Hyde
2
+
3
+Hyde is a brazen two-column [hugo](http://hugo.spf13.com) theme based on the [Jekyll](http://jekyllrb.com) theme of the same name.
4
+It pairs a prominent sidebar with uncomplicated content.
5
+
6
+![Hyde screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png)
7
+
8
+
9
+## Contents
10
+
11
+- [Usage](#usage)
12
+- [Options](#options)
13
+  - [Sidebar menu](#sidebar-menu)
14
+  - [Sticky sidebar content](#sticky-sidebar-content)
15
+  - [Themes](#themes)
16
+  - [Reverse layout](#reverse-layout)
17
+- [Development](#development)
18
+- [Author](#author)
19
+- [License](#license)
20
+
21
+
22
+## Options
23
+
24
+Hyde includes some customizable options, typically applied via classes on the `<body>` element.
25
+
26
+
27
+### Sidebar menu
28
+
29
+Create a list of nav links in the sidebar by assigning "menu=main" in the front matter.
30
+
31
+
32
+### Sticky sidebar content
33
+
34
+By default Hyde ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disabled this by removing the `.sidebar-sticky` class from the sidebar's `.container`. Sidebar content will then normally flow from top to bottom.
35
+
36
+```html
37
+<!-- Default sidebar -->
38
+<div class="sidebar">
39
+  <div class="container sidebar-sticky">
40
+    ...
41
+  </div>
42
+</div>
43
+
44
+<!-- Modified sidebar -->
45
+<div class="sidebar">
46
+  <div class="container">
47
+    ...
48
+  </div>
49
+</div>
50
+```
51
+
52
+
53
+### Themes
54
+
55
+Hyde ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links).
56
+
57
+![Hyde in red](https://f.cloud.github.com/assets/98681/1831229/42b0b354-7384-11e3-8462-31b8df193fe5.png)
58
+
59
+There are eight themes available at this time.
60
+
61
+![Hyde theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png)
62
+
63
+To use a theme, add anyone of the available theme classes to the `<body>` element in the `default.html` layout, like so:
64
+
65
+```html
66
+<body class="theme-base-08">
67
+  ...
68
+</body>
69
+```
70
+
71
+To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/hyde/blob/master/public/css/hyde.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors.
72
+
73
+### Reverse layout
74
+
75
+![Hyde with reverse layout](https://f.cloud.github.com/assets/98681/1831230/42b0d3ac-7384-11e3-8d54-2065afd03f9e.png)
76
+
77
+Hyde's page orientation can be reversed with a single class.
78
+
79
+```html
80
+<body class="layout-reverse">
81
+  ...
82
+</body>
83
+```
84
+
85
+## Author
86
+
87
+**Mark Otto**
88
+- <https://github.com/mdo>
89
+- <https://twitter.com/mdo>
90
+
91
+## Ported By
92
+**Steve Francia**
93
+- <https://github.com/spf13>
94
+- <https://twitter.com/spf13>
95
+
96
+## License
97
+
98
+Open sourced under the [MIT license](LICENSE.md).
99
+
100
+<3

+ 15
- 0
layouts/_default/list.html 查看文件

1
+{{ template "theme/chrome/head.html" . }}
2
+<body>
3
+
4
+{{ template "theme/chrome/sidebar.html" . }}
5
+
6
+    <div class="content container">
7
+  <ul class="posts">
8
+      {{ range .Data.Pages }}
9
+      <li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></time></span></span></li>
10
+      {{ end }}
11
+  </ul>
12
+    </div>
13
+
14
+  </body>
15
+</html>

+ 15
- 0
layouts/_default/single.html 查看文件

1
+{{ template "theme/chrome/head.html" . }}
2
+<body>
3
+
4
+{{ template "theme/chrome/sidebar.html" . }}
5
+
6
+    <div class="content container">
7
+<div class="post">
8
+  <h1>{{ .Title }}</h1>
9
+  <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
10
+      {{ .Content }}
11
+</div>
12
+</div>
13
+
14
+  </body>
15
+</html>

+ 23
- 0
layouts/chrome/head.html 查看文件

1
+<!DOCTYPE html>
2
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
3
+<head>
4
+  <link href="http://gmpg.org/xfn/11" rel="profile">
5
+  <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+
7
+  <!-- Enable responsiveness on mobile devices-->
8
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
9
+
10
+  <title> {{ .Title }} &middot; {{ .Site.Title }} </title>
11
+
12
+  <!-- CSS -->
13
+  <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/syntax.css">
14
+  <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/hyde.css">
15
+  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
16
+
17
+  <!-- Icons -->
18
+  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
19
+  <link rel="shortcut icon" href="/favicon.ico">
20
+
21
+  <!-- RSS -->
22
+  <link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
23
+</head>

+ 19
- 0
layouts/chrome/sidebar.html 查看文件

1
+    <header class="masthead">
2
+      <div class="masthead-inner">
3
+      <h1>{{ .Site.Title }}</h1>
4
+      <p class="lead">
5
+      {{ with .Site.Params.Description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
6
+      </p>
7
+
8
+        <div class="colophon">
9
+          <ul class="colophon-links">
10
+              <li><a href="/">Home</a> </li>
11
+              {{ range .Site.Menus.main }}
12
+                    <li><a href="{{.Url}}"> {{ .Name }} </a></li>
13
+              {{end}}
14
+          </ul>
15
+
16
+          <p>{{ with .Site.Params.Copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
17
+        </div>
18
+      </div>
19
+    </header>

+ 26
- 0
layouts/index.html 查看文件

1
+{{ template "theme/chrome/head.html" . }}
2
+<body>
3
+
4
+{{ template "theme/chrome/sidebar.html" . }}
5
+
6
+    <div class="content container">
7
+<div class="posts">
8
+
9
+      {{ range .Data.Pages }}
10
+  <div class="post">
11
+    <h1 class="post-title">
12
+      <a href="{{ .Permalink }}">
13
+        {{ .Title }}
14
+      </a>
15
+    </h1>
16
+
17
+    <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
18
+
19
+    {{ .Content }}
20
+  </div>
21
+  {{ end }}
22
+</div>
23
+
24
+
25
+  </body>
26
+</html>

+ 499
- 0
static/css/hyde.css 查看文件

1
+/*
2
+ __                  __
3
+/\ \                /\ \
4
+\ \ \___   __  __   \_\ \     __
5
+ \ \  _ `\/\ \/\ \  /'_` \  /'__`\
6
+  \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
7
+   \ \_\ \_\/`____ \ \___,_\ \____\
8
+    \/_/\/_/`/___/> \/__,_ /\/____/
9
+               /\___/
10
+               \/__/
11
+
12
+Hyde is an elegant, open source, mobile first theme for Jekyll.  It includes
13
+lightweight styles and placeholder content to get you up and running with a
14
+simple blog in no time.
15
+
16
+Designed, built, and released under MIT license by @mdo.
17
+
18
+Learn more at http://andhyde.com or https://github.com/mdo/hyde.
19
+
20
+*/
21
+
22
+
23
+/*
24
+ * Contents
25
+ *
26
+ * Body resets
27
+ * Custom type
28
+ * Links
29
+ * Masthead
30
+ * Container
31
+ * Posts
32
+ * Error page
33
+ * Pagination
34
+ * Themes
35
+ */
36
+
37
+
38
+/*
39
+ * Body resets
40
+ *
41
+ * Update the foundational and global aspects of the page.
42
+ */
43
+
44
+* {
45
+  -webkit-box-sizing: border-box;
46
+     -moz-box-sizing: border-box;
47
+          box-sizing: border-box;
48
+}
49
+
50
+html,
51
+body {
52
+  margin: 0;
53
+  padding: 0;
54
+}
55
+
56
+body {
57
+  font-family: "Open Sans", Helvetica, Arial, sans-serif;
58
+  font-size: 16px;
59
+  line-height: 1.5;
60
+  color: #454441;
61
+  background-color: #fff;
62
+}
63
+@media (min-width: 990px) {
64
+  body {
65
+    font-size: 18px;
66
+  }
67
+}
68
+
69
+h1, h2, h3, h4, h5, h6 {
70
+  margin: 0 0 10px;
71
+  font-weight: 600;
72
+  line-height: 1.25;
73
+  text-rendering: optimizeLegibility;
74
+}
75
+h1 {
76
+  font-size: 40px;
77
+}
78
+h2 {
79
+  margin-top: 20px;
80
+  font-size: 32px;
81
+}
82
+h3 {
83
+  margin-top: 24px;
84
+  font-size: 24px;
85
+}
86
+h4, h5, h6 {
87
+  margin-top: 16px;
88
+  font-size: 16px;
89
+}
90
+
91
+p {
92
+  margin: 0 0 15px;
93
+}
94
+
95
+ul, ol {
96
+  margin-bottom: 15px;
97
+}
98
+
99
+hr {
100
+  position: relative;
101
+  margin: 40px 0;
102
+  border: 0;
103
+  border-top: 1px solid #eee;
104
+  border-bottom: 1px solid #fff;
105
+}
106
+
107
+strong {
108
+  color: #222;
109
+}
110
+
111
+abbr {
112
+  background-color: #eee;
113
+  display: inline-block;
114
+  padding: 3px;
115
+  font-size: 13px;
116
+  font-weight: bold;
117
+  color: #555;
118
+  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
119
+  text-transform: uppercase;
120
+  border-radius: 3px;
121
+}
122
+
123
+code,
124
+pre {
125
+  font-family: Menlo, Monaco, "Courier New", monospace;
126
+}
127
+code {
128
+  padding: .25em .5em;
129
+  font-size: 85%;
130
+  color: #bf616a;
131
+  background-color: #f9f9f9;
132
+  border-radius: 3px;
133
+}
134
+pre {
135
+  display: block;
136
+  margin: 0 0 14px;
137
+  padding: 15px 20px;
138
+  font-size: 16px;
139
+  line-height: 1.4;
140
+  white-space: pre;
141
+  white-space: pre-wrap;
142
+  word-break: break-all;
143
+  word-wrap: break-word;
144
+  background-color: #f9f9f9;
145
+}
146
+pre code {
147
+  padding: 0;
148
+  font-size: 100%;
149
+  color: inherit;
150
+  background-color: transparent;
151
+}
152
+.highlight {
153
+  margin-bottom: 15px;
154
+  border-radius: 4px;
155
+}
156
+.highlight pre {
157
+  margin-bottom: 0;
158
+}
159
+
160
+/* Quotes */
161
+blockquote {
162
+  padding: 5px 30px 5px 25px;
163
+  margin: 15px 0;
164
+  border-left: 5px solid #eee;
165
+}
166
+blockquote p {
167
+  margin-bottom: 0;
168
+  color: #7a7a7a;
169
+  text-indent: -0.4em;
170
+}
171
+blockquote p:before {
172
+  content: '\201C';
173
+}
174
+blockquote p:after {
175
+  content: '\201D';
176
+}
177
+
178
+img {
179
+  display: block;
180
+  margin: 0 0 15px;
181
+  border-radius: 5px;
182
+}
183
+
184
+
185
+/*
186
+ * Custom type
187
+ *
188
+ * Extend paragraphs with `.lead` for larger introductory text.
189
+ */
190
+
191
+.lead {
192
+  font-size: 20px;
193
+  font-weight: 300;
194
+}
195
+@media (min-width: 990px) {
196
+  .lead {
197
+    font-size: 24px;
198
+  }
199
+}
200
+
201
+
202
+/*
203
+ * Links
204
+ *
205
+ * No `:visited` state is required by default (browsers will use `a`). `:focus`
206
+ * is linked to `:hover` for basic accessibility.
207
+ */
208
+
209
+a {
210
+  font-weight: 600;
211
+  color: #222;
212
+  text-decoration: none;
213
+}
214
+a:hover,
215
+a:focus {
216
+  text-decoration: underline;
217
+}
218
+
219
+
220
+/*
221
+ * Masthead
222
+ *
223
+ * Sidebar banner for housing site name, intro, and colophon (footer).
224
+ */
225
+
226
+/* Sidebar masthead */
227
+.masthead {
228
+  color: #fff;
229
+  background-color: #2a2a2a;
230
+}
231
+.masthead-inner {
232
+  padding: 20px;
233
+}
234
+
235
+/* Masthead content */
236
+.masthead h1 {
237
+  margin-top: 0;
238
+  font-family: "Abril Fatface";
239
+}
240
+.masthead .lead {
241
+  margin-bottom: 0;
242
+}
243
+.masthead a {
244
+  color: #fff;
245
+}
246
+
247
+/* Footer area of masthead */
248
+.colophon {
249
+  margin-top: 20px;
250
+  color: rgba(255,255,255,.5);
251
+}
252
+.colophon-links {
253
+  padding-left: 0;
254
+  list-style: none;
255
+}
256
+.colophon-links li {
257
+  color: inherit;
258
+}
259
+
260
+/* Responsive masthead */
261
+@media (min-width: 768px) {
262
+  .masthead-inner {
263
+    padding: 40px;
264
+  }
265
+}
266
+@media (min-width: 990px) {
267
+  /* Fix the masthead to the side for impact and awesomeness */
268
+  .masthead {
269
+    position: fixed;
270
+    top: 0;
271
+    left: 0;
272
+    bottom: 0;
273
+    width: 25%;
274
+    margin-bottom: 0;
275
+  }
276
+  .masthead-inner {
277
+    position: absolute;
278
+    bottom: 0;
279
+    right: 0;
280
+    left: 0;
281
+  }
282
+  .masthead h1 {
283
+    font-size: 64px;
284
+  }
285
+  .colophon {
286
+    margin-top: 40px;
287
+  }
288
+}
289
+
290
+
291
+/* Container
292
+ *
293
+ * Align the contents of the site above the proper threshold with some margin-fu
294
+ * with a 25%-wide `.masthead`.
295
+ */
296
+
297
+.content {
298
+  padding: 40px 20px;
299
+}
300
+
301
+/* Center container in available real estate */
302
+@media (min-width: 990px) {
303
+  .content {
304
+    padding: 60px 0;
305
+  }
306
+  .container {
307
+    width: 55%;
308
+    margin-left: 35%;
309
+    margin-right: 10%;
310
+  }
311
+}
312
+
313
+
314
+/*
315
+ * Posts
316
+ *
317
+ * Each post is wrapped in `.post`. Used on default and post layouts.
318
+ */
319
+
320
+/* Single post */
321
+.post {
322
+  margin-bottom: 40px;
323
+}
324
+@media (min-width: 990px) {
325
+  .post {
326
+    margin-bottom: 60px;
327
+  }
328
+}
329
+
330
+/* Meta data line below post title */
331
+.post-date {
332
+  display: block;
333
+  margin: -10px 0 10px;
334
+  color: #9a9a9a;
335
+}
336
+
337
+/* Related posts */
338
+.related {
339
+  padding-top: 20px;
340
+  padding-bottom: 40px;
341
+  border-top: 1px solid #eee;
342
+}
343
+.related-posts {
344
+  padding-left: 0;
345
+  list-style: none;
346
+}
347
+.related-posts h3 {
348
+  margin-top: 0;
349
+}
350
+.related-posts li small {
351
+  font-size: 75%;
352
+  color: #999;
353
+}
354
+.related-posts li a:hover {
355
+  color: #000;
356
+  text-decoration: none;
357
+}
358
+.related-posts li a:hover small {
359
+  color: inherit;
360
+}
361
+
362
+
363
+/*
364
+ * Pagination
365
+ *
366
+ * Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
367
+ * there are no more previous or next posts to show.
368
+ */
369
+
370
+.pagination {
371
+  overflow: hidden; /* clearfix */
372
+  margin-top: 40px;
373
+  font-weight: bold;
374
+  color: #ccc;
375
+  text-align: center;
376
+  border-top: 1px solid #eee;
377
+}
378
+/* Pagination should float when space is plentiful */
379
+@media (min-width: 990px) {
380
+  .pagination {
381
+    margin-bottom: 60px;
382
+    border: 1px solid #eee;
383
+  }
384
+}
385
+
386
+.pagination a,
387
+.pagination span {
388
+  float: left;
389
+  width: 50%;
390
+  padding: 20px;
391
+}
392
+.pagination a:first-child,
393
+.pagination span:first-child {
394
+  border-right: 1px solid #eee;
395
+}
396
+.pagination a:hover {
397
+  text-decoration: none;
398
+  background-color: #f5f5f5;
399
+}
400
+
401
+
402
+/*
403
+ * Reverse layout
404
+ *
405
+ * Flip the orientation of the page by placing the `.masthead` on the right.
406
+ */
407
+
408
+@media (min-width: 990px) {
409
+  .layout-reverse .masthead {
410
+    left: auto;
411
+    right: 0;
412
+  }
413
+  .layout-reverse .container {
414
+    margin-left: 10%;
415
+    margin-right: 35%;
416
+  }
417
+}
418
+
419
+
420
+/*
421
+ * Themes
422
+ *
423
+ * As of v1.1, Hyde includes optional themes to color the sidebar and links
424
+ * within blog posts. To use, add the class of your choosing to the `body`.
425
+ */
426
+
427
+/* Base16 (http://chriskempson.github.io/base16/#default) */
428
+
429
+/* Red */
430
+.theme-base-08 .masthead {
431
+  background-color: #ac4142;
432
+}
433
+.theme-base-08 .container a,
434
+.theme-base-08 .related-posts li a:hover {
435
+  color: #ac4142;
436
+}
437
+
438
+/* Orange */
439
+.theme-base-09 .masthead {
440
+  background-color: #d28445;
441
+}
442
+.theme-base-09 .container a,
443
+.theme-base-09 .related-posts li a:hover {
444
+  color: #d28445;
445
+}
446
+
447
+/* Yellow */
448
+.theme-base-0a .masthead {
449
+  background-color: #f4bf75;
450
+}
451
+.theme-base-0a .container a,
452
+.theme-base-0a .related-posts li a:hover {
453
+  color: #f4bf75;
454
+}
455
+
456
+/* Green */
457
+.theme-base-0b .masthead {
458
+  background-color: #90a959;
459
+}
460
+.theme-base-0b .container a,
461
+.theme-base-0b .related-posts li a:hover {
462
+  color: #90a959;
463
+}
464
+
465
+/* Cyan */
466
+.theme-base-0c .masthead {
467
+  background-color: #75b5aa;
468
+}
469
+.theme-base-0c .container a,
470
+.theme-base-0c .related-posts li a:hover {
471
+  color: #75b5aa;
472
+}
473
+
474
+/* Blue */
475
+.theme-base-0d .masthead {
476
+  background-color: #6a9fb5;
477
+}
478
+.theme-base-0d .container a,
479
+.theme-base-0d .related-posts li a:hover {
480
+  color: #6a9fb5;
481
+}
482
+
483
+/* Magenta */
484
+.theme-base-0e .masthead {
485
+  background-color: #aa759f;
486
+}
487
+.theme-base-0e .container a,
488
+.theme-base-0e .related-posts li a:hover {
489
+  color: #aa759f;
490
+}
491
+
492
+/* Brown */
493
+.theme-base-0f .masthead {
494
+  background-color: #8f5536;
495
+}
496
+.theme-base-0f .container a,
497
+.theme-base-0f .related-posts li a:hover {
498
+  color: #8f5536;
499
+}

+ 66
- 0
static/css/syntax.css 查看文件

1
+.hll { background-color: #ffffcc }
2
+ /*{ background: #f0f3f3; }*/
3
+.c { color: #999; } /* Comment */
4
+.err { color: #AA0000; background-color: #FFAAAA } /* Error */
5
+.k { color: #006699; } /* Keyword */
6
+.o { color: #555555 } /* Operator */
7
+.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
8
+.cp { color: #009999 } /* Comment.Preproc */
9
+.c1 { color: #999; } /* Comment.Single */
10
+.cs { color: #999; } /* Comment.Special */
11
+.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
12
+.ge { font-style: italic } /* Generic.Emph */
13
+.gr { color: #FF0000 } /* Generic.Error */
14
+.gh { color: #003300; } /* Generic.Heading */
15
+.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
16
+.go { color: #AAAAAA } /* Generic.Output */
17
+.gp { color: #000099; } /* Generic.Prompt */
18
+.gs { } /* Generic.Strong */
19
+.gu { color: #003300; } /* Generic.Subheading */
20
+.gt { color: #99CC66 } /* Generic.Traceback */
21
+.kc { color: #006699; } /* Keyword.Constant */
22
+.kd { color: #006699; } /* Keyword.Declaration */
23
+.kn { color: #006699; } /* Keyword.Namespace */
24
+.kp { color: #006699 } /* Keyword.Pseudo */
25
+.kr { color: #006699; } /* Keyword.Reserved */
26
+.kt { color: #007788; } /* Keyword.Type */
27
+.m { color: #FF6600 } /* Literal.Number */
28
+.s { color: #d44950 } /* Literal.String */
29
+.na { color: #4f9fcf } /* Name.Attribute */
30
+.nb { color: #336666 } /* Name.Builtin */
31
+.nc { color: #00AA88; } /* Name.Class */
32
+.no { color: #336600 } /* Name.Constant */
33
+.nd { color: #9999FF } /* Name.Decorator */
34
+.ni { color: #999999; } /* Name.Entity */
35
+.ne { color: #CC0000; } /* Name.Exception */
36
+.nf { color: #CC00FF } /* Name.Function */
37
+.nl { color: #9999FF } /* Name.Label */
38
+.nn { color: #00CCFF; } /* Name.Namespace */
39
+.nt { color: #2f6f9f; } /* Name.Tag */
40
+.nv { color: #003333 } /* Name.Variable */
41
+.ow { color: #000000; } /* Operator.Word */
42
+.w { color: #bbbbbb } /* Text.Whitespace */
43
+.mf { color: #FF6600 } /* Literal.Number.Float */
44
+.mh { color: #FF6600 } /* Literal.Number.Hex */
45
+.mi { color: #FF6600 } /* Literal.Number.Integer */
46
+.mo { color: #FF6600 } /* Literal.Number.Oct */
47
+.sb { color: #CC3300 } /* Literal.String.Backtick */
48
+.sc { color: #CC3300 } /* Literal.String.Char */
49
+.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
50
+.s2 { color: #CC3300 } /* Literal.String.Double */
51
+.se { color: #CC3300; } /* Literal.String.Escape */
52
+.sh { color: #CC3300 } /* Literal.String.Heredoc */
53
+.si { color: #AA0000 } /* Literal.String.Interpol */
54
+.sx { color: #CC3300 } /* Literal.String.Other */
55
+.sr { color: #33AAAA } /* Literal.String.Regex */
56
+.s1 { color: #CC3300 } /* Literal.String.Single */
57
+.ss { color: #FFCC33 } /* Literal.String.Symbol */
58
+.bp { color: #336666 } /* Name.Builtin.Pseudo */
59
+.vc { color: #003333 } /* Name.Variable.Class */
60
+.vg { color: #003333 } /* Name.Variable.Global */
61
+.vi { color: #003333 } /* Name.Variable.Instance */
62
+.il { color: #FF6600 } /* Literal.Number.Integer.Long */
63
+
64
+.css .o,
65
+.css .o + .nt,
66
+.css .nt + .nt { color: #999; }

二进制
static/favicon.png 查看文件


二进制
static/touch-icon-144-precomposed.png 查看文件


+ 17
- 0
theme.toml 查看文件

1
+name = "Hyde"
2
+license = "MIT"
3
+source_repo = ""
4
+description = "An elegant open source and mobile first theme"
5
+tags = ["blog", "company"]
6
+features = ["blog", ]
7
+
8
+[author]
9
+    name = "spf13"
10
+    email = "hugo@spf13.com"
11
+    url = "http://spf13.com"
12
+
13
+# If Porting existing theme
14
+[original]
15
+    author =  "mdo"
16
+    url = "http://andhyde.com"
17
+    repo = "http://www.github.com/mdo/hyde"