termina-plex 0.1.7 → 0.2.0

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: 82730cd858f608e8dcf28db092203e01e7fb34417b535bb03232e2c9a4117435
4
- data.tar.gz: f18fc99c58ee65e387a4bdeec27374ff2db8c79e12415f43de487ac0ea36b64e
3
+ metadata.gz: 3be4ee526476e9b8d77e9e1d4b11caf399331a5ecab842d5c40a33f3e3b41734
4
+ data.tar.gz: 0174fbc30640d1710663f8caeb85c41c576a64b74a343df75b39c1230b1e4241
5
5
  SHA512:
6
- metadata.gz: 65479f13b644080cb6a964ff93ebb8807a3c478a4f3268691dafcf27cfd4703c4b37fbca7b7e3a755d03acdbd6b74bd22e9b32a211553f53dd2d22d1f7f24513
7
- data.tar.gz: 89f2b4645be84d6000c9340c13f004c57c1ead44376b0e826bd74891cd3e526467802831bca6961028b60da6035c2855a6ca0577cee37db667da6567f9de4d53
6
+ metadata.gz: 26949b5e1568708213297f6291c8c1c44d9494dcddeb45481ce091ad5df24b5b2986075c50c6574fe1cff45c2ddf2c825a310480ca840b7228b1d9d45789a09a
7
+ data.tar.gz: cd57f7bec389e35b467e7ed5de78bdd4b102c53f3503a3ac7af1359bc52a3d2492bb5d97c055b7b813a4786ab7a1eebde6550952546d4dfc595931f1e0bba812
data/README.md CHANGED
@@ -48,6 +48,8 @@ The links displayed in the header of the page are defined in the `termina-plex.h
48
48
 
49
49
  The social links displayed under the site title in the main section of the landing page are defined by the `termina-plex.social_links` setting. Each link is defined as an object with a `name` and `url` key. An optional `rel` key is available if link-based validation is required by applications like Mastodon. As with the header link names, the link names will also be transformed to lowercase via CSS.
50
50
 
51
+ If centered tables are preferred, the `termina-plex.centered_tables` setting can be set to `true`. By default, it uses the user agent's default alignment.
52
+
51
53
  ## Screenshots
52
54
 
53
55
  ![Screenshot of the Termina Plex theme for Jekyll showing the landing page in dark mode](/screenshots/termina-plex-01-landing-page-dark.png)
@@ -1,3 +1,7 @@
1
+ {%- if site.termina-plex.centered_tables -%}
2
+ <link rel="stylesheet" href="{{ '/assets/css/centered-table.css' | relative_url }}">
3
+ {%- endif -%}
4
+
1
5
  {%- if page.title -%}
2
6
  <title>{{ site.title }} | {{ page.title }}</title>
3
7
  {%- else -%}
@@ -3,11 +3,11 @@
3
3
  <div>
4
4
  <a class="terminal" href="{{ '/' | relative_url }}">
5
5
  {%- if site.termina-plex.username and site.termina-plex.hostname -%}
6
- <span class="terminalUser">{{ site.termina-plex.username }}</span><span class="terminalAt">@</span><span class="terminalHost">{{ site.termina-plex.hostname }}</span>:<span class="terminalPath">~</span>$</span>
6
+ <span class="terminalUser">{{ site.termina-plex.username }}</span><span class="terminalAt">@</span><span class="terminalHost">{{ site.termina-plex.hostname }}</span>:<span class="terminalPath">~</span><span class="terminalSeparator">$</span>
7
7
  {%- elsif site.termina-plex.username -%}
8
- <span class="terminalUser">{{ site.termina-plex.username}}</span>:<span class="terminalPath">~</span>$</span>
8
+ <span class="terminalUser">{{ site.termina-plex.username}}</span>:<span class="terminalPath">~</span><span class="terminalSeparator">$</span>
9
9
  {%- elsif site.termina-plex.hostname -%}
10
- <span class="terminalHost">{{ site.termina-plex.hostname }}</span>:<span class="terminalPath">~</span>$</span>
10
+ <span class="terminalHost">{{ site.termina-plex.hostname }}</span>:<span class="terminalPath">~</span><span class="terminalSeparator">$</span>
11
11
  {%- else %}
12
12
  <span>{{ site.title }}</span>
13
13
  {%- endif -%}
@@ -76,7 +76,7 @@
76
76
 
77
77
  @font-face {
78
78
  font-family: "IBM Plex Sans";
79
- src: local("IBM Plex Sans SemiBold"), url("../fonts/ibm-plex-mono/IBMPlexSans-SemiBold.woff2") format("woff2"), url("../fonts/ibm-plex-mono/IBMPlexSans-SemiBold.woff") format("woff"), url("../fonts/ibm-plex-mono/IBMPlexSans-SemiBold.ttf") format("truetype");
79
+ src: local("IBM Plex Sans SemiBold"), url("../fonts/ibm-plex-sans/IBMPlexSans-SemiBold.woff2") format("woff2"), url("../fonts/ibm-plex-sans/IBMPlexSans-SemiBold.woff") format("woff"), url("../fonts/ibm-plex-sans/IBMPlexSans-SemiBold.ttf") format("truetype");
80
80
  font-weight: 600;
81
81
  font-display: swap;
82
82
  font-style: normal;
@@ -84,7 +84,7 @@
84
84
 
85
85
  @font-face {
86
86
  font-family: "IBM Plex Sans";
87
- src: local("IBM Plex Sans SemiBold Italic"), url("../fonts/ibm-plex-mono/IBMPlexSans-SemiBoldItalic.woff2") format("woff2"), url("../fonts/ibm-plex-mono/IBMPlexSans-SemiBoldItalic.woff") format("woff"), url("../fonts/ibm-plex-mono/IBMPlexSans-SemiBoldItalic.ttf") format("truetype");
87
+ src: local("IBM Plex Sans SemiBold Italic"), url("../fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.woff2") format("woff2"), url("../fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.woff") format("woff"), url("../fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.ttf") format("truetype");
88
88
  font-weight: 600;
89
89
  font-display: swap;
90
90
  font-style: italic;
@@ -134,7 +134,7 @@
134
134
 
135
135
  @font-face {
136
136
  font-family: "IBM Plex Serif";
137
- src: local("IBM Plex Serif SemiBold"), url("../fonts/ibm-plex-mono/IBMPlexSerif-SemiBold.woff2") format("woff2"), url("../fonts/ibm-plex-mono/IBMPlexSerif-SemiBold.woff") format("woff"), url("../fonts/ibm-plex-mono/IBMPlexSerif-SemiBold.ttf") format("truetype");
137
+ src: local("IBM Plex Serif SemiBold"), url("../fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.woff2") format("woff2"), url("../fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.woff") format("woff"), url("../fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.ttf") format("truetype");
138
138
  font-weight: 600;
139
139
  font-display: swap;
140
140
  font-style: normal;
@@ -142,7 +142,7 @@
142
142
 
143
143
  @font-face {
144
144
  font-family: "IBM Plex Serif";
145
- src: local("IBM Plex Serif SemiBold Italic"), url("../fonts/ibm-plex-mono/IBMPlexSerif-SemiBoldItalic.woff2") format("woff2"), url("../fonts/ibm-plex-mono/IBMPlexSerif-SemiBoldItalic.woff") format("woff"), url("../fonts/ibm-plex-mono/IBMPlexSerif-SemiBoldItalic.ttf") format("truetype");
145
+ src: local("IBM Plex Serif SemiBold Italic"), url("../fonts/ibm-plex-seif/IBMPlexSerif-SemiBoldItalic.woff2") format("woff2"), url("../fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.woff") format("woff"), url("../fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.ttf") format("truetype");
146
146
  font-weight: 600;
147
147
  font-display: swap;
148
148
  font-style: italic;
@@ -0,0 +1,6 @@
1
+ ---
2
+ ---
3
+
4
+ table {
5
+ margin: 0 auto 26.25px auto;
6
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termina-plex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linh Pham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-25 00:00:00.000000000 Z
11
+ date: 2024-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -133,6 +133,7 @@ files:
133
133
  - _sass/termina-plex/pages/list.scss
134
134
  - _sass/termina-plex/pages/single.scss
135
135
  - _sass/termina-plex/themes.scss
136
+ - assets/css/centered-table.css
136
137
  - assets/css/style.scss
137
138
  - assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.ttf
138
139
  - assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff
@@ -302,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
303
  - !ruby/object:Gem::Version
303
304
  version: '0'
304
305
  requirements: []
305
- rubygems_version: 3.3.26
306
+ rubygems_version: 3.5.11
306
307
  signing_key:
307
308
  specification_version: 4
308
309
  summary: Jekyll theme based on Minima with inspirations from the Hugo theme Nightfall.