termina-plex 0.5.0 → 1.0.0.pre.alpha.1

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: '0382d5026093da2e77fe845f6463e84e94ca74ce70745f1b97d4db13c88fa230'
4
- data.tar.gz: 356f6d20115f8f4627885126d115418f4c2bf58075240ca957a40b8e52a5ed7e
3
+ metadata.gz: f646924c9caab63b5101abe6c26cb732450665a106e3433ffe52a0ce0ab0b8e8
4
+ data.tar.gz: 88ee48f1d9e8daa65a482e2a06680d7ca2a266c5d2d16e04f873768c2ad30640
5
5
  SHA512:
6
- metadata.gz: 42cd7d44baa4e1075f60f2c1d7379ff130a84bcebfd8893bd7904d06f978a3fa27ee6dbeaff0a6aab8c7edd9c5a55d2d2ec77cd8bb384e69197590234658cfa2
7
- data.tar.gz: 2092b698f05274193c1e1e170b87907da2dc7d159a5557e7504adb1350507a837a341eadefc975a5d673ec5fd70b017ae1854686293294497930ddd56a760ec5
6
+ metadata.gz: 4d6566689b1db0dae288f22592d61b0ec0447c5a8f176eb6723f222c5ab25a139cb01152d3025203469faa24a16b939ed9473d087509cc68271cb15f4206dc20
7
+ data.tar.gz: 3377141bfb94d9563a9cb2182daa435fa89060edd0d0b1bcce35342550565e5faa37d8d822edd65d04d645c6c5bf0d288e9aad2300fbea6615150268c817d73f
data/_includes/head.html CHANGED
@@ -2,6 +2,9 @@
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
+ {% if site.termina-plex.fediverse_creator %}
6
+ <meta name="fediverse:creator" content="{{ site.termina-plex.fediverse_creator }}">
7
+ {% endif %}
5
8
  {%- seo title=false -%}
6
9
  <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
7
10
  {%- feed_meta -%}
@@ -0,0 +1,472 @@
1
+ @charset "utf-8";
2
+
3
+ $body-font-family: "IBM Plex Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
4
+ $code-font-family: "IBM Plex Mono", "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
5
+ $serif-font-family: "IBM Plex Serif", "Georgia", "Garamond", "Times New Roman", serif;
6
+ $header-font-family: "IBM Plex Mono", "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
7
+
8
+ $base-font-size: 16px !default;
9
+ $base-font-weight: 400 !default;
10
+ $small-font-size: $base-font-size * 0.875 !default;
11
+ $base-line-height: 1.5 !default;
12
+
13
+ $breakLarge: 992px;
14
+ $widthLarge: 88%;
15
+ $widthSmaller: 92%;
16
+ $spacingUnit: 30px !default;
17
+
18
+ // Layout: Core
19
+ body {
20
+ background-color: var(--background-color);
21
+ color: var(--text-color);
22
+ font-family: #{$body-font-family};
23
+ font-size: #{$base-font-size};
24
+ font-weight: #{$base-font-weight};
25
+ line-height: #{$base-line-height};
26
+ margin: 0;
27
+ }
28
+
29
+ h1,
30
+ h2,
31
+ h3,
32
+ h4,
33
+ h5,
34
+ h6 {
35
+ font-family: $header-font-family;
36
+ font-weight: 600;
37
+ }
38
+
39
+ b,
40
+ strong,
41
+ th {
42
+ font-weight: 600 !important;
43
+ }
44
+
45
+ article {
46
+ font-size: #{$base-font-size};
47
+ }
48
+
49
+ tt,
50
+ code,
51
+ kbd,
52
+ samp {
53
+ font-family: #{$code-font-family};
54
+ }
55
+
56
+ table {
57
+ border-collapse: collapse;
58
+ padding: initial;
59
+ margin: 0 0 $spacingUnit * 0.875 0;
60
+ }
61
+
62
+ th,
63
+ tr,
64
+ td {
65
+ border: 1px solid rgba(127, 127, 127, 0.5);
66
+ padding: $spacingUnit * 0.25 $spacingUnit * 0.375;
67
+ margin: initial;
68
+ }
69
+
70
+ .visually-hidden {
71
+ clip: rect(0 0 0 0);
72
+ clip-path: inset(50%);
73
+ height: 1px;
74
+ overflow: hidden;
75
+ position: absolute;
76
+ white-space: nowrap;
77
+ width: 1px;
78
+ }
79
+
80
+ .clear {
81
+ clear: both;
82
+ }
83
+
84
+ .pagination {
85
+ padding: $spacingUnit * 0.25 0 $spacingUnit * 0.75 0;
86
+ text-align: center;
87
+
88
+ .paginationPages {
89
+ clear: both;
90
+ padding-inline-start: 0;
91
+
92
+ li {
93
+ list-style-type: none;
94
+ margin: $spacingUnit * 0.25;
95
+ display: inline-flex;
96
+
97
+ div {
98
+ min-width: 3em;
99
+ font-size: 120%;
100
+ background-color: var(--header-background-color);
101
+ text-align: center;
102
+ box-sizing: border-box;
103
+
104
+ span,
105
+ a {
106
+ display: block;
107
+ height: 100%;
108
+ width: 100%;
109
+ padding: $spacingUnit * 0.5 0;
110
+ text-decoration: none;
111
+ }
112
+ }
113
+
114
+ div.pageLinkActive:hover {
115
+ background-color: rgba(127, 127, 127, 0.25);
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ // Layout: Footer
122
+ .footer {
123
+ background-color: var(--footer-background-color);
124
+ padding: 15px;
125
+ text-align: center;
126
+ color: var(--text-color);
127
+ }
128
+
129
+ .footerLink {
130
+ color: var(--text-color);
131
+ }
132
+
133
+ // Layout: Header
134
+ .header {
135
+ font-family: $header-font-family;
136
+ padding: 0 20px;
137
+ height: 60px;
138
+ display: flex;
139
+ justify-content: space-between;
140
+ align-items: center;
141
+
142
+ @media only screen and (min-width: $breakLarge) {
143
+ width: $widthLarge * 0.8;
144
+ }
145
+
146
+ @media screen and (max-width: $breakLarge) {
147
+ width: $widthSmaller;
148
+ }
149
+ }
150
+
151
+ .headerWrapper {
152
+ background-color: var(--header-background-color);
153
+ font-family: #{$code-font-family};
154
+ overflow: auto;
155
+ box-sizing: border-box;
156
+ display: flex;
157
+ justify-content: center;
158
+ flex-shrink: 0;
159
+ }
160
+
161
+ .headerLinks {
162
+ ul {
163
+ list-style: none;
164
+ padding: 0;
165
+ margin: 0;
166
+
167
+ li {
168
+ display: inline;
169
+ margin: 5px;
170
+
171
+ a {
172
+ color: var(--text-color);
173
+ text-decoration: none;
174
+ text-transform: lowercase;
175
+ }
176
+ }
177
+ }
178
+ }
179
+
180
+ .terminal,
181
+ .terminal:hover {
182
+ color: var(--text-color);
183
+ text-decoration: none;
184
+ }
185
+
186
+ .terminal {
187
+
188
+ .terminalUser,
189
+ .terminalAt,
190
+ .terminalHost,
191
+ .terminalPath {
192
+ color: var(--link-color);
193
+ }
194
+ }
195
+
196
+ .hamb {
197
+ cursor: pointer;
198
+ float: right;
199
+ display: none;
200
+ padding: 10px 4px;
201
+ }
202
+
203
+ .hamb-line {
204
+ background: var(--text-color);
205
+ display: block;
206
+ height: 2px;
207
+ position: relative;
208
+ width: 24px;
209
+ }
210
+
211
+ /* Style span tag */
212
+
213
+ .hamb-line::before,
214
+ .hamb-line::after {
215
+ background: var(--text-color);
216
+ content: "";
217
+ display: block;
218
+ height: 100%;
219
+ position: absolute;
220
+ transition: all 0.2s ease-out;
221
+ width: 100%;
222
+ }
223
+
224
+ .hamb-line::before {
225
+ top: 5px;
226
+ }
227
+
228
+ .hamb-line::after {
229
+ top: -5px;
230
+ }
231
+
232
+ .side-menu {
233
+ display: none;
234
+ }
235
+
236
+ .side-menu:checked~.headerLinks {
237
+ max-height: 100%;
238
+ }
239
+
240
+ .side-menu:checked~.hamb .hamb-line {
241
+ background: transparent;
242
+ }
243
+
244
+ .side-menu:checked~.hamb .hamb-line::before {
245
+ transform: rotate(-45deg);
246
+ top: 0;
247
+ }
248
+
249
+ .side-menu:checked~.hamb .hamb-line::after {
250
+ transform: rotate(45deg);
251
+ top: 0;
252
+ }
253
+
254
+ @media screen and (max-width: 768px) {
255
+ .headerLinks {
256
+ width: 100%;
257
+ height: 100%;
258
+ position: fixed;
259
+ top: 60px;
260
+ left: 0;
261
+ background-color: var(--background-color);
262
+ overflow: hidden;
263
+ max-height: 0;
264
+ transition: max-height 0.5s ease-out;
265
+ display: flex;
266
+ align-items: center;
267
+ justify-content: center;
268
+
269
+ ul {
270
+ display: flex;
271
+ flex-direction: column;
272
+ align-items: center;
273
+ justify-content: center;
274
+ }
275
+ }
276
+
277
+ .hamb {
278
+ display: block;
279
+ }
280
+ }
281
+
282
+ div#theme-toggle {
283
+ margin: 0;
284
+ padding: 0;
285
+ font-size: 125%;
286
+ display: inline-flex;
287
+ border: none;
288
+ cursor: pointer;
289
+ }
290
+
291
+ // Layout: Post
292
+ .postInfo {
293
+ margin: 1rem 0 1rem 0;
294
+ }
295
+
296
+ .postDate {
297
+ color: var(--text-color);
298
+ }
299
+
300
+ .postsEntries .postDate {
301
+ float: right;
302
+ }
303
+
304
+ .postTitle {
305
+ text-decoration: none;
306
+ font-family: $header-font-family;
307
+ font-size: 1.2em;
308
+ font-weight: 400;
309
+ float: left;
310
+ width: 75%;
311
+ margin: 0 0 1rem 0;
312
+ }
313
+
314
+ .postTitle.capitalize-title {
315
+ text-transform: capitalize;
316
+ }
317
+
318
+ .postHeader {
319
+ overflow: hidden;
320
+ }
321
+
322
+ .postsList {
323
+ margin-top: 20px;
324
+ }
325
+
326
+ .postListItem {
327
+ padding: 20px;
328
+ background-color: var(--background-color);
329
+ margin-bottom: 20px;
330
+ }
331
+
332
+ .postListLink:hover {
333
+ text-decoration: underline;
334
+ }
335
+
336
+ .postExcerpt {
337
+ text-align: initial;
338
+ text-decoration: none;
339
+ color: var(--text-color);
340
+ clear: both;
341
+
342
+ h2 {
343
+ font-size: 1.1rem !important;
344
+ font-weight: 700;
345
+ }
346
+
347
+ h3 {
348
+ font-size: 1.05rem !important;
349
+ font-weight: 500;
350
+ }
351
+ }
352
+
353
+ .headerContainer {
354
+ display: flex;
355
+ justify-content: space-between;
356
+ }
357
+
358
+ .noDecoration {
359
+ text-decoration: none;
360
+ }
361
+
362
+ a,
363
+ a:link,
364
+ a:visited,
365
+ a:active {
366
+ text-decoration: none;
367
+ }
368
+
369
+ a:hover {
370
+ text-decoration: underline;
371
+ }
372
+
373
+ // Layout: Social
374
+ .socialNavbar {
375
+ ul {
376
+ list-style: none;
377
+ padding: 0;
378
+
379
+ li {
380
+ display: inline;
381
+ }
382
+ }
383
+
384
+ a {
385
+ color: var(--text-color);
386
+ text-shadow: var(--background-color) 0px 0px 2px;
387
+ -webkit-font-smoothing: antialiased;
388
+ display: inline-block;
389
+ margin: $spacingUnit * 0.333;
390
+ text-transform: lowercase;
391
+ }
392
+ }
393
+
394
+ // Layout: Theme/Scheme Toggle
395
+ #theme-toggle {
396
+ vertical-align: sub;
397
+ }
398
+
399
+ [data-theme-controls] {
400
+ display: flex;
401
+ gap: var(--space-xs);
402
+ }
403
+
404
+ button.color-scheme-toggle {
405
+ all: unset;
406
+ display: revert;
407
+ }
408
+
409
+ .color-scheme-toggle {
410
+ position: relative;
411
+ display: flex;
412
+ align-items: center;
413
+ padding: var(--space-xs);
414
+ cursor: pointer;
415
+ }
416
+
417
+ .color-scheme-toggle .light {
418
+ display: block;
419
+ }
420
+
421
+ .color-scheme-toggle .dark {
422
+ display: none;
423
+ }
424
+
425
+ @media (prefers-color-scheme: dark) {
426
+ .color-scheme-toggle .light {
427
+ display: none;
428
+ }
429
+
430
+ .color-scheme-toggle .dark {
431
+ display: block;
432
+ }
433
+ }
434
+
435
+ [data-color-scheme=light] .color-scheme-toggle .light {
436
+ display: block;
437
+ }
438
+
439
+ [data-color-scheme=light] .color-scheme-toggle .dark {
440
+ display: none;
441
+ }
442
+
443
+ [data-color-scheme=dark] .color-scheme-toggle .light {
444
+ display: none;
445
+ }
446
+
447
+ [data-color-scheme=dark] .color-scheme-toggle .dark {
448
+ display: block;
449
+ }
450
+
451
+ .color-scheme-toggle:active {
452
+ transform: translateY(1px);
453
+ }
454
+
455
+ .color-scheme-toggle:focus-visible {
456
+ outline: 2px dashed var(--color-secondary);
457
+ outline-offset: var(--outline-offset);
458
+ }
459
+
460
+ .color-scheme-toggle .focus-arrows {
461
+ display: none;
462
+ position: absolute;
463
+ bottom: -0.6em;
464
+ left: 100%;
465
+ color: var(--color-secondary);
466
+ transform: translateX(50%) rotate(45deg);
467
+ pointer-events: none;
468
+ }
469
+
470
+ .color-scheme-toggle:focus-visible .focus-arrows {
471
+ display: block;
472
+ }
@@ -1,34 +1,8 @@
1
1
  @charset "utf-8";
2
2
 
3
- $body-font-family: "IBM Plex Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
4
- $code-font-family: "IBM Plex Mono", "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
3
+ @forward "ibm-plex";
4
+ @forward "highlight";
5
+ @forward "themes";
5
6
 
6
- $serif-font-family: "IBM Plex Serif", "Georgia", "Garamond", "Times New Roman", serif;
7
- $header-font-family: "IBM Plex Mono", "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
8
-
9
- $base-font-size: 16px !default;
10
- $base-font-weight: 400 !default;
11
- $small-font-size: $base-font-size * 0.875 !default;
12
- $base-line-height: 1.5 !default;
13
-
14
- // Content
15
- $breakLarge: 992px;
16
- $widthLarge: 88%;
17
- $widthSmaller: 92%;
18
- $spacingUnit: 30px !default;
19
-
20
- @import "termina-plex/ibm-plex";
21
- @import "termina-plex/themes";
22
- @import "termina-plex/highlight";
23
-
24
- @import "termina-plex/layout/core";
25
- @import "termina-plex/layout/header";
26
- @import "termina-plex/layout/footer";
27
- @import "termina-plex/layout/posts";
28
- @import "termina-plex/layout/social";
29
- @import "termina-plex/layout/toggle";
30
-
31
- @import "termina-plex/pages/base";
32
- @import "termina-plex/pages/index";
33
- @import "termina-plex/pages/list";
34
- @import "termina-plex/pages/single";
7
+ @use "layout" as *;
8
+ @use "pages" as *;
@@ -0,0 +1,185 @@
1
+ @charset "utf-8";
2
+
3
+ $body-font-family: "IBM Plex Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
4
+ $code-font-family: "IBM Plex Mono", "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
5
+ $serif-font-family: "IBM Plex Serif", "Georgia", "Garamond", "Times New Roman", serif;
6
+ $header-font-family: "IBM Plex Mono", "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
7
+
8
+ $base-font-size: 16px !default;
9
+ $base-font-weight: 400 !default;
10
+ $small-font-size: $base-font-size * 0.875 !default;
11
+ $base-line-height: 1.5 !default;
12
+
13
+ $breakLarge: 992px;
14
+ $widthLarge: 88%;
15
+ $widthSmaller: 92%;
16
+ $spacingUnit: 30px !default;
17
+
18
+ // Pages: Base
19
+ .content {
20
+ text-align: center;
21
+ flex: 1 auto;
22
+ display: flex;
23
+ justify-content: center;
24
+ }
25
+
26
+ .content img {
27
+ max-width: 100%;
28
+ }
29
+
30
+ .vertical {
31
+ flex-direction: column;
32
+ align-items: center;
33
+ }
34
+
35
+ .flexWrapper {
36
+ display: flex;
37
+ flex-direction: column;
38
+ justify-content: center;
39
+ min-height: 100vh;
40
+ flex: 1 auto;
41
+
42
+ }
43
+
44
+ .main {
45
+ height: 100%;
46
+
47
+ @media only screen and (min-width: $breakLarge) {
48
+ width: $widthLarge;
49
+ }
50
+
51
+ @media screen and (max-width: $breakLarge) {
52
+ width: $widthSmaller;
53
+ }
54
+ }
55
+
56
+ body div.content {
57
+
58
+ a:link,
59
+ a:active {
60
+ color: var(--link-color);
61
+ }
62
+
63
+ a:visited {
64
+ color: var(--link-visited-color);
65
+ }
66
+ }
67
+
68
+ article header h1 {
69
+ font-size: 2rem;
70
+ }
71
+
72
+ .metaTag,
73
+ .metaCategory {
74
+ display: inline-flex;
75
+ font-family: $header-font-family;
76
+ font-size: 1.2em;
77
+ padding: 0 $spacingUnit * 1.5 $spacingUnit * 0.5 0;
78
+ }
79
+
80
+ // Pages: Index
81
+ .indexWrapper {
82
+ display: flex;
83
+ flex-direction: column;
84
+ justify-content: center;
85
+ }
86
+
87
+ .indexHeader {
88
+ font-size: 3em;
89
+ }
90
+
91
+ .indexHeader .authorPronouns {
92
+ font-style: italic;
93
+ font-size: 50%;
94
+ }
95
+
96
+ .authorPronouns::before {
97
+ content: "("
98
+ }
99
+
100
+ .authorPronouns::after {
101
+ content: ")"
102
+ }
103
+
104
+ // Pages: List
105
+ .listHeader,
106
+ .listContent {
107
+ text-align: left;
108
+ }
109
+
110
+ // Pages: Single
111
+ .postWrapper {
112
+ text-align: left;
113
+ padding: $spacingUnit * 0.6667;
114
+ }
115
+
116
+ .postMetadata {
117
+ font-family: $code-font-family;
118
+ display: block;
119
+ background: var(--header-background-color);
120
+ padding: $spacingUnit * 0.6667;
121
+ }
122
+
123
+ dt,
124
+ dd {
125
+ line-height: 1.5;
126
+ }
127
+
128
+ dl {
129
+ display: grid;
130
+ grid-template-columns: max-content auto;
131
+ }
132
+
133
+ dt {
134
+ grid-column-start: 1;
135
+ text-transform: lowercase;
136
+ }
137
+
138
+ dd {
139
+ grid-column-start: 2;
140
+ }
141
+
142
+ dt::after {
143
+ content: ":";
144
+ }
145
+
146
+ .highlight {
147
+ margin: 0;
148
+ }
149
+
150
+ .highlight pre {
151
+ background-color: var(--header-background-color);
152
+ margin: 0;
153
+ padding: $spacingUnit * 0.6667;
154
+ overflow-y: scroll;
155
+ }
156
+
157
+ .pageNavFooter {
158
+ border-top: 1px solid rgba(127, 127, 127, 0.5);
159
+ text-align: left;
160
+ margin-top: $spacingUnit * 1.5;
161
+ padding: $spacingUnit * 0.6667;
162
+ }
163
+
164
+ .pagePrevious,
165
+ .pageNext {
166
+ width: 35%;
167
+ margin-bottom: $spacingUnit;
168
+ }
169
+
170
+ .pagePrevious {
171
+ float: left;
172
+ }
173
+
174
+ .pagePrevious a::before {
175
+ content: "\2190\00a0"
176
+ }
177
+
178
+ .pageNext {
179
+ float: right;
180
+ text-align: right;
181
+ }
182
+
183
+ .pageNext a::after {
184
+ content: "\00a0\2192"
185
+ }
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import "termina-plex/main";
4
+ @forward "termina-plex/main";
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.5.0
4
+ version: 1.0.0.pre.alpha.1
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-08-03 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -82,16 +82,16 @@ dependencies:
82
82
  name: bundler
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ">="
85
+ - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: '0'
87
+ version: '2.0'
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">="
92
+ - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '0'
94
+ version: '2.0'
95
95
  description:
96
96
  email:
97
97
  - hello@linh.social
@@ -122,17 +122,9 @@ files:
122
122
  - _layouts/tag.html
123
123
  - _sass/termina-plex/highlight.scss
124
124
  - _sass/termina-plex/ibm-plex.scss
125
- - _sass/termina-plex/layout/core.scss
126
- - _sass/termina-plex/layout/footer.scss
127
- - _sass/termina-plex/layout/header.scss
128
- - _sass/termina-plex/layout/posts.scss
129
- - _sass/termina-plex/layout/social.scss
130
- - _sass/termina-plex/layout/toggle.scss
125
+ - _sass/termina-plex/layout/_index.scss
131
126
  - _sass/termina-plex/main.scss
132
- - _sass/termina-plex/pages/base.scss
133
- - _sass/termina-plex/pages/index.scss
134
- - _sass/termina-plex/pages/list.scss
135
- - _sass/termina-plex/pages/single.scss
127
+ - _sass/termina-plex/pages/_index.scss
136
128
  - _sass/termina-plex/themes.scss
137
129
  - assets/css/centered-table.css
138
130
  - assets/css/style.scss
@@ -297,14 +289,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
297
289
  requirements:
298
290
  - - ">="
299
291
  - !ruby/object:Gem::Version
300
- version: '0'
292
+ version: '3.0'
301
293
  required_rubygems_version: !ruby/object:Gem::Requirement
302
294
  requirements:
303
295
  - - ">="
304
296
  - !ruby/object:Gem::Version
305
297
  version: '0'
306
298
  requirements: []
307
- rubygems_version: 3.5.11
299
+ rubygems_version: 3.5.20
308
300
  signing_key:
309
301
  specification_version: 4
310
302
  summary: Jekyll theme based on Minima with inspirations from the Hugo theme Nightfall.
@@ -1,91 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Layout: Core
4
- body {
5
- background-color: var(--background-color);
6
- color: var(--text-color);
7
- font-family: #{$body-font-family};
8
- font-size: #{$base-font-size};
9
- font-weight: #{$base-font-weight};
10
- line-height: #{$base-line-height};
11
- margin: 0;
12
- }
13
-
14
- h1, h2, h3, h4, h5, h6 {
15
- font-family: $header-font-family;
16
- font-weight: 600;
17
- }
18
-
19
- b, strong, th {
20
- font-weight: 600 !important;
21
- }
22
-
23
- article {
24
- font-size: #{$base-font-size};
25
- }
26
-
27
- tt, code, kbd, samp {
28
- font-family: #{$code-font-family};
29
- }
30
-
31
- table {
32
- border-collapse: collapse;
33
- padding: initial;
34
- margin: 0 0 $spacingUnit * 0.875 0;
35
- }
36
-
37
- th, tr, td {
38
- border: 1px solid rgba(127, 127, 127, 0.5);
39
- padding: $spacingUnit * 0.25 $spacingUnit * 0.375;
40
- margin: initial;
41
- }
42
-
43
- .visually-hidden {
44
- clip: rect(0 0 0 0);
45
- clip-path: inset(50%);
46
- height: 1px;
47
- overflow: hidden;
48
- position: absolute;
49
- white-space: nowrap;
50
- width: 1px;
51
- }
52
-
53
- .clear {
54
- clear: both;
55
- }
56
-
57
- .pagination {
58
- padding: $spacingUnit * 0.25 0 $spacingUnit * 0.75 0;
59
- text-align: center;
60
-
61
- .paginationPages {
62
- clear: both;
63
- padding-inline-start: 0;
64
-
65
- li {
66
- list-style-type: none;
67
- margin: $spacingUnit * 0.25;
68
- display: inline-flex;
69
-
70
- div {
71
- min-width: 3em;
72
- font-size: 120%;
73
- background-color: var(--header-background-color);
74
- text-align: center;
75
- box-sizing: border-box;
76
-
77
- span, a {
78
- display: block;
79
- height: 100%;
80
- width: 100%;
81
- padding: $spacingUnit * 0.5 0;
82
- text-decoration: none;
83
- }
84
- }
85
-
86
- div.pageLinkActive:hover {
87
- background-color: rgba(127, 127, 127, 0.25);
88
- }
89
- }
90
- }
91
- }
@@ -1,13 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Layout: Footer
4
- .footer {
5
- background-color: var(--footer-background-color);
6
- padding: 15px;
7
- text-align: center;
8
- color: var(--text-color);
9
- }
10
-
11
- .footerLink {
12
- color: var(--text-color);
13
- }
@@ -1,155 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Layout: Header
4
- .header {
5
- font-family: $header-font-family;
6
- padding: 0 20px;
7
- height: 60px;
8
- display: flex;
9
- justify-content: space-between;
10
- align-items: center;
11
-
12
- @media only screen and (min-width: $breakLarge) {
13
- width: $widthLarge * 0.8;
14
- }
15
-
16
- @media screen and (max-width: $breakLarge) {
17
- width: $widthSmaller;
18
- }
19
- }
20
-
21
- .headerWrapper {
22
- background-color: var(--header-background-color);
23
- font-family: #{$code-font-family};
24
- overflow: auto;
25
- box-sizing: border-box;
26
- display: flex;
27
- justify-content: center;
28
- flex-shrink: 0;
29
- }
30
-
31
- .headerLinks {
32
- ul {
33
- list-style: none;
34
- padding: 0;
35
- margin: 0;
36
-
37
- li {
38
- display: inline;
39
- margin: 5px;
40
-
41
- a {
42
- color: var(--text-color);
43
- text-decoration: none;
44
- text-transform: lowercase;
45
- }
46
- }
47
- }
48
- }
49
-
50
- .terminal,
51
- .terminal:hover {
52
- color: var(--text-color);
53
- text-decoration: none;
54
- }
55
-
56
- .terminal {
57
- .terminalUser, .terminalAt, .terminalHost, .terminalPath {
58
- color: var(--link-color);
59
- }
60
- }
61
-
62
- .hamb {
63
- cursor: pointer;
64
- float: right;
65
- display: none;
66
- padding: 10px 4px;
67
- }
68
-
69
- .hamb-line {
70
- background: var(--text-color);
71
- display: block;
72
- height: 2px;
73
- position: relative;
74
- width: 24px;
75
- }
76
-
77
- /* Style span tag */
78
-
79
- .hamb-line::before,
80
- .hamb-line::after {
81
- background: var(--text-color);
82
- content: "";
83
- display: block;
84
- height: 100%;
85
- position: absolute;
86
- transition: all 0.2s ease-out;
87
- width: 100%;
88
- }
89
-
90
- .hamb-line::before {
91
- top: 5px;
92
- }
93
-
94
- .hamb-line::after {
95
- top: -5px;
96
- }
97
-
98
- .side-menu {
99
- display: none;
100
- }
101
-
102
- .side-menu:checked~.headerLinks {
103
- max-height: 100%;
104
- }
105
-
106
- .side-menu:checked~.hamb .hamb-line {
107
- background: transparent;
108
- }
109
-
110
- .side-menu:checked~.hamb .hamb-line::before {
111
- transform: rotate(-45deg);
112
- top: 0;
113
- }
114
-
115
- .side-menu:checked~.hamb .hamb-line::after {
116
- transform: rotate(45deg);
117
- top: 0;
118
- }
119
-
120
- @media screen and (max-width: 768px) {
121
- .headerLinks {
122
- width: 100%;
123
- height: 100%;
124
- position: fixed;
125
- top: 60px;
126
- left: 0;
127
- background-color: var(--background-color);
128
- overflow: hidden;
129
- max-height: 0;
130
- transition: max-height 0.5s ease-out;
131
- display: flex;
132
- align-items: center;
133
- justify-content: center;
134
-
135
- ul {
136
- display: flex;
137
- flex-direction: column;
138
- align-items: center;
139
- justify-content: center;
140
- }
141
- }
142
-
143
- .hamb {
144
- display: block;
145
- }
146
- }
147
-
148
- div#theme-toggle {
149
- margin: 0;
150
- padding: 0;
151
- font-size: 125%;
152
- display: inline-flex;
153
- border: none;
154
- cursor: pointer;
155
- }
@@ -1,83 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Layout: Post
4
- .postInfo {
5
- margin: 1rem 0 1rem 0;
6
- }
7
-
8
- .postDate {
9
- color: var(--text-color);
10
- }
11
-
12
- .postsEntries .postDate {
13
- float: right;
14
- }
15
-
16
- .postTitle {
17
- text-decoration: none;
18
- font-family: $header-font-family;
19
- font-size: 1.2em;
20
- font-weight: 400;
21
- float: left;
22
- width: 75%;
23
- margin: 0 0 1rem 0;
24
- }
25
-
26
- .postTitle.capitalize-title {
27
- text-transform: capitalize;
28
- }
29
-
30
- .postHeader {
31
- overflow: hidden;
32
- }
33
-
34
- .postsList {
35
- margin-top: 20px;
36
- }
37
-
38
- .postListItem {
39
- padding: 20px;
40
- background-color: var(--background-color);
41
- margin-bottom: 20px;
42
- }
43
-
44
- .postListLink:hover {
45
- text-decoration: underline;
46
- }
47
-
48
- .postExcerpt {
49
- text-align: initial;
50
- text-decoration: none;
51
- color: var(--text-color);
52
- clear: both;
53
-
54
- h2 {
55
- font-size: 1.1rem !important;
56
- font-weight: 700;
57
- }
58
-
59
- h3 {
60
- font-size: 1.05rem !important;
61
- font-weight: 500;
62
- }
63
- }
64
-
65
- .headerContainer {
66
- display: flex;
67
- justify-content: space-between;
68
- }
69
-
70
- .noDecoration {
71
- text-decoration: none;
72
- }
73
-
74
- a,
75
- a:link,
76
- a:visited,
77
- a:active {
78
- text-decoration: none;
79
- }
80
-
81
- a:hover {
82
- text-decoration: underline;
83
- }
@@ -1,22 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Layout: Social
4
- .socialNavbar {
5
- ul {
6
- list-style: none;
7
- padding: 0;
8
-
9
- li {
10
- display: inline;
11
- }
12
- }
13
-
14
- a {
15
- color: var(--text-color);
16
- text-shadow: var(--background-color) 0px 0px 2px;
17
- -webkit-font-smoothing: antialiased;
18
- display: inline-block;
19
- margin: $spacingUnit * 0.333;
20
- text-transform: lowercase;
21
- }
22
- }
@@ -1,71 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Layout: Theme/Scheme Toggle
4
- #theme-toggle {
5
- vertical-align: sub;
6
- }
7
-
8
- [data-theme-controls] {
9
- display: flex;
10
- gap: var(--space-xs);
11
- }
12
-
13
- button.color-scheme-toggle {
14
- all: unset;
15
- display: revert;
16
- }
17
-
18
- .color-scheme-toggle {
19
- position: relative;
20
- display: flex;
21
- align-items: center;
22
- padding: var(--space-xs);
23
- cursor: pointer;
24
- }
25
- .color-scheme-toggle .light {
26
- display: block;
27
- }
28
- .color-scheme-toggle .dark {
29
- display: none;
30
- }
31
- @media (prefers-color-scheme: dark) {
32
- .color-scheme-toggle .light {
33
- display: none;
34
- }
35
- .color-scheme-toggle .dark {
36
- display: block;
37
- }
38
- }
39
- [data-color-scheme=light] .color-scheme-toggle .light {
40
- display: block;
41
- }
42
- [data-color-scheme=light] .color-scheme-toggle .dark {
43
- display: none;
44
- }
45
- [data-color-scheme=dark] .color-scheme-toggle .light {
46
- display: none;
47
- }
48
- [data-color-scheme=dark] .color-scheme-toggle .dark {
49
- display: block;
50
- }
51
- .color-scheme-toggle:active {
52
- transform: translateY(1px);
53
- }
54
- .color-scheme-toggle:focus-visible {
55
- outline: 2px dashed var(--color-secondary);
56
- outline-offset: var(--outline-offset);
57
- }
58
-
59
- .color-scheme-toggle .focus-arrows {
60
- display: none;
61
- position: absolute;
62
- bottom: -0.6em;
63
- left: 100%;
64
- color: var(--color-secondary);
65
- transform: translateX(50%) rotate(45deg);
66
- pointer-events: none;
67
- }
68
-
69
- .color-scheme-toggle:focus-visible .focus-arrows {
70
- display: block;
71
- }
@@ -1,62 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Pages: Base
4
- .content {
5
- text-align: center;
6
- flex: 1 auto;
7
- display: flex;
8
- justify-content: center;
9
- }
10
-
11
- .content img {
12
- max-width: 100%;
13
- }
14
-
15
- .vertical {
16
- flex-direction: column;
17
- align-items: center;
18
- }
19
-
20
- .flexWrapper {
21
- display: flex;
22
- flex-direction: column;
23
- justify-content: center;
24
- min-height: 100vh;
25
- flex: 1 auto;
26
-
27
- }
28
-
29
- .main {
30
- height: 100%;
31
-
32
- @media only screen and (min-width: $breakLarge) {
33
- width: $widthLarge;
34
- }
35
-
36
- @media screen and (max-width: $breakLarge) {
37
- width: $widthSmaller;
38
- }
39
- }
40
-
41
- body div.content {
42
-
43
- a:link,
44
- a:active {
45
- color: var(--link-color);
46
- }
47
-
48
- a:visited {
49
- color: var(--link-visited-color);
50
- }
51
- }
52
-
53
- article header h1 {
54
- font-size: 2rem;
55
- }
56
-
57
- .metaTag, .metaCategory {
58
- display: inline-flex;
59
- font-family: $header-font-family;
60
- font-size: 1.2em;
61
- padding: 0 $spacingUnit * 1.5 $spacingUnit * 0.5 0;
62
- }
@@ -1,25 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Pages: Index
4
- .indexWrapper {
5
- display: flex;
6
- flex-direction: column;
7
- justify-content: center;
8
- }
9
-
10
- .indexHeader {
11
- font-size: 3em;
12
- }
13
-
14
- .indexHeader .authorPronouns {
15
- font-style: italic;
16
- font-size: 50%;
17
- }
18
-
19
- .authorPronouns::before {
20
- content: "("
21
- }
22
-
23
- .authorPronouns::after {
24
- content: ")"
25
- }
@@ -1,7 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Pages: List
4
- .listHeader,
5
- .listContent {
6
- text-align: left;
7
- }
@@ -1,77 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Pages: Single
4
- .postWrapper {
5
- text-align: left;
6
- padding: $spacingUnit * 0.6667;
7
- }
8
-
9
- .postMetadata {
10
- font-family: $code-font-family;
11
- display: block;
12
- background: var(--header-background-color);
13
- padding: $spacingUnit * 0.6667;
14
- }
15
-
16
- dt,
17
- dd {
18
- line-height: 1.5;
19
- }
20
-
21
- dl {
22
- display: grid;
23
- grid-template-columns: max-content auto;
24
- }
25
-
26
- dt {
27
- grid-column-start: 1;
28
- text-transform: lowercase;
29
- }
30
-
31
- dd {
32
- grid-column-start: 2;
33
- }
34
-
35
- dt::after {
36
- content: ":";
37
- }
38
-
39
- .highlight {
40
- margin: 0;
41
- }
42
-
43
- .highlight pre {
44
- background-color: var(--header-background-color);
45
- margin: 0;
46
- padding: $spacingUnit * 0.6667;
47
- overflow-y: scroll;
48
- }
49
-
50
- .pageNavFooter {
51
- border-top: 1px solid rgba(127, 127, 127, 0.5);
52
- text-align: left;
53
- margin-top: $spacingUnit * 1.5;
54
- padding: $spacingUnit * 0.6667;
55
- }
56
-
57
- .pagePrevious, .pageNext {
58
- width: 35%;
59
- margin-bottom: $spacingUnit;
60
- }
61
-
62
- .pagePrevious {
63
- float: left;
64
- }
65
-
66
- .pagePrevious a::before {
67
- content: "\2190\00a0"
68
- }
69
-
70
- .pageNext {
71
- float: right;
72
- text-align: right;
73
- }
74
-
75
- .pageNext a::after {
76
- content: "\00a0\2192"
77
- }