jekyll-theme-minimalistic 0.3.7 → 0.3.8

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: eaed9efb6ffbc8704328ce1f7d48014166852e824f98329a81265da77d0e3695
4
- data.tar.gz: bb4ccac4ad4cca37c65296fd78eb9c9361bfefb104fb94f865fdf1f9cfff9464
3
+ metadata.gz: f7e801169ce635833d4f7b887ad200741362d8a5d6e605cded22d400a0d2de18
4
+ data.tar.gz: 3301117d2a8c789baf01ca1fdb1af570db95644523356ca59f90ae03d89d6190
5
5
  SHA512:
6
- metadata.gz: c68ebd6ef77a9e2d0ba7e4a8a4648a326b816a1416259f92db04fa87347340eb1eaebce56a74f9ec7ca222d1743f3f8864e97954022328fb62880da37ef723cb
7
- data.tar.gz: 2c7aa31c6bd1bd803f27e568aa1fbebfa461fa2109d8a2931a64844bd55677171e6df07f4547d53e57be5703549b097abece730d2f6f5902ee495e919ac169a4
6
+ metadata.gz: f7b2794d49e88481023d2b41036cf4f3e6876306be463ecf91f5c4c3ca2eb3a86f1d39d036f627abacca6e71a3f111d2e3896f52ababbbf028fc399d3a092b49
7
+ data.tar.gz: a75fe124866c05d69e9299e35fa5ad2030a8f6b5b7983b50834ded0f6cacbe3ce8b88ec95a660544b35a540ad883e9095b75ad02501fc5c25f50ec55c7787920
@@ -0,0 +1,15 @@
1
+ <section>
2
+ {% if site.logo %}
3
+ <img class="logo" src="{{ site.logo | relative_url }}" alt="Logo">
4
+ {% endif %}
5
+
6
+ {% if site.blank_title %}
7
+ <h1>{{ site.title | default: site.github.repository_name }}</h1>
8
+ {% else %}
9
+ <h1>{{ site.title | default: site.github.repository_name }}</h1>
10
+ {% endif %}
11
+
12
+ {% if site.email %}
13
+ <p class="addr"><i class="fa-solid fa-envelope"></i>&nbsp;<a href="mailto:{{site.email}}">{{ site.email }}</a></p>
14
+ {% endif %}
15
+ </section>
@@ -0,0 +1,13 @@
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>{{ site.title | default: site.github.repository_name }}</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 %}
@@ -1,16 +1,10 @@
1
- {% if site.logo %}
2
- <img class="logo" src="{{ site.logo | relative_url }}" alt="Logo">
3
- {% endif %}
1
+ <div class="header-title">
2
+ {% include header-title.html %}
3
+ </div>
4
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 %}
5
+ <div class="header-title-mobile">
6
+ {% include header-title-mobile.html %}
7
+ </div>
14
8
 
15
9
  <p>{{ site.description | default: site.github.project_tagline }}</p>
16
10
 
@@ -24,4 +18,4 @@
24
18
  {% endif %}
25
19
  {% endunless %}
26
20
 
27
- {% include sidebar.html %}
21
+ {% include sidebar.html %}
@@ -1,9 +1,11 @@
1
- <div class="link-wrapper-mobile" id="link-wrapper-mobile">
1
+ <div class="link-wrapper-mobile">
2
2
  {% if site.platforms %}
3
+ <ul class="link">
3
4
  {%- for platform in site.platforms %}
4
5
  <nobr><a href="{{ platform.link }}" rel="me">{{ platform.icon }}&nbsp;{{ platform.name }}</a>
5
6
  {%- unless forloop.last %}<span style="margin-left: 6px;"></span>{% endunless %}</nobr>
6
7
  {%- endfor %}
8
+ </ul>
7
9
  {% endif %}
8
10
 
9
11
  {% if site.navigation %}
@@ -12,6 +12,18 @@ body {
12
12
  font: 15px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
13
13
  color: var(--clr-text);
14
14
  font-weight: 400;
15
+ -ms-overflow-style: -ms-autohiding-scrollbar;
16
+ }
17
+
18
+ .header-title-mobile {
19
+ display: none;
20
+ }
21
+
22
+ .logo {
23
+ -webkit-border-radius: 100%;
24
+ -moz-border-radius: 100%;
25
+ border-radius: 100%;
26
+ margin-bottom: 10px;
15
27
  }
16
28
 
17
29
  h1, h2, h3, h4, h5, h6 {
@@ -24,7 +36,7 @@ p, ul, ol, table, pre, dl {
24
36
  }
25
37
 
26
38
  h1, h2, h3 {
27
- line-height: 1.1;
39
+ line-height: 1.3;
28
40
  }
29
41
 
30
42
  h1 {
@@ -60,12 +72,11 @@ a:hover small {
60
72
  }
61
73
 
62
74
  .addr a:hover, a:focus {
63
- text-decoration: underline;
75
+ color: var(--clr-a-text-hvr);
64
76
  }
65
77
 
66
78
  ul.link a {
67
79
  color:var(--clr-h1-and-bold);
68
- text-decoration: none;
69
80
  }
70
81
 
71
82
  ul.link a:hover, a:focus {
@@ -76,16 +87,12 @@ ul.content {
76
87
  margin-left: -1.4em;
77
88
  }
78
89
 
79
- ul.content a:hover, a:focus {
80
- text-decoration: none;
81
- }
82
-
83
90
  .sublist {
84
91
  margin: 0 0 0;
85
92
  }
86
93
 
87
94
  ul.sublist {
88
- margin-left: -1.4em;
95
+ margin-left: -1.5em;
89
96
  }
90
97
 
91
98
  p.link {
@@ -224,8 +231,8 @@ hr {
224
231
  border: 0;
225
232
  background: var(--clr-splitter-blockquote-and-section);
226
233
  height: 1px;
227
- width: 30%;
228
- margin: 10px auto 30px;
234
+ width: 100%;
235
+ margin: 10px auto 20px;
229
236
  }
230
237
 
231
238
  .sidebar-footer {
@@ -239,18 +246,7 @@ hr {
239
246
  margin: 1em 0 0.25em 0;
240
247
  }
241
248
 
242
- #link-wrapper-mobile a {
243
- color: var(--clr-h1-and-bold);
244
- text-decoration: none;
245
- }
246
-
247
- #link-wrapper-mobile a:hover, a:focus {
248
- color: var(--clr-a-text-hvr);
249
- }
250
-
251
-
252
249
  @media print, screen and (max-width: 960px) {
253
-
254
250
  .wrapper {
255
251
  width: 610px;
256
252
  }
@@ -283,6 +279,7 @@ hr {
283
279
  header ul, header p.view {
284
280
  position: static;
285
281
  }
282
+
286
283
  .link-wrapper {
287
284
  display: none !important;
288
285
  }
@@ -329,6 +326,22 @@ hr {
329
326
  margin: 0 0 20px;
330
327
  }
331
328
 
329
+ .header-title {
330
+ display: none;
331
+ }
332
+
333
+ .header-title-mobile {
334
+ display: block;
335
+ }
336
+
337
+ h1, h2, h3, h4, h5, h6 {
338
+ margin: 15px 0 15px;
339
+ }
340
+
341
+ .header-title-mobile h1 {
342
+ line-height: 1.1;
343
+ }
344
+
332
345
  header a small {
333
346
  display: inline;
334
347
  }
@@ -339,7 +352,10 @@ hr {
339
352
  }
340
353
 
341
354
  .logo {
342
- display: none !important;
355
+ float: right;
356
+ width: 100px;
357
+ box-sizing: border-box;
358
+ margin-bottom: 0px;
343
359
  }
344
360
 
345
361
  pre, code {
@@ -3,13 +3,6 @@
3
3
 
4
4
  @import "jekyll-theme-minimalistic";
5
5
 
6
- .logo {
7
- -webkit-border-radius: 100%;
8
- -moz-border-radius: 100%;
9
- border-radius: 100%;
10
- margin-bottom: 10px;
11
- }
12
-
13
6
  .overlay {
14
7
  position: fixed;
15
8
  top: 0;
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.7
4
+ version: 0.3.8
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-14 00:00:00.000000000 Z
12
+ date: 2022-07-15 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-title-mobile.html
131
+ - _includes/header-title.html
130
132
  - _includes/header.html
131
133
  - _includes/mobile.html
132
134
  - _includes/sidebar.html