lions-jekyll-theme 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24bc1d7c76bef523ca61b3a3f612e83e7c6cf80a13f4d6085e76988a52e31940
4
- data.tar.gz: fe72770676b98e7644a34c52461c5bc5ffb3651a6ff90b1e82d5b5b3bfda11ca
3
+ metadata.gz: c60dddbe962c03fd18a91e72e76754abf4b8df73e5a6f2b4ff631310f06a65d9
4
+ data.tar.gz: 43042f45d6dbace2a2bd9470f51b3d61dd2f386d3a35764ddb01b706936a15f4
5
5
  SHA512:
6
- metadata.gz: 19929cf38064d8c5e119e63279b6d0dbcc4b571efa5675cf61313b4875484766b624e8ae5653b82bb68b169f8bee18b90c9c70fdfc6741a00b892442221dff24
7
- data.tar.gz: a3def99305fed24891e90b713ee63e54a7fe9047cfe7edd94cd079be5f382224fd407ef45b9258773cb1d3a0d6d394b60d608d576a4dac979722dfaaf6e93a2b
6
+ metadata.gz: 8fd753aa812010b9b1c3a4dfeb0f4460de8b9c88e673672871968c9fe2867a120dafc343ea99f74f2caa091905b3aeb67380b540463e2ba8fff8f8a156bd0580
7
+ data.tar.gz: 2517efd58dbefa73febe3214207ef9b22a1a3d8994b9660fb301a6c7005fbd0127f62075e36b41c24ef46cc7e017aebbdeaed1d17dd6331b22e70407d344e9aa
data/README.md CHANGED
@@ -1,10 +1,6 @@
1
1
  # lions-jekyll-theme
2
2
 
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
-
5
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
-
7
- TODO: Delete this and the text above, and describe your gem
3
+ Purely just a theme for my website [ablion.dev](https://www.ablion.dev/). Based upon the [minima](https://github.com/jekyll/minima) theme with some modifications. Feel free to use yourself if you're so inclined.
8
4
 
9
5
  ## Installation
10
6
 
@@ -30,11 +26,11 @@ Or install it yourself as:
30
26
 
31
27
  ## Usage
32
28
 
33
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
29
+ TODO: Will get there soon, still developing... See _config.yml in [my website's repo](https://github.com/Lion4567714/Lion4567714.github.io) for most of it.
34
30
 
35
31
  ## Contributing
36
32
 
37
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lions-jekyll-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Lion4567714/lions-jekyll-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
38
34
 
39
35
  ## Development
40
36
 
@@ -0,0 +1,9 @@
1
+ <!-- Google tag (gtag.js) -->
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-G3S7M006Y6"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', 'G-G3S7M006Y6');
9
+ </script>
@@ -2,8 +2,24 @@
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
+ <table class="footer-social-table">
7
+ <tr>
8
+ {%- for social in site.socials -%}
9
+ <td>
10
+ <a href="{{ social.link }}" target="#">
11
+ {%- if social.platform == 'email' -%}
12
+ <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>
13
+ {%- elsif social.platform == 'github' -%}
14
+ <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>
15
+ {%- elsif social.platform == 'linkedin' -%}
16
+ <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>
17
+ {%- endif -%}
18
+ </a>
19
+ </td>
20
+ {%- endfor -%}
21
+ </tr>
22
+ </table>
7
23
  </div>
8
24
  </div>
9
25
  </footer>
data/_includes/head.html CHANGED
@@ -2,8 +2,14 @@
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ {%- seo -%}
7
+
5
8
  <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
6
9
 
7
10
  {%- feed_meta -%}
8
11
 
12
+ {%- if site.google_analytics -%}
13
+ {%- include analytics.html -%}
14
+ {%- endif -%}
9
15
  </head>
@@ -4,27 +4,31 @@
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">
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>
28
32
  </nav>
29
33
  {%- endif -%}
30
34
  </div>
@@ -1,9 +1,9 @@
1
- <div style="max-width: 30vw; width: 200px">
2
- {%- if site.profile_picture -%}
3
- <img class="profile-picture" src="{{ site.profile_picture }}" />
1
+ <div class="sidebar">
2
+ {%- if site.author.profile_picture -%}
3
+ <img class="profile-picture" src="{{ site.author.profile_picture }}" />
4
4
  {%- endif -%}
5
5
 
6
- <div style="height: 15px"></div>
6
+ <div style="height: 1rem"></div>
7
7
 
8
8
  {%- if site.author.name -%}
9
9
  <div class="profile-name">{{ site.author.name }}</div>
@@ -13,13 +13,19 @@
13
13
  <div class="profile-username">{{ site.author.username }}</div>
14
14
  {%- endif -%}
15
15
 
16
- <div style="height: 15px"></div>
16
+ <div style="height: 1rem"></div>
17
17
 
18
18
  <table class="profile-table">
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
@@ -3,10 +3,10 @@ layout: base
3
3
  ---
4
4
 
5
5
  <div class="home flex-container wrapper page-content">
6
- <div class="wrapper" style="width: auto">
6
+ <div class="wrapper">
7
7
  {%- include sidebar.html -%}
8
8
  </div>
9
- <div class="wrapper" style="width: auto">
9
+ <div class="wrapper">
10
10
  {{ content }}
11
11
 
12
12
  {%- assign posts = site.posts -%}
@@ -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
@@ -250,14 +254,19 @@ html {
250
254
  * Tables
251
255
  */
252
256
  table {
253
- margin-bottom: $spacing-unit;
254
257
  text-align: $table-text-align;
255
258
  color: $table-text-color;
256
259
  border: none;
260
+ border-collapse: collapse;
261
+
262
+ tbody {
263
+ width: 100%;
264
+ height: 100%;
265
+ }
257
266
  tr {
258
267
  }
259
268
  th, td {
260
- padding: ($spacing-unit * .05) ($spacing-unit * .05);
269
+ // padding: ($spacing-unit * .05) ($spacing-unit * .05);
261
270
  }
262
271
  th {
263
272
  background-color: $table-header-bg-color;
@@ -271,4 +280,31 @@ table {
271
280
  -webkit-overflow-scrolling: touch;
272
281
  -ms-overflow-style: -ms-autohiding-scrollbar;
273
282
  }
283
+ }
284
+
285
+ /*
286
+ * fonts
287
+ */
288
+ @font-face {
289
+ font-family: JetBrains;
290
+ src: url("../fonts/JetBrainsMonoNerdFontPropo-Regular.ttf");
291
+ font-weight: normal;
292
+ }
293
+
294
+ @font-face {
295
+ font-family: JetBrains;
296
+ src: url("../fonts/JetBrainsMonoNerdFontPropo-SemiBold.ttf");
297
+ font-weight: bold;
298
+ }
299
+
300
+ @font-face {
301
+ font-family: JetBrains;
302
+ src: url("../fonts/JetBrainsMonoNerdFontPropo-Thin.ttf");
303
+ font-weight: lighter;
304
+ }
305
+
306
+ @font-face {
307
+ font-family: Mononoki;
308
+ src: url("../fonts/MononokiNerdFont-Regular.ttf");
309
+ font-weight: normal;
274
310
  }
@@ -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,24 +13,29 @@
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;
19
22
  float: left;
20
-
23
+ transition: 0.5s ease;
24
+ height: 100%;
25
+
21
26
  @include media-query($on-palm) {
22
27
  padding-right: 45px;
23
28
  }
24
-
25
- &,
29
+
26
30
  &:visited {
27
- color: $site-title-color;
31
+ // color: $site-title-color;
28
32
  }
29
33
  }
30
34
 
31
35
  .site-nav {
32
36
  position: absolute;
33
37
  top: 9px;
38
+ height: 100%;
34
39
  right: $spacing-unit * .5;
35
40
  background-color: $background-color;
36
41
  border: 1px solid $border-color-01;
@@ -70,14 +75,14 @@
70
75
 
71
76
  input:checked ~ .trigger {
72
77
  display: block;
73
- padding-bottom: 5px;
78
+ // padding-bottom: 5px;
74
79
  }
75
80
 
76
81
  .page-link {
77
82
  color: $text-color;
78
- line-height: $base-line-height;
83
+ // line-height: $base-line-height;
79
84
  display: block;
80
- padding: 5px 10px;
85
+ // padding: 5px 10px;
81
86
 
82
87
  // Gaps between nav items, but not on the last one
83
88
  &:not(:last-child) {
@@ -105,8 +110,10 @@
105
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,7 +122,26 @@
115
122
  }
116
123
  }
117
124
  }
118
-
125
+
126
+ .header-table {
127
+ height: 100%;
128
+ }
129
+
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;
136
+
137
+ &:hover {
138
+ color: black;
139
+ background-color: white;
140
+ font-weight: bold;
141
+ transform: scale(0.9, 0.9);
142
+ }
143
+ }
144
+
119
145
 
120
146
 
121
147
  /**
@@ -126,83 +152,45 @@
126
152
  padding: $spacing-unit 0;
127
153
  }
128
154
 
129
- .footer-heading {
130
- @include relative-font-size(1.125);
131
- margin-bottom: $spacing-unit * .5;
132
- }
133
-
134
- .feed-subscribe .svg-icon {
135
- padding: 5px 5px 2px 0
136
- }
137
-
138
- .contact-list,
139
- .social-media-list {
140
- list-style: none;
141
- margin-left: 0;
142
- }
143
-
144
- .footer-col-wrapper,
145
- .social-links {
146
- @include relative-font-size(0.9375);
147
- color: $brand-color;
148
- }
149
-
150
- .footer-col {
151
- margin-bottom: $spacing-unit * .5;
152
- }
153
-
154
- .footer-col-1,
155
- .footer-col-2 {
156
- width: calc(50% - (#{$spacing-unit} / 2));
155
+ .footer-social-wrapper {
156
+ height: 3rem;
157
+ width: 30vw;
158
+ min-width: 200px;
159
+ display: block;
160
+ margin-left: auto;
161
+ margin-right: auto;
157
162
  }
158
163
 
159
- .footer-col-3 {
160
- width: calc(100% - (#{$spacing-unit} / 2));
164
+ .footer-social-table {
165
+ vertical-align: middle;
166
+ border: none;
167
+ width: 100%;
168
+ height: 100%;
161
169
  }
162
170
 
163
- @media screen and (min-width: $on-large) {
164
- .footer-col-1 {
165
- width: calc(35% - (#{$spacing-unit} / 2));
166
- }
167
-
168
- .footer-col-2 {
169
- width: calc(20% - (#{$spacing-unit} / 2));
170
- }
171
+ .footer-social-icon {
172
+ height: 12vw;
173
+ max-height: 30px;
174
+ fill: gray;
175
+ display: block;
176
+ margin-left: auto;
177
+ margin-right: auto;
178
+ transition: ease 0.3s;
171
179
 
172
- .footer-col-3 {
173
- width: calc(45% - (#{$spacing-unit} / 2));
180
+ &:hover {
181
+ fill: white;
182
+ transform: scale(1.2, 1.2);
174
183
  }
175
184
  }
176
185
 
177
- @media screen and (min-width: $on-medium) {
178
- .footer-col-wrapper {
179
- display: flex
180
- }
181
-
182
- .footer-col {
183
- width: calc(100% - (#{$spacing-unit} / 2));
184
- padding: 0 ($spacing-unit * .5);
185
186
 
186
- &:first-child {
187
- padding-right: $spacing-unit * .5;
188
- padding-left: 0;
189
- }
190
-
191
- &:last-child {
192
- padding-right: 0;
193
- padding-left: $spacing-unit * .5;
194
- }
195
- }
196
- }
197
-
198
-
199
187
 
200
188
  /**
201
189
  * Page content
202
190
  */
203
191
  .page-content {
204
192
  padding: $spacing-unit 0;
205
- flex: 1 0 auto;
193
+ // flex: 1 0 auto;
206
194
  }
207
195
 
208
196
  .page-heading {
@@ -350,8 +338,11 @@
350
338
  }
351
339
 
352
340
  .sidebar {
353
- padding: $spacing-unit 0;
354
- flex: 1 0 auto;
341
+ max-width: 14rem;
342
+ width: auto;
343
+ font-family: JetBrains;
344
+ white-space: nowrap;
345
+ margin-right: 2rem;
355
346
  }
356
347
 
357
348
  .profile-picture {
@@ -377,10 +368,11 @@
377
368
 
378
369
  .profile-icon {
379
370
  fill: white;
380
- filter: invert(100%);
381
- vertical-align: middle;
371
+ // filter: invert(100%);
372
+ // vertical-align: middle;
382
373
  }
383
374
 
384
375
  .profile-link {
385
376
  font-weight: lighter;
377
+ margin-left: 0.33rem;
386
378
  }
@@ -14,7 +14,7 @@ $spacing-unit: 30px !default;
14
14
  $table-text-align: left !default;
15
15
 
16
16
  // Width of the content area
17
- $content-width: 800px !default;
17
+ $content-width: 1000px !default;
18
18
 
19
19
  $on-palm: 600px !default;
20
20
  $on-laptop: 800px !default;
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.0
4
+ version: 0.1.2
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-19 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
@@ -33,6 +33,7 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
+ - _includes/analytics.html
36
37
  - _includes/footer.html
37
38
  - _includes/head.html
38
39
  - _includes/header.html
@@ -48,9 +49,10 @@ files:
48
49
  - _sass/lions-jekyll-theme/skins/classic.scss
49
50
  - _sass/lions-jekyll-theme/skins/dark.scss
50
51
  - assets/css/style.scss
51
- - assets/svg/email.svg
52
- - assets/svg/github.svg
53
- - assets/svg/linkedin.svg
52
+ - assets/fonts/JetBrainsMonoNerdFontPropo-Regular.ttf
53
+ - assets/fonts/JetBrainsMonoNerdFontPropo-SemiBold.ttf
54
+ - assets/fonts/JetBrainsMonoNerdFontPropo-Thin.ttf
55
+ - assets/fonts/MononokiNerdFont-Regular.ttf
54
56
  homepage: https://github.com/Lion4567714/lions-jekyll-theme
55
57
  licenses:
56
58
  - MIT
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>