jekyll-theme-minimalistic 0.3.10 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -3
- data/_sass/colors.scss +87 -0
- data/_sass/jekyll-theme-minimalistic.scss +46 -11
- data/_sass/rouge-github.scss +40 -34
- data/assets/css/colors-auto.scss +5 -1
- data/assets/css/colors-dark.scss +3 -0
- data/assets/css/colors-light.scss +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf70358b1c100c0279e7ffe93c941b2695e60f7c5a04c33c6ac8f98768f5025f
|
4
|
+
data.tar.gz: 5fa78bd20c5b631a7fad8396eab158cfed27eb90f7b2d211d350f838976751ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 762890d1b03588a4d26179100c2bd452f3ef2ba0c329a76b740445f3e0e366c5446830cce06744cb8e6f7748ab9a516d9b8633a02d7a35694bb00cb7086eacc7
|
7
|
+
data.tar.gz: 5975b51594caa5e0f2d916b74deecf44c8207806767fb1f3ec11b8267f9c2f460157a45c1620269d69cbff853ff518cffc41beb5668e606c3bf23e56fc195474
|
data/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# jekyll-theme-minimalistic
|
2
2
|
|
3
|
-
|
4
3
|
[![Featured](https://img.shields.io/badge/featured%20on-JekyllThemes-red.svg)](https://jekyll-themes.com/jekyll-theme-minimalistic/)
|
5
4
|
[![GitHub top language](https://img.shields.io/github/languages/top/vaibhavvikas/jekyll-theme-minimalistic)](#)
|
6
5
|
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/vaibhavvikas/jekyll-theme-minimalistic)](#)
|
@@ -9,7 +8,22 @@
|
|
9
8
|
[![pages-build-deployment](https://github.com/vaibhavvikas/jekyll-theme-minimalistic/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/vaibhavvikas/jekyll-theme-minimalistic/actions/workflows/pages/pages-build-deployment)
|
10
9
|
|
11
10
|
|
12
|
-
|
11
|
+
Minimalistic theme is based on gh-pages minimal theme, with navigation in the sidebar and super amazing features. Wanna see it in action? You can view a live demo at [Minimalistic](https://vaibhavvikas.github.io/jekyll-theme-minimalistic/).
|
12
|
+
|
13
|
+
![Screenshot](https://user-images.githubusercontent.com/28614457/179896288-56255d9e-946a-4566-aca4-85459d403ff9.png)
|
14
|
+
|
15
|
+
## Features
|
16
|
+
1. Auto light/dark mode.
|
17
|
+
2. Syntax Highlighting for light/dark mode.
|
18
|
+
3. Logo Support for the page.
|
19
|
+
4. Links in Sidebar.
|
20
|
+
5. List/Sublist in Sidebar.
|
21
|
+
6. Fully responsive with mobile support.
|
22
|
+
7. Logo/Favicon Support.
|
23
|
+
8. Github-Pages Support.
|
24
|
+
9. Card Support
|
25
|
+
10. Under active development.
|
26
|
+
11. And many more. 😁
|
13
27
|
|
14
28
|
## Usage
|
15
29
|
|
@@ -131,6 +145,18 @@ navigation:
|
|
131
145
|
link: ./xyz.html
|
132
146
|
```
|
133
147
|
|
148
|
+
### Adding Card:
|
149
|
+
|
150
|
+
Use the code template:
|
151
|
+
```html
|
152
|
+
<div class="card">
|
153
|
+
<h3>Some Title</h3>
|
154
|
+
<p><b>New Delhi</b>, India<br>
|
155
|
+
Some Text</p>
|
156
|
+
<a href="https://vaibhavvikas.ml/"><span class="card-link-spanner"></span></a>
|
157
|
+
</div>
|
158
|
+
```
|
159
|
+
|
134
160
|
### Stylesheet
|
135
161
|
|
136
162
|
If you'd like to add your own custom styles:
|
@@ -169,7 +195,7 @@ The theme contains a minimal test suite, to ensure a site with the theme would b
|
|
169
195
|
|
170
196
|
## Contributors
|
171
197
|
|
172
|
-
All contributions are welcome.
|
198
|
+
All contributions and suggestions are welcome.
|
173
199
|
|
174
200
|
## Credits:
|
175
201
|
|
data/_sass/colors.scss
CHANGED
@@ -62,6 +62,7 @@ hvr -> hover
|
|
62
62
|
--clr-splitter-blockquote-and-section: hsl(0, 0%, var(--L-splitter-blockquote-and-section));
|
63
63
|
--clr-small-in-a: hsl(0, 0%, var(--L-small-in-a));
|
64
64
|
--clr-table-header-and-dt: hsl(0, 0%, var(--L-table-header-and-dt));
|
65
|
+
--clr-card-bg: hsl(0, 0%, var(--L-card-bg));
|
65
66
|
}
|
66
67
|
|
67
68
|
@mixin light-colors {
|
@@ -93,6 +94,7 @@ hvr -> hover
|
|
93
94
|
--L-splitter-blockquote-and-section: 90%;
|
94
95
|
--L-small-in-a: 47%;
|
95
96
|
--L-table-header-and-dt: 27%;
|
97
|
+
--L-card-bg: 97%;
|
96
98
|
}
|
97
99
|
|
98
100
|
@mixin dark-colors {
|
@@ -123,4 +125,89 @@ hvr -> hover
|
|
123
125
|
--L-bg: 10%;
|
124
126
|
--L-small-in-a: 60%;
|
125
127
|
--L-table-header-and-dt: 90%;
|
128
|
+
--L-card-bg: 15%;
|
129
|
+
}
|
130
|
+
|
131
|
+
@mixin code-highlights {
|
132
|
+
--clr-w-text: var(--L-w-text);
|
133
|
+
--clr-err-text: var(--L-err-text);
|
134
|
+
--clr-err-bg: var(--L-err-bg);
|
135
|
+
--clr-cd-text: var(--L-cd-text);
|
136
|
+
--clr-cp-text: var(--L-cp-text);
|
137
|
+
--clr-nt-text: var(--L-nt-text);
|
138
|
+
--clr-nn-text: var(--L-nn-text);
|
139
|
+
--clr-nc-text: var(--L-nn-text);
|
140
|
+
--clr-no-text: var(--L-no-text);
|
141
|
+
--clr-na-text: var(--L-na-text);
|
142
|
+
--clr-o-text: var(--L-o-text);
|
143
|
+
--clr-p-text: var(--L-p-text);
|
144
|
+
--clr-gi-text: var(--L-gi-text);
|
145
|
+
--clr-gd-text: var(--L-gd-text);
|
146
|
+
--clr-gh-text: var(--L-gh-text);
|
147
|
+
--clr-k-text: var(--L-k-text);
|
148
|
+
--clr-kc-text: var(--L-kc-text);
|
149
|
+
--clr-kt-text: var(--L-kt-text);
|
150
|
+
--clr-kd-text: var(--L-kd-text);
|
151
|
+
--clr-s-text: var(--L-s-text);
|
152
|
+
--clr-sr-text: var(--L-sr-text);
|
153
|
+
--clr-si-text: var(--L-si-text);
|
154
|
+
--clr-se-text: var(--L-se-text);
|
155
|
+
--clr-ss-text: var(--L-ss-text);
|
156
|
+
--clr-m-text: var(--L-m-text);
|
157
|
+
}
|
158
|
+
|
159
|
+
@mixin highlights-dark {
|
160
|
+
--L-w-text: hsl(60, 30%, 96%);
|
161
|
+
--L-err-text: hsl(231, 15%, 18%);
|
162
|
+
--L-err-bg: hsl(326, 100%, 74%);
|
163
|
+
--L-cd-text: hsl(0, 0%, 80%);
|
164
|
+
--L-cp-text: hsl(135, 94%, 65%);
|
165
|
+
--L-nt-text: hsl(135, 94%, 65%);
|
166
|
+
--L-nn-text: hsl(135, 94%, 65%);
|
167
|
+
--L-nc-text: hsl(135, 94%, 65%);
|
168
|
+
--L-no-text: hsl(135, 94%, 65%);
|
169
|
+
--L-na-text: hsl(191, 97%, 77%);
|
170
|
+
--L-o-text: hsl(135, 94%, 96%);
|
171
|
+
--L-p-text: hsl(135, 94%, 96%);
|
172
|
+
--L-gi-text: hsl(65, 92%, 76%);
|
173
|
+
--L-gd-text: hsl(31, 100%, 74%);
|
174
|
+
--L-gh-text: hsl(191, 97%, 77%);
|
175
|
+
--L-k-text: hsl(265, 89%, 78%);
|
176
|
+
--L-kc-text: hsl(31, 100%, 71%);
|
177
|
+
--L-kk-text: hsl(31, 100%, 71%);
|
178
|
+
--L-kd-text: hsl(31, 100%, 71%);
|
179
|
+
--L-s-text: hsl(65, 92%, 76%);
|
180
|
+
--L-sr-text: hsl(191, 97%, 77%);
|
181
|
+
--L-si-text: hsl(0, 100%, 67%);
|
182
|
+
--L-se-text: hsl(0, 100%, 67%);
|
183
|
+
--L-ss-text: hsl(65, 92%, 76%);
|
184
|
+
--L-m-text: hsl(65, 92%, 76%);
|
185
|
+
}
|
186
|
+
|
187
|
+
@mixin highlights-light {
|
188
|
+
--L-w-text: hsl(0, 0%, 20%);
|
189
|
+
--L-err-text: hsl(231, 15%, 78%);
|
190
|
+
--L-err-bg: hsl(326, 100%, 24%);
|
191
|
+
--L-cd-text: hsl(0, 0%, 20%);
|
192
|
+
--L-cp-text: hsl(135, 94%, 25%);
|
193
|
+
--L-nt-text: hsl(135, 94%, 25%);
|
194
|
+
--L-nn-text: hsl(135, 94%, 25%);
|
195
|
+
--L-nc-text: hsl(135, 94%, 25%);
|
196
|
+
--L-no-text: hsl(135, 94%, 25%);
|
197
|
+
--L-na-text: hsl(191, 97%, 37%);
|
198
|
+
--L-o-text: hsl(135, 94%, 16%);
|
199
|
+
--L-p-text: hsl(135, 94%, 16%);
|
200
|
+
--L-gi-text: hsl(130, 100%, 21%);
|
201
|
+
--L-gd-text: hsl(31, 100%, 24%);
|
202
|
+
--L-gh-text: hsl(191, 97%, 27%);
|
203
|
+
--L-k-text: hsl(265, 89%, 28%);
|
204
|
+
--L-kc-text: hsl(31, 100%, 21%);
|
205
|
+
--L-kk-text: hsl(31, 100%, 21%);
|
206
|
+
--L-kd-text: hsl(31, 100%, 21%);
|
207
|
+
--L-s-text: hsl(96, 94%, 20%);
|
208
|
+
--L-sr-text: hsl(191, 97%, 27%);
|
209
|
+
--L-si-text: hsl(0, 100%, 37%);
|
210
|
+
--L-se-text: hsl(0, 100%, 37%);
|
211
|
+
--L-ss-text: hsl(130, 100%, 21%);
|
212
|
+
--L-m-text: hsl(130, 100%, 21%);
|
126
213
|
}
|
@@ -19,11 +19,16 @@ body {
|
|
19
19
|
display: none;
|
20
20
|
}
|
21
21
|
|
22
|
+
img {
|
23
|
+
max-width: 100%;
|
24
|
+
}
|
25
|
+
|
22
26
|
.logo {
|
23
27
|
-webkit-border-radius: 100%;
|
24
28
|
-moz-border-radius: 100%;
|
25
29
|
border-radius: 100%;
|
26
30
|
margin-bottom: 10px;
|
31
|
+
max-width: 90%;
|
27
32
|
}
|
28
33
|
|
29
34
|
h1, h2, h3, h4, h5, h6 {
|
@@ -133,7 +138,7 @@ blockquote {
|
|
133
138
|
}
|
134
139
|
|
135
140
|
code, pre {
|
136
|
-
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal,
|
141
|
+
font-family: Consolas, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
|
137
142
|
color: var(--clr-code-text);
|
138
143
|
}
|
139
144
|
|
@@ -145,6 +150,43 @@ pre {
|
|
145
150
|
overflow-x: auto;
|
146
151
|
}
|
147
152
|
|
153
|
+
.card {
|
154
|
+
position: relative;
|
155
|
+
padding: 10px 15px;
|
156
|
+
margin: 25px 0;
|
157
|
+
border-radius: 5px;
|
158
|
+
color: var(--clr-text);
|
159
|
+
background: var(--clr-card-bg);
|
160
|
+
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
|
161
|
+
transition: 0.3s;
|
162
|
+
}
|
163
|
+
|
164
|
+
.card h2, .card h3 {
|
165
|
+
margin-bottom: 2px;
|
166
|
+
color: var(--clr-a-text);
|
167
|
+
}
|
168
|
+
|
169
|
+
.card p {
|
170
|
+
margin: 0;
|
171
|
+
}
|
172
|
+
|
173
|
+
.card ul {
|
174
|
+
margin-left: -1.4em;
|
175
|
+
margin-bottom: 5px;
|
176
|
+
}
|
177
|
+
|
178
|
+
.card-link-spanner {
|
179
|
+
position: absolute;
|
180
|
+
width: 100%;
|
181
|
+
height: 100%;
|
182
|
+
top: 0;
|
183
|
+
left: 0;
|
184
|
+
}
|
185
|
+
|
186
|
+
.card:hover {
|
187
|
+
box-shadow: 0 4px 7px 0 rgba(0,0,0,0.2);
|
188
|
+
}
|
189
|
+
|
148
190
|
table {
|
149
191
|
width: 100%;
|
150
192
|
border-collapse: collapse;
|
@@ -167,10 +209,6 @@ th {
|
|
167
209
|
color: var(--clr-table-header-and-dt);
|
168
210
|
}
|
169
211
|
|
170
|
-
img {
|
171
|
-
max-width: 90%;
|
172
|
-
}
|
173
|
-
|
174
212
|
kbd {
|
175
213
|
background-color: var(--clr-kbd-bg) ;
|
176
214
|
border: 1px solid var(--clr-kbd-border);
|
@@ -246,7 +284,7 @@ hr {
|
|
246
284
|
}
|
247
285
|
|
248
286
|
.sidebar-h3 {
|
249
|
-
margin:
|
287
|
+
margin: 0 0 0.25em;
|
250
288
|
}
|
251
289
|
|
252
290
|
@media print, screen and (max-width: 960px) {
|
@@ -325,7 +363,7 @@ hr {
|
|
325
363
|
section {
|
326
364
|
border: 1px solid var(--clr-splitter-blockquote-and-section);
|
327
365
|
border-width: 1px 0;
|
328
|
-
padding: 0;
|
366
|
+
padding: 20px 0 0;
|
329
367
|
margin: 0 0 20px;
|
330
368
|
}
|
331
369
|
|
@@ -341,11 +379,8 @@ hr {
|
|
341
379
|
display: block;
|
342
380
|
}
|
343
381
|
|
344
|
-
.header-title-mobile h1, h2, h3, h4, h5, h6 {
|
345
|
-
margin: 15px 0 15px;
|
346
|
-
}
|
347
|
-
|
348
382
|
.header-title-mobile h1 {
|
383
|
+
margin: 15px 0 15px;
|
349
384
|
line-height: 1.1;
|
350
385
|
}
|
351
386
|
|
data/_sass/rouge-github.scss
CHANGED
@@ -1,81 +1,87 @@
|
|
1
|
-
|
2
|
-
generated by rouge http://rouge.jneen.net/
|
3
|
-
original base16 by Chris Kempson (https://github.com/chriskempson/base16)
|
4
|
-
*/
|
1
|
+
@import "colors";
|
5
2
|
|
6
|
-
.highlight table td {
|
7
|
-
|
3
|
+
.highlight table td {
|
4
|
+
padding: 5px;
|
5
|
+
}
|
6
|
+
.highlight table pre {
|
7
|
+
margin: 0;
|
8
|
+
}
|
8
9
|
.highlight, .highlight .w {
|
9
|
-
color:
|
10
|
+
color: var(--clr-w-text);
|
10
11
|
}
|
11
12
|
.highlight .err {
|
12
|
-
color:
|
13
|
-
background-color:
|
13
|
+
color: var(--clr-err-text);
|
14
|
+
background-color: var(--clr-err-bg);
|
14
15
|
}
|
15
16
|
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
|
16
|
-
color:
|
17
|
+
color: var(--clr-cd-text);
|
17
18
|
}
|
18
19
|
.highlight .cp {
|
19
|
-
color:
|
20
|
+
color: var(--clr-cp-text);
|
21
|
+
font-weight: bold;
|
20
22
|
}
|
21
23
|
.highlight .nt {
|
22
|
-
color:
|
24
|
+
color: var(--clr-cp-text);
|
23
25
|
}
|
24
26
|
.highlight .o, .highlight .ow {
|
25
|
-
color:
|
27
|
+
color: var(--clr-o-text);
|
28
|
+
font-weight: bold;
|
26
29
|
}
|
27
30
|
.highlight .p, .highlight .pi {
|
28
|
-
color:
|
31
|
+
color: var(--clr-o-text);
|
29
32
|
}
|
30
33
|
.highlight .gi {
|
31
|
-
color:
|
34
|
+
color: var(--clr-gi-text);
|
32
35
|
}
|
33
36
|
.highlight .gd {
|
34
|
-
color:
|
37
|
+
color: var(--clr-gd-text);
|
35
38
|
}
|
36
39
|
.highlight .gh {
|
37
|
-
color:
|
40
|
+
color: var(--clr-gh-text);
|
38
41
|
font-weight: bold;
|
39
42
|
}
|
40
|
-
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr
|
41
|
-
color:
|
43
|
+
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr {
|
44
|
+
color: var(--clr-k-text);
|
45
|
+
font-weight: bold;
|
42
46
|
}
|
43
|
-
.highlight .kc {
|
44
|
-
color:
|
47
|
+
.highlight .kc, .highlight .kv {
|
48
|
+
color: var(--clr-kc-text);
|
49
|
+
font-weight: bold;
|
45
50
|
}
|
46
51
|
.highlight .kt {
|
47
|
-
color:
|
52
|
+
color: var(--clr-kt-text);
|
48
53
|
}
|
49
54
|
.highlight .kd {
|
50
|
-
color:
|
55
|
+
color: var(--clr-kd-text);
|
56
|
+
font-weight: bold;
|
51
57
|
}
|
52
58
|
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
53
|
-
color:
|
59
|
+
color: var(--clr-s-text);
|
54
60
|
}
|
55
61
|
.highlight .sr {
|
56
|
-
color:
|
62
|
+
color: var(--clr-sr-text);
|
57
63
|
}
|
58
64
|
.highlight .si {
|
59
|
-
color:
|
65
|
+
color: var(--clr-si-text);
|
60
66
|
}
|
61
67
|
.highlight .se {
|
62
|
-
color:
|
68
|
+
color: var(--clr-se-text);
|
63
69
|
}
|
64
70
|
.highlight .nn {
|
65
|
-
color:
|
71
|
+
color: var(--clr-nn-text);
|
66
72
|
}
|
67
73
|
.highlight .nc {
|
68
|
-
color:
|
74
|
+
color: var(--clr-nc-text);
|
69
75
|
}
|
70
76
|
.highlight .no {
|
71
|
-
color:
|
77
|
+
color: var(--clr-no-text);
|
72
78
|
}
|
73
79
|
.highlight .na {
|
74
|
-
color:
|
80
|
+
color: var(--clr-na-text);
|
75
81
|
}
|
76
82
|
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
|
77
|
-
color:
|
83
|
+
color: var(--clr-m-text);
|
78
84
|
}
|
79
85
|
.highlight .ss {
|
80
|
-
color:
|
81
|
-
}
|
86
|
+
color: var(--clr-ss-text);
|
87
|
+
}
|
data/assets/css/colors-auto.scss
CHANGED
@@ -7,12 +7,15 @@
|
|
7
7
|
// @media prefers-color-scheme it will default to dark mode
|
8
8
|
:root {
|
9
9
|
@include colors;
|
10
|
-
@include
|
10
|
+
@include dark-colors;
|
11
|
+
@include code-highlights;
|
12
|
+
@include highlights-dark;
|
11
13
|
}
|
12
14
|
|
13
15
|
@media screen and (prefers-color-scheme: dark) {
|
14
16
|
:root{
|
15
17
|
@include dark-colors;
|
18
|
+
@include highlights-dark;
|
16
19
|
}
|
17
20
|
}
|
18
21
|
|
@@ -21,5 +24,6 @@
|
|
21
24
|
// as that would use a lot of ink
|
22
25
|
:root {
|
23
26
|
@include light-colors;
|
27
|
+
@include highlights-light
|
24
28
|
}
|
25
29
|
}
|
data/assets/css/colors-dark.scss
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-minimalistic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vaibhav Vikas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-07-
|
12
|
+
date: 2022-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|