jekyll-zeta 0.3.2.2 → 0.3.4

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: ea2f141d1553289130e1111f6c1e64a2c5fb1ebbf3c337f12b93aa7a24d9f52c
4
- data.tar.gz: bb1f7c3414ed1e1b455be532c26311d29ccdc9dac3be44a7fceac0ef7553765d
3
+ metadata.gz: a17c693e4e12e19b0e88014583a4cf67250bc24961e620ad823321107feadfaa
4
+ data.tar.gz: bf1f9de0b15f23334f800ae59f0b57b2bbf032a5324b5c1f0bc33791b42469ad
5
5
  SHA512:
6
- metadata.gz: 0474dc3d0a3c027bc1e15db36ab896ed3fae5b2973d29576e7df54141533195c4835f7a75c7fd15e1f446fde777576e0d9a1686541caf37a4805e4db50b23746
7
- data.tar.gz: 4022cc3519820b0fa04238fed53d9cabea31dd254274b649ef63c602ebf56adacdcc162ea65ce2ff5e83eeafa8c29dc5d28d71bcdd1dfe8b46205543dafeea1b
6
+ metadata.gz: 2c43fba0af986857ed2e26fe12c361a0775d8ce31747ef40d6cd2605e1cf7fd586777ba739e753cca9d9c6820b8fcccbfba50e6c8f5ce11f27473b6dfdd119e6
7
+ data.tar.gz: 87d6808ded13e6fdf4a1922ea4fbcb5627e56ebc79eb3ebdb0ed00a0d28b8acca61255d2cc615c0be3f6ddbbd8826de75eaa33f069c8bad63adecc9381b19263
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # jekyll-zeta
2
2
 
3
+ [demo page](https://vitock.github.io/jekyll-zeta/)
3
4
  ![](preview.png)
4
5
 
5
6
  ## Features
@@ -132,4 +133,4 @@ add a entry in the _data/menu.yml
132
133
  url: tags
133
134
  ```
134
135
 
135
-
136
+
data/_config.yml CHANGED
@@ -6,7 +6,8 @@ baseurl: "/jekyll-zeta" # subpath of the site, e.g. "/blog" (leave it blank "" i
6
6
  description: > # description of the site (multiple lines allowed)
7
7
  A (nearly) no-CSS, fast, minimalist Jekyll theme.
8
8
 
9
-
9
+ sass:
10
+ style: compressed
10
11
 
11
12
 
12
13
  favicon: "logo.png" # name+extension of favicon (which must be put on the root folder)
@@ -7,6 +7,7 @@
7
7
 
8
8
  {% assign archive_date_titleformat = site.theme_config.archive_title_date_format | default: "%m-%d" %}
9
9
 
10
+ {% assign yCounter = 0 %}
10
11
  <ul class="postlistul">
11
12
  {%- for post in posts limit: include.limit -%}
12
13
  {% assign ymCur = post.date | date: archive_date_format %}
@@ -14,7 +15,13 @@
14
15
  {% if ymPre != "" %}
15
16
  </ul>
16
17
  {% endif %}
17
- <li class="postlistli"><h2>{{ymCur}}</h2></li>
18
+ {% if yCounter == 0 %}
19
+ <li class="postlistli largeli largeli0">{{ymCur}}</li>
20
+ {% else %}
21
+ <li class="postlistli largeli">{{ymCur}}</li>
22
+ {% endif %}
23
+
24
+ {%- assign yCounter = yCounter | plus:1 -%}
18
25
  <ul class="postlistul">
19
26
  {% endif %}
20
27
  {% assign ymPre = ymCur %}
data/_layouts/post.html CHANGED
@@ -2,8 +2,6 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
-
6
-
7
5
  <article>
8
6
  {% assign titlelen = page.title.size %}
9
7
  {% if titlelen > 0 %}
@@ -0,0 +1,145 @@
1
+ li {
2
+ padding: 0.2rem;
3
+ }
4
+
5
+ .w {
6
+ margin: auto;
7
+ max-width: 640px;
8
+ padding: 0.5rem;
9
+ word-wrap: break-word;
10
+ }
11
+
12
+ code.highlighter-rouge {
13
+ color: #fff;
14
+ background: #000;
15
+ border-radius: 2px;
16
+ padding: 2px;
17
+ margin: 5px;
18
+ }
19
+
20
+ code {
21
+ color: #333;
22
+ background: #F0f2f4;
23
+ }
24
+
25
+ div.highlighter-rouge code {
26
+ border-radius: 4px;
27
+ display: block;
28
+ overflow-x: auto;
29
+ white-space: pre-wrap;
30
+ padding: 1rem;
31
+ }
32
+
33
+ img {
34
+ width: 60%;
35
+ display: block;
36
+ margin: 0 auto;
37
+ }
38
+
39
+ blockquote {
40
+ font-style: italic;
41
+ border-left: .2rem solid #dfe2e5;
42
+ color: #999;
43
+ padding: 0.25rem 0 .25rem 0.5rem;
44
+ margin: 1rem;
45
+ }
46
+
47
+ blockquote p {
48
+ margin: 0
49
+ }
50
+
51
+ table {
52
+ width: 100%;
53
+ }
54
+
55
+ table,
56
+ th,
57
+ td {
58
+ border: thin solid black;
59
+ border-collapse: collapse;
60
+ padding: 0.4rem;
61
+ }
62
+
63
+ hr {
64
+ margin-top: 2rem;
65
+ margin-bottom: 2rem;
66
+ border-color: lightgray
67
+ }
68
+
69
+
70
+
71
+ a:hover {
72
+ text-decoration: underline;
73
+ color: #f00000;
74
+ }
75
+
76
+ a {
77
+ text-decoration: none;
78
+ color: #0064c1;
79
+ }
80
+
81
+ h1>a {
82
+ color: #333;
83
+ }
84
+
85
+ h1>a:hover {
86
+ color: #333;
87
+ }
88
+
89
+ .navul {
90
+ padding: 0;
91
+ display: flex;
92
+ }
93
+
94
+ .navli {
95
+ list-style-type: none;
96
+ margin-right: 1rem;
97
+ font-size: 1.125rem;
98
+ }
99
+
100
+ .postlistul {
101
+ padding: 0
102
+ }
103
+
104
+ .postlistli {
105
+ list-style-type: none;
106
+ display: flex;
107
+ justify-content: space-between;
108
+ align-items: center;
109
+
110
+ }
111
+
112
+ .curNav {
113
+ color: #333;
114
+ font-weight: 700;
115
+ }
116
+
117
+ date {
118
+ color: #333;
119
+ }
120
+
121
+ .pagebar {
122
+ margin-top: 2rem;
123
+ display: flex;
124
+ float: right;
125
+ align-items: baseline;
126
+ }
127
+
128
+ .page_number {
129
+ color: #333;
130
+ padding-left: 10px;
131
+ padding-right: 10px;
132
+ text-align: center;
133
+ }
134
+
135
+ .largeli {
136
+ font-weight: bolder;
137
+ color: #333;
138
+ font-size: 1.6rem;
139
+ padding: 2.25rem 1rem 0.5rem 0;
140
+ }
141
+
142
+ .largeli0 {
143
+ padding: 0 0 0.5rem 0;
144
+ }
145
+
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "jekyll-zeta";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-zeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - vitock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-22 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -82,7 +82,8 @@ files:
82
82
  - _layouts/post.html
83
83
  - _layouts/tagpage.html
84
84
  - _layouts/tags.html
85
- - assets/css/main.css
85
+ - _sass/jekyll-zeta.scss
86
+ - assets/css/main.scss
86
87
  - assets/js/mouse_coords.js
87
88
  - index.html
88
89
  homepage: https://github.com/vitock/jekyll-zeta
data/assets/css/main.css DELETED
@@ -1,119 +0,0 @@
1
-
2
- li{
3
- padding: 0.2rem;
4
- }
5
- .w {
6
- margin: auto;
7
- max-width: 640px;
8
- padding:0 2rem;
9
- }
10
-
11
- code.highlighter-rouge{
12
- color: #fff;
13
- background: #000;
14
- border-radius: 2px;
15
- padding: 2px;
16
- margin: 5px;
17
- }
18
-
19
- code{
20
- color: #333;
21
- background: #F0f2f4; }
22
-
23
- div.highlighter-rouge code {
24
- border-radius: 4px;
25
- display: block;
26
- overflow-x: auto;
27
- white-space: pre-wrap;
28
- padding: 1rem;
29
- }
30
-
31
- img {
32
- width: 60%;
33
- display: block;
34
- margin: 0 auto;
35
- }
36
-
37
- blockquote {
38
- font-style: italic;
39
- border-left:.2rem solid #dfe2e5;
40
- color: #999;
41
- padding: 0.25rem 0 .25rem 0.5rem;
42
- margin: 1rem;
43
- }
44
- blockquote p {
45
- margin:0
46
- }
47
-
48
- table {
49
- width: 100%; }
50
-
51
- table, th, td {
52
- border: thin solid black;
53
- border-collapse: collapse;
54
- padding: 0.4rem;
55
- }
56
-
57
- hr {
58
- margin-top: 2rem;
59
- margin-bottom: 2rem;
60
- border-color: lightgray
61
- }
62
-
63
-
64
-
65
- a:hover{
66
- text-decoration: underline;
67
- }
68
- a {
69
- text-decoration: none;
70
- color: #0064c1;
71
- }
72
- h1 > a {
73
- color: #333;
74
- }
75
-
76
-
77
- .navul {
78
- padding: 0;
79
- display: flex;
80
- }
81
- .navli{
82
- list-style-type:none;
83
- margin-right: 1rem;
84
- font-size: 1.135rem;
85
- }
86
- .postlistul{
87
- padding: 0
88
-
89
- }
90
- .postlistli{
91
- list-style-type:none;
92
- display: flex;
93
- justify-content:space-between;
94
- align-items: center;
95
-
96
- }
97
-
98
- .curNav{
99
- color: #333;
100
- font-weight: 700;
101
- }
102
-
103
- date {
104
- color: #333;
105
- }
106
-
107
- .pagebar{
108
- margin-top: 2rem;
109
- display: flex;
110
- float:right;
111
- align-items:baseline;
112
- }
113
-
114
- .page_number{
115
- color: #333;
116
- padding-left: 10px;
117
- padding-right: 10px;
118
- text-align: center;
119
- }