jekyll-crisp-minimal-theme 1.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +126 -0
- data/_includes/disqus.html +14 -0
- data/_includes/footer.html +12 -0
- data/_includes/google_analytics.html +11 -0
- data/_includes/head.html +19 -0
- data/_includes/header.html +15 -0
- data/_includes/syntax_highlight.html +4 -0
- data/_layouts/default.html +18 -0
- data/_layouts/index.html +11 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +14 -0
- data/_layouts/redirect.html +20 -0
- data/_sass/_archive.scss +34 -0
- data/_sass/_article.scss +142 -0
- data/_sass/_code-highlight.scss +26 -0
- data/_sass/_footer.scss +62 -0
- data/_sass/_main.scss +73 -0
- data/_sass/_menu.scss +70 -0
- data/_sass/_page.scss +17 -0
- data/_sass/_things.scss +53 -0
- data/assets/css/style.scss +26 -0
- data/assets/css/tomorrow-night-eighties.css +74 -0
- data/assets/css/zenburn.css +80 -0
- data/assets/scripts/highlight.pack.js +2 -0
- data/assets/scripts/jquery-3.1.0.min.js +4 -0
- metadata +97 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
// Theme of Crisp Blog
|
2
|
+
// Copyright(c) David Zhang, 2017
|
3
|
+
|
4
|
+
pre,
|
5
|
+
code {
|
6
|
+
font-family: "Source Code Pro", Menlo, Monaco, Consolas, Courier, monospace;
|
7
|
+
hyphens: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
pre.highlight {
|
11
|
+
border: 1px solid $code-bg-color;
|
12
|
+
border-radius: 4px;
|
13
|
+
font-size: .9rem;
|
14
|
+
}
|
15
|
+
|
16
|
+
code.hljs {
|
17
|
+
padding: .4rem;
|
18
|
+
}
|
19
|
+
|
20
|
+
code.highlighter-rouge {
|
21
|
+
border: 1px solid $border-color;
|
22
|
+
border-radius: .2rem;
|
23
|
+
font-size: .9rem;
|
24
|
+
font-weight: bold;
|
25
|
+
padding: .1rem .3rem;
|
26
|
+
}
|
data/_sass/_footer.scss
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
// Theme of Crisp Blog
|
2
|
+
// Copyright(c) David Zhang, 2017
|
3
|
+
|
4
|
+
footer {
|
5
|
+
font-size: 1rem;
|
6
|
+
margin-top: 2.4rem;
|
7
|
+
overflow: hidden;
|
8
|
+
text-align: center;
|
9
|
+
|
10
|
+
.content-wrapper {
|
11
|
+
border-bottom: 0;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
@media (max-width: $breakpoint) {
|
16
|
+
footer {
|
17
|
+
.content-wrapper {
|
18
|
+
padding-left: 0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.contact {
|
24
|
+
font-size: 1rem;
|
25
|
+
margin-bottom: 3rem;
|
26
|
+
text-align: left;
|
27
|
+
|
28
|
+
a {
|
29
|
+
color: $main-color;
|
30
|
+
padding-left: .8rem;
|
31
|
+
}
|
32
|
+
|
33
|
+
&:hover {
|
34
|
+
a {
|
35
|
+
color: $light-color;
|
36
|
+
|
37
|
+
&:hover {
|
38
|
+
color: $main-color;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.contact-links {
|
44
|
+
float: right;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
@media (max-width: $breakpoint) {
|
49
|
+
.contact {
|
50
|
+
.contact-copyright {
|
51
|
+
margin-left: .6rem;
|
52
|
+
padding-top: 1rem;
|
53
|
+
width: 100%;
|
54
|
+
}
|
55
|
+
|
56
|
+
.contact-links {
|
57
|
+
float: none;
|
58
|
+
margin-left: -.1rem;
|
59
|
+
width: 100%;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
data/_sass/_main.scss
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
// Theme of Crisp Blog
|
2
|
+
// Copyright(c) David Zhang, 2017
|
3
|
+
|
4
|
+
* {
|
5
|
+
box-sizing: border-box;
|
6
|
+
}
|
7
|
+
|
8
|
+
html {
|
9
|
+
font-size: 16px;
|
10
|
+
height: 100%;
|
11
|
+
width: 100%;
|
12
|
+
}
|
13
|
+
|
14
|
+
@media (max-width: $breakpoint) {
|
15
|
+
html {
|
16
|
+
font-size: 14px;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
body {
|
21
|
+
background-color: $bg-color;
|
22
|
+
color: $main-color;
|
23
|
+
font-family: -apple-system, BlinkMacSystemFont, "Noto Sans", "Segoe UI", Roboto, Helvetica, Arial, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
|
24
|
+
font-size: 1rem;
|
25
|
+
-webkit-font-smoothing: antialiased;
|
26
|
+
height: 100%;
|
27
|
+
margin: 0;
|
28
|
+
text-align: center;
|
29
|
+
word-wrap: break-word;
|
30
|
+
|
31
|
+
::selection {
|
32
|
+
background-color: $link-color;
|
33
|
+
color: $bg-color;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
a {
|
38
|
+
color: $link-color;
|
39
|
+
text-decoration: none;
|
40
|
+
|
41
|
+
&:hover {
|
42
|
+
text-decoration: underline;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.content {
|
47
|
+
text-align: center;
|
48
|
+
width: 100%;
|
49
|
+
}
|
50
|
+
|
51
|
+
.content-wrapper {
|
52
|
+
margin: 0 auto;
|
53
|
+
width: $breakpoint;
|
54
|
+
}
|
55
|
+
|
56
|
+
@media (max-width: $breakpoint) {
|
57
|
+
.content-wrapper {
|
58
|
+
padding-left: .5rem;
|
59
|
+
padding-right: .5rem;
|
60
|
+
width: 100%;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
img {
|
65
|
+
border: 0;
|
66
|
+
max-width: $breakpoint;
|
67
|
+
}
|
68
|
+
|
69
|
+
@media (max-width: $breakpoint) {
|
70
|
+
img {
|
71
|
+
max-width: 100%;
|
72
|
+
}
|
73
|
+
}
|
data/_sass/_menu.scss
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
// Theme of Crisp Blog
|
2
|
+
// Copyright(c) David Zhang, 2017
|
3
|
+
|
4
|
+
.menu {
|
5
|
+
display: flex;
|
6
|
+
justify-content: space-between;
|
7
|
+
padding-bottom: .4rem;
|
8
|
+
padding-top: 1.2rem;
|
9
|
+
text-align: left;
|
10
|
+
|
11
|
+
.menu-home {
|
12
|
+
font-size: 1.2rem;
|
13
|
+
|
14
|
+
a {
|
15
|
+
color: $sub-color;
|
16
|
+
text-decoration: none;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.menu-links {
|
21
|
+
display: flex;
|
22
|
+
float: right;
|
23
|
+
margin-top: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
.menu-item {
|
27
|
+
font-size: 1rem;
|
28
|
+
padding: .1rem .4rem;
|
29
|
+
text-align: left;
|
30
|
+
|
31
|
+
&:first-of-type {
|
32
|
+
padding-left: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
&:last-of-type {
|
36
|
+
padding-right: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
a {
|
40
|
+
color: $light-color;
|
41
|
+
text-decoration: none;
|
42
|
+
|
43
|
+
&:hover {
|
44
|
+
text-decoration: underline;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.menu-active {
|
50
|
+
a {
|
51
|
+
text-decoration: underline;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
@media (max-width: $breakpoint) {
|
56
|
+
display: block;
|
57
|
+
padding-top: .4rem;
|
58
|
+
|
59
|
+
.menu-home {
|
60
|
+
font-size: 1.8rem;
|
61
|
+
padding: .4rem 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
.menu-links {
|
65
|
+
float: left;
|
66
|
+
margin-bottom: 1.8rem;
|
67
|
+
width: 100%;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
data/_sass/_page.scss
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
// Theme of Crisp Blog
|
2
|
+
// Copyright(c) David Zhang, 2017
|
3
|
+
|
4
|
+
.page {
|
5
|
+
text-align: left;
|
6
|
+
|
7
|
+
.page-main {
|
8
|
+
.page-title {
|
9
|
+
color: $sub-color;
|
10
|
+
font-size: 1rem;
|
11
|
+
font-weight: 700;
|
12
|
+
margin-top: 1.2rem;
|
13
|
+
padding: .8rem 0;
|
14
|
+
text-align: left;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
data/_sass/_things.scss
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
// Theme of Crisp Blog
|
2
|
+
// Copyright(c) David Zhang, 2017
|
3
|
+
|
4
|
+
.things {
|
5
|
+
margin-top: 1rem;
|
6
|
+
|
7
|
+
.things-item {
|
8
|
+
border-bottom: 1px solid $border-color;
|
9
|
+
display: flex;
|
10
|
+
margin-bottom: 1rem;
|
11
|
+
padding-bottom: 1rem;
|
12
|
+
width: 100%;
|
13
|
+
|
14
|
+
.things-title {
|
15
|
+
color: $sub-color;
|
16
|
+
font-size: 1rem;
|
17
|
+
min-width: 12.4rem;
|
18
|
+
}
|
19
|
+
|
20
|
+
.things-link {
|
21
|
+
font-size: .8rem;
|
22
|
+
line-height: 1.2rem;
|
23
|
+
min-width: 8rem;
|
24
|
+
padding-top: .2rem;
|
25
|
+
}
|
26
|
+
|
27
|
+
.things-list {
|
28
|
+
font-size: .9rem;
|
29
|
+
line-height: 1.4rem;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
ul {
|
34
|
+
margin: 0;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@media (max-width: $breakpoint) {
|
39
|
+
.things {
|
40
|
+
.things-item {
|
41
|
+
display: block;
|
42
|
+
|
43
|
+
.things-link {
|
44
|
+
display: flex;
|
45
|
+
padding: .2rem 0;
|
46
|
+
|
47
|
+
a {
|
48
|
+
padding-right: .2rem;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
/*
|
4
|
+
* Theme of Crisp Blog
|
5
|
+
* Copyright(c) David Zhang, 2019
|
6
|
+
*/
|
7
|
+
|
8
|
+
$breakpoint: 40rem;
|
9
|
+
|
10
|
+
$main-color: #212529; // grey 9
|
11
|
+
$sub-color: #343a40; // grey 8
|
12
|
+
$code-bg-color: #495057; // grey 7
|
13
|
+
$light-color: #adb5bd; // grey 5
|
14
|
+
$border-color: #dee2e6; // grey 3
|
15
|
+
$bg-color: #f8f9fa; // grey 0
|
16
|
+
|
17
|
+
$link-color: #329af0; // blue 5
|
18
|
+
|
19
|
+
@import "main";
|
20
|
+
@import "menu";
|
21
|
+
@import "footer";
|
22
|
+
@import "page";
|
23
|
+
@import "article";
|
24
|
+
@import "code-highlight";
|
25
|
+
@import "archive";
|
26
|
+
@import "things";
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* Tomorrow Night Eighties Theme */
|
2
|
+
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
3
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
4
|
+
|
5
|
+
/* Tomorrow Comment */
|
6
|
+
.hljs-comment,
|
7
|
+
.hljs-quote {
|
8
|
+
color: #999999;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Tomorrow Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-template-variable,
|
14
|
+
.hljs-tag,
|
15
|
+
.hljs-name,
|
16
|
+
.hljs-selector-id,
|
17
|
+
.hljs-selector-class,
|
18
|
+
.hljs-regexp,
|
19
|
+
.hljs-deletion {
|
20
|
+
color: #f2777a;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* Tomorrow Orange */
|
24
|
+
.hljs-number,
|
25
|
+
.hljs-built_in,
|
26
|
+
.hljs-builtin-name,
|
27
|
+
.hljs-literal,
|
28
|
+
.hljs-type,
|
29
|
+
.hljs-params,
|
30
|
+
.hljs-meta,
|
31
|
+
.hljs-link {
|
32
|
+
color: #f99157;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* Tomorrow Yellow */
|
36
|
+
.hljs-attribute {
|
37
|
+
color: #ffcc66;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* Tomorrow Green */
|
41
|
+
.hljs-string,
|
42
|
+
.hljs-symbol,
|
43
|
+
.hljs-bullet,
|
44
|
+
.hljs-addition {
|
45
|
+
color: #99cc99;
|
46
|
+
}
|
47
|
+
|
48
|
+
/* Tomorrow Blue */
|
49
|
+
.hljs-title,
|
50
|
+
.hljs-section {
|
51
|
+
color: #6699cc;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Tomorrow Purple */
|
55
|
+
.hljs-keyword,
|
56
|
+
.hljs-selector-tag {
|
57
|
+
color: #cc99cc;
|
58
|
+
}
|
59
|
+
|
60
|
+
.hljs {
|
61
|
+
display: block;
|
62
|
+
overflow-x: auto;
|
63
|
+
background: #2d2d2d;
|
64
|
+
color: #cccccc;
|
65
|
+
padding: 0.5em;
|
66
|
+
}
|
67
|
+
|
68
|
+
.hljs-emphasis {
|
69
|
+
font-style: italic;
|
70
|
+
}
|
71
|
+
|
72
|
+
.hljs-strong {
|
73
|
+
font-weight: bold;
|
74
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru>
|
4
|
+
based on dark.css by Ivan Sagalaev
|
5
|
+
|
6
|
+
*/
|
7
|
+
|
8
|
+
.hljs {
|
9
|
+
display: block;
|
10
|
+
overflow-x: auto;
|
11
|
+
padding: 0.5em;
|
12
|
+
background: #3f3f3f;
|
13
|
+
color: #dcdcdc;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-keyword,
|
17
|
+
.hljs-selector-tag,
|
18
|
+
.hljs-tag {
|
19
|
+
color: #e3ceab;
|
20
|
+
}
|
21
|
+
|
22
|
+
.hljs-template-tag {
|
23
|
+
color: #dcdcdc;
|
24
|
+
}
|
25
|
+
|
26
|
+
.hljs-number {
|
27
|
+
color: #8cd0d3;
|
28
|
+
}
|
29
|
+
|
30
|
+
.hljs-variable,
|
31
|
+
.hljs-template-variable,
|
32
|
+
.hljs-attribute {
|
33
|
+
color: #efdcbc;
|
34
|
+
}
|
35
|
+
|
36
|
+
.hljs-literal {
|
37
|
+
color: #efefaf;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-subst {
|
41
|
+
color: #8f8f8f;
|
42
|
+
}
|
43
|
+
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-name,
|
46
|
+
.hljs-selector-id,
|
47
|
+
.hljs-selector-class,
|
48
|
+
.hljs-section,
|
49
|
+
.hljs-type {
|
50
|
+
color: #efef8f;
|
51
|
+
}
|
52
|
+
|
53
|
+
.hljs-symbol,
|
54
|
+
.hljs-bullet,
|
55
|
+
.hljs-link {
|
56
|
+
color: #dca3a3;
|
57
|
+
}
|
58
|
+
|
59
|
+
.hljs-deletion,
|
60
|
+
.hljs-string,
|
61
|
+
.hljs-built_in,
|
62
|
+
.hljs-builtin-name {
|
63
|
+
color: #cc9393;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-addition,
|
67
|
+
.hljs-comment,
|
68
|
+
.hljs-quote,
|
69
|
+
.hljs-meta {
|
70
|
+
color: #7f9f7f;
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
.hljs-emphasis {
|
75
|
+
font-style: italic;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-strong {
|
79
|
+
font-weight: bold;
|
80
|
+
}
|