jekyll-theme-so-simple 3.1.3 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +34 -13
- data/_includes/head.html +1 -0
- data/_layouts/default.html +1 -1
- data/_sass/so-simple.scss +1 -1
- data/_sass/so-simple/_base.scss +2 -8
- data/_sass/so-simple/_buttons.scss +0 -28
- data/_sass/so-simple/_entries.scss +0 -4
- data/_sass/so-simple/_global.scss +9 -50
- data/_sass/so-simple/_notices.scss +0 -42
- data/_sass/so-simple/_page.scss +0 -1
- data/_sass/so-simple/_reset.scss +1 -2
- data/_sass/so-simple/_skin.scss +552 -0
- data/_sass/so-simple/_syntax-highlighting.scss +1 -267
- data/_sass/so-simple/_tables.scss +1 -1
- data/_sass/so-simple/_variables.scss +0 -34
- data/_sass/so-simple/utilities/_accessibility.scss +0 -1
- data/assets/css/skins/dark.scss +43 -0
- data/assets/css/skins/default.scss +44 -0
- data/assets/css/skins/light.scss +44 -0
- data/assets/js/main.min.js +1 -1
- metadata +8 -4
data/_sass/so-simple/_reset.scss
CHANGED
@@ -0,0 +1,552 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Base elements
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
body {
|
6
|
+
color: $text-color;
|
7
|
+
background: $background-color;
|
8
|
+
border-top-color: $nav-background-color;
|
9
|
+
}
|
10
|
+
|
11
|
+
a {
|
12
|
+
color: $accent-color;
|
13
|
+
|
14
|
+
&:hover {
|
15
|
+
color: shade($accent-color, 25%);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
blockquote {
|
20
|
+
background-color: mix($background-color, $accent-color, 90%);
|
21
|
+
border-left-color: $accent-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
/* ==========================================================================
|
25
|
+
Site-wide
|
26
|
+
========================================================================== */
|
27
|
+
|
28
|
+
.site-title {
|
29
|
+
a {
|
30
|
+
color: $text-color;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.copyright {
|
35
|
+
color: lighten($text-color, 35%);
|
36
|
+
a {
|
37
|
+
color: lighten($text-color, 35%);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.taxonomy-title {
|
42
|
+
color: lighten($text-color, 60%);
|
43
|
+
}
|
44
|
+
|
45
|
+
.taxonomy-count {
|
46
|
+
color: lighten($text-color, 50%);
|
47
|
+
}
|
48
|
+
|
49
|
+
.taxonomy-index {
|
50
|
+
a {
|
51
|
+
border-bottom-color: $border-color;
|
52
|
+
|
53
|
+
&:hover {
|
54
|
+
color: $accent-color;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.taxonomy-section {
|
60
|
+
&:not(:last-child) {
|
61
|
+
border-bottom-color: $border-color;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.back-to-top {
|
66
|
+
color: lighten($text-color, 50%);
|
67
|
+
}
|
68
|
+
|
69
|
+
.site-nav {
|
70
|
+
ul {
|
71
|
+
color: $nav-color;
|
72
|
+
background-color: $nav-background-color;
|
73
|
+
}
|
74
|
+
|
75
|
+
a {
|
76
|
+
color: $nav-color;
|
77
|
+
border-color: $nav-background-color;
|
78
|
+
|
79
|
+
&:hover {
|
80
|
+
border-color: $nav-color;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.site-footer {
|
86
|
+
border-top-color: $border-color;
|
87
|
+
}
|
88
|
+
|
89
|
+
.footnotes {
|
90
|
+
border-top-color: $border-color;
|
91
|
+
}
|
92
|
+
|
93
|
+
.site-logo-img {
|
94
|
+
border-color: $background-color;
|
95
|
+
}
|
96
|
+
|
97
|
+
.toc-wrapper {
|
98
|
+
border-color: mix(#fff, $border-color, 25%);
|
99
|
+
|
100
|
+
h2 {
|
101
|
+
color: $base05;
|
102
|
+
background-color: $base00;
|
103
|
+
}
|
104
|
+
|
105
|
+
li {
|
106
|
+
ol {
|
107
|
+
background-color: $background-color;
|
108
|
+
}
|
109
|
+
|
110
|
+
a {
|
111
|
+
&:hover,
|
112
|
+
&:focus {
|
113
|
+
border-bottom: 1px dotted $border-color;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
#menu-toggle {
|
120
|
+
color: $nav-color;
|
121
|
+
}
|
122
|
+
|
123
|
+
#menu-toggle {
|
124
|
+
background-color: $nav-background-color;
|
125
|
+
}
|
126
|
+
|
127
|
+
#markdown-toc {
|
128
|
+
color: $base05;
|
129
|
+
}
|
130
|
+
|
131
|
+
.pagination {
|
132
|
+
li {
|
133
|
+
a {
|
134
|
+
color: mix(#000, $border-color, 25%);
|
135
|
+
border-color: $border-color;
|
136
|
+
|
137
|
+
&.current,
|
138
|
+
&.current.disabled {
|
139
|
+
@include yiq-contrasted(mix(#000, $border-color, 25%));
|
140
|
+
}
|
141
|
+
|
142
|
+
&.disabled {
|
143
|
+
color: $border-color;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
.search-input {
|
150
|
+
border-color: $border-color;
|
151
|
+
}
|
152
|
+
|
153
|
+
/* ==========================================================================
|
154
|
+
Page
|
155
|
+
========================================================================== */
|
156
|
+
|
157
|
+
.page-previous,
|
158
|
+
.page-next {
|
159
|
+
color: $text-color;
|
160
|
+
}
|
161
|
+
|
162
|
+
/* ==========================================================================
|
163
|
+
Entries (Posts, collection documents, etc.)
|
164
|
+
========================================================================== */
|
165
|
+
|
166
|
+
.entry {
|
167
|
+
a {
|
168
|
+
&:hover {
|
169
|
+
color: $accent-color;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
/* ==========================================================================
|
175
|
+
Tables
|
176
|
+
========================================================================== */
|
177
|
+
|
178
|
+
th,
|
179
|
+
td {
|
180
|
+
border-bottom-color: $border-color;
|
181
|
+
}
|
182
|
+
|
183
|
+
|
184
|
+
/* ==========================================================================
|
185
|
+
NOTICE TEXT BLOCKS
|
186
|
+
========================================================================== */
|
187
|
+
|
188
|
+
/* Default notice */
|
189
|
+
.notice {
|
190
|
+
@include notice(lighten($base-color, 90%));
|
191
|
+
}
|
192
|
+
|
193
|
+
/* Accent notice */
|
194
|
+
.notice--accent {
|
195
|
+
@include notice(mix(#fff, $accent-color, 70%));
|
196
|
+
}
|
197
|
+
|
198
|
+
/* Primary notice */
|
199
|
+
.notice--primary {
|
200
|
+
@include notice(mix(#fff, $primary-color, 70%));
|
201
|
+
}
|
202
|
+
|
203
|
+
/* Warning notice */
|
204
|
+
.notice--warning {
|
205
|
+
@include notice(mix(#fff, $warning-color, 70%));
|
206
|
+
}
|
207
|
+
|
208
|
+
/* Success notice */
|
209
|
+
.notice--success {
|
210
|
+
@include notice(mix(#fff, $success-color, 70%));
|
211
|
+
}
|
212
|
+
|
213
|
+
/* Danger notice */
|
214
|
+
.notice--danger {
|
215
|
+
@include notice(mix(#fff, $danger-color, 70%));
|
216
|
+
}
|
217
|
+
|
218
|
+
/* Info notice */
|
219
|
+
.notice--info {
|
220
|
+
@include notice(mix(#fff, $info-color, 70%));
|
221
|
+
}
|
222
|
+
|
223
|
+
/* ==========================================================================
|
224
|
+
Accessibility Modules
|
225
|
+
========================================================================== */
|
226
|
+
|
227
|
+
/* Text meant only for screen readers */
|
228
|
+
.screen-reader-text,
|
229
|
+
.screen-reader-text span,
|
230
|
+
.screen-reader-shortcut {
|
231
|
+
background-color: $base-color;
|
232
|
+
}
|
233
|
+
|
234
|
+
/* ==========================================================================
|
235
|
+
BUTTONS
|
236
|
+
========================================================================== */
|
237
|
+
|
238
|
+
.btn {
|
239
|
+
/* button colors */
|
240
|
+
$buttoncolors: (primary, $primary-color), (accent, $accent-color), (inverse, #fff),
|
241
|
+
(light-outline, transparent), (success, $success-color),
|
242
|
+
(warning, $warning-color), (danger, $danger-color), (info, $info-color),
|
243
|
+
(facebook, $facebook-color), (twitter, $twitter-color),
|
244
|
+
(google-plus, $google-plus-color), (linkedin, $linkedin-color),
|
245
|
+
(reddit, $reddit-color);
|
246
|
+
|
247
|
+
@each $buttoncolor, $color in $buttoncolors {
|
248
|
+
&--#{$buttoncolor} {
|
249
|
+
@include yiq-contrasted($color);
|
250
|
+
@if ($buttoncolor == inverse) {
|
251
|
+
border: 1px solid $border-color;
|
252
|
+
}
|
253
|
+
@if ($buttoncolor == light-outline) {
|
254
|
+
border: 1px solid #fff;
|
255
|
+
}
|
256
|
+
|
257
|
+
&:hover {
|
258
|
+
@include yiq-contrasted(mix(#000, $color, 20%));
|
259
|
+
}
|
260
|
+
|
261
|
+
&:visited {
|
262
|
+
@include yiq-contrasted($color);
|
263
|
+
}
|
264
|
+
}
|
265
|
+
}
|
266
|
+
}
|
267
|
+
|
268
|
+
/* ==========================================================================
|
269
|
+
Syntax highlighting
|
270
|
+
========================================================================== */
|
271
|
+
|
272
|
+
code.highlighter-rouge {
|
273
|
+
color: $base05;
|
274
|
+
background-color: $base00;
|
275
|
+
}
|
276
|
+
|
277
|
+
div.highlighter-rouge,
|
278
|
+
figure.highlight {
|
279
|
+
color: $base05;
|
280
|
+
background-color: $base00;
|
281
|
+
}
|
282
|
+
|
283
|
+
.highlight table {
|
284
|
+
td {
|
285
|
+
&.gutter {
|
286
|
+
color: $base04;
|
287
|
+
border-right-color: $base04;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}
|
291
|
+
|
292
|
+
.highlight .hll {
|
293
|
+
background-color: $base06;
|
294
|
+
}
|
295
|
+
|
296
|
+
.highlight {
|
297
|
+
.c {
|
298
|
+
/* Comment */
|
299
|
+
color: $base04;
|
300
|
+
}
|
301
|
+
.err {
|
302
|
+
/* Error */
|
303
|
+
color: $base08;
|
304
|
+
}
|
305
|
+
.k {
|
306
|
+
/* Keyword */
|
307
|
+
color: $base0e;
|
308
|
+
}
|
309
|
+
.l {
|
310
|
+
/* Literal */
|
311
|
+
color: $base09;
|
312
|
+
}
|
313
|
+
.n {
|
314
|
+
/* Name */
|
315
|
+
color: $base05;
|
316
|
+
}
|
317
|
+
.o {
|
318
|
+
/* Operator */
|
319
|
+
color: $base0c;
|
320
|
+
}
|
321
|
+
.p {
|
322
|
+
/* Punctuation */
|
323
|
+
color: $base05;
|
324
|
+
}
|
325
|
+
.cm {
|
326
|
+
/* Comment.Multiline */
|
327
|
+
color: $base04;
|
328
|
+
}
|
329
|
+
.cp {
|
330
|
+
/* Comment.Preproc */
|
331
|
+
color: $base04;
|
332
|
+
}
|
333
|
+
.c1 {
|
334
|
+
/* Comment.Single */
|
335
|
+
color: $base04;
|
336
|
+
}
|
337
|
+
.cs {
|
338
|
+
/* Comment.Special */
|
339
|
+
color: $base04;
|
340
|
+
}
|
341
|
+
.gd {
|
342
|
+
/* Generic.Deleted */
|
343
|
+
color: $base08;
|
344
|
+
}
|
345
|
+
.ge {
|
346
|
+
/* Generic.Emph */
|
347
|
+
font-style: italic;
|
348
|
+
}
|
349
|
+
.gh {
|
350
|
+
/* Generic.Heading */
|
351
|
+
color: $base05;
|
352
|
+
font-weight: bold;
|
353
|
+
}
|
354
|
+
.gi {
|
355
|
+
/* Generic.Inserted */
|
356
|
+
color: $base0b;
|
357
|
+
}
|
358
|
+
.gp {
|
359
|
+
/* Generic.Prompt */
|
360
|
+
color: $base04;
|
361
|
+
font-weight: bold;
|
362
|
+
}
|
363
|
+
.gs {
|
364
|
+
/* Generic.Strong */
|
365
|
+
font-weight: bold;
|
366
|
+
}
|
367
|
+
.gu {
|
368
|
+
/* Generic.Subheading */
|
369
|
+
color: $base0c;
|
370
|
+
font-weight: bold;
|
371
|
+
}
|
372
|
+
.kc {
|
373
|
+
/* Keyword.Constant */
|
374
|
+
color: $base0e;
|
375
|
+
}
|
376
|
+
.kd {
|
377
|
+
/* Keyword.Declaration */
|
378
|
+
color: $base0e;
|
379
|
+
}
|
380
|
+
.kn {
|
381
|
+
/* Keyword.Namespace */
|
382
|
+
color: $base0c;
|
383
|
+
}
|
384
|
+
.kp {
|
385
|
+
/* Keyword.Pseudo */
|
386
|
+
color: $base0e;
|
387
|
+
}
|
388
|
+
.kr {
|
389
|
+
/* Keyword.Reserved */
|
390
|
+
color: $base0e;
|
391
|
+
}
|
392
|
+
.kt {
|
393
|
+
/* Keyword.Type */
|
394
|
+
color: $base0a;
|
395
|
+
}
|
396
|
+
.ld {
|
397
|
+
/* Literal.Date */
|
398
|
+
color: $base0b;
|
399
|
+
}
|
400
|
+
.m {
|
401
|
+
/* Literal.Number */
|
402
|
+
color: $base09;
|
403
|
+
}
|
404
|
+
.s {
|
405
|
+
/* Literal.String */
|
406
|
+
color: $base0b;
|
407
|
+
}
|
408
|
+
.na {
|
409
|
+
/* Name.Attribute */
|
410
|
+
color: $base0d;
|
411
|
+
}
|
412
|
+
.nb {
|
413
|
+
/* Name.Builtin */
|
414
|
+
color: $base05;
|
415
|
+
}
|
416
|
+
.nc {
|
417
|
+
/* Name.Class */
|
418
|
+
color: $base0a;
|
419
|
+
}
|
420
|
+
.no {
|
421
|
+
/* Name.Constant */
|
422
|
+
color: $base08;
|
423
|
+
}
|
424
|
+
.nd {
|
425
|
+
/* Name.Decorator */
|
426
|
+
color: $base0c;
|
427
|
+
}
|
428
|
+
.ni {
|
429
|
+
/* Name.Entity */
|
430
|
+
color: $base05;
|
431
|
+
}
|
432
|
+
.ne {
|
433
|
+
/* Name.Exception */
|
434
|
+
color: $base08;
|
435
|
+
}
|
436
|
+
.nf {
|
437
|
+
/* Name.Function */
|
438
|
+
color: $base0d;
|
439
|
+
}
|
440
|
+
.nl {
|
441
|
+
/* Name.Label */
|
442
|
+
color: $base05;
|
443
|
+
}
|
444
|
+
.nn {
|
445
|
+
/* Name.Namespace */
|
446
|
+
color: $base0a;
|
447
|
+
}
|
448
|
+
.nx {
|
449
|
+
/* Name.Other */
|
450
|
+
color: $base0d;
|
451
|
+
}
|
452
|
+
.py {
|
453
|
+
/* Name.Property */
|
454
|
+
color: $base05;
|
455
|
+
}
|
456
|
+
.nt {
|
457
|
+
/* Name.Tag */
|
458
|
+
color: $base0c;
|
459
|
+
}
|
460
|
+
.nv {
|
461
|
+
/* Name.Variable */
|
462
|
+
color: $base08;
|
463
|
+
}
|
464
|
+
.ow {
|
465
|
+
/* Operator.Word */
|
466
|
+
color: $base0c;
|
467
|
+
}
|
468
|
+
.w {
|
469
|
+
/* Text.Whitespace */
|
470
|
+
color: $base05;
|
471
|
+
}
|
472
|
+
.mf {
|
473
|
+
/* Literal.Number.Float */
|
474
|
+
color: $base09;
|
475
|
+
}
|
476
|
+
.mh {
|
477
|
+
/* Literal.Number.Hex */
|
478
|
+
color: $base09;
|
479
|
+
}
|
480
|
+
.mi {
|
481
|
+
/* Literal.Number.Integer */
|
482
|
+
color: $base09;
|
483
|
+
}
|
484
|
+
.mo {
|
485
|
+
/* Literal.Number.Oct */
|
486
|
+
color: $base09;
|
487
|
+
}
|
488
|
+
.sb {
|
489
|
+
/* Literal.String.Backtick */
|
490
|
+
color: $base0b;
|
491
|
+
}
|
492
|
+
.sc {
|
493
|
+
/* Literal.String.Char */
|
494
|
+
color: $base05;
|
495
|
+
}
|
496
|
+
.sd {
|
497
|
+
/* Literal.String.Doc */
|
498
|
+
color: $base04;
|
499
|
+
}
|
500
|
+
.s2 {
|
501
|
+
/* Literal.String.Double */
|
502
|
+
color: $base0b;
|
503
|
+
}
|
504
|
+
.se {
|
505
|
+
/* Literal.String.Escape */
|
506
|
+
color: $base09;
|
507
|
+
}
|
508
|
+
.sh {
|
509
|
+
/* Literal.String.Heredoc */
|
510
|
+
color: $base0b;
|
511
|
+
}
|
512
|
+
.si {
|
513
|
+
/* Literal.String.Interpol */
|
514
|
+
color: $base09;
|
515
|
+
}
|
516
|
+
.sx {
|
517
|
+
/* Literal.String.Other */
|
518
|
+
color: $base0b;
|
519
|
+
}
|
520
|
+
.sr {
|
521
|
+
/* Literal.String.Regex */
|
522
|
+
color: $base0b;
|
523
|
+
}
|
524
|
+
.s1 {
|
525
|
+
/* Literal.String.Single */
|
526
|
+
color: $base0b;
|
527
|
+
}
|
528
|
+
.ss {
|
529
|
+
/* Literal.String.Symbol */
|
530
|
+
color: $base0b;
|
531
|
+
}
|
532
|
+
.bp {
|
533
|
+
/* Name.Builtin.Pseudo */
|
534
|
+
color: $base05;
|
535
|
+
}
|
536
|
+
.vc {
|
537
|
+
/* Name.Variable.Class */
|
538
|
+
color: $base08;
|
539
|
+
}
|
540
|
+
.vg {
|
541
|
+
/* Name.Variable.Global */
|
542
|
+
color: $base08;
|
543
|
+
}
|
544
|
+
.vi {
|
545
|
+
/* Name.Variable.Instance */
|
546
|
+
color: $base08;
|
547
|
+
}
|
548
|
+
.il {
|
549
|
+
/* Literal.Number.Integer.Long */
|
550
|
+
color: $base09;
|
551
|
+
}
|
552
|
+
}
|