lions-jekyll-theme 0.1.0 → 0.1.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: 24bc1d7c76bef523ca61b3a3f612e83e7c6cf80a13f4d6085e76988a52e31940
4
- data.tar.gz: fe72770676b98e7644a34c52461c5bc5ffb3651a6ff90b1e82d5b5b3bfda11ca
3
+ metadata.gz: 321dcb39a092c520cf62a9360ca60c1492e3c66f96bd4e430168138ec3d99ba2
4
+ data.tar.gz: e16efb572572191f98395f6d17114bfa55e72682bd3a7e290cd9d2e8e38cda0b
5
5
  SHA512:
6
- metadata.gz: 19929cf38064d8c5e119e63279b6d0dbcc4b571efa5675cf61313b4875484766b624e8ae5653b82bb68b169f8bee18b90c9c70fdfc6741a00b892442221dff24
7
- data.tar.gz: a3def99305fed24891e90b713ee63e54a7fe9047cfe7edd94cd079be5f382224fd407ef45b9258773cb1d3a0d6d394b60d608d576a4dac979722dfaaf6e93a2b
6
+ metadata.gz: 25a134421fd5c346d074fa7a337a6cc434a0f9b5668097ba0a6321ece47b181fa3e6a245c4865dbfeb1b68c2ebcb6a19587599229552aa7b4a887d68feeed6fc
7
+ data.tar.gz: 8f567c0e392a3cfda37d8d8521dbb1a5380552eac90d1b62cbe3eae1c17f42b45b14200f19b9acee2ecb1aecdd99524b6f05bf8b96a9c03f1a6c7b5e4097ee34
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>
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>
@@ -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,7 +13,7 @@
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 -%}
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 -%}
@@ -271,4 +271,31 @@ table {
271
271
  -webkit-overflow-scrolling: touch;
272
272
  -ms-overflow-style: -ms-autohiding-scrollbar;
273
273
  }
274
+ }
275
+
276
+ /*
277
+ * fonts
278
+ */
279
+ @font-face {
280
+ font-family: JetBrains;
281
+ src: url("../fonts/JetBrainsMonoNerdFontPropo-Regular.ttf");
282
+ font-weight: normal;
283
+ }
284
+
285
+ @font-face {
286
+ font-family: JetBrains;
287
+ src: url("../fonts/JetBrainsMonoNerdFontPropo-SemiBold.ttf");
288
+ font-weight: bold;
289
+ }
290
+
291
+ @font-face {
292
+ font-family: JetBrains;
293
+ src: url("../fonts/JetBrainsMonoNerdFontPropo-Thin.ttf");
294
+ font-weight: lighter;
295
+ }
296
+
297
+ @font-face {
298
+ font-family: Mononoki;
299
+ src: url("../fonts/MononokiNerdFont-Regular.ttf");
300
+ font-weight: normal;
274
301
  }
@@ -202,7 +202,7 @@
202
202
  */
203
203
  .page-content {
204
204
  padding: $spacing-unit 0;
205
- flex: 1 0 auto;
205
+ // flex: 1 0 auto;
206
206
  }
207
207
 
208
208
  .page-heading {
@@ -350,8 +350,11 @@
350
350
  }
351
351
 
352
352
  .sidebar {
353
- padding: $spacing-unit 0;
354
- flex: 1 0 auto;
353
+ max-width: 14rem;
354
+ width: auto;
355
+ font-family: JetBrains;
356
+ white-space: nowrap;
357
+ margin-right: 2rem;
355
358
  }
356
359
 
357
360
  .profile-picture {
@@ -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.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-19 00:00:00.000000000 Z
11
+ date: 2023-12-20 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,6 +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
52
+ - assets/fonts/JetBrainsMonoNerdFontPropo-Regular.ttf
53
+ - assets/fonts/JetBrainsMonoNerdFontPropo-SemiBold.ttf
54
+ - assets/fonts/JetBrainsMonoNerdFontPropo-Thin.ttf
55
+ - assets/fonts/MononokiNerdFont-Regular.ttf
51
56
  - assets/svg/email.svg
52
57
  - assets/svg/github.svg
53
58
  - assets/svg/linkedin.svg