diff options
-rw-r--r-- | docs/index.html | 200 | ||||
-rw-r--r-- | docs/posts/WPA_woes/index.html | 3 | ||||
-rw-r--r-- | docs/posts/bash_harder_with_vim/index.html | 3 | ||||
-rw-r--r-- | docs/posts/bye_bye_BDFs/index.html | 3 | ||||
-rw-r--r-- | docs/posts/color_conundrum/index.html | 3 | ||||
-rw-r--r-- | docs/posts/get_better_at_yanking_and_putting_in_vim/index.html | 3 | ||||
-rw-r--r-- | docs/posts/hold_position!/index.html | 3 | ||||
-rw-r--r-- | docs/posts/my_setup/index.html | 3 | ||||
-rw-r--r-- | docs/posts/onivim_sucks/index.html | 3 | ||||
-rw-r--r-- | docs/posts/static_sites_with_bash/index.html | 3 | ||||
-rw-r--r-- | docs/style.css | 40 | ||||
-rwxr-xr-x | generate.sh | 26 | ||||
-rw-r--r-- | post.esh | 1 |
13 files changed, 146 insertions, 148 deletions
diff --git a/docs/index.html b/docs/index.html index d6eb27d..b82d8b7 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -21,143 +21,163 @@ | |||
21 | 21 | ||
22 | <div class="posts"> | 22 | <div class="posts"> |
23 | <div class=separator></div> | 23 | <div class=separator></div> |
24 | <table> | ||
24 | 25 | ||
25 | 26 | ||
26 | <div class="post"> | 27 | <tr> |
27 | <div class="date"> | 28 | <td> |
28 | 31/12 2019 | 29 | <div class="date"> |
29 | </div> | 30 | 31/12/19 |
30 | <a href="/posts/color_conundrum" class="post-link"> | 31 | </div> |
31 | <span class="post-link">Color Conundrum</span> | 32 | <a href="/posts/color_conundrum" class="post-link"> |
32 | </a> | 33 | <span class="post-link">Color Conundrum</span> |
33 | <div class=stats> | 34 | </a> |
35 | </td> | ||
36 | <td> | ||
34 | <span class="stats-number"> | 37 | <span class="stats-number"> |
35 | 1.3 | 38 | 1.3 |
36 | </span> | 39 | </span> |
37 | <span class=stats-unit>min</span> | 40 | <span class=stats-unit>min</span> |
38 | </div> | 41 | </td> |
39 | </div> | 42 | </tr> |
40 | 43 | ||
41 | <div class="post"> | 44 | <tr> |
42 | <div class="date"> | 45 | <td> |
43 | 23/11 2019 | 46 | <div class="date"> |
44 | </div> | 47 | 23/11/19 |
45 | <a href="/posts/static_sites_with_bash" class="post-link"> | 48 | </div> |
46 | <span class="post-link">Static Sites With Bash</span> | 49 | <a href="/posts/static_sites_with_bash" class="post-link"> |
47 | </a> | 50 | <span class="post-link">Static Sites With Bash</span> |
48 | <div class=stats> | 51 | </a> |
52 | </td> | ||
53 | <td> | ||
49 | <span class="stats-number"> | 54 | <span class="stats-number"> |
50 | 1.5 | 55 | 1.5 |
51 | </span> | 56 | </span> |
52 | <span class=stats-unit>min</span> | 57 | <span class=stats-unit>min</span> |
53 | </div> | 58 | </td> |
54 | </div> | 59 | </tr> |
55 | 60 | ||
56 | <div class="post"> | 61 | <tr> |
57 | <div class="date"> | 62 | <td> |
58 | 07/11 2019 | 63 | <div class="date"> |
59 | </div> | 64 | 07/11/19 |
60 | <a href="/posts/my_setup" class="post-link"> | 65 | </div> |
61 | <span class="post-link">My Setup</span> | 66 | <a href="/posts/my_setup" class="post-link"> |
62 | </a> | 67 | <span class="post-link">My Setup</span> |
63 | <div class=stats> | 68 | </a> |
69 | </td> | ||
70 | <td> | ||
64 | <span class="stats-number"> | 71 | <span class="stats-number"> |
65 | 1.0 | 72 | 1.0 |
66 | </span> | 73 | </span> |
67 | <span class=stats-unit>min</span> | 74 | <span class=stats-unit>min</span> |
68 | </div> | 75 | </td> |
69 | </div> | 76 | </tr> |
70 | 77 | ||
71 | <div class="post"> | 78 | <tr> |
72 | <div class="date"> | 79 | <td> |
73 | 12/10 2019 | 80 | <div class="date"> |
74 | </div> | 81 | 12/10/19 |
75 | <a href="/posts/WPA_woes" class="post-link"> | 82 | </div> |
76 | <span class="post-link">WPA Woes</span> | 83 | <a href="/posts/WPA_woes" class="post-link"> |
77 | </a> | 84 | <span class="post-link">WPA Woes</span> |
78 | <div class=stats> | 85 | </a> |
86 | </td> | ||
87 | <td> | ||
79 | <span class="stats-number"> | 88 | <span class="stats-number"> |
80 | 1.1 | 89 | 1.1 |
81 | </span> | 90 | </span> |
82 | <span class=stats-unit>min</span> | 91 | <span class=stats-unit>min</span> |
83 | </div> | 92 | </td> |
84 | </div> | 93 | </tr> |
85 | 94 | ||
86 | <div class="post"> | 95 | <tr> |
87 | <div class="date"> | 96 | <td> |
88 | 07/08 2019 | 97 | <div class="date"> |
89 | </div> | 98 | 07/08/19 |
90 | <a href="/posts/bye_bye_BDFs" class="post-link"> | 99 | </div> |
91 | <span class="post-link">Bye Bye BDFs</span> | 100 | <a href="/posts/bye_bye_BDFs" class="post-link"> |
92 | </a> | 101 | <span class="post-link">Bye Bye BDFs</span> |
93 | <div class=stats> | 102 | </a> |
103 | </td> | ||
104 | <td> | ||
94 | <span class="stats-number"> | 105 | <span class="stats-number"> |
95 | 1.0 | 106 | 1.0 |
96 | </span> | 107 | </span> |
97 | <span class=stats-unit>min</span> | 108 | <span class=stats-unit>min</span> |
98 | </div> | 109 | </td> |
99 | </div> | 110 | </tr> |
100 | 111 | ||
101 | <div class="post"> | 112 | <tr> |
102 | <div class="date"> | 113 | <td> |
103 | 02/08 2019 | 114 | <div class="date"> |
104 | </div> | 115 | 02/08/19 |
105 | <a href="/posts/onivim_sucks" class="post-link"> | 116 | </div> |
106 | <span class="post-link">Onivim Sucks</span> | 117 | <a href="/posts/onivim_sucks" class="post-link"> |
107 | </a> | 118 | <span class="post-link">Onivim Sucks</span> |
108 | <div class=stats> | 119 | </a> |
120 | </td> | ||
121 | <td> | ||
109 | <span class="stats-number"> | 122 | <span class="stats-number"> |
110 | 1.3 | 123 | 1.3 |
111 | </span> | 124 | </span> |
112 | <span class=stats-unit>min</span> | 125 | <span class=stats-unit>min</span> |
113 | </div> | 126 | </td> |
114 | </div> | 127 | </tr> |
115 | 128 | ||
116 | <div class="post"> | 129 | <tr> |
117 | <div class="date"> | 130 | <td> |
118 | 31/07 2019 | 131 | <div class="date"> |
119 | </div> | 132 | 31/07/19 |
120 | <a href="/posts/bash_harder_with_vim" class="post-link"> | 133 | </div> |
121 | <span class="post-link">Bash Harder With Vim</span> | 134 | <a href="/posts/bash_harder_with_vim" class="post-link"> |
122 | </a> | 135 | <span class="post-link">Bash Harder With Vim</span> |
123 | <div class=stats> | 136 | </a> |
137 | </td> | ||
138 | <td> | ||
124 | <span class="stats-number"> | 139 | <span class="stats-number"> |
125 | 1.6 | 140 | 1.6 |
126 | </span> | 141 | </span> |
127 | <span class=stats-unit>min</span> | 142 | <span class=stats-unit>min</span> |
128 | </div> | 143 | </td> |
129 | </div> | 144 | </tr> |
130 | 145 | ||
131 | <div class="post"> | 146 | <tr> |
132 | <div class="date"> | 147 | <td> |
133 | 30/07 2019 | 148 | <div class="date"> |
134 | </div> | 149 | 30/07/19 |
135 | <a href="/posts/hold_position!" class="post-link"> | 150 | </div> |
136 | <span class="post-link">Hold Position!</span> | 151 | <a href="/posts/hold_position!" class="post-link"> |
137 | </a> | 152 | <span class="post-link">Hold Position!</span> |
138 | <div class=stats> | 153 | </a> |
154 | </td> | ||
155 | <td> | ||
139 | <span class="stats-number"> | 156 | <span class="stats-number"> |
140 | 1.0 | 157 | 1.0 |
141 | </span> | 158 | </span> |
142 | <span class=stats-unit>min</span> | 159 | <span class=stats-unit>min</span> |
143 | </div> | 160 | </td> |
144 | </div> | 161 | </tr> |
145 | 162 | ||
146 | <div class="post"> | 163 | <tr> |
147 | <div class="date"> | 164 | <td> |
148 | 29/07 2019 | 165 | <div class="date"> |
149 | </div> | 166 | 29/07/19 |
150 | <a href="/posts/get_better_at_yanking_and_putting_in_vim" class="post-link"> | 167 | </div> |
151 | <span class="post-link">Get Better At Yanking And Putting In Vim</span> | 168 | <a href="/posts/get_better_at_yanking_and_putting_in_vim" class="post-link"> |
152 | </a> | 169 | <span class="post-link">Get Better At Yanking And Putting In Vim</span> |
153 | <div class=stats> | 170 | </a> |
171 | </td> | ||
172 | <td> | ||
154 | <span class="stats-number"> | 173 | <span class="stats-number"> |
155 | 0.9 | 174 | 0.9 |
156 | </span> | 175 | </span> |
157 | <span class=stats-unit>min</span> | 176 | <span class=stats-unit>min</span> |
158 | </div> | 177 | </td> |
159 | </div> | 178 | </tr> |
160 | 179 | ||
180 | </table> | ||
161 | <div class=separator></div> | 181 | <div class=separator></div> |
162 | <div class=footer> | 182 | <div class=footer> |
163 | <a href=https://github.com/nerdypepper>Github</a> · | 183 | <a href=https://github.com/nerdypepper>Github</a> · |
diff --git a/docs/posts/WPA_woes/index.html b/docs/posts/WPA_woes/index.html index 4597454..e6bd108 100644 --- a/docs/posts/WPA_woes/index.html +++ b/docs/posts/WPA_woes/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 12/10 2019 | 19 | 12/10/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 18.37 | 22 | 18.37 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.1 | 27 | 1.1 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/bash_harder_with_vim/index.html b/docs/posts/bash_harder_with_vim/index.html index e300f9c..3543f15 100644 --- a/docs/posts/bash_harder_with_vim/index.html +++ b/docs/posts/bash_harder_with_vim/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 31/07 2019 | 19 | 31/07/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 24.37 | 22 | 24.37 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.6 | 27 | 1.6 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/bye_bye_BDFs/index.html b/docs/posts/bye_bye_BDFs/index.html index dfc0466..61b2aec 100644 --- a/docs/posts/bye_bye_BDFs/index.html +++ b/docs/posts/bye_bye_BDFs/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 07/08 2019 | 19 | 07/08/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 9.99 | 22 | 9.99 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.0 | 27 | 1.0 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/color_conundrum/index.html b/docs/posts/color_conundrum/index.html index f90a1ec..7b842b6 100644 --- a/docs/posts/color_conundrum/index.html +++ b/docs/posts/color_conundrum/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 31/12 2019 | 19 | 31/12/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 14.39 | 22 | 14.39 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.3 | 27 | 1.3 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html index da52cf3..d645f25 100644 --- a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html +++ b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 29/07 2019 | 19 | 29/07/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 10.78 | 22 | 10.78 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 0.9 | 27 | 0.9 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/hold_position!/index.html b/docs/posts/hold_position!/index.html index eaa6e0d..20ec125 100644 --- a/docs/posts/hold_position!/index.html +++ b/docs/posts/hold_position!/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 30/07 2019 | 19 | 30/07/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 9.18 | 22 | 9.18 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.0 | 27 | 1.0 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/my_setup/index.html b/docs/posts/my_setup/index.html index 902ce72..2fd9f16 100644 --- a/docs/posts/my_setup/index.html +++ b/docs/posts/my_setup/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 07/11 2019 | 19 | 07/11/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 10.39 | 22 | 10.39 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.0 | 27 | 1.0 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/onivim_sucks/index.html b/docs/posts/onivim_sucks/index.html index 9cd3a4e..2d61cc4 100644 --- a/docs/posts/onivim_sucks/index.html +++ b/docs/posts/onivim_sucks/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 02/08 2019 | 19 | 02/08/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 11.18 | 22 | 11.18 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.3 | 27 | 1.3 |
29 | </span> | 28 | </span> |
diff --git a/docs/posts/static_sites_with_bash/index.html b/docs/posts/static_sites_with_bash/index.html index 961c3c5..f374a2b 100644 --- a/docs/posts/static_sites_with_bash/index.html +++ b/docs/posts/static_sites_with_bash/index.html | |||
@@ -16,14 +16,13 @@ | |||
16 | <a href="/" class="post-end-link">⟵ Back</a> | 16 | <a href="/" class="post-end-link">⟵ Back</a> |
17 | <div class="separator"></div> | 17 | <div class="separator"></div> |
18 | <div class="date"> | 18 | <div class="date"> |
19 | 23/11 2019 | 19 | 23/11/19 |
20 | <div class="stats"> | 20 | <div class="stats"> |
21 | <span class="stats-number"> | 21 | <span class="stats-number"> |
22 | 21.17 | 22 | 21.17 |
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | 1.5 | 27 | 1.5 |
29 | </span> | 28 | </span> |
diff --git a/docs/style.css b/docs/style.css index 6bcdac5..c7347a0 100644 --- a/docs/style.css +++ b/docs/style.css | |||
@@ -13,7 +13,7 @@ body { font-family: 'Inter', sans-serif; } | |||
13 | @supports (font-variation-settings: normal) { | 13 | @supports (font-variation-settings: normal) { |
14 | body { | 14 | body { |
15 | font-family: 'Inter var', sans-serif; | 15 | font-family: 'Inter var', sans-serif; |
16 | font-feature-settings: 'ss01' 1, 'kern' 1, 'liga' 1, 'cv05' 1; | 16 | font-feature-settings: 'ss01' 1, 'kern' 1, 'liga' 1, 'cv05' 1, 'tnum' 1; |
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
@@ -34,6 +34,15 @@ html { | |||
34 | width: 40%; | 34 | width: 40%; |
35 | } | 35 | } |
36 | 36 | ||
37 | table { | ||
38 | width: 100%; | ||
39 | border-collapse: collapse; | ||
40 | } | ||
41 | |||
42 | td { | ||
43 | padding: 0.7rem 0; | ||
44 | } | ||
45 | |||
37 | /* mobile devices */ | 46 | /* mobile devices */ |
38 | @media only screen and (max-width: 70em) { | 47 | @media only screen and (max-width: 70em) { |
39 | .posts { | 48 | .posts { |
@@ -60,24 +69,11 @@ img { | |||
60 | border-radius: 4px; | 69 | border-radius: 4px; |
61 | } | 70 | } |
62 | 71 | ||
63 | details > summary { | ||
64 | list-style: none; | ||
65 | } | ||
66 | |||
67 | details > summary::-webkit-details-marker { | ||
68 | display: none; | ||
69 | } | ||
70 | |||
71 | summary: hover { | ||
72 | cursor: pointer; | ||
73 | } | ||
74 | |||
75 | hr { | 72 | hr { |
76 | color: var(--dark-white); | 73 | color: var(--dark-white); |
77 | } | 74 | } |
78 | 75 | ||
79 | .date { | 76 | .date { |
80 | font-feature-settings: 'ss01' 1, 'kern' 1; | ||
81 | font-weight: 400; | 77 | font-weight: 400; |
82 | font-size: 0.8rem; | 78 | font-size: 0.8rem; |
83 | color: var(--light-black); | 79 | color: var(--light-black); |
@@ -90,21 +86,11 @@ hr { | |||
90 | border-top: 2px solid var(--dark-white); | 86 | border-top: 2px solid var(--dark-white); |
91 | } | 87 | } |
92 | 88 | ||
93 | .black-circle { | ||
94 | margin:0 auto; | ||
95 | width: 10rem; | ||
96 | height: 10rem; | ||
97 | border: 0px solid transparent; | ||
98 | border-radius: 50%; | ||
99 | background-color: var(--black); | ||
100 | } | ||
101 | |||
102 | .heading { | 89 | .heading { |
103 | margin: 0 auto; | 90 | margin: 0 auto; |
104 | color: var(--black); | 91 | color: var(--black); |
105 | text-align: center; | 92 | text-align: center; |
106 | font-size: 6rem; | 93 | font-size: 6rem; |
107 | font-family: 'Inter var'; | ||
108 | text-shadow: 0.25rem 0rem var(--pink), -0.25rem 0rem var(--cyan); | 94 | text-shadow: 0.25rem 0rem var(--pink), -0.25rem 0rem var(--cyan); |
109 | line-height: 5rem; | 95 | line-height: 5rem; |
110 | font-weight: 800; | 96 | font-weight: 800; |
@@ -125,7 +111,7 @@ a, a:hover, a:visited, a:active { | |||
125 | 111 | ||
126 | .post-link, .post-link:hover, .post-link:visited, .post-link:active { | 112 | .post-link, .post-link:hover, .post-link:visited, .post-link:active { |
127 | color: var(--black); | 113 | color: var(--black); |
128 | font-weight: 650; | 114 | font-weight: 600; |
129 | font-size: 1.1rem; | 115 | font-size: 1.1rem; |
130 | text-decoration: none; | 116 | text-decoration: none; |
131 | } | 117 | } |
@@ -183,18 +169,16 @@ pre > code { | |||
183 | 169 | ||
184 | .stats { | 170 | .stats { |
185 | float: right; | 171 | float: right; |
172 | text-align: right; | ||
186 | color: var(--light-black); | 173 | color: var(--light-black); |
187 | } | 174 | } |
188 | 175 | ||
189 | .stats-number { | 176 | .stats-number { |
190 | font-size: 0.8rem; | 177 | font-size: 0.8rem; |
191 | font-family: 'Inter var', Monospace; | ||
192 | font-feature-settings: 'ss01' 1, 'kern' 1; | ||
193 | } | 178 | } |
194 | 179 | ||
195 | .stats-unit { | 180 | .stats-unit { |
196 | font-size: 0.6rem; | 181 | font-size: 0.6rem; |
197 | font-family: 'Inter var'; | ||
198 | } | 182 | } |
199 | 183 | ||
200 | .footer { | 184 | .footer { |
diff --git a/generate.sh b/generate.sh index a326059..6bca952 100755 --- a/generate.sh +++ b/generate.sh | |||
@@ -23,20 +23,22 @@ link_wrapper() { | |||
23 | # 3 - date | 23 | # 3 - date |
24 | # 4 - read time | 24 | # 4 - read time |
25 | echo -ne " | 25 | echo -ne " |
26 | <div class=\"post\"> | 26 | <tr> |
27 | <div class=\"date\"> | 27 | <td> |
28 | $3 | 28 | <div class=\"date\"> |
29 | </div> | 29 | $3 |
30 | <a href=\"/posts/$1\" class=\"post-link\"> | 30 | </div> |
31 | <span class=\"post-link\">$2</span> | 31 | <a href=\"/posts/$1\" class=\"post-link\"> |
32 | </a> | 32 | <span class=\"post-link\">$2</span> |
33 | <div class="stats"> | 33 | </a> |
34 | </td> | ||
35 | <td> | ||
34 | <span class=\"stats-number\"> | 36 | <span class=\"stats-number\"> |
35 | $4 | 37 | $4 |
36 | </span> | 38 | </span> |
37 | <span class="stats-unit">min</span> | 39 | <span class="stats-unit">min</span> |
38 | </div> | 40 | </td> |
39 | </div> | 41 | </tr> |
40 | " | 42 | " |
41 | } | 43 | } |
42 | 44 | ||
@@ -69,6 +71,7 @@ echo " | |||
69 | echo " | 71 | echo " |
70 | <div class=\"posts\"> | 72 | <div class=\"posts\"> |
71 | <div class="separator"></div> | 73 | <div class="separator"></div> |
74 | <table> | ||
72 | " >> docs/index.html | 75 | " >> docs/index.html |
73 | 76 | ||
74 | # posts | 77 | # posts |
@@ -90,7 +93,7 @@ for f in $posts; do | |||
90 | height="$(height $lines)" | 93 | height="$(height $lines)" |
91 | 94 | ||
92 | post_title=$(title_wrapper "$id") | 95 | post_title=$(title_wrapper "$id") |
93 | post_date=$(date -r "$file" "+%d/%m %Y") | 96 | post_date=$(date -r "$file" "+%d/%m/%y") |
94 | post_link=$(link_wrapper "${id%.*}" "$post_title" "$post_date" "$r_time" "$height") | 97 | post_link=$(link_wrapper "${id%.*}" "$post_title" "$post_date" "$r_time" "$height") |
95 | 98 | ||
96 | echo -ne "$post_link" >> docs/index.html | 99 | echo -ne "$post_link" >> docs/index.html |
@@ -109,6 +112,7 @@ for f in $posts; do | |||
109 | done | 112 | done |
110 | 113 | ||
111 | echo " | 114 | echo " |
115 | </table> | ||
112 | <div class="separator"></div> | 116 | <div class="separator"></div> |
113 | <div class="footer"> | 117 | <div class="footer"> |
114 | <a href="https://github.com/nerdypepper">Github</a> · | 118 | <a href="https://github.com/nerdypepper">Github</a> · |
@@ -23,7 +23,6 @@ | |||
23 | </span> | 23 | </span> |
24 | <span class="stats-unit">cm</span> | 24 | <span class="stats-unit">cm</span> |
25 |   | 25 |   |
26 |   | ||
27 | <span class="stats-number"> | 26 | <span class="stats-number"> |
28 | <%="$read_time"%> | 27 | <%="$read_time"%> |
29 | </span> | 28 | </span> |