jekyll-theme-dml 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/404.md +12 -0
- data/LICENSE.txt +22 -0
- data/README.md +133 -0
- data/_data/authors.yml +10 -0
- data/_data/config.yml +10 -0
- data/_data/localization.yml +14 -0
- data/_data/projects.yml +10 -0
- data/_includes/author.html +23 -0
- data/_includes/date.html +11 -0
- data/_includes/disqus_comments.html +23 -0
- data/_includes/footer.html +57 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +23 -0
- data/_includes/header.html +38 -0
- data/_includes/icon-facebook.html +11 -0
- data/_includes/icon-facebook.svg +1 -0
- data/_includes/icon-feed.html +11 -0
- data/_includes/icon-feed.svg +1 -0
- data/_includes/icon-github.html +11 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-menu.svg +5 -0
- data/_includes/icon-twitter.html +11 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/localized_string.html +3 -0
- data/_layouts/authors.html +36 -0
- data/_layouts/blog.html +60 -0
- data/_layouts/default.html +19 -0
- data/_layouts/home.html +3 -0
- data/_layouts/lang_blog.html +38 -0
- data/_layouts/lang_chooser.html +26 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +51 -0
- data/_layouts/projects.html +32 -0
- data/_sass/jekyll-theme-dml.scss +53 -0
- data/_sass/jekyll-theme-dml/_base.scss +231 -0
- data/_sass/jekyll-theme-dml/_layout.scss +304 -0
- data/_sass/jekyll-theme-dml/_syntax-highlighting.scss +71 -0
- data/assets/icons/icon-facebook.png +0 -0
- data/assets/icons/icon-feed.png +0 -0
- data/assets/icons/icon-github.png +0 -0
- data/assets/icons/icon-menu.png +0 -0
- data/assets/icons/icon-twitter.png +0 -0
- data/assets/main.scss +5 -0
- metadata +130 -0
@@ -0,0 +1,304 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
border-top: 5px solid $border-color-dark; //$grey-color-dark;
|
6
|
+
border-bottom: 2px solid $border-color-dark; //$grey-color-light;
|
7
|
+
min-height: $spacing-unit * 1.865;
|
8
|
+
|
9
|
+
// Positioning context for the mobile navigation icon
|
10
|
+
position: relative;
|
11
|
+
}
|
12
|
+
|
13
|
+
.site-title {
|
14
|
+
@include relative-font-size(1.625);
|
15
|
+
font-weight: bold;
|
16
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
17
|
+
letter-spacing: 0.5px;
|
18
|
+
margin-bottom: 0;
|
19
|
+
float: left;
|
20
|
+
|
21
|
+
&,
|
22
|
+
&:visited {
|
23
|
+
color: $brand-color //$grey-color-dark;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.site-nav {
|
28
|
+
float: right;
|
29
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
30
|
+
|
31
|
+
.nav-trigger {
|
32
|
+
display: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
.menu-icon {
|
36
|
+
display: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
.page-link {
|
40
|
+
color: $grey-color-light; //$text-color;
|
41
|
+
line-height: $base-line-height;
|
42
|
+
|
43
|
+
// Gaps between nav items, but not on the last one
|
44
|
+
&:not(:last-child) {
|
45
|
+
margin-right: 20px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
@include media-query($on-palm) {
|
50
|
+
position: absolute;
|
51
|
+
top: 9px;
|
52
|
+
right: $spacing-unit / 2;
|
53
|
+
background-color: $background-color;
|
54
|
+
border: 2px solid $border-color; //$grey-color-light;
|
55
|
+
border-radius: 5px;
|
56
|
+
text-align: right;
|
57
|
+
|
58
|
+
label[for="nav-trigger"] {
|
59
|
+
display: block;
|
60
|
+
float: right;
|
61
|
+
width: 36px;
|
62
|
+
height: 36px;
|
63
|
+
z-index: 2;
|
64
|
+
cursor: pointer;
|
65
|
+
}
|
66
|
+
|
67
|
+
.menu-icon {
|
68
|
+
display: block;
|
69
|
+
float: right;
|
70
|
+
width: 36px;
|
71
|
+
height: 26px;
|
72
|
+
line-height: 0;
|
73
|
+
padding-top: 10px;
|
74
|
+
text-align: center;
|
75
|
+
|
76
|
+
> svg path {
|
77
|
+
fill: $grey-color-dark;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
input ~ .trigger {
|
82
|
+
clear: both;
|
83
|
+
display: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
input:checked ~ .trigger {
|
87
|
+
display: block;
|
88
|
+
padding-bottom: 5px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.page-link {
|
92
|
+
display: block;
|
93
|
+
padding: 5px 10px;
|
94
|
+
|
95
|
+
&:not(:last-child) {
|
96
|
+
margin-right: 0;
|
97
|
+
}
|
98
|
+
margin-left: 20px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Site footer
|
107
|
+
*/
|
108
|
+
.site-footer {
|
109
|
+
border-top: 2px solid $border-color-dark; //$grey-color-light;
|
110
|
+
padding: $spacing-unit 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
.footer-heading {
|
114
|
+
@include relative-font-size(1.125);
|
115
|
+
margin-bottom: $spacing-unit / 2;
|
116
|
+
}
|
117
|
+
|
118
|
+
.contact-list,
|
119
|
+
.social-media-list {
|
120
|
+
list-style: none;
|
121
|
+
margin-left: 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
.footer-col-wrapper {
|
125
|
+
@include relative-font-size(0.9375);
|
126
|
+
color: $grey-color;
|
127
|
+
margin-left: -$spacing-unit / 2;
|
128
|
+
@extend %clearfix;
|
129
|
+
}
|
130
|
+
|
131
|
+
.footer-col {
|
132
|
+
float: left;
|
133
|
+
margin-bottom: $spacing-unit / 2;
|
134
|
+
padding-left: $spacing-unit / 2;
|
135
|
+
}
|
136
|
+
|
137
|
+
.footer-col-1 {
|
138
|
+
width: 47%;
|
139
|
+
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
140
|
+
width: calc(35% - (#{$spacing-unit} / 2));
|
141
|
+
}
|
142
|
+
|
143
|
+
.footer-col-2 {
|
144
|
+
width: 47%;
|
145
|
+
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
146
|
+
width: calc(20% - (#{$spacing-unit} / 2));
|
147
|
+
}
|
148
|
+
|
149
|
+
.footer-col-3 {
|
150
|
+
width: 100%;
|
151
|
+
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
152
|
+
width: calc(45% - (#{$spacing-unit} / 2));
|
153
|
+
text-align: center;
|
154
|
+
}
|
155
|
+
|
156
|
+
@include media-query($on-laptop) {
|
157
|
+
.footer-col-1,
|
158
|
+
.footer-col-2 {
|
159
|
+
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
160
|
+
width: calc(50% - (#{$spacing-unit} / 2));
|
161
|
+
}
|
162
|
+
|
163
|
+
.footer-col-3 {
|
164
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
165
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
@include media-query($on-palm) {
|
170
|
+
.footer-col {
|
171
|
+
float: none;
|
172
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
173
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
/**
|
180
|
+
* Page content
|
181
|
+
*/
|
182
|
+
.page-header {
|
183
|
+
margin-bottom: $spacing-unit;
|
184
|
+
border-bottom: 2px dashed $border-color;
|
185
|
+
}
|
186
|
+
|
187
|
+
.page-content {
|
188
|
+
padding: $spacing-unit 0;
|
189
|
+
}
|
190
|
+
|
191
|
+
.page-heading {
|
192
|
+
//@include relative-font-size(1.25);
|
193
|
+
}
|
194
|
+
|
195
|
+
.post-list {
|
196
|
+
margin-left: 0;
|
197
|
+
list-style: none;
|
198
|
+
|
199
|
+
> li {
|
200
|
+
margin-bottom: $spacing-unit;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
.post-meta {
|
205
|
+
font-size: $small-font-size;
|
206
|
+
color: $grey-color;
|
207
|
+
}
|
208
|
+
|
209
|
+
.post-link {
|
210
|
+
display: block;
|
211
|
+
@include relative-font-size(1.25);
|
212
|
+
}
|
213
|
+
|
214
|
+
.pagination {
|
215
|
+
text-align: center;
|
216
|
+
margin-bottom: $spacing-unit;
|
217
|
+
|
218
|
+
.previous, .next {
|
219
|
+
padding: 0 5px;
|
220
|
+
|
221
|
+
&.disabled {
|
222
|
+
color: $grey-color-dark;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
.page-link {
|
227
|
+
padding: 1px 8px;
|
228
|
+
display: inline-block;
|
229
|
+
border: 1px solid $border-color-light;
|
230
|
+
vertical-align: middle;
|
231
|
+
|
232
|
+
&.disabled {
|
233
|
+
color: $grey-color-dark;
|
234
|
+
border-color: $border-color-dark;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
.user-image {
|
240
|
+
max-width: $spacing-unit;
|
241
|
+
max-height: $spacing-unit
|
242
|
+
}
|
243
|
+
|
244
|
+
.user-name {
|
245
|
+
margin-left: 10px;
|
246
|
+
}
|
247
|
+
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Posts
|
251
|
+
*/
|
252
|
+
.post-header {
|
253
|
+
margin-bottom: $spacing-unit;
|
254
|
+
border-bottom: 2px dashed $border-color;
|
255
|
+
}
|
256
|
+
|
257
|
+
.post-title {
|
258
|
+
@include relative-font-size(2);
|
259
|
+
letter-spacing: -1px;
|
260
|
+
line-height: 1;
|
261
|
+
|
262
|
+
@include media-query($on-laptop) {
|
263
|
+
@include relative-font-size(1.8);
|
264
|
+
}
|
265
|
+
}
|
266
|
+
|
267
|
+
.post-content {
|
268
|
+
margin-bottom: $spacing-unit;
|
269
|
+
|
270
|
+
h2 {
|
271
|
+
@include relative-font-size(2);
|
272
|
+
|
273
|
+
@include media-query($on-laptop) {
|
274
|
+
@include relative-font-size(1.75);
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
h3 {
|
279
|
+
@include relative-font-size(1.625);
|
280
|
+
|
281
|
+
@include media-query($on-laptop) {
|
282
|
+
|
283
|
+
@include relative-font-size(1.375);
|
284
|
+
}
|
285
|
+
}
|
286
|
+
|
287
|
+
h4 {
|
288
|
+
@include relative-font-size(1.25);
|
289
|
+
|
290
|
+
@include media-query($on-laptop) {
|
291
|
+
@include relative-font-size(1.125);
|
292
|
+
}
|
293
|
+
}
|
294
|
+
}
|
295
|
+
|
296
|
+
.comments {
|
297
|
+
margin-top: 50px;
|
298
|
+
padding-top: 15px;
|
299
|
+
border-top: 2px dashed $border-color;
|
300
|
+
|
301
|
+
h2 {
|
302
|
+
color: $grey-color;
|
303
|
+
}
|
304
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/**
|
2
|
+
* Syntax highlighting styles
|
3
|
+
*/
|
4
|
+
.highlight {
|
5
|
+
background: #222; //#fff;
|
6
|
+
@extend %vertical-rhythm;
|
7
|
+
|
8
|
+
.highlighter-rouge & {
|
9
|
+
background: #222; //#eef;
|
10
|
+
}
|
11
|
+
|
12
|
+
.c { color: #998; font-style: italic } // Comment
|
13
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
14
|
+
.k { font-weight: bold } // Keyword
|
15
|
+
.o { font-weight: bold } // Operator
|
16
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
17
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
18
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
19
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
20
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
21
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
22
|
+
.ge { font-style: italic } // Generic.Emph
|
23
|
+
.gr { color: #a00 } // Generic.Error
|
24
|
+
.gh { color: #999 } // Generic.Heading
|
25
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
26
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
27
|
+
.go { color: #888 } // Generic.Output
|
28
|
+
.gp { color: #555 } // Generic.Prompt
|
29
|
+
.gs { font-weight: bold } // Generic.Strong
|
30
|
+
.gu { color: #aaa } // Generic.Subheading
|
31
|
+
.gt { color: #a00 } // Generic.Traceback
|
32
|
+
.kc { font-weight: bold } // Keyword.Constant
|
33
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
34
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
35
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
36
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
37
|
+
.m { color: #099 } // Literal.Number
|
38
|
+
.s { color: #d14 } // Literal.String
|
39
|
+
.na { color: #008080 } // Name.Attribute
|
40
|
+
.nb { color: #0086B3 } // Name.Builtin
|
41
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
42
|
+
.no { color: #008080 } // Name.Constant
|
43
|
+
.ni { color: #800080 } // Name.Entity
|
44
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
45
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
46
|
+
.nn { color: #555 } // Name.Namespace
|
47
|
+
.nt { color: #000080 } // Name.Tag
|
48
|
+
.nv { color: #008080 } // Name.Variable
|
49
|
+
.ow { font-weight: bold } // Operator.Word
|
50
|
+
.w { color: #bbb } // Text.Whitespace
|
51
|
+
.mf { color: #099 } // Literal.Number.Float
|
52
|
+
.mh { color: #099 } // Literal.Number.Hex
|
53
|
+
.mi { color: #099 } // Literal.Number.Integer
|
54
|
+
.mo { color: #099 } // Literal.Number.Oct
|
55
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
56
|
+
.sc { color: #d14 } // Literal.String.Char
|
57
|
+
.sd { color: #d14 } // Literal.String.Doc
|
58
|
+
.s2 { color: #d14 } // Literal.String.Double
|
59
|
+
.se { color: #d14 } // Literal.String.Escape
|
60
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
61
|
+
.si { color: #d14 } // Literal.String.Interpol
|
62
|
+
.sx { color: #d14 } // Literal.String.Other
|
63
|
+
.sr { color: #009926 } // Literal.String.Regex
|
64
|
+
.s1 { color: #d14 } // Literal.String.Single
|
65
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
66
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
67
|
+
.vc { color: #008080 } // Name.Variable.Class
|
68
|
+
.vg { color: #008080 } // Name.Variable.Global
|
69
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
70
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
71
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/main.scss
ADDED
metadata
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-dml
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Delson Lima
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-03-03 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: '3.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- delsonlima.dev@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- 404.md
|
63
|
+
- LICENSE.txt
|
64
|
+
- README.md
|
65
|
+
- _data/authors.yml
|
66
|
+
- _data/config.yml
|
67
|
+
- _data/localization.yml
|
68
|
+
- _data/projects.yml
|
69
|
+
- _includes/author.html
|
70
|
+
- _includes/date.html
|
71
|
+
- _includes/disqus_comments.html
|
72
|
+
- _includes/footer.html
|
73
|
+
- _includes/google-analytics.html
|
74
|
+
- _includes/head.html
|
75
|
+
- _includes/header.html
|
76
|
+
- _includes/icon-facebook.html
|
77
|
+
- _includes/icon-facebook.svg
|
78
|
+
- _includes/icon-feed.html
|
79
|
+
- _includes/icon-feed.svg
|
80
|
+
- _includes/icon-github.html
|
81
|
+
- _includes/icon-github.svg
|
82
|
+
- _includes/icon-menu.svg
|
83
|
+
- _includes/icon-twitter.html
|
84
|
+
- _includes/icon-twitter.svg
|
85
|
+
- _includes/localized_string.html
|
86
|
+
- _layouts/authors.html
|
87
|
+
- _layouts/blog.html
|
88
|
+
- _layouts/default.html
|
89
|
+
- _layouts/home.html
|
90
|
+
- _layouts/lang_blog.html
|
91
|
+
- _layouts/lang_chooser.html
|
92
|
+
- _layouts/page.html
|
93
|
+
- _layouts/post.html
|
94
|
+
- _layouts/projects.html
|
95
|
+
- _sass/jekyll-theme-dml.scss
|
96
|
+
- _sass/jekyll-theme-dml/_base.scss
|
97
|
+
- _sass/jekyll-theme-dml/_layout.scss
|
98
|
+
- _sass/jekyll-theme-dml/_syntax-highlighting.scss
|
99
|
+
- assets/icons/icon-facebook.png
|
100
|
+
- assets/icons/icon-feed.png
|
101
|
+
- assets/icons/icon-github.png
|
102
|
+
- assets/icons/icon-menu.png
|
103
|
+
- assets/icons/icon-twitter.png
|
104
|
+
- assets/main.scss
|
105
|
+
homepage: https://github.com/delsonlima/jekyll-theme-dml
|
106
|
+
licenses:
|
107
|
+
- MIT
|
108
|
+
metadata:
|
109
|
+
plugin_type: theme
|
110
|
+
post_install_message:
|
111
|
+
rdoc_options: []
|
112
|
+
require_paths:
|
113
|
+
- lib
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
requirements: []
|
125
|
+
rubyforge_project:
|
126
|
+
rubygems_version: 2.5.2.1
|
127
|
+
signing_key:
|
128
|
+
specification_version: 4
|
129
|
+
summary: A simple dark theme based on 'minima', with easy multilingual setup
|
130
|
+
test_files: []
|