jekyll-theme-minimalist 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +116 -0
  3. data/README.md +125 -0
  4. data/_includes/footer.html +1 -0
  5. data/_includes/head-custom-google-analytics.html +10 -0
  6. data/_includes/head-custom.html +12 -0
  7. data/_includes/links-mobile.html +11 -0
  8. data/_includes/sidebar.html +19 -0
  9. data/_layouts/default.html +66 -0
  10. data/_layouts/post.html +14 -0
  11. data/_sass/colors.scss +124 -0
  12. data/_sass/fonts.scss +55 -0
  13. data/_sass/jekyll-theme-minimalist.scss +316 -0
  14. data/_sass/minimalist.scss +4 -0
  15. data/_sass/rouge-github.scss +219 -0
  16. data/assets/css/colors-auto-default-dark.scss +17 -0
  17. data/assets/css/colors-auto.scss +15 -0
  18. data/assets/css/colors-dark.scss +15 -0
  19. data/assets/css/colors-light.scss +9 -0
  20. data/assets/css/style.scss +68 -0
  21. data/assets/fonts/Noto-Sans-700/Noto-Sans-700.eot +0 -0
  22. data/assets/fonts/Noto-Sans-700/Noto-Sans-700.svg +336 -0
  23. data/assets/fonts/Noto-Sans-700/Noto-Sans-700.ttf +0 -0
  24. data/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff +0 -0
  25. data/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff2 +0 -0
  26. data/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot +0 -0
  27. data/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg +334 -0
  28. data/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf +0 -0
  29. data/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff +0 -0
  30. data/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2 +0 -0
  31. data/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.eot +0 -0
  32. data/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.svg +337 -0
  33. data/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.ttf +0 -0
  34. data/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff +0 -0
  35. data/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff2 +0 -0
  36. data/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.eot +0 -0
  37. data/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.svg +335 -0
  38. data/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.ttf +0 -0
  39. data/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff +0 -0
  40. data/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff2 +0 -0
  41. data/assets/img/logo.png +0 -0
  42. data/assets/js/scale.fix.js +27 -0
  43. metadata +162 -0
@@ -0,0 +1,316 @@
1
+ @import "fonts";
2
+ @import "rouge-github";
3
+ @import "colors";
4
+
5
+ body {
6
+ background-color: var(--clr-bg);
7
+ padding:50px;
8
+ font: 15px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
9
+ color: var(--clr-text);
10
+ font-weight:400;
11
+ }
12
+
13
+ h1, h2, h3, h4, h5, h6 {
14
+ color: var(--clr-h1-and-bold);
15
+ margin:0 0 20px;
16
+ }
17
+
18
+ p, ul, ol, table, pre, dl {
19
+ margin:0 0 20px;
20
+ }
21
+
22
+ h1, h2, h3 {
23
+ line-height:1.1;
24
+ }
25
+
26
+ h1 {
27
+ font-size:32px;
28
+ }
29
+
30
+ h2 {
31
+ color: var(--clr-h2);
32
+ }
33
+
34
+ h3, h4, h5, h6 {
35
+ color: var(--clr-h-3-6);
36
+ }
37
+
38
+ a {
39
+ color:var(--clr-a-text);
40
+ text-decoration:none;
41
+ }
42
+
43
+ a:hover, a:focus {
44
+ color: var(--clr-a-text-hvr);
45
+ }
46
+
47
+ a small {
48
+ font-size:11px;
49
+ color:var(--clr-small-in-a);
50
+ margin-top:-0.3em;
51
+ display:block;
52
+ }
53
+
54
+ a:hover small {
55
+ color:var(--clr-small-in-a);
56
+ }
57
+
58
+ // added
59
+ p.link {
60
+ margin:0 0 4px;
61
+ }
62
+
63
+ // added
64
+ ul.link {
65
+ list-style-type: none; /* Remove bullets */
66
+ margin: 0; /* To remove default bottom margin */
67
+ padding: 0.4px; /* To remove default left padding */
68
+ }
69
+
70
+ ul.link li + li {
71
+ margin-top: 6px;
72
+ }
73
+
74
+ ul.link:last-child {
75
+ margin-bottom: 6px;
76
+ }
77
+
78
+ .wrapper {
79
+ width:860px;
80
+ margin: 0 auto;
81
+ }
82
+
83
+ blockquote {
84
+ border-left:1px solid var(--clr-splitter-blockquote-and-section);
85
+ margin:0;
86
+ padding:0 0 0 20px;
87
+ font-style:italic;
88
+ }
89
+
90
+ code, pre {
91
+ font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
92
+ color: var(--clr-code-text);
93
+ }
94
+
95
+ pre {
96
+ padding:8px 15px;
97
+ background: var(--clr-code-bg);
98
+ border-radius:5px;
99
+ border:1px solid var(--clr-code-border);
100
+ overflow-x: auto;
101
+ }
102
+
103
+ table {
104
+ width:100%;
105
+ border-collapse:collapse;
106
+ }
107
+
108
+ th, td {
109
+ text-align:left;
110
+ padding:5px 10px;
111
+ border-bottom:1px solid var(--clr-splitter-blockquote-and-section);
112
+ }
113
+
114
+ dt {
115
+ color:var(--clr-table-header-and-dt);
116
+ font-weight:700;
117
+ }
118
+
119
+ th {
120
+ color:var(--clr-table-header-and-dt);
121
+ }
122
+
123
+ img {
124
+ max-width:100%;
125
+ }
126
+
127
+ kbd {
128
+ background-color: var(--clr-kbd-bg) ;
129
+ border: 1px solid var(--clr-kbd-border);
130
+ border-bottom-color: var(--clr-kbd-border-bottom-and-shadow);
131
+ border-radius: 3px;
132
+ box-shadow: inset 0 -1px 0 var(--clr-kbd-border-bottom-and-shadow);
133
+ color: var(--clr-kbd-text);
134
+ display: inline-block;
135
+ font-size: 11px;
136
+ line-height: 10px;
137
+ padding: 3px 5px;
138
+ vertical-align: middle;
139
+ }
140
+
141
+ .sidebar {
142
+ width:185px;
143
+ float:left;
144
+ position:fixed;
145
+ -webkit-font-smoothing:subpixel-antialiased;
146
+ top: 0;
147
+ padding: 58px 0 50px 0;
148
+ display: flex;
149
+ flex-direction: column;
150
+ justify-content: space-between;
151
+ height: calc(100vh - 108px);
152
+ overflow-x: hidden;
153
+ overflow-y: scroll;
154
+ -ms-overflow-style: -ms-autohiding-scrollbar; // IE10+
155
+ }
156
+
157
+ // Disables the scrollbar in Firefox
158
+ // HTML-Proofer fails without "@-moz-document url-prefix()"
159
+ // because scrollbar-width is still experimental in Firefox.
160
+ @-moz-document url-prefix() {
161
+ .sidebar {
162
+ scrollbar-width: none;
163
+ }
164
+ }
165
+
166
+ .sidebar::-webkit-scrollbar {
167
+ /* Chrome, Safari, Edge */
168
+ display: none;
169
+ }
170
+
171
+ strong {
172
+ color:var(--clr-h1-and-bold);
173
+ font-weight:700;
174
+ }
175
+
176
+ section {
177
+ width: 610px;
178
+ float:right;
179
+ padding-bottom:30px;
180
+ }
181
+
182
+ small {
183
+ font-size:11px;
184
+ }
185
+
186
+ hr {
187
+ border:0;
188
+ background:var(--clr-splitter-blockquote-and-section);
189
+ height:1px;
190
+ width:30%;
191
+ margin:10px auto 30px;
192
+ }
193
+
194
+ footer, .sidebar-footer {
195
+ width:185px;
196
+ float:left;
197
+ bottom:30px;
198
+ -webkit-font-smoothing:subpixel-antialiased;
199
+ }
200
+
201
+ footer {
202
+ display: none;
203
+ }
204
+
205
+ .sidebar-footer {
206
+ flex-basis: content;
207
+ }
208
+
209
+ @media print, screen and (max-width: 960px) {
210
+
211
+ .sidebar {
212
+ padding: initial;
213
+ display: initial;
214
+ height: initial;
215
+ overflow: initial;
216
+ }
217
+
218
+ footer {
219
+ display: initial;
220
+ }
221
+
222
+ .sidebar-footer {
223
+ display: none;
224
+ }
225
+
226
+ div.wrapper {
227
+ width:auto;
228
+ margin:0;
229
+ }
230
+
231
+ .sidebar, section, footer {
232
+ float:none;
233
+ position:static;
234
+ width:auto;
235
+ }
236
+
237
+ header {
238
+ padding-right:320px;
239
+ }
240
+
241
+ section {
242
+ border:1px solid var(--clr-splitter-blockquote-and-section);
243
+ border-width:1px 0;
244
+ padding:20px 0;
245
+ margin:0 0 20px;
246
+ }
247
+
248
+ header a small {
249
+ display:inline;
250
+ }
251
+
252
+ header ul {
253
+ position:absolute;
254
+ right:50px;
255
+ top:52px;
256
+ }
257
+
258
+ .link-wrapper {
259
+ display: none !important;
260
+ }
261
+
262
+ .img-circle {
263
+ display: none !important;
264
+ }
265
+ }
266
+
267
+ @media print, screen and (max-width: 720px) {
268
+ body {
269
+ word-wrap:break-word;
270
+ }
271
+
272
+ header {
273
+ padding:0;
274
+ }
275
+
276
+ header ul, header p.view {
277
+ position:static;
278
+ }
279
+
280
+ pre, code {
281
+ word-wrap:normal;
282
+ }
283
+ }
284
+
285
+ .link-wrapper-mobile {
286
+ margin-bottom: 20px;
287
+ }
288
+
289
+ @media print, screen and (min-width: 961px) {
290
+ .link-wrapper-mobile {
291
+ display: none !important;
292
+ }
293
+ }
294
+
295
+ @media print, screen and (max-width: 480px) {
296
+ body {
297
+ padding:15px;
298
+ }
299
+
300
+ // header ul {
301
+ // width:99%;
302
+ // }
303
+
304
+ // header li, header ul li + li + li {
305
+ // width:33%;
306
+ // }
307
+ }
308
+
309
+ @media print {
310
+ body {
311
+ padding:0.4in;
312
+ font-size:12pt;
313
+ color:#444;
314
+ }
315
+ }
316
+
@@ -0,0 +1,4 @@
1
+ // Placeholder file. If your site uses
2
+ // @import "{{ site.theme }}";
3
+ // Then using this theme with jekyll-remote-theme will work fine.
4
+ @import "jekyll-theme-minimalist";
@@ -0,0 +1,219 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .cm {
4
+ color: #999988;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cp {
8
+ color: #999999;
9
+ font-weight: bold;
10
+ }
11
+ .highlight .c1 {
12
+ color: #999988;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cs {
16
+ color: #999999;
17
+ font-weight: bold;
18
+ font-style: italic;
19
+ }
20
+ .highlight .c, .highlight .cd {
21
+ color: #999988;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #a61717;
26
+ background-color: #e3d2d2;
27
+ }
28
+ .highlight .gd {
29
+ // color: #000000;
30
+ color: var(--clr-code-bold-text);
31
+ background-color: #ffdddd;
32
+ }
33
+ .highlight .ge {
34
+ // color: #000000;
35
+ color: var(--clr-code-bold-text);
36
+ font-style: italic;
37
+ }
38
+ .highlight .gr {
39
+ color: #aa0000;
40
+ }
41
+ .highlight .gh {
42
+ color: #999999;
43
+ }
44
+ .highlight .gi {
45
+ // color: #000000;
46
+ color: var(--clr-code-bold-text);
47
+ background-color: #ddffdd;
48
+ }
49
+ .highlight .go {
50
+ color: #888888;
51
+ }
52
+ .highlight .gp {
53
+ color: #555555;
54
+ }
55
+ .highlight .gs {
56
+ font-weight: bold;
57
+ }
58
+ .highlight .gu {
59
+ color: #aaaaaa;
60
+ }
61
+ .highlight .gt {
62
+ color: #aa0000;
63
+ }
64
+ .highlight .kc {
65
+ // color: #000000;
66
+ color: var(--clr-code-bold-text);
67
+ font-weight: bold;
68
+ }
69
+ .highlight .kd {
70
+ // color: #000000;
71
+ color: var(--clr-code-bold-text);
72
+ font-weight: bold;
73
+ }
74
+ .highlight .kn {
75
+ // color: #000000;
76
+ color: var(--clr-code-bold-text);
77
+ font-weight: bold;
78
+ }
79
+ .highlight .kp {
80
+ // color: #000000;
81
+ color: var(--clr-code-bold-text);
82
+ font-weight: bold;
83
+ }
84
+ .highlight .kr {
85
+ // color: #000000;
86
+ color: var(--clr-code-bold-text);
87
+ font-weight: bold;
88
+ }
89
+ .highlight .kt {
90
+ color: #445588;
91
+ font-weight: bold;
92
+ }
93
+ .highlight .k, .highlight .kv {
94
+ // color: #000000;
95
+ color: var(--clr-code-bold-text);
96
+ font-weight: bold;
97
+ }
98
+ .highlight .mf {
99
+ color: #009999;
100
+ }
101
+ .highlight .mh {
102
+ color: #009999;
103
+ }
104
+ .highlight .il {
105
+ color: #009999;
106
+ }
107
+ .highlight .mi {
108
+ color: #009999;
109
+ }
110
+ .highlight .mo {
111
+ color: #009999;
112
+ }
113
+ .highlight .m, .highlight .mb, .highlight .mx {
114
+ color: #009999;
115
+ }
116
+ .highlight .sb {
117
+ color: #d14;
118
+ }
119
+ .highlight .sc {
120
+ color: #d14;
121
+ }
122
+ .highlight .sd {
123
+ color: #d14;
124
+ }
125
+ .highlight .s2 {
126
+ color: #d14;
127
+ }
128
+ .highlight .se {
129
+ color: #d14;
130
+ }
131
+ .highlight .sh {
132
+ color: #d14;
133
+ }
134
+ .highlight .si {
135
+ color: #d14;
136
+ }
137
+ .highlight .sx {
138
+ color: #d14;
139
+ }
140
+ .highlight .sr {
141
+ color: #009926;
142
+ }
143
+ .highlight .s1 {
144
+ color: #d14;
145
+ }
146
+ .highlight .ss {
147
+ color: #990073;
148
+ }
149
+ .highlight .s {
150
+ color: #d14;
151
+ }
152
+ .highlight .na {
153
+ color: #008080;
154
+ }
155
+ .highlight .bp {
156
+ color: #999999;
157
+ }
158
+ .highlight .nb {
159
+ color: #0086B3;
160
+ }
161
+ .highlight .nc {
162
+ color: #445588;
163
+ font-weight: bold;
164
+ }
165
+ .highlight .no {
166
+ color: #008080;
167
+ }
168
+ .highlight .nd {
169
+ color: #3c5d5d;
170
+ font-weight: bold;
171
+ }
172
+ .highlight .ni {
173
+ color: #800080;
174
+ }
175
+ .highlight .ne {
176
+ color: #990000;
177
+ font-weight: bold;
178
+ }
179
+ .highlight .nf {
180
+ color: #990000;
181
+ font-weight: bold;
182
+ }
183
+ .highlight .nl {
184
+ color: #990000;
185
+ font-weight: bold;
186
+ }
187
+ .highlight .nn {
188
+ color: #555555;
189
+ }
190
+ .highlight .nt {
191
+ color: #000080;
192
+ }
193
+ .highlight .vc {
194
+ color: #008080;
195
+ }
196
+ .highlight .vg {
197
+ color: #008080;
198
+ }
199
+ .highlight .vi {
200
+ color: #008080;
201
+ }
202
+ .highlight .nv {
203
+ color: #008080;
204
+ }
205
+ .highlight .ow {
206
+ color: #000000;
207
+ font-weight: bold;
208
+ }
209
+ .highlight .o {
210
+ // color: #000000;
211
+ color: var(--clr-code-bold-text);
212
+ font-weight: bold;
213
+ }
214
+ .highlight .w {
215
+ color: #bbbbbb;
216
+ }
217
+ // .highlight {
218
+ // background-color: #f8f8f8;
219
+ // }
@@ -0,0 +1,17 @@
1
+ ---
2
+ ---
3
+
4
+ //this mode is like colors-auto but if the device does not support @media prefers-color-scheme it will deafault to dark mode
5
+
6
+ @import "colors";
7
+
8
+ :root {
9
+ @include colors;
10
+ @include dark-colors;
11
+ }
12
+
13
+ @media print, (prefers-color-scheme: light) {//we would not like to apply dark mode if content is on printer as that would use a lot of ink
14
+ :root {
15
+ @include light-colors;
16
+ }
17
+ }
@@ -0,0 +1,15 @@
1
+ ---
2
+ ---
3
+
4
+ @import "colors";
5
+
6
+ :root {
7
+ @include colors;
8
+ @include light-colors;
9
+ }
10
+
11
+ @media screen and (prefers-color-scheme: dark) {//we would not like to apply dark mode if content is on printer as that would use a lot of ink
12
+ :root{
13
+ @include dark-colors;
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ ---
2
+ ---
3
+
4
+ @import "colors";
5
+
6
+ :root {
7
+ @include colors;
8
+ @include dark-colors;
9
+ }
10
+
11
+ @media print {
12
+ :root {
13
+ @include light-colors;
14
+ }
15
+ }
@@ -0,0 +1,9 @@
1
+ ---
2
+ ---
3
+
4
+ @import "colors";
5
+
6
+ :root {
7
+ @include colors;
8
+ @include light-colors;
9
+ }
@@ -0,0 +1,68 @@
1
+ ---
2
+ ---
3
+
4
+ @import "jekyll-theme-minimalist";
5
+
6
+ .img-circle {
7
+ -webkit-border-radius: 5px;
8
+ -moz-border-radius: 5px;
9
+ border-radius: 5px;
10
+ margin-bottom: 10px;
11
+ }
12
+
13
+ .overlay {
14
+ position: fixed;
15
+ top: 0;
16
+ bottom: 0;
17
+ left: 0;
18
+ right: 0;
19
+ background: rgba(0, 0, 0, 0.7);
20
+ transition: opacity 500ms;
21
+ visibility: hidden;
22
+ opacity: 0;
23
+ }
24
+
25
+ .overlay:target {
26
+ visibility: visible;
27
+ opacity: 1;
28
+ }
29
+
30
+ .popup {
31
+ margin: 70px auto;
32
+ padding: 20px;
33
+ background: #fff;
34
+ border-radius: 5px;
35
+ width: 30%;
36
+ position: relative;
37
+ transition: all 1s ease-in-out;
38
+ }
39
+
40
+ .popup .close {
41
+ position: absolute;
42
+ top: 10px;
43
+ right: 10px;
44
+ transition: all 200ms;
45
+ font-size: 30px;
46
+ font-weight: bold;
47
+ text-decoration: none;
48
+ color: #333;
49
+ }
50
+ .popup .close:hover {
51
+ color: #06D85F;
52
+ }
53
+
54
+ .popup .content {
55
+ padding-right: 20px;
56
+ max-height: 30%;
57
+ overflow: auto;
58
+ font: 15px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
59
+ }
60
+
61
+ @media screen and (max-width: 700px){
62
+ .box{
63
+ width: 70%;
64
+ }
65
+ .popup{
66
+ width: 70%;
67
+ }
68
+ }