klise 1.0.1
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 +59 -0
- data/_includes/anchor_headings.html +105 -0
- data/_includes/author.html +9 -0
- data/_includes/comments.html +10 -0
- data/_includes/footer.html +38 -0
- data/_includes/header.html +164 -0
- data/_includes/navbar.html +211 -0
- data/_includes/navigation.html +16 -0
- data/_includes/pagination.html +21 -0
- data/_layouts/404.html +26 -0
- data/_layouts/compress.html +4 -0
- data/_layouts/default.html +18 -0
- data/_layouts/home.html +14 -0
- data/_layouts/page.html +23 -0
- data/_layouts/post.html +74 -0
- data/_sass/klise/_base.scss +360 -0
- data/_sass/klise/_dark.scss +245 -0
- data/_sass/klise/_fonts.scss +712 -0
- data/_sass/klise/_layout.scss +371 -0
- data/_sass/klise/_miscellaneous.scss +41 -0
- data/_sass/klise/_post.scss +261 -0
- data/_sass/klise/_syntax.scss +185 -0
- data/_sass/main.scss +63 -0
- metadata +153 -0
@@ -0,0 +1,185 @@
|
|
1
|
+
// Code
|
2
|
+
code {
|
3
|
+
font-family: $mono-family;
|
4
|
+
text-rendering: optimizeLegibility;
|
5
|
+
font-feature-settings: "calt" 1;
|
6
|
+
font-variant-ligatures: normal;
|
7
|
+
white-space: pre;
|
8
|
+
word-spacing: normal;
|
9
|
+
word-break: normal;
|
10
|
+
word-wrap: normal;
|
11
|
+
font-size: inherit;
|
12
|
+
|
13
|
+
&.highlighter-rouge {
|
14
|
+
padding: 1px 3px;
|
15
|
+
position: relative;
|
16
|
+
top: -1px;
|
17
|
+
background-color: #f6f6f6;
|
18
|
+
border-radius: 2px;
|
19
|
+
border: 1px solid rgba(128,128,128,0.1);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// Codeblock Theme
|
24
|
+
pre.highlight, pre {
|
25
|
+
margin: 0 -27px;
|
26
|
+
@include media-query($on-mobile) {
|
27
|
+
margin: 0 calc(51% - 51vw);
|
28
|
+
padding-left: 20px;
|
29
|
+
}
|
30
|
+
border: 1px solid rgba(128,128,128,0.1);
|
31
|
+
background-color: #1a1b21;
|
32
|
+
border-radius: 2px;
|
33
|
+
padding: 10px;
|
34
|
+
display: block;
|
35
|
+
overflow-x: auto;
|
36
|
+
|
37
|
+
> code {
|
38
|
+
width: 100%;
|
39
|
+
max-width: 50rem;
|
40
|
+
margin-left: auto;
|
41
|
+
margin-right: auto;
|
42
|
+
line-height: 1.5;
|
43
|
+
display: block;
|
44
|
+
border: 0;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.highlight table td {
|
49
|
+
padding: 5px;
|
50
|
+
}
|
51
|
+
|
52
|
+
.highlight table pre {
|
53
|
+
margin: 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
.highlight,
|
57
|
+
.highlight .w {
|
58
|
+
color: #fbf1c7;
|
59
|
+
// background-color: #1a1b21;
|
60
|
+
}
|
61
|
+
|
62
|
+
.highlight .err {
|
63
|
+
color: #fb4934;
|
64
|
+
// background-color: #1a1b21;
|
65
|
+
font-weight: bold;
|
66
|
+
}
|
67
|
+
|
68
|
+
.highlight .c,
|
69
|
+
.highlight .cd,
|
70
|
+
.highlight .cm,
|
71
|
+
.highlight .c1,
|
72
|
+
.highlight .cs {
|
73
|
+
color: #928374;
|
74
|
+
font-style: italic;
|
75
|
+
}
|
76
|
+
|
77
|
+
.highlight .cp {
|
78
|
+
color: #8ec07c;
|
79
|
+
}
|
80
|
+
|
81
|
+
.highlight .nt {
|
82
|
+
color: #fb4934;
|
83
|
+
}
|
84
|
+
|
85
|
+
.highlight .o,
|
86
|
+
.highlight .ow {
|
87
|
+
color: #fbf1c7;
|
88
|
+
}
|
89
|
+
|
90
|
+
.highlight .p,
|
91
|
+
.highlight .pi {
|
92
|
+
color: #fbf1c7;
|
93
|
+
}
|
94
|
+
|
95
|
+
.highlight .gi {
|
96
|
+
color: #b8bb26;
|
97
|
+
background-color: #282828;
|
98
|
+
}
|
99
|
+
|
100
|
+
.highlight .gd {
|
101
|
+
color: #fb4934;
|
102
|
+
background-color: #282828;
|
103
|
+
}
|
104
|
+
|
105
|
+
.highlight .gh {
|
106
|
+
color: #b8bb26;
|
107
|
+
font-weight: bold;
|
108
|
+
}
|
109
|
+
|
110
|
+
.highlight .k,
|
111
|
+
.highlight .kn,
|
112
|
+
.highlight .kp,
|
113
|
+
.highlight .kr,
|
114
|
+
.highlight .kv {
|
115
|
+
color: #fb4934;
|
116
|
+
}
|
117
|
+
|
118
|
+
.highlight .kc {
|
119
|
+
color: #d3869b;
|
120
|
+
}
|
121
|
+
|
122
|
+
.highlight .kt {
|
123
|
+
color: #fabd2f;
|
124
|
+
}
|
125
|
+
|
126
|
+
.highlight .kd {
|
127
|
+
color: #fe8019;
|
128
|
+
}
|
129
|
+
|
130
|
+
.highlight .s,
|
131
|
+
.highlight .sb,
|
132
|
+
.highlight .sc,
|
133
|
+
.highlight .sd,
|
134
|
+
.highlight .s2,
|
135
|
+
.highlight .sh,
|
136
|
+
.highlight .sx,
|
137
|
+
.highlight .s1 {
|
138
|
+
color: #b8bb26;
|
139
|
+
font-style: italic;
|
140
|
+
}
|
141
|
+
|
142
|
+
.highlight .si {
|
143
|
+
color: #b8bb26;
|
144
|
+
font-style: italic;
|
145
|
+
}
|
146
|
+
|
147
|
+
.highlight .sr {
|
148
|
+
color: #b8bb26;
|
149
|
+
font-style: italic;
|
150
|
+
}
|
151
|
+
|
152
|
+
.highlight .se {
|
153
|
+
color: #fe8019;
|
154
|
+
}
|
155
|
+
|
156
|
+
.highlight .nn {
|
157
|
+
color: #8ec07c;
|
158
|
+
}
|
159
|
+
|
160
|
+
.highlight .nc {
|
161
|
+
color: #8ec07c;
|
162
|
+
}
|
163
|
+
|
164
|
+
.highlight .no {
|
165
|
+
color: #d3869b;
|
166
|
+
}
|
167
|
+
|
168
|
+
.highlight .na {
|
169
|
+
color: #b8bb26;
|
170
|
+
}
|
171
|
+
|
172
|
+
.highlight .m,
|
173
|
+
.highlight .mf,
|
174
|
+
.highlight .mh,
|
175
|
+
.highlight .mi,
|
176
|
+
.highlight .il,
|
177
|
+
.highlight .mo,
|
178
|
+
.highlight .mb,
|
179
|
+
.highlight .mx {
|
180
|
+
color: #d3869b;
|
181
|
+
}
|
182
|
+
|
183
|
+
.highlight .ss {
|
184
|
+
color: #83a598;
|
185
|
+
}
|
data/_sass/main.scss
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
// Fonts preferences
|
2
|
+
$sans-family: Roboto, sans-serif;
|
3
|
+
$mono-family: Consolas, monospace;
|
4
|
+
$base-font-size: 16px;
|
5
|
+
$medium-font-size: $base-font-size * 0.938;
|
6
|
+
$small-font-size: $base-font-size * 0.875;
|
7
|
+
$base-line-height: 1.85;
|
8
|
+
|
9
|
+
// Font weight
|
10
|
+
// $light-weight: 300; // uncomment if necessary
|
11
|
+
$normal-weight: 400;
|
12
|
+
$bold-weight: 700;
|
13
|
+
// $black-weight: 900; // uncomment if necessary
|
14
|
+
|
15
|
+
//Light Colors
|
16
|
+
$text-base-color: #434648;
|
17
|
+
$text-link-blue: #003fff;
|
18
|
+
$text-link-blue-active: #0036c7;
|
19
|
+
|
20
|
+
$black: #0d122b;
|
21
|
+
$light: #ececec;
|
22
|
+
$smoke: #d2c7c7;
|
23
|
+
$gray: #6b7886;
|
24
|
+
$white: #fff;
|
25
|
+
|
26
|
+
// Dark Colors
|
27
|
+
$dark-text-base-color: #c7bebe;
|
28
|
+
$dark-text-link-blue: #ff5277;
|
29
|
+
$dark-text-link-blue-active: #ff2957;
|
30
|
+
|
31
|
+
$dark-black: #131418;
|
32
|
+
$dark-white: #eaeaea;
|
33
|
+
$dark-light: #1b1d25;
|
34
|
+
$dark-smoke: #4a4d56;
|
35
|
+
$dark-gray: #767f87;
|
36
|
+
|
37
|
+
// Width of the content area
|
38
|
+
$wide-size: 890px;
|
39
|
+
$narrow-size: 720px;
|
40
|
+
|
41
|
+
// Padding unit
|
42
|
+
$spacing-full: 30px;
|
43
|
+
$spacing-half: $spacing-full / 2;
|
44
|
+
|
45
|
+
// State of devices
|
46
|
+
$on-mobile: 768px;
|
47
|
+
$on-tablet: 769px;
|
48
|
+
$on-desktop: 1024px;
|
49
|
+
$on-widescreen: 1152px;
|
50
|
+
|
51
|
+
@mixin media-query($device) {
|
52
|
+
@media screen and (max-width: $device) {
|
53
|
+
@content;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
@mixin relative-font-size($ratio) {
|
58
|
+
font-size: $base-font-size * $ratio;
|
59
|
+
}
|
60
|
+
|
61
|
+
// Import sass files
|
62
|
+
@import "klise/fonts", "klise/base", "klise/layout", "klise/post",
|
63
|
+
"klise/miscellaneous", "klise/syntax", "klise/dark";
|
metadata
ADDED
@@ -0,0 +1,153 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: klise
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mahendrata Harpi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-08-29 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.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
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.13'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.13'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-sitemap
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.4'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.4'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-compose
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.12.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.12.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jekyll-postfiles
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.1'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.1'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.1'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- justharpi@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- LICENSE
|
105
|
+
- README.md
|
106
|
+
- _includes/anchor_headings.html
|
107
|
+
- _includes/author.html
|
108
|
+
- _includes/comments.html
|
109
|
+
- _includes/footer.html
|
110
|
+
- _includes/header.html
|
111
|
+
- _includes/navbar.html
|
112
|
+
- _includes/navigation.html
|
113
|
+
- _includes/pagination.html
|
114
|
+
- _layouts/404.html
|
115
|
+
- _layouts/compress.html
|
116
|
+
- _layouts/default.html
|
117
|
+
- _layouts/home.html
|
118
|
+
- _layouts/page.html
|
119
|
+
- _layouts/post.html
|
120
|
+
- _sass/klise/_base.scss
|
121
|
+
- _sass/klise/_dark.scss
|
122
|
+
- _sass/klise/_fonts.scss
|
123
|
+
- _sass/klise/_layout.scss
|
124
|
+
- _sass/klise/_miscellaneous.scss
|
125
|
+
- _sass/klise/_post.scss
|
126
|
+
- _sass/klise/_syntax.scss
|
127
|
+
- _sass/main.scss
|
128
|
+
homepage: https://github.com/piharpi/jekyll-klise
|
129
|
+
licenses:
|
130
|
+
- MIT
|
131
|
+
metadata:
|
132
|
+
plugin_type: theme
|
133
|
+
post_install_message:
|
134
|
+
rdoc_options: []
|
135
|
+
require_paths:
|
136
|
+
- lib
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
requirements: []
|
148
|
+
rubygems_version: 3.1.2
|
149
|
+
signing_key:
|
150
|
+
specification_version: 4
|
151
|
+
summary: "\U0001F3D6 Klisé is a minimalist Jekyll theme for running a personal site
|
152
|
+
or blog, light & dark mode support."
|
153
|
+
test_files: []
|