lions-jekyll-theme 0.1.1 → 0.2.1

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: 321dcb39a092c520cf62a9360ca60c1492e3c66f96bd4e430168138ec3d99ba2
4
- data.tar.gz: e16efb572572191f98395f6d17114bfa55e72682bd3a7e290cd9d2e8e38cda0b
3
+ metadata.gz: b04e0a2daf1f99be9254da7847cec14d3ca6cc6368b59ed31c8239a7bafe9d3a
4
+ data.tar.gz: a5c150f5a191e13e30969b886723f6bc96eb76e02e86c495df82bf690c0111a0
5
5
  SHA512:
6
- metadata.gz: 25a134421fd5c346d074fa7a337a6cc434a0f9b5668097ba0a6321ece47b181fa3e6a245c4865dbfeb1b68c2ebcb6a19587599229552aa7b4a887d68feeed6fc
7
- data.tar.gz: 8f567c0e392a3cfda37d8d8521dbb1a5380552eac90d1b62cbe3eae1c17f42b45b14200f19b9acee2ecb1aecdd99524b6f05bf8b96a9c03f1a6c7b5e4097ee34
6
+ metadata.gz: 8086d938cc255f0c969db9ceb24dd9f252f819d0a1dc1fe8a984320c173297f98290331b5f2cc6fc45fe5f70968cd8033e78f8788ca2db8ecf9d96f3c237a8d6
7
+ data.tar.gz: 17c4f9a4a05b8a1665923ececfb35d8bd2496898f03df7aa11d0ad62688f18e3ae0aeb5a21f1bd02364302e75b9a7c7f5cc9e35f183b3695e0107040f9351191
@@ -2,8 +2,18 @@
2
2
  <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
3
 
4
4
  <div class="wrapper">
5
- <div class="footer-col-wrapper">
6
-
5
+ <div class="footer-social-wrapper">
6
+ {%- for social in site.socials -%}
7
+ <a href="{{ social.link }}" target="#">
8
+ {%- if social.platform == 'email' -%}
9
+ <svg class="footer-social-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"/></svg>
10
+ {%- elsif social.platform == 'github' -%}
11
+ <svg class="footer-social-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
12
+ {%- elsif social.platform == 'linkedin' -%}
13
+ <svg class="footer-social-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>
14
+ {%- endif -%}
15
+ </a>
16
+ {%- endfor -%}
7
17
  </div>
8
18
  </div>
9
19
  </footer>
@@ -4,27 +4,44 @@
4
4
  {%- assign page_paths = site.header_pages | default: default_paths -%}
5
5
  {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
6
6
 
7
- <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
7
+ <a class="site-title header-link" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
8
8
 
9
9
  {%- if titles_size > 0 -%}
10
10
  <nav class="site-nav">
11
11
  <input type="checkbox" id="nav-trigger" class="nav-trigger" />
12
12
  <label for="nav-trigger">
13
- <span class="menu-icon">
14
- <svg viewBox="0 0 18 15" width="18px" height="15px">
15
- <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
16
- </svg>
17
- </span>
13
+ <span class="menu-icon">
14
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
15
+ <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
16
+ </svg>
17
+ </span>
18
18
  </label>
19
19
 
20
- <div class="trigger">
21
- {%- for path in page_paths -%}
22
- {%- assign my_page = site.pages | where: "path", path | first -%}
23
- {%- if my_page.title -%}
24
- <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
25
- {%- endif -%}
26
- {%- endfor -%}
27
- </div>
20
+ <table class="header-table show-on-bigger-screen">
21
+ <tr>
22
+ {%- for path in page_paths -%}
23
+ <td>
24
+ {%- assign my_page = site.pages | where: "path", path | first -%}
25
+ {%- if my_page.title -%}
26
+ <a class="page-link header-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
27
+ {%- endif -%}
28
+ </td>
29
+ {%- endfor -%}
30
+ </tr>
31
+ </table>
32
+
33
+ <table class="trigger header-table show-on-smaller-screen ">
34
+ {%- for path in page_paths -%}
35
+ <tr>
36
+ <td>
37
+ {%- assign my_page = site.pages | where: "path", path | first -%}
38
+ {%- if my_page.title -%}
39
+ <a class="page-link header-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
40
+ {%- endif -%}
41
+ </td>
42
+ </tr>
43
+ {%- endfor -%}
44
+ </table>
28
45
  </nav>
29
46
  {%- endif -%}
30
47
  </div>
@@ -19,7 +19,13 @@
19
19
  {%- for social in site.socials -%}
20
20
  <tr>
21
21
  <td>
22
- <img class="profile-icon" src="{{ '/assets/svg/' | append: social.platform | append: '.svg' | relative_url }}" />
22
+ {%- if social.platform == 'email' -%}
23
+ <svg class="profile-icon" xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"/></svg>
24
+ {%- elsif social.platform == 'github' -%}
25
+ <svg class="profile-icon" xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 496 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
26
+ {%- elsif social.platform == 'linkedin' -%}
27
+ <svg class="profile-icon" xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>
28
+ {%- endif -%}
23
29
  </td>
24
30
  <td>
25
31
  <a class="profile-link" href="{{ social.link }}" target="#">{{ social.preview }}</a>
data/_layouts/home.html CHANGED
@@ -4,7 +4,19 @@ layout: base
4
4
 
5
5
  <div class="home flex-container wrapper page-content">
6
6
  <div class="wrapper">
7
- {%- include sidebar.html -%}
7
+ <div class="sidebar-parent">
8
+ <input type="checkbox" id="sidebar-toggle" class="sidebar-toggle" />
9
+ <label for="sidebar-toggle">
10
+ <div class="sidebar-toggle-box">
11
+ <img class="sidebar-toggle-picture" src="{{ site.author.profile_picture }}" />
12
+ <span class="sidebar-toggle-icon menu-icon">
13
+ <svg xmlns="http://www.w3.org/2000/svg" height="16" width="10" viewBox="0 0 320 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg>
14
+ </span>
15
+ </div>
16
+ </label>
17
+
18
+ {%- include sidebar.html -%}
19
+ </div>
8
20
  </div>
9
21
  <div class="wrapper">
10
22
  {{ content }}
@@ -32,6 +32,8 @@ html {
32
32
  min-height: 100vh;
33
33
  flex-direction: column;
34
34
  overflow-wrap: break-word;
35
+
36
+ // transition: ease-in-out 0.3s;
35
37
  }
36
38
 
37
39
 
@@ -111,9 +113,10 @@ html {
111
113
  /**
112
114
  * Links
113
115
  */
114
- a {
115
- color: $link-base-color;
116
+ a:not(.header-link) {
116
117
  text-decoration: none;
118
+ color: $link-base-color;
119
+ transition: 0.5s;
117
120
 
118
121
  &:visited {
119
122
  color: $link-visited-color;
@@ -133,6 +136,7 @@ html {
133
136
  }
134
137
  }
135
138
 
139
+
136
140
 
137
141
  /**
138
142
  * Blockquotes
@@ -204,12 +208,6 @@ html {
204
208
  padding-right: $spacing-unit * .5;
205
209
  padding-left: $spacing-unit * .5;
206
210
  @extend %clearfix;
207
-
208
- @media screen and (min-width: $on-large) {
209
- max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
210
- padding-right: $spacing-unit;
211
- padding-left: $spacing-unit;
212
- }
213
211
  }
214
212
 
215
213
 
@@ -250,20 +248,18 @@ html {
250
248
  * Tables
251
249
  */
252
250
  table {
253
- margin-bottom: $spacing-unit;
254
251
  text-align: $table-text-align;
255
252
  color: $table-text-color;
256
253
  border: none;
257
- tr {
258
- }
259
- th, td {
260
- padding: ($spacing-unit * .05) ($spacing-unit * .05);
254
+ border-collapse: collapse;
255
+
256
+ tbody {
257
+ width: 100%;
258
+ height: 100%;
261
259
  }
262
260
  th {
263
261
  background-color: $table-header-bg-color;
264
262
  }
265
- td {
266
- }
267
263
 
268
264
  @include media-query($on-laptop) {
269
265
  display: block;
@@ -273,8 +269,35 @@ table {
273
269
  }
274
270
  }
275
271
 
272
+
273
+
274
+ /**
275
+ * Conditional
276
+ */
277
+ @media all and (width >= $on-medium) {
278
+ .show-on-bigger-screen {
279
+ display: block;
280
+ }
281
+
282
+ .show-on-smaller-screen {
283
+ display: none;
284
+ }
285
+ }
286
+
287
+ @media all and (width < $on-medium) {
288
+ nav .show-on-bigger-screen {
289
+ display: none;
290
+ }
291
+
292
+ .show-on-smaller-screen {
293
+ display: block;
294
+ }
295
+ }
296
+
297
+
298
+
276
299
  /*
277
- * fonts
300
+ * Fonts
278
301
  */
279
302
  @font-face {
280
303
  font-family: JetBrains;
@@ -5,7 +5,7 @@
5
5
  border-top: 5px solid $border-color-03;
6
6
  border-bottom: 1px solid $border-color-01;
7
7
  min-height: $spacing-unit * 1.865;
8
- line-height: $base-line-height * $base-font-size * 2.25;
8
+ line-height: $base-line-height * $base-font-size * 2.5;
9
9
 
10
10
  // Positioning context for the mobile navigation icon
11
11
  position: relative;
@@ -13,28 +13,32 @@
13
13
 
14
14
  .site-title {
15
15
  @include relative-font-size(1.625);
16
- font-weight: 300;
17
- letter-spacing: -1px;
18
- margin-bottom: 0;
16
+ color: $text-color;
17
+ font-weight: bold;
18
+ // letter-spacing: -1px;
19
+ // margin-bottom: 0;
20
+ padding-left: 1rem;
21
+ padding-right: 1rem;
22
+ padding-top: 5px;
23
+ padding-bottom: 5px;
19
24
  float: left;
20
-
21
- @include media-query($on-palm) {
22
- padding-right: 45px;
23
- }
24
-
25
- &,
26
- &:visited {
27
- color: $site-title-color;
28
- }
25
+ transition: 0.5s ease;
26
+ height: 100%;
27
+
28
+ // @include media-query($on-palm) {
29
+ // padding-right: 45px;
30
+ // }
29
31
  }
30
32
 
31
33
  .site-nav {
32
34
  position: absolute;
35
+ z-index: 2;
33
36
  top: 9px;
34
37
  right: $spacing-unit * .5;
35
38
  background-color: $background-color;
36
39
  border: 1px solid $border-color-01;
37
40
  border-radius: 5px;
41
+ margin-top: 5px;
38
42
  text-align: right;
39
43
 
40
44
  .nav-trigger {
@@ -75,7 +79,8 @@
75
79
 
76
80
  .page-link {
77
81
  color: $text-color;
78
- line-height: $base-line-height;
82
+ text-align: right;
83
+ // line-height: $base-line-height;
79
84
  display: block;
80
85
  padding: 5px 10px;
81
86
 
@@ -86,7 +91,7 @@
86
91
  margin-left: 20px;
87
92
  }
88
93
 
89
- @media screen and (min-width: $on-medium) {
94
+ @media all and (width >= $on-medium) {
90
95
  position: static;
91
96
  float: right;
92
97
  border: none;
@@ -100,13 +105,15 @@
100
105
  display: none;
101
106
  }
102
107
 
103
- input ~ .trigger {
104
- display: block;
105
- }
108
+ // input ~ .trigger {
109
+ // display: block;
110
+ // }
106
111
 
107
112
  .page-link {
108
- display: inline;
109
- padding: 0;
113
+ display: block;
114
+ height: 100%;
115
+ padding-left: 1rem;
116
+ padding-right: 1rem;
110
117
 
111
118
  &:not(:last-child) {
112
119
  margin-right: 20px;
@@ -115,94 +122,149 @@
115
122
  }
116
123
  }
117
124
  }
118
-
119
-
120
-
121
- /**
122
- * Site footer
123
- */
124
- .site-footer {
125
- border-top: 1px solid $border-color-01;
126
- padding: $spacing-unit 0;
127
- }
128
125
 
129
- .footer-heading {
130
- @include relative-font-size(1.125);
131
- margin-bottom: $spacing-unit * .5;
126
+ .header-table {
127
+ height: 100%;
132
128
  }
133
129
 
134
- .feed-subscribe .svg-icon {
135
- padding: 5px 5px 2px 0
136
- }
130
+ .header-link {
131
+ height: 100%;
132
+ border-radius: 1rem;
133
+ text-decoration: none;
134
+ font-family: JetBrains;
135
+ transition: ease-in-out 0.3s;
137
136
 
138
- .contact-list,
139
- .social-media-list {
140
- list-style: none;
141
- margin-left: 0;
137
+ &:hover {
138
+ color: black;
139
+ background-color: white;
140
+ font-weight: bold;
141
+ transform: scale(0.9, 0.9);
142
+ }
142
143
  }
143
144
 
144
- .footer-col-wrapper,
145
- .social-links {
146
- @include relative-font-size(0.9375);
147
- color: $brand-color;
148
- }
149
145
 
150
- .footer-col {
151
- margin-bottom: $spacing-unit * .5;
152
- }
153
146
 
154
- .footer-col-1,
155
- .footer-col-2 {
156
- width: calc(50% - (#{$spacing-unit} / 2));
157
- }
147
+ /**
148
+ * Sidebar
149
+ */
150
+ .sidebar-parent {
151
+ .sidebar-toggle {
152
+ display: none;
153
+ }
158
154
 
159
- .footer-col-3 {
160
- width: calc(100% - (#{$spacing-unit} / 2));
161
- }
155
+ .sidebar-toggle-box {
156
+ position: absolute;
157
+ top: 85px;
158
+ left: 10px;
159
+ z-index: 1;
160
+ display: flex;
161
+ align-items: center;
162
+ padding: 0.25rem;
163
+ border: solid 1px $border-color-01;
164
+ border-radius: 1rem;
165
+ cursor: pointer;
166
+ transition: ease-in-out 0.3s;
162
167
 
163
- @media screen and (min-width: $on-large) {
164
- .footer-col-1 {
165
- width: calc(35% - (#{$spacing-unit} / 2));
168
+ &:hover {
169
+ transform: translateX(0.5rem);
170
+ }
166
171
  }
167
172
 
168
- .footer-col-2 {
169
- width: calc(20% - (#{$spacing-unit} / 2));
173
+ .sidebar-toggle-picture {
174
+ width: 2.5rem;
175
+ height: 2.5rem;
176
+ border-radius: 50%;
170
177
  }
171
178
 
172
- .footer-col-3 {
173
- width: calc(45% - (#{$spacing-unit} / 2));
179
+ .sidebar-toggle-icon {
180
+ fill: $border-color-03;
181
+ transform: scale(1.5, 1.5);
182
+ margin-left: 0.2rem;
174
183
  }
175
- }
176
184
 
177
- @media screen and (min-width: $on-medium) {
178
- .footer-col-wrapper {
179
- display: flex
180
- }
185
+ input {
186
+ ~ .sidebar {
187
+ left: -300px;
188
+ }
189
+
190
+ &:checked {
191
+ ~ .sidebar {
192
+ left: 0px;
193
+ }
181
194
 
182
- .footer-col {
183
- width: calc(100% - (#{$spacing-unit} / 2));
184
- padding: 0 ($spacing-unit * .5);
195
+ + label > .sidebar-toggle-box {
196
+ width: 20rem;
197
+ justify-content: end;
185
198
 
186
- &:first-child {
187
- padding-right: $spacing-unit * .5;
188
- padding-left: 0;
199
+ &:hover {
200
+ transform: translateX(-0.5rem);
201
+ }
202
+
203
+ > .sidebar-toggle-picture {
204
+ transform: translateX(0.9rem);
205
+ }
206
+
207
+ > .sidebar-toggle-icon {
208
+ transform: rotate(0.5turn) translatex(2.7rem) scale(1.5, 1.5);
209
+ }
210
+ }
189
211
  }
212
+ }
190
213
 
191
- &:last-child {
192
- padding-right: 0;
193
- padding-left: $spacing-unit * .5;
214
+ @media all and (width >= $on-medium) {
215
+ label[for="sidebar-toggle"] {
216
+ display: none;
217
+ }
218
+
219
+ input ~ .sidebar {
220
+ display: block;
194
221
  }
195
222
  }
196
223
  }
224
+
225
+
197
226
 
198
-
227
+ /**
228
+ * Site footer
229
+ */
230
+ .site-footer {
231
+ border-top: 1px solid $border-color-01;
232
+ padding: $spacing-unit 0;
233
+ }
234
+
235
+ .footer-social-wrapper {
236
+ height: 3rem;
237
+ width: 30vw;
238
+ min-width: 200px;
239
+ display: flex;
240
+ justify-content: space-evenly;
241
+ margin-left: auto;
242
+ margin-right: auto;
243
+ }
244
+
245
+ .footer-social-icon {
246
+ height: 12vw;
247
+ max-height: 30px;
248
+ fill: gray;
249
+ display: block;
250
+ margin-left: auto;
251
+ margin-right: auto;
252
+ transition: ease 0.3s;
253
+
254
+ &:hover {
255
+ fill: white;
256
+ transform: scale(1.2, 1.2);
257
+ }
258
+ }
259
+
260
+
199
261
 
200
262
  /**
201
263
  * Page content
202
264
  */
203
265
  .page-content {
204
- padding: $spacing-unit 0;
205
- // flex: 1 0 auto;
266
+ padding-top: 1rem;
267
+ padding-bottom: 1rem;
206
268
  }
207
269
 
208
270
  .page-heading {
@@ -350,11 +412,25 @@
350
412
  }
351
413
 
352
414
  .sidebar {
353
- max-width: 14rem;
415
+ max-width: 15rem;
354
416
  width: auto;
355
417
  font-family: JetBrains;
356
418
  white-space: nowrap;
357
419
  margin-right: 2rem;
420
+ transition: 0.3s linear;
421
+
422
+ @media all and (width < $on-medium) {
423
+ position: absolute;
424
+ top: 85px;
425
+ left: 0px;
426
+ z-index: 1;
427
+ padding: 1rem;
428
+ border: solid $border-color-01;
429
+ border-left: none;
430
+ border-top-right-radius: 3rem;
431
+ border-bottom-right-radius: 3rem;
432
+ background: black;
433
+ }
358
434
  }
359
435
 
360
436
  .profile-picture {
@@ -380,10 +456,12 @@
380
456
 
381
457
  .profile-icon {
382
458
  fill: white;
383
- filter: invert(100%);
384
- vertical-align: middle;
459
+ // filter: invert(100%);
460
+ // vertical-align: middle;
385
461
  }
386
462
 
387
463
  .profile-link {
388
464
  font-weight: lighter;
465
+ margin-left: 0.33rem;
389
466
  }
467
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lions-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anders Gilliland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-20 00:00:00.000000000 Z
11
+ date: 2023-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -53,9 +53,6 @@ files:
53
53
  - assets/fonts/JetBrainsMonoNerdFontPropo-SemiBold.ttf
54
54
  - assets/fonts/JetBrainsMonoNerdFontPropo-Thin.ttf
55
55
  - assets/fonts/MononokiNerdFont-Regular.ttf
56
- - assets/svg/email.svg
57
- - assets/svg/github.svg
58
- - assets/svg/linkedin.svg
59
56
  homepage: https://github.com/Lion4567714/lions-jekyll-theme
60
57
  licenses:
61
58
  - MIT
@@ -78,5 +75,6 @@ requirements: []
78
75
  rubygems_version: 3.3.5
79
76
  signing_key:
80
77
  specification_version: 4
81
- summary: A custom theme built specfically for my website https://ablion.dev
78
+ summary: A custom theme built specfically for my website https://ablion.dev, now with
79
+ support for mobile devices.
82
80
  test_files: []
data/assets/svg/email.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="16" width="15.5" viewBox="0 0 496 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="16" width="14" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>