├── .gitignore
├── LICENSE
├── README.md
├── _config.yml
├── layout
├── _views
│ ├── foot.jade
│ ├── head.jade
│ ├── main.jade
│ ├── menu.jade
│ ├── nav.jade
│ └── post.jade
├── archive.jade
├── category.jade
├── index.jade
├── page.jade
├── post.jade
└── tag.jade
├── package.json
└── source
├── css
├── _main-r.styl
├── _var.styl
├── base
│ ├── _base.styl
│ ├── _font.styl
│ ├── _mixin.styl
│ ├── _reset.styl
│ └── _util.styl
├── main.styl
├── partial
│ ├── _main.styl
│ └── _post.styl
└── vendor
│ ├── _echo.styl
│ ├── _highlight.styl
│ └── _normalize.styl
└── fonts
├── icon.eot
├── icon.svg
├── icon.ttf
└── icon.woff
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 unmric
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | 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, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Hexo-Theme-Strict
2 |
3 | 
4 |
5 | Strict 是一个简洁的 hexo 主题, 它的配色来自默认主题 [landscape](https://github.com/hexojs/hexo-theme-landscape).
6 |
7 | ## Installation
8 |
9 | **Install**
10 | ```
11 | $ npm install hexo-renderer-jade --save
12 | $ git clone git@github.com:unmric/hexo-theme-strict.git themes/strict
13 | ```
14 |
15 | **Enable**
16 |
17 | Modify `theme` setting in `_config.yml` to `strict`.
18 |
19 | **Update**
20 | ```
21 | cd themes/strict
22 | git pull
23 | ```
24 |
25 | ## Browser Support
26 | - IE 8+
27 | - Latest Stable: Firefox, Chrome, Safari
28 |
29 | ## License
30 | MIT
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | # head
2 | menu:
3 | Home: /
4 | Archives: /archives
5 | rss: /atom.xml
6 | favicon: /favicon.png
7 |
8 | # main
9 | date_format: 'MMMM D, YYYY'
10 | excerpt_link: READ MORE
11 | comment_link: 0 COMMENTS
12 |
13 | # foot
14 | # themes_mata: ' ❤ Theme by unmric'
15 | google_analytics:
--------------------------------------------------------------------------------
/layout/_views/foot.jade:
--------------------------------------------------------------------------------
1 | if config.disqus_shortname
2 | - var disqus_type = page.comments ? 'embed' : 'count'
3 | script.
4 | (function(h,g,l,k,j,i){j=h.createElement(g),i=h.getElementsByTagName(g)[0],
5 | j.src="//"+l+".disqus.com/"+k+".js",i.parentNode.insertBefore(j,i)})
6 | (document,"script","#{config.disqus_shortname}","#{disqus_type}");
7 |
8 | if theme.google_analytics
9 | script.
10 | (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
11 | function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
12 | e=o.createElement(i);r=o.getElementsByTagName(i)[0];
13 | e.src='//www.google-analytics.com/analytics.js';
14 | r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
15 | ga('create','#{theme.google_analytics}');ga('send','pageview');
16 |
17 | block foot
--------------------------------------------------------------------------------
/layout/_views/head.jade:
--------------------------------------------------------------------------------
1 | meta(charset='utf-8')
2 | meta(http-equiv='X-UA-Compatible', content='IE=edge')
3 | if config.description
4 | meta(name='description', content = config.description)
5 | meta(name='viewport', content='width=device-width, initial-scale=1')
6 | if theme.rss
7 | link(rel='alternative', href = theme.rss, title = config.title, type='application/atom+xml')
8 | if theme.favicon
9 | link(rel="icon", href = theme.favicon)
10 | block head
11 | != css('css/main')
12 |
--------------------------------------------------------------------------------
/layout/_views/main.jade:
--------------------------------------------------------------------------------
1 | doctype html
2 | html
3 | head
4 | include head
5 | body
6 | header.head
7 | h1.head-title.u-fl: a(href = config.root)
8 | = config.title
9 | include nav
10 | main.main
11 | block main
12 | footer.foot
13 | div.foot-copy.u-fl
14 | != '© ' + date(new Date(), 'YYYY') + ' ' + (config.author || config.title)
15 | if theme.themes_mata
16 | bdi
17 | != theme.themes_mata
18 | block menu
19 | include foot
--------------------------------------------------------------------------------
/layout/_views/menu.jade:
--------------------------------------------------------------------------------
1 | mixin menu(index)
2 | if index != 'archive'
3 | menu.page-menu.u-fr
4 | li.page-menu__item
5 | if page.prev
6 | a.page-menu__link.icon-arrow-left(title = 'Previous', href = config.root + (page.prev.path || page.prev_link))
7 | else
8 | span.page-menu__link.icon-arrow-left.page-menu__link--disabled(title = 'Previous')
9 | li.page-menu__item
10 | if page.next
11 | a.page-menu__link.icon-arrow-right(title = 'Next', href= config.root + (page.next.path || page.next_link))
12 | else
13 | span.page-menu__link.icon-arrow-right.page-menu__link--disabled(title = 'Next')
--------------------------------------------------------------------------------
/layout/_views/nav.jade:
--------------------------------------------------------------------------------
1 | nav.head-nav.u-fr
2 | ul.head-nav__list
3 | each val, index in theme.menu
4 | li.head-nav__item: a.head-nav__link(href = val)
5 | = index
--------------------------------------------------------------------------------
/layout/_views/post.jade:
--------------------------------------------------------------------------------
1 | mixin post(post, index)
2 | article.post
3 | header.post__head
4 | time.post__time(datetime = date_xml(post.date))
5 | = date(post.date, theme.date_format)
6 | h1.post__title: a(href = config.root + post.path)
7 | = post.title
8 | if index != 'archive'
9 | if post.img
10 | a.post__image(href = config.root + post.path): img(src = post.img, alt = 'featured-image')
11 | div.post__main.echo
12 | if post.excerpt && index == 'index'
13 | != post.excerpt
14 | else
15 | != post.content
16 | footer.post__foot.u-cf
17 | if post.tags && post.tags.length
18 | ul.post__tag.u-fl
19 | -post.tags.forEach(function(tag){
20 | li.post__tag__item: a.post__tag__link(href = config.root + tag.path)
21 | = tag.name
22 | - })
23 | if post.excerpt && index == 'index'
24 | a.post__more.u-fr(href = config.root + post.path + '#more')= theme.excerpt_link
25 | else
26 | a.post__foot-link.u-fr(href = config.root + post.path + '#disqus_thread')= theme.comment_link
--------------------------------------------------------------------------------
/layout/archive.jade:
--------------------------------------------------------------------------------
1 | include _views/post
2 | include _views/menu
3 | extends _views/main
4 |
5 | block main
6 | -var time
7 | -site.posts.sort('date', 'desc').each(function(post){
8 | -var year = post.date.year()
9 | -if(time != year){
10 | -if(time){
11 | h2.archive-title
12 | = year
13 | -}
14 | -time = year
15 | -}
16 | +post(post, 'archive')
17 | -})
18 |
19 | block head
20 | title
21 | = 'Archives - ' + config.title
--------------------------------------------------------------------------------
/layout/category.jade:
--------------------------------------------------------------------------------
1 | include _views/post
2 | include _views/menu
3 | extends _views/main
4 |
5 | block main
6 | -page.posts.each(function(post){
7 | +post(post, 'category')
8 | -})
9 |
10 | block head
11 | title
12 | = page.category + ' - ' + config.title
13 |
14 | block menu
15 | +menu('category')
--------------------------------------------------------------------------------
/layout/index.jade:
--------------------------------------------------------------------------------
1 | include _views/post
2 | include _views/menu
3 | extends _views/main
4 |
5 | block main
6 | -page.posts.each(function(post){
7 | +post(post, 'index')
8 | -})
9 |
10 | block head
11 | title
12 | = config.title
13 |
14 | block menu
15 | +menu('index')
--------------------------------------------------------------------------------
/layout/page.jade:
--------------------------------------------------------------------------------
1 | include _views/post
2 | include _views/menu
3 | extends _views/main
4 |
5 | block main
6 | +post(page, 'page')
7 | if config.disqus_shortname && page.comments
8 | div.comments
9 | div#disqus_thread
10 | noscript.
11 | Please enable JavaScript to view the comments powered by Disqus.
12 |
13 | block head
14 | title
15 | = page.title + ' - ' + config.title
16 |
17 | block menu
18 | +menu('page')
--------------------------------------------------------------------------------
/layout/post.jade:
--------------------------------------------------------------------------------
1 | include _views/post
2 | include _views/menu
3 | extends _views/main
4 |
5 | block main
6 | +post(page, 'post')
7 | if config.disqus_shortname && page.comments
8 | div.comments
9 | div#disqus_thread
10 | noscript.
11 | Please enable JavaScript to view the comments powered by Disqus.
12 |
13 | block head
14 | title
15 | = page.title + ' - ' + config.title
16 |
17 | block menu
18 | +menu('post')
--------------------------------------------------------------------------------
/layout/tag.jade:
--------------------------------------------------------------------------------
1 | include _views/post
2 | include _views/menu
3 | extends _views/main
4 |
5 | block main
6 | -page.posts.each(function(post){
7 | +post(post, 'tag')
8 | -})
9 |
10 | block head
11 | title
12 | = page.tag + ' - ' + config.title
13 |
14 | block menu
15 | +menu('tag')
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Strict",
3 | "version": "0.1.1",
4 | "description": "A clean, minimal and responsive theme for hexo",
5 | "author": "unmric",
6 | "license": "MIT"
7 | }
--------------------------------------------------------------------------------
/source/css/_main-r.styl:
--------------------------------------------------------------------------------
1 | @media (min-width: 768px) and (max-width: 979px)
2 | body
3 | margin: 30px
4 | .head
5 | .main
6 | .foot
7 | width: 100%
8 | .head
9 | margin-top: 0
10 | .foot
11 | margin-bottom: 0
12 |
13 | @media (max-width: 767px)
14 | body
15 | margin: 20px
16 | .head
17 | .main
18 | .foot
19 | width: 100%
20 | .head
21 | .foot
22 | padding: 20px
23 | height: auto
24 | line-height: inherit
25 | .head-title
26 | .head-nav
27 | .foot-copy
28 | .page-menu
29 | float: none
30 | .main
31 | margin-top: 20px
32 | margin-bottom: 20px
33 | .head
34 | margin-top: 0
35 | text-align: center
36 | .head-nav
37 | margin-top: 10px
38 | .head-nav__item
39 | margin: 0 5px
40 | margin-left: 0
41 | .post
42 | margin-top: 20px
43 | .post__head
44 | .post__main
45 | margin: 20px
46 | .post__title
47 | margin-top: 2px
48 | .post__main
49 | blockquote
50 | .highlight
51 | margin: 30px -20px;
52 | padding: 20px;
53 | .post__foot
54 | position: relative
55 | padding: 10px
56 | .post__tag
57 | display: none
58 | .post__more
59 | box-sizing: border-box;
60 | width: 100%;
61 | text-align: center;
62 | .post__image
63 | margin: 20px -20px
64 | img
65 | margin 0 auto
66 | .foot
67 | margin-bottom: 0
68 | text-align: center
69 | .page-menu
70 | margin-top: 10px
71 | .foot bdi
72 | display: none
73 | .archive-title
74 | margin: 20px
--------------------------------------------------------------------------------
/source/css/_var.styl:
--------------------------------------------------------------------------------
1 | // Base
2 | $base-background = #eee
3 | $base-font-size = 14px
4 | $base-font-color = #666
5 | $base-line-height = 1.6em
6 | $base-font-family = 'Helvetica Neue', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft Yahei', sans-serif
7 | $base-code-font-family = 'Source Code Pro', Consolas, 'Liberation Mono', Courier, monospace, serif
8 | $base-link-color = #258fb8
9 | $base-link-color-hover = #258fb8
10 |
11 | // Code Color
12 | $highlight-background = #2d2d2d
13 | $highlight-current-line = #393939
14 | $highlight-selection = #515151
15 | $highlight-foreground = #cccccc
16 | $highlight-comment = #999999
17 | $highlight-red = #f2777a
18 | $highlight-orange = #f99157
19 | $highlight-yellow = #ffcc66
20 | $highlight-green = #99cc99
21 | $highlight-aqua = #66cccc
22 | $highlight-blue = #6699cc
23 | $highlight-purple = #cc99cc
--------------------------------------------------------------------------------
/source/css/base/_base.styl:
--------------------------------------------------------------------------------
1 | html
2 | background: $base-background
3 | color: $base-font-color
4 |
5 | // html
6 | // font-size: 62.5%
7 |
8 | body
9 | font-size-rem($base-font-size)
10 | line-height: $base-line-height
11 | font-family: $base-font-family
12 |
13 | code, kbd, pre, samp
14 | font-family: $base-code-font-family
15 |
16 | a
17 | color: $base-link-color
18 | text-decoration: none
--------------------------------------------------------------------------------
/source/css/base/_font.styl:
--------------------------------------------------------------------------------
1 | @font-face
2 | font-family: 'icon'
3 | src: url("../fonts/icon.eot?-3uy3dk")
4 | src: url("../fonts/icon.eot?#iefix-3uy3dk") format('embedded-opentype'),url("../fonts/icon.woff?-3uy3dk") format('woff'),url("../fonts/icon.ttf?-3uy3dk") format('truetype'),url("../fonts/icon.svg?-3uy3dk#icon") format('svg')
5 | font-weight: normal
6 | font-style: normal
7 |
8 | [class^="icon-"],
9 | [class*=" icon-"]
10 | font-family: 'icon'
11 | font-style: normal
12 | -webkit-font-smoothing: antialiased
13 | -moz-osx-font-smoothing: grayscale
14 |
15 | .icon-arrow-right:before
16 | content: "\e600"
17 |
18 | .icon-arrow-left:before
19 | content: "\e601"
--------------------------------------------------------------------------------
/source/css/base/_mixin.styl:
--------------------------------------------------------------------------------
1 | // font-size-rem(size)
2 | // font-size: ( size ) px
3 | // font-size: ( size / 10 ) rem
4 |
5 | font-size-rem(size)
6 | font-size: ( size ) px
7 | font-size: ( size / 16 ) rem
--------------------------------------------------------------------------------
/source/css/base/_reset.styl:
--------------------------------------------------------------------------------
1 | blockquote
2 | dl
3 | dd
4 | h1
5 | h2
6 | h3
7 | h4
8 | h5
9 | h6
10 | figure
11 | p
12 | pre
13 | margin: 0
14 |
15 | button
16 | padding: 0
17 | border: 0
18 | background: transparent
19 |
20 | fieldset
21 | margin: 0
22 | padding: 0
23 | border: 0
24 |
25 | iframe
26 | border: 0
27 |
28 | ol
29 | ul
30 | menu
31 | margin: 0
32 | padding: 0
33 | list-style: none
34 |
35 | img
36 | audio
37 | canvas
38 | video
39 | vertical-align: middle
--------------------------------------------------------------------------------
/source/css/base/_util.styl:
--------------------------------------------------------------------------------
1 | .u-cf
2 | &:before
3 | &:after
4 | content:''
5 | display:table
6 | &:after
7 | clear:both
8 |
9 | .u-bfc
10 | overflow: hidden
11 |
12 | .u-fl
13 | float: left
14 |
15 | .u-fr
16 | float: right
17 |
18 | .u-hidden
19 | display: none
20 | visibility: hidden
--------------------------------------------------------------------------------
/source/css/main.styl:
--------------------------------------------------------------------------------
1 | @import '_var'
2 |
3 | /* ==========================================================================
4 | Init
5 | ========================================================================== */
6 |
7 | @import 'vendor/_normalize'
8 |
9 | /* ==========================================================================
10 | Base
11 | ========================================================================== */
12 | @import 'base/_font'
13 | @import 'base/_mixin'
14 | @import 'base/_base'
15 | @import 'base/_reset'
16 | @import 'base/_util'
17 | @import 'vendor/_echo'
18 | @import 'vendor/_highlight'
19 |
20 | /* ==========================================================================
21 | Partial
22 | ========================================================================== */
23 |
24 | @import 'partial/_main'
25 | @import 'partial/_post'
26 |
27 | /* ==========================================================================
28 | Responsive
29 | ========================================================================== */
30 |
31 | @import '_main-r'
--------------------------------------------------------------------------------
/source/css/partial/_main.styl:
--------------------------------------------------------------------------------
1 | .head
2 | .main
3 | .foot
4 | margin: 0 auto
5 | width: 900px
6 |
7 | .head
8 | .foot
9 | padding: 0 60px
10 | height: 120px
11 | border: 1px solid #000000
12 | background-color: #262A30
13 | box-shadow: 1px 2px 3px #DDDDDD
14 | line-height: (@height - 2)
15 | -moz-box-sizing: border-box
16 | box-sizing: border-box
17 |
18 | .head
19 | margin-top: 90px
20 |
21 | .head-title
22 | font-size-rem(30)
23 | font-weight: normal
24 | > a
25 | color: #FFFFFF
26 |
27 | .head-nav__item
28 | display: inline-block
29 | margin-left: 20px
30 |
31 | .head-nav__link
32 | color: #999999
33 | &:hover
34 | color: #FFFFFF
35 | text-decoration: underline
36 |
37 | .main
38 | margin-top: 30px
39 | margin-bottom: 30px
40 |
41 | .archive-title
42 | margin: 1.6em
43 | text-align: center
44 | // 1.6 * 16
45 | font-size-rem(25.6)
46 | font-weight: normal
47 |
48 | .comments
49 | margin: 30px 0
50 | padding: 60px
51 | background-color: #FFFFFF
52 | box-shadow: 1px 2px 3px #DDDDDD
53 |
54 | .foot
55 | margin-bottom: 30px
56 |
57 | .foot-copy
58 | color: #999999
59 | font-size-rem(12)
60 |
61 | .page-menu__item
62 | display: inline-block
63 |
64 | .page-menu__link
65 | color: #FFFFFF
66 | font-size-rem(30)
67 |
68 | .page-menu__link--disabled
69 | color: #999999
--------------------------------------------------------------------------------
/source/css/partial/_post.styl:
--------------------------------------------------------------------------------
1 | .post
2 | overflow: hidden
3 | margin-top: 30px
4 | background-color: #FFFFFF
5 | box-shadow: 1px 2px 3px #DDDDDD
6 |
7 | .post__head
8 | margin: 60px
9 |
10 | .post__time
11 | color: #CCCCCC
12 | font-size-rem(12)
13 |
14 | .post__title
15 | margin-top: 5px
16 | line-height: 1.3
17 | // 1.6 * 16
18 | font-size-rem(25.6)
19 | font-weight: normal
20 | > a
21 | color: #666666
22 |
23 | .post__image
24 | display: block
25 | margin: 60px 0
26 | > img
27 | width: 100%
28 |
29 | .post__main
30 | margin: 60px
31 | .highlight
32 | margin: 1.6em -60px
33 | padding: 30px
34 | figcaption
35 | padding: 0 30px
36 | table
37 | margin: 0
38 | width: auto
39 | border: none
40 | td
41 | th
42 | border: none
43 | pre
44 | margin: 0
45 | h1
46 | // 1.6 * 16
47 | font-size-rem(25.6)
48 | h2
49 | // 1.4 * 16
50 | font-size-rem(22.4)
51 | h3
52 | // 1.2 * 16
53 | font-size-rem(19.2)
54 | blockquote
55 | margin: 1.6em -60px
56 | padding: 30px 60px
57 | border-left: 5px solid #DDDDDD
58 | background-color: #EEEEEE
59 | img
60 | display: block
61 | margin: 1.6em auto
62 |
63 | .post__foot
64 | padding: 30px 60px
65 | border-top: 1px solid #DDDDDD
66 | background-color: #FAFAFA
67 |
68 | .post__foot-link
69 | padding: 10px
70 | color: #999999
71 | font-size-rem(12)
72 |
73 | .post__tag__item
74 | display: inline-block
75 |
76 | .post__tag__link
77 | @extend .post__foot-link
78 | display: block
79 | &:hover
80 | color: #666666
81 | &:before
82 | content: "#"
83 |
84 | .post__more
85 | @extend .post__foot-link
86 | padding: 10px 20px
87 | border: 1px solid #BBBBBB
88 | border-radius: 3px
89 | background-color: #CCCCCC
90 | color: #FFFFFF
91 | &:hover
92 | background-color: #DDDDDD
--------------------------------------------------------------------------------
/source/css/vendor/_echo.styl:
--------------------------------------------------------------------------------
1 | /*36/30/24/18/14*/
2 | .echo
3 | font-size-rem(14)
4 | line-height: 1.6em
5 | a
6 | color: $base-link-color
7 | &:hover, &:focus, &:active
8 | text-decoration: underline
9 | h1
10 | h2
11 | h3
12 | h4
13 | h5
14 | h6
15 | font-weight: normal
16 | line-height: 1.3
17 | margin: 1em 0
18 | h1
19 | font-size-rem(30)
20 | h2
21 | font-size-rem(24)
22 | h3
23 | font-size-rem(18)
24 | h4
25 | h5
26 | h6
27 | font-size-rem(14)
28 | p
29 | margin: 1em 0
30 |
31 | address
32 | blockquote
33 | dl
34 | figure
35 | form
36 | hr
37 | img
38 | ol
39 | pre
40 | table
41 | ul
42 | margin: 1.6em 0
43 | hr
44 | margin: 1.6em auto
45 | width: 61%
46 | height: 4px
47 | border: none
48 | background: #EEEEEE
49 | img
50 | max-width: 100%
51 | height: auto
52 | caption
53 | text-transform: uppercase
54 | padding: 1em
55 | color: #777777
56 | thead
57 | background-color: #EEEEEE
58 | td
59 | th
60 | border: 1px solid #cbcbcb
61 | padding: .5em 1em
62 | text-align: left
63 | font-weight: normal
64 | tfoot
65 | background-color: #f4f4f4
66 | dl
67 | ol
68 | ul
69 | margin-left:2em
70 | dd
71 | margin-left: 1em
72 | // dt
73 | // font-weight: bold
74 | ol
75 | list-style: decimal outside
76 | ul
77 | list-style: disc outside
78 | figcaption
79 | font-size: .85em
80 | blockquote small,
81 | cite
82 | color: #777
83 | abbr
84 | cursor:help
85 | address
86 | font-style: normal
87 | code
88 | display: inline-block
89 | // >
90 | // 排版无需空格, 使用半角空格宽度防止粘连 1em / 2 / 2
91 | // margin: 0 .25em
92 | // >[]
,
93 | // 排版须有空格, 1em 防止标点符号粘连
94 | margin: 0 .1em
95 | padding: 0 .5em
96 | border: 1px solid #CCCCCC
97 | border-radius: 3px
98 | background-color: #F7F7F7
99 | text-shadow: 0 1px 0 #FFFFFF
100 | white-space: nowrap
101 | font-size: 0.85em
102 | line-height: normal
103 | kbd
104 | @extend .echo code
105 | box-shadow: 0 1px 0px #CCCCCC, 0 0 0 2px #FFFFFF inset
106 | blockquote
107 | padding: 1.6em
108 | border-left: 5px solid #DDDDDD
109 | background-color: #EEEEEE
110 |
111 | // normalize
112 | // .echo
113 | // mark
114 | // background: #ff0
115 |
116 | // abbr[title]
117 | // border-bottom: 1px dotted
118 |
119 | // b
120 | // strong
121 | // font-weight: bold
122 |
123 | // small
124 | // font-size: 80%
125 |
126 | // sub
127 | // sup
128 | // font-size: 75%
129 | // line-height: 0
130 | // position: relative
131 | // vertical-align: baseline
132 |
133 | // sup
134 | // top: -0.5em
135 |
136 | // sub
137 | // bottom: -0.25em
138 |
139 | // img
140 | // border: 0
141 |
142 | // table
143 | // border-collapse: collapse
144 | // border-spacing: 0
--------------------------------------------------------------------------------
/source/css/vendor/_highlight.styl:
--------------------------------------------------------------------------------
1 | .highlight
2 | overflow: auto
3 | background-color: $highlight-background
4 | color: #CCCCCC
5 | .gutter
6 | color: #666666
7 | figcaption
8 | margin-bottom: 1em
9 | color: #999999
10 | font-size: .85em
11 | a
12 | float: right
13 | .comment
14 | .title
15 | color: $highlight-comment
16 | .variable
17 | .attribute
18 | .tag
19 | .regexp
20 | .ruby .constant
21 | .xml .tag .title
22 | .xml .pi
23 | .xml .doctype
24 | .html .doctype
25 | .css .id
26 | .css .class
27 | .css .pseudo
28 | color: $highlight-red
29 | .number
30 | .preprocessor
31 | .built_in
32 | .literal
33 | .params
34 | .constant
35 | color: $highlight-orange
36 | .class
37 | .ruby .class .title
38 | .css .rules .attribute
39 | color: $highlight-green
40 | .string
41 | .value
42 | .inheritance
43 | .header
44 | .ruby .symbol
45 | .xml .cdata
46 | color: $highlight-green
47 | .css .hexcolor
48 | color: $highlight-aqua
49 | .function
50 | .python .decorator
51 | .python .title
52 | .ruby .function .title
53 | .ruby .title .keyword
54 | .perl .sub
55 | .javascript .title
56 | .coffeescript .title
57 | color: $highlight-blue
58 | .keyword
59 | .javascript .function
60 | color: $highlight-purple
--------------------------------------------------------------------------------
/source/css/vendor/_normalize.styl:
--------------------------------------------------------------------------------
1 | /*! normalize.css v3.0.1 | MIT License | git.io/normalize */
2 |
3 | html
4 | font-family: sans-serif
5 | -ms-text-size-adjust: 100%
6 | -webkit-text-size-adjust: 100%
7 |
8 | body
9 | margin: 0
10 |
11 | article
12 | aside
13 | details
14 | figcaption
15 | figure
16 | footer
17 | header
18 | hgroup
19 | main
20 | nav
21 | section
22 | summary
23 | display: block
24 |
25 | audio
26 | canvas
27 | progress
28 | video
29 | display: inline-block
30 | vertical-align: baseline
31 |
32 | audio:not([controls])
33 | display: none
34 | height: 0
35 |
36 | [hidden]
37 | template
38 | display: none
39 |
40 | a
41 | background: transparent
42 |
43 | a:active
44 | a:hover
45 | outline: 0
46 |
47 | abbr[title]
48 | border-bottom: 1px dotted
49 |
50 | b
51 | strong
52 | font-weight: bold
53 |
54 | dfn
55 | font-style: italic
56 |
57 | h1
58 | font-size: 2em
59 | margin: .67em 0
60 |
61 | mark
62 | background: #ff0
63 | color: #000
64 |
65 | small
66 | font-size: 80%
67 |
68 | sub
69 | sup
70 | font-size: 75%
71 | line-height: 0
72 | position: relative
73 | vertical-align: baseline
74 |
75 | sup
76 | top: -0.5em
77 |
78 | sub
79 | bottom: -0.25em
80 |
81 | img
82 | border: 0
83 |
84 | svg:not(:root)
85 | overflow: hidden
86 |
87 | figure
88 | margin: 1em 40px
89 |
90 | hr
91 | -moz-box-sizing: content-box
92 | box-sizing: content-box
93 | height: 0
94 |
95 | pre
96 | overflow: auto
97 |
98 | code
99 | kbd
100 | pre
101 | samp
102 | font-family: monospace,monospace
103 | font-size: 1em
104 |
105 | button
106 | input
107 | optgroup
108 | select
109 | textarea
110 | color: inherit
111 | font: inherit
112 | margin: 0
113 |
114 | button
115 | overflow: visible
116 |
117 | button
118 | select
119 | text-transform: none
120 |
121 | button
122 | html input[type="button"]
123 | input[type="reset"]
124 | input[type="submit"]
125 | -webkit-appearance: button
126 | cursor: pointer
127 |
128 | button[disabled]
129 | html input[disabled]
130 | cursor: default
131 |
132 | button::-moz-focus-inner
133 | input::-moz-focus-inner
134 | border: 0
135 | padding: 0
136 |
137 | input
138 | line-height: normal
139 |
140 | input[type="checkbox"]
141 | input[type="radio"]
142 | box-sizing: border-box
143 | padding: 0
144 |
145 | input[type="number"]::-webkit-inner-spin-button
146 | input[type="number"]::-webkit-outer-spin-button
147 | height: auto
148 |
149 | input[type="search"]
150 | -webkit-appearance: textfield
151 | -moz-box-sizing: content-box
152 | -webkit-box-sizing: content-box
153 | box-sizing: content-box
154 |
155 | input[type="search"]::-webkit-search-cancel-button
156 | input[type="search"]::-webkit-search-decoration
157 | -webkit-appearance: none
158 |
159 | fieldset
160 | border: 1px solid silver
161 | margin: 0 2px
162 | padding: .35em .625em .75em
163 |
164 | legend
165 | border: 0
166 | padding: 0
167 |
168 | textarea
169 | overflow: auto
170 |
171 | optgroup
172 | font-weight: bold
173 |
174 | table
175 | border-collapse: collapse
176 | border-spacing: 0
177 |
178 | td
179 | th
180 | padding: 0
--------------------------------------------------------------------------------
/source/fonts/icon.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/17/hexo-theme-strict/9d4a887bb9be2dff240385486e2f78b02d261bc7/source/fonts/icon.eot
--------------------------------------------------------------------------------
/source/fonts/icon.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/source/fonts/icon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/17/hexo-theme-strict/9d4a887bb9be2dff240385486e2f78b02d261bc7/source/fonts/icon.ttf
--------------------------------------------------------------------------------
/source/fonts/icon.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/17/hexo-theme-strict/9d4a887bb9be2dff240385486e2f78b02d261bc7/source/fonts/icon.woff
--------------------------------------------------------------------------------