jekyll-theme-minimalistic 0.3.0 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d439c70965fcf9fc824632fc3dfad9a5dffc50ec137a710379970333c54a125
4
- data.tar.gz: '08b5218c748769a6c9a5bdda1d6904c7e3e43282602b6b0a9659c79b56db890d'
3
+ metadata.gz: 3c47a2432e900a2a43c9cb42b9f1609992371f6ebd477532a275c56c114e3f45
4
+ data.tar.gz: 2f757384295ec31bc4312d0b7fc2ce640993dd2bdff23f5e7e9a744f5a1ca5a9
5
5
  SHA512:
6
- metadata.gz: a5a87d2b8147a2115bd3b289ed0b69836f3f4569e669e6dad834216407ed0349da11b6165aaf55ecee89ab10a2a4e7b1779c5997640538e26a75da3c81bfb4f9
7
- data.tar.gz: 4295482129c13ffb4e1c4b75e580ef11742f0d0491b273728c8aff44b3c900fa08fda8d5878df7e72044a8162e36afb51cae98ef9cade8db95108c73635c3845
6
+ metadata.gz: 2580036e656d27a366c1e95a7ccff7779ac218daa8b1bc5ca0f8df046c737cbabbd96d7b39ff182783275eb8c60c45d369aa041d2574cfe186a4125d1d5fe44a
7
+ data.tar.gz: a6ca519e8b04d171ba00361259db3773447504fd8ba03991f10d09454b6cfe40e61a44fbbd4be548c42682cae7a478ec4c4dce8d0143886696bff84c85c25402
@@ -3,4 +3,4 @@
3
3
  <p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
4
4
  {% endif %}
5
5
  {% endunless %}
6
- <p><small>Powered by <a href="https://jekyllrb.com/">Jekyll</a> &mdash; Theme by <a href="https://github.com/vaibhavvikas">vaibhavvikas</a></small></p>
6
+ <p><small>Powered by <a href="https://jekyllrb.com/">Jekyll</a> &amp; <a href="https://github.com/vaibhavvikas/jekyll-theme-minimalistic">Minimalistic</a></small></p>
@@ -8,5 +8,4 @@
8
8
  {% if site.favicon %}
9
9
  <link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}">
10
10
  {% endif %}
11
-
12
11
  <!-- end custom head snippets -->
@@ -0,0 +1,27 @@
1
+ {% if site.logo %}
2
+ <img class="logo" src="{{ site.logo | relative_url }}" alt="Logo">
3
+ {% endif %}
4
+
5
+ {% if site.blank_title %}
6
+ <h1>{{ site.title | default: site.github.repository_name }}</h1>
7
+ {% else %}
8
+ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
9
+ {% endif %}
10
+
11
+ {% if site.email %}
12
+ <p class="addr"><i class="fa-solid fa-envelope"></i>&nbsp;<a href="mailto:{{site.email}}">{{ site.email }}</a></p>
13
+ {% endif %}
14
+
15
+ <p>{{ site.description | default: site.github.project_tagline }}</p>
16
+
17
+ {% unless site.hide_project_page %}
18
+ {% if site.github.is_project_page %}
19
+ <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub<br><small>{{ site.github.repository_nwo }}</small></a></p>
20
+ {% endif %}
21
+
22
+ {% if site.github.is_user_page %}
23
+ <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
24
+ {% endif %}
25
+ {% endunless %}
26
+
27
+ {% include sidebar.html %}
@@ -0,0 +1,25 @@
1
+ <div class="link-wrapper-mobile" id="link-wrapper-mobile">
2
+ {% if site.platforms %}
3
+ {%- for platform in site.platforms %}
4
+ <nobr><a href="{{ platform.link }}" rel="me">{{ platform.icon }}&nbsp;{{ platform.name }}</a>
5
+ {%- unless forloop.last %}<span style="margin-left: 6px;"></span>{% endunless %}</nobr>
6
+ {%- endfor %}
7
+ {% endif %}
8
+
9
+ {% if site.navigation %}
10
+ <h3 class="sidebar-h3">Contents:</h3>
11
+ <ul class="content">
12
+ {%- for item in site.navigation %}
13
+ <li><a href="{{ item.link }}">{{ item.name }}</a>
14
+ {% if item.sublist %}
15
+ <ul class="sublist">
16
+ {%- for subitem in item.sublist %}
17
+ <li><a href="{{ subitem.link }}">{{ subitem.name }}</a></li>
18
+ {%- endfor %}
19
+ </ul>
20
+ {% endif %}
21
+ </li>
22
+ {%- endfor %}
23
+ </ul>
24
+ {% endif %}
25
+ </div>
@@ -1,34 +1,4 @@
1
1
  <div class="link-wrapper">
2
- <style scoped>
3
- h3 {
4
- margin: 1em 0 0.25em 0;
5
- }
6
-
7
- ul.link a {
8
- color:var(--clr-h1-and-bold);
9
- text-decoration:none;
10
- }
11
-
12
- ul.link a:hover, a:focus {
13
- color: var(--clr-a-text-hvr);
14
- }
15
-
16
- ul.content {
17
- margin-left: -1.4em;
18
- }
19
-
20
- ul.content a:hover, a:focus {
21
- text-decoration: underline;
22
- }
23
-
24
- .sublist {
25
- margin: 0 0 0;
26
- }
27
-
28
- ul.sublist {
29
- margin-left: -1.5em;
30
- }
31
- </style>
32
2
  {% if site.platforms %}
33
3
  <ul class="link">
34
4
  {%- for platform in site.platforms %}
@@ -38,7 +8,7 @@
38
8
  {% endif %}
39
9
 
40
10
  {% if site.navigation %}
41
- <h3>Contents:</h3>
11
+ <h3 class="sidebar-h3">Contents:</h3>
42
12
  <ul class="content">
43
13
  {%- for item in site.navigation %}
44
14
  <li><a href="{{ item.link }}">{{ item.name }}</a>
@@ -21,35 +21,9 @@
21
21
  <div class="wrapper">
22
22
  <div class="sidebar">
23
23
  <header>
24
- {% if site.logo %}
25
- <img class="logo" src="{{site.logo | relative_url}}" alt="Logo">
26
- {% endif %}
27
-
28
- {% if site.blank_title %}
29
- <h1>{{ site.title | default: site.github.repository_name }}</h1>
30
- {% else %}
31
- <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
32
- {% endif %}
33
-
34
- {% if site.email %}
35
- <p class="addr"><i class="fa-solid fa-envelope"></i>&nbsp;<a href="mailto:{{site.email}}">{{ site.email }}</a></p>
36
- {% endif %}
37
-
38
- <p>{{ site.description | default: site.github.project_tagline }}</p>
39
-
40
- {% unless site.hide_project_page %}
41
- {% if site.github.is_project_page %}
42
- <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub<br><small>{{ site.github.repository_nwo }}</small></a></p>
43
- {% endif %}
44
-
45
- {% if site.github.is_user_page %}
46
- <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
47
- {% endif %}
48
- {% endunless %}
49
-
50
- {% include sidebar.html %}
51
-
24
+ {%- include header.html -%}
52
25
  </header>
26
+ {% include mobile.html %}
53
27
  <div class="sidebar-footer">
54
28
  {%- include footer.html -%}
55
29
  </div>
@@ -1,6 +1,10 @@
1
1
  @import "fonts";
2
- @import "rouge-github";
3
2
  @import "colors";
3
+ @import "rouge-github";
4
+
5
+ html {
6
+ scroll-behavior: smooth;
7
+ }
4
8
 
5
9
  body {
6
10
  background-color: var(--clr-bg);
@@ -59,14 +63,39 @@ a:hover small {
59
63
  text-decoration: underline;
60
64
  }
61
65
 
66
+ ul.link a {
67
+ color:var(--clr-h1-and-bold);
68
+ text-decoration:none;
69
+ }
70
+
71
+ ul.link a:hover, a:focus {
72
+ color: var(--clr-a-text-hvr);
73
+ }
74
+
75
+ ul.content {
76
+ margin-left: -1.4em;
77
+ }
78
+
79
+ ul.content a:hover, a:focus {
80
+ text-decoration: underline;
81
+ }
82
+
83
+ .sublist {
84
+ margin: 0 0 0;
85
+ }
86
+
87
+ ul.sublist {
88
+ margin-left: -1.5em;
89
+ }
90
+
62
91
  p.link {
63
92
  margin:0 0 4px;
64
93
  }
65
94
 
66
95
  ul.link {
67
- list-style-type: none; /* Remove bullets */
68
- margin: 0; /* To remove default bottom margin */
69
- padding: 0.4px; /* To remove default left padding */
96
+ list-style-type: none;
97
+ margin: 0;
98
+ padding: 0.4px;
70
99
  }
71
100
 
72
101
  ul.link li + li {
@@ -77,6 +106,10 @@ ul.link:last-child {
77
106
  margin-bottom: 6px;
78
107
  }
79
108
 
109
+ .link-wrapper-mobile {
110
+ display: none !important;
111
+ }
112
+
80
113
  .wrapper {
81
114
  width:860px;
82
115
  margin: 0 auto;
@@ -105,6 +138,8 @@ pre {
105
138
  table {
106
139
  width:100%;
107
140
  border-collapse:collapse;
141
+ display: block;
142
+ overflow-x: auto;
108
143
  }
109
144
 
110
145
  th, td {
@@ -208,6 +243,19 @@ hr {
208
243
  flex-basis: content;
209
244
  }
210
245
 
246
+ .sidebar-h3 {
247
+ margin: 1em 0 0.25em 0;
248
+ }
249
+
250
+ #link-wrapper-mobile a {
251
+ color:var(--clr-h1-and-bold);
252
+ text-decoration:none;
253
+ }
254
+
255
+ #link-wrapper-mobile a:hover, a:focus {
256
+ color: var(--clr-a-text-hvr);
257
+ }
258
+
211
259
 
212
260
  @media print, screen and (max-width: 960px) {
213
261
 
@@ -231,6 +279,29 @@ hr {
231
279
  }
232
280
 
233
281
  @media print, screen and (max-width: 720px) {
282
+ body {
283
+ word-wrap:break-word;
284
+ }
285
+
286
+ header {
287
+ padding:0;
288
+ overflow-x: hidden;
289
+ }
290
+
291
+ header ul, header p.view {
292
+ position:static;
293
+ }
294
+ .link-wrapper {
295
+ display: none !important;
296
+ }
297
+
298
+ .link-wrapper-mobile {
299
+ display:block !important;
300
+ }
301
+
302
+ .link-wrapper-mobile {
303
+ margin-bottom: 20px;
304
+ }
234
305
 
235
306
  .sidebar {
236
307
  float: none;
@@ -262,10 +333,6 @@ hr {
262
333
  overflow-x: hidden;
263
334
  }
264
335
 
265
- header {
266
- padding-right:320px;
267
- }
268
-
269
336
  section {
270
337
  border:1px solid var(--clr-splitter-blockquote-and-section);
271
338
  border-width:1px 0;
@@ -285,21 +352,6 @@ hr {
285
352
  .logo {
286
353
  display: none !important;
287
354
  }
288
- }
289
-
290
- @media print, screen and (max-width: 720px) {
291
- body {
292
- word-wrap:break-word;
293
- }
294
-
295
- header {
296
- padding:0;
297
- overflow-x: hidden;
298
- }
299
-
300
- header ul, header p.view {
301
- position:static;
302
- }
303
355
 
304
356
  pre, code {
305
357
  word-wrap:normal;
@@ -1,206 +1,81 @@
1
+ /*
2
+ generated by rouge http://rouge.jneen.net/
3
+ original base16 by Chris Kempson (https://github.com/chriskempson/base16)
4
+ */
5
+
1
6
  .highlight table td { padding: 5px; }
2
7
  .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;
8
+ .highlight, .highlight .w {
9
+ color: #d0d0d0;
23
10
  }
24
11
  .highlight .err {
25
- color: #a61717;
26
- background-color: #e3d2d2;
12
+ color: #151515;
13
+ background-color: #ac4142;
27
14
  }
28
- .highlight .gd {
29
- color: #000000;
30
- background-color: #ffdddd;
15
+ .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
16
+ color: #888;
31
17
  }
32
- .highlight .ge {
33
- color: #000000;
34
- font-style: italic;
18
+ .highlight .cp {
19
+ color: #f4bf75;
35
20
  }
36
- .highlight .gr {
37
- color: #aa0000;
21
+ .highlight .nt {
22
+ color: #f4bf75;
38
23
  }
39
- .highlight .gh {
40
- color: #999999;
24
+ .highlight .o, .highlight .ow {
25
+ color: #d0d0d0;
41
26
  }
42
- .highlight .gi {
43
- color: #000000;
44
- background-color: #ddffdd;
27
+ .highlight .p, .highlight .pi {
28
+ color: #d0d0d0;
45
29
  }
46
- .highlight .go {
47
- color: #888888;
30
+ .highlight .gi {
31
+ color: #90a959;
48
32
  }
49
- .highlight .gp {
50
- color: #555555;
33
+ .highlight .gd {
34
+ color: #ac4142;
51
35
  }
52
- .highlight .gs {
36
+ .highlight .gh {
37
+ color: #6a9fb5;
53
38
  font-weight: bold;
54
39
  }
55
- .highlight .gu {
56
- color: #aaaaaa;
57
- }
58
- .highlight .gt {
59
- color: #aa0000;
40
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
41
+ color: #aa759f;
60
42
  }
61
43
  .highlight .kc {
62
- color: #000000;
63
- font-weight: bold;
64
- }
65
- .highlight .kd {
66
- color: #000000;
67
- font-weight: bold;
68
- }
69
- .highlight .kn {
70
- color: #000000;
71
- font-weight: bold;
72
- }
73
- .highlight .kp {
74
- color: #000000;
75
- font-weight: bold;
76
- }
77
- .highlight .kr {
78
- color: #000000;
79
- font-weight: bold;
44
+ color: #d28445;
80
45
  }
81
46
  .highlight .kt {
82
- color: #445588;
83
- font-weight: bold;
84
- }
85
- .highlight .k, .highlight .kv {
86
- color: #000000;
87
- font-weight: bold;
88
- }
89
- .highlight .mf {
90
- color: #009999;
91
- }
92
- .highlight .mh {
93
- color: #009999;
94
- }
95
- .highlight .il {
96
- color: #009999;
97
- }
98
- .highlight .mi {
99
- color: #009999;
100
- }
101
- .highlight .mo {
102
- color: #009999;
103
- }
104
- .highlight .m, .highlight .mb, .highlight .mx {
105
- color: #009999;
106
- }
107
- .highlight .sb {
108
- color: #d14;
109
- }
110
- .highlight .sc {
111
- color: #d14;
112
- }
113
- .highlight .sd {
114
- color: #d14;
47
+ color: #d28445;
115
48
  }
116
- .highlight .s2 {
117
- color: #d14;
118
- }
119
- .highlight .se {
120
- color: #d14;
121
- }
122
- .highlight .sh {
123
- color: #d14;
124
- }
125
- .highlight .si {
126
- color: #d14;
49
+ .highlight .kd {
50
+ color: #d28445;
127
51
  }
128
- .highlight .sx {
129
- color: #d14;
52
+ .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
53
+ color: #90a959;
130
54
  }
131
55
  .highlight .sr {
132
- color: #009926;
133
- }
134
- .highlight .s1 {
135
- color: #d14;
136
- }
137
- .highlight .ss {
138
- color: #990073;
139
- }
140
- .highlight .s {
141
- color: #d14;
56
+ color: #75b5aa;
142
57
  }
143
- .highlight .na {
144
- color: #008080;
58
+ .highlight .si {
59
+ color: #8f5536;
145
60
  }
146
- .highlight .bp {
147
- color: #999999;
61
+ .highlight .se {
62
+ color: #8f5536;
148
63
  }
149
- .highlight .nb {
150
- color: #0086B3;
64
+ .highlight .nn {
65
+ color: #f4bf75;
151
66
  }
152
67
  .highlight .nc {
153
- color: #445588;
154
- font-weight: bold;
68
+ color: #f4bf75;
155
69
  }
156
70
  .highlight .no {
157
- color: #008080;
71
+ color: #f4bf75;
158
72
  }
159
- .highlight .nd {
160
- color: #3c5d5d;
161
- font-weight: bold;
162
- }
163
- .highlight .ni {
164
- color: #800080;
165
- }
166
- .highlight .ne {
167
- color: #990000;
168
- font-weight: bold;
169
- }
170
- .highlight .nf {
171
- color: #990000;
172
- font-weight: bold;
173
- }
174
- .highlight .nl {
175
- color: #990000;
176
- font-weight: bold;
177
- }
178
- .highlight .nn {
179
- color: #555555;
180
- }
181
- .highlight .nt {
182
- color: #4d4dc0;
183
- }
184
- .highlight .vc {
185
- color: #008080;
186
- }
187
- .highlight .vg {
188
- color: #008080;
189
- }
190
- .highlight .vi {
191
- color: #008080;
192
- }
193
- .highlight .nv {
194
- color: #008080;
195
- }
196
- .highlight .ow {
197
- color: #000000;
198
- font-weight: bold;
199
- }
200
- .highlight .o {
201
- color: #000000;
202
- font-weight: bold;
73
+ .highlight .na {
74
+ color: #6a9fb5;
203
75
  }
204
- .highlight .w {
205
- color: #bbbbbb;
76
+ .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
77
+ color: #90a959;
206
78
  }
79
+ .highlight .ss {
80
+ color: #90a959;
81
+ }
@@ -4,7 +4,7 @@
4
4
  @import "colors";
5
5
 
6
6
  // this mode is like colors-auto but if the device does not support
7
- // @media prefers-color-scheme it will default to light mode
7
+ // @media prefers-color-scheme it will default to dark mode
8
8
  :root {
9
9
  @include colors;
10
10
  @include light-colors;
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  @media print, (prefers-color-scheme: light) {
20
- //we would not like to apply dark mode if content is on printer
20
+ // we would not like to apply dark mode if content is on printer
21
21
  // as that would use a lot of ink
22
22
  :root {
23
23
  @include light-colors;
@@ -4,9 +4,9 @@
4
4
  @import "jekyll-theme-minimalistic";
5
5
 
6
6
  .logo {
7
- -webkit-border-radius: 8px;
8
- -moz-border-radius: 8px;
9
- border-radius: 8px;
7
+ -webkit-border-radius: 100%;
8
+ -moz-border-radius: 100%;
9
+ border-radius: 100%;
10
10
  margin-bottom: 10px;
11
11
  }
12
12
 
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.3.0
4
+ version: 0.3.3
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-03 00:00:00.000000000 Z
12
+ date: 2022-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -127,6 +127,8 @@ files:
127
127
  - _includes/footer.html
128
128
  - _includes/head-custom-google-analytics.html
129
129
  - _includes/head-custom.html
130
+ - _includes/header.html
131
+ - _includes/mobile.html
130
132
  - _includes/sidebar.html
131
133
  - _layouts/default.html
132
134
  - _layouts/post.html